diff --git a/dcl/schema.go b/dcl/schema.go index 90ff932599..c6577dd847 100755 --- a/dcl/schema.go +++ b/dcl/schema.go @@ -83,6 +83,7 @@ type Info struct { Title string `yaml:"title"` Description string `yaml:"description"` StructName string `yaml:"x-dcl-struct-name,omitempty"` + HasCreate bool `yaml:"x-dcl-has-create"` HasIAM bool `yaml:"x-dcl-has-iam"` Mutex string `yaml:"x-dcl-mutex,omitempty"` Note string `yaml:"x-dcl-note,omitempty"` diff --git a/services/google/apigee/alpha/environment.yaml b/services/google/apigee/alpha/environment.yaml index 7b7b17b11d..4168c23602 100755 --- a/services/google/apigee/alpha/environment.yaml +++ b/services/google/apigee/alpha/environment.yaml @@ -15,6 +15,7 @@ info: title: Apigee/Environment description: The Apigee Environment resource x-dcl-struct-name: Environment + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/apigee/alpha/environment_alpha_yaml_embed.go b/services/google/apigee/alpha/environment_alpha_yaml_embed.go index e968aa36ba..171563b664 100755 --- a/services/google/apigee/alpha/environment_alpha_yaml_embed.go +++ b/services/google/apigee/alpha/environment_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/alpha/environment.yaml -var YAML_environment = []byte("info:\n title: Apigee/Environment\n description: The Apigee Environment resource\n x-dcl-struct-name: Environment\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n apply:\n description: The function used to apply information about a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n delete:\n description: The function used to delete a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n deleteAll:\n description: The function used to delete all Environment\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Environment\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Environment:\n title: Environment\n x-dcl-id: organizations/{{apigee_organization}}/environments/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Creation time of this environment as milliseconds\n since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the environment.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. Display name for this environment.\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Last modification time of this environment as\n milliseconds since epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment. Values must match the regular\n expression ^[.\\p{Alnum}-_]{1,255}$\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. Key-value pairs that may be used for customizing\n the environment.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: EnvironmentStateEnum\n readOnly: true\n description: 'Output only. State of the environment. Values other than ACTIVE\n means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n") +var YAML_environment = []byte("info:\n title: Apigee/Environment\n description: The Apigee Environment resource\n x-dcl-struct-name: Environment\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n apply:\n description: The function used to apply information about a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n delete:\n description: The function used to delete a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n deleteAll:\n description: The function used to delete all Environment\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Environment\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Environment:\n title: Environment\n x-dcl-id: organizations/{{apigee_organization}}/environments/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Creation time of this environment as milliseconds\n since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the environment.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. Display name for this environment.\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Last modification time of this environment as\n milliseconds since epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment. Values must match the regular\n expression ^[.\\p{Alnum}-_]{1,255}$\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. Key-value pairs that may be used for customizing\n the environment.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: EnvironmentStateEnum\n readOnly: true\n description: 'Output only. State of the environment. Values other than ACTIVE\n means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n") -// 3518 bytes -// MD5: 65c5c903fe747553ca0648d8f6778693 +// 3543 bytes +// MD5: 35f3361d1e696ea8a05a37ae2a77f72f diff --git a/services/google/apigee/alpha/environment_group.yaml b/services/google/apigee/alpha/environment_group.yaml index 7397763020..e7790e938b 100755 --- a/services/google/apigee/alpha/environment_group.yaml +++ b/services/google/apigee/alpha/environment_group.yaml @@ -15,6 +15,7 @@ info: title: Apigee/EnvironmentGroup description: The Apigee EnvironmentGroup resource x-dcl-struct-name: EnvironmentGroup + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apigee/alpha/environment_group_alpha_yaml_embed.go b/services/google/apigee/alpha/environment_group_alpha_yaml_embed.go index 0145ff3a2c..09207f639f 100755 --- a/services/google/apigee/alpha/environment_group_alpha_yaml_embed.go +++ b/services/google/apigee/alpha/environment_group_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/alpha/environment_group.yaml -var YAML_environment_group = []byte("info:\n title: Apigee/EnvironmentGroup\n description: The Apigee EnvironmentGroup resource\n x-dcl-struct-name: EnvironmentGroup\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n apply:\n description: The function used to apply information about a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n delete:\n description: The function used to delete a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n deleteAll:\n description: The function used to delete all EnvironmentGroup\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EnvironmentGroup\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EnvironmentGroup:\n title: EnvironmentGroup\n x-dcl-id: organizations/{{apigee_organization}}/envgroups/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n x-kubernetes-immutable: true\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: Required. Host names for this environment group.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: ID of the environment group.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: EnvironmentGroupStateEnum\n readOnly: true\n description: 'Output only. State of the environment. Values other than ACTIVE\n means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n") +var YAML_environment_group = []byte("info:\n title: Apigee/EnvironmentGroup\n description: The Apigee EnvironmentGroup resource\n x-dcl-struct-name: EnvironmentGroup\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n apply:\n description: The function used to apply information about a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n delete:\n description: The function used to delete a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n deleteAll:\n description: The function used to delete all EnvironmentGroup\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EnvironmentGroup\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EnvironmentGroup:\n title: EnvironmentGroup\n x-dcl-id: organizations/{{apigee_organization}}/envgroups/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n x-kubernetes-immutable: true\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: Required. Host names for this environment group.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: ID of the environment group.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: EnvironmentGroupStateEnum\n readOnly: true\n description: 'Output only. State of the environment. Values other than ACTIVE\n means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n") -// 3053 bytes -// MD5: 5a42346765df1f837340a8d5fc24d7b9 +// 3078 bytes +// MD5: a3117b16524ceedc0aae54052e945a7c diff --git a/services/google/apigee/alpha/environment_group_attachment.yaml b/services/google/apigee/alpha/environment_group_attachment.yaml index 8cf895409e..ed90233fea 100755 --- a/services/google/apigee/alpha/environment_group_attachment.yaml +++ b/services/google/apigee/alpha/environment_group_attachment.yaml @@ -15,6 +15,7 @@ info: title: Apigee/EnvironmentGroupAttachment description: The Apigee EnvironmentGroupAttachment resource x-dcl-struct-name: EnvironmentGroupAttachment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apigee/alpha/environment_group_attachment_alpha_yaml_embed.go b/services/google/apigee/alpha/environment_group_attachment_alpha_yaml_embed.go index fba5f8bd48..803d8295ec 100755 --- a/services/google/apigee/alpha/environment_group_attachment_alpha_yaml_embed.go +++ b/services/google/apigee/alpha/environment_group_attachment_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/alpha/environment_group_attachment.yaml -var YAML_environment_group_attachment = []byte("info:\n title: Apigee/EnvironmentGroupAttachment\n description: The Apigee EnvironmentGroupAttachment resource\n x-dcl-struct-name: EnvironmentGroupAttachment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n apply:\n description: The function used to apply information about a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n delete:\n description: The function used to delete a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n deleteAll:\n description: The function used to delete all EnvironmentGroupAttachment\n parameters:\n - name: envgroup\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EnvironmentGroupAttachment\n parameters:\n - name: envgroup\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EnvironmentGroupAttachment:\n title: EnvironmentGroupAttachment\n x-dcl-id: '{{envgroup}}/attachments/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - environment\n - envgroup\n properties:\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n x-kubernetes-immutable: true\n envgroup:\n type: string\n x-dcl-go-name: Envgroup\n description: The environment group for the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Apigee/EnvironmentGroup\n field: name\n parent: true\n environment:\n type: string\n x-dcl-go-name: Environment\n description: Required. ID of the attached environment.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Environment\n field: name\n name:\n type: string\n x-dcl-go-name: Name\n description: ID of the environment group attachment.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n") +var YAML_environment_group_attachment = []byte("info:\n title: Apigee/EnvironmentGroupAttachment\n description: The Apigee EnvironmentGroupAttachment resource\n x-dcl-struct-name: EnvironmentGroupAttachment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n apply:\n description: The function used to apply information about a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n delete:\n description: The function used to delete a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n deleteAll:\n description: The function used to delete all EnvironmentGroupAttachment\n parameters:\n - name: envgroup\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EnvironmentGroupAttachment\n parameters:\n - name: envgroup\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EnvironmentGroupAttachment:\n title: EnvironmentGroupAttachment\n x-dcl-id: '{{envgroup}}/attachments/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - environment\n - envgroup\n properties:\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n x-kubernetes-immutable: true\n envgroup:\n type: string\n x-dcl-go-name: Envgroup\n description: The environment group for the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Apigee/EnvironmentGroup\n field: name\n parent: true\n environment:\n type: string\n x-dcl-go-name: Environment\n description: Required. ID of the attached environment.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Environment\n field: name\n name:\n type: string\n x-dcl-go-name: Name\n description: ID of the environment group attachment.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n") -// 2543 bytes -// MD5: 441703fd692a8e8de437a7b06c2e25e9 +// 2568 bytes +// MD5: 155229371709ca50fd8d498be3c4b7f8 diff --git a/services/google/apigee/alpha/environment_group_attachment_schema.go b/services/google/apigee/alpha/environment_group_attachment_schema.go index e23beb50e6..723577ddff 100755 --- a/services/google/apigee/alpha/environment_group_attachment_schema.go +++ b/services/google/apigee/alpha/environment_group_attachment_schema.go @@ -23,6 +23,7 @@ func DCLEnvironmentGroupAttachmentSchema() *dcl.Schema { Title: "Apigee/EnvironmentGroupAttachment", Description: "The Apigee EnvironmentGroupAttachment resource", StructName: "EnvironmentGroupAttachment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apigee/alpha/environment_group_schema.go b/services/google/apigee/alpha/environment_group_schema.go index 4baf8011c8..b8b7b85ea8 100755 --- a/services/google/apigee/alpha/environment_group_schema.go +++ b/services/google/apigee/alpha/environment_group_schema.go @@ -23,6 +23,7 @@ func DCLEnvironmentGroupSchema() *dcl.Schema { Title: "Apigee/EnvironmentGroup", Description: "The Apigee EnvironmentGroup resource", StructName: "EnvironmentGroup", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apigee/alpha/environment_schema.go b/services/google/apigee/alpha/environment_schema.go index 8b8fe79669..07c1d3abb0 100755 --- a/services/google/apigee/alpha/environment_schema.go +++ b/services/google/apigee/alpha/environment_schema.go @@ -23,6 +23,7 @@ func DCLEnvironmentSchema() *dcl.Schema { Title: "Apigee/Environment", Description: "The Apigee Environment resource", StructName: "Environment", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/apigee/alpha/instance.yaml b/services/google/apigee/alpha/instance.yaml index 4f4c23696e..5c315fe76c 100755 --- a/services/google/apigee/alpha/instance.yaml +++ b/services/google/apigee/alpha/instance.yaml @@ -15,6 +15,7 @@ info: title: Apigee/Instance description: The Apigee Instance resource x-dcl-struct-name: Instance + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apigee/alpha/instance_alpha_yaml_embed.go b/services/google/apigee/alpha/instance_alpha_yaml_embed.go index 5eb858e30b..5fa411b0ee 100755 --- a/services/google/apigee/alpha/instance_alpha_yaml_embed.go +++ b/services/google/apigee/alpha/instance_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/alpha/instance.yaml -var YAML_instance = []byte("info:\n title: Apigee/Instance\n description: The Apigee Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: organizations/{{apigee_organization}}/instances/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - location\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Time the instance was created in milliseconds\n since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the instance.\n x-kubernetes-immutable: true\n diskEncryptionKeyName:\n type: string\n x-dcl-go-name: DiskEncryptionKeyName\n description: 'Customer Managed Encryption Key (CMEK) used for disk and volume\n encryption. Required for Apigee paid subscriptions only. Use the following\n format: projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. Display name for the instance.\n x-kubernetes-immutable: true\n host:\n type: string\n x-dcl-go-name: Host\n readOnly: true\n description: Output only. Internal hostname or IP address of the Apigee\n endpoint used by clients to connect to the service.\n x-kubernetes-immutable: true\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Time the instance was last modified in milliseconds\n since epoch.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: Required. Compute Engine location where the instance resides.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Resource ID of the instance. Values must match the\n regular expression ^[a-z][a-z\\-\\d]{0,30}[a-z\\d]$.\n x-kubernetes-immutable: true\n peeringCidrRange:\n type: string\n x-dcl-go-name: PeeringCidrRange\n x-dcl-go-type: InstancePeeringCidrRangeEnum\n description: 'Optional. Size of the CIDR block range that will be reserved\n by the instance. PAID apigee_organizations support SLASH_16 to SLASH_20\n and defaults to SLASH_16. Evaluation organizations support only SLASH_23.\n Possible values: CIDR_RANGE_UNSPECIFIED, SLASH_16, SLASH_17, SLASH_18,\n SLASH_19, SLASH_20, SLASH_23'\n x-kubernetes-immutable: true\n enum:\n - CIDR_RANGE_UNSPECIFIED\n - SLASH_16\n - SLASH_17\n - SLASH_18\n - SLASH_19\n - SLASH_20\n - SLASH_23\n port:\n type: string\n x-dcl-go-name: Port\n readOnly: true\n description: Output only. Port number of the exposed Apigee endpoint.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. State of the instance. Values other than `ACTIVE`\n means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n x-kubernetes-immutable: true\n enum:\n - SNAPSHOT_STATE_UNSPECIFIED\n - MISSING\n - OK_DOCSTORE\n - OK_SUBMITTED\n - OK_EXTERNAL\n - DELETED\n") +var YAML_instance = []byte("info:\n title: Apigee/Instance\n description: The Apigee Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: organizations/{{apigee_organization}}/instances/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - location\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Time the instance was created in milliseconds\n since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the instance.\n x-kubernetes-immutable: true\n diskEncryptionKeyName:\n type: string\n x-dcl-go-name: DiskEncryptionKeyName\n description: 'Customer Managed Encryption Key (CMEK) used for disk and volume\n encryption. Required for Apigee paid subscriptions only. Use the following\n format: projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. Display name for the instance.\n x-kubernetes-immutable: true\n host:\n type: string\n x-dcl-go-name: Host\n readOnly: true\n description: Output only. Internal hostname or IP address of the Apigee\n endpoint used by clients to connect to the service.\n x-kubernetes-immutable: true\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Time the instance was last modified in milliseconds\n since epoch.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: Required. Compute Engine location where the instance resides.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Resource ID of the instance. Values must match the\n regular expression ^[a-z][a-z\\-\\d]{0,30}[a-z\\d]$.\n x-kubernetes-immutable: true\n peeringCidrRange:\n type: string\n x-dcl-go-name: PeeringCidrRange\n x-dcl-go-type: InstancePeeringCidrRangeEnum\n description: 'Optional. Size of the CIDR block range that will be reserved\n by the instance. PAID apigee_organizations support SLASH_16 to SLASH_20\n and defaults to SLASH_16. Evaluation organizations support only SLASH_23.\n Possible values: CIDR_RANGE_UNSPECIFIED, SLASH_16, SLASH_17, SLASH_18,\n SLASH_19, SLASH_20, SLASH_23'\n x-kubernetes-immutable: true\n enum:\n - CIDR_RANGE_UNSPECIFIED\n - SLASH_16\n - SLASH_17\n - SLASH_18\n - SLASH_19\n - SLASH_20\n - SLASH_23\n port:\n type: string\n x-dcl-go-name: Port\n readOnly: true\n description: Output only. Port number of the exposed Apigee endpoint.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. State of the instance. Values other than `ACTIVE`\n means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n x-kubernetes-immutable: true\n enum:\n - SNAPSHOT_STATE_UNSPECIFIED\n - MISSING\n - OK_DOCSTORE\n - OK_SUBMITTED\n - OK_EXTERNAL\n - DELETED\n") -// 5334 bytes -// MD5: 3238fe14f814e32824ecae566ef3ab81 +// 5359 bytes +// MD5: 5705d7a67aabe715d405d7c4bf06f0f6 diff --git a/services/google/apigee/alpha/instance_schema.go b/services/google/apigee/alpha/instance_schema.go index 8c8980039a..f3fc4d90ae 100755 --- a/services/google/apigee/alpha/instance_schema.go +++ b/services/google/apigee/alpha/instance_schema.go @@ -23,6 +23,7 @@ func DCLInstanceSchema() *dcl.Schema { Title: "Apigee/Instance", Description: "The Apigee Instance resource", StructName: "Instance", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apigee/alpha/organization.yaml b/services/google/apigee/alpha/organization.yaml index f8a0c309cf..02bbeff6b7 100755 --- a/services/google/apigee/alpha/organization.yaml +++ b/services/google/apigee/alpha/organization.yaml @@ -15,6 +15,7 @@ info: title: Apigee/Organization description: The Apigee Organization resource x-dcl-struct-name: Organization + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apigee/alpha/organization_alpha_yaml_embed.go b/services/google/apigee/alpha/organization_alpha_yaml_embed.go index fdbd198192..d3d0074ea0 100755 --- a/services/google/apigee/alpha/organization_alpha_yaml_embed.go +++ b/services/google/apigee/alpha/organization_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/alpha/organization.yaml -var YAML_organization = []byte("info:\n title: Apigee/Organization\n description: The Apigee Organization resource\n x-dcl-struct-name: Organization\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n apply:\n description: The function used to apply information about a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n delete:\n description: The function used to delete a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n deleteAll:\n description: The function used to delete all Organization\n parameters: []\n list:\n description: The function used to list information about many Organization\n parameters: []\ncomponents:\n schemas:\n Organization:\n title: Organization\n x-dcl-id: organizations/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - analyticsRegion\n - runtimeType\n properties:\n addonsConfig:\n type: object\n x-dcl-go-name: AddonsConfig\n x-dcl-go-type: OrganizationAddonsConfig\n description: Addon configurations of the Apigee organization.\n properties:\n advancedApiOpsConfig:\n type: object\n x-dcl-go-name: AdvancedApiOpsConfig\n x-dcl-go-type: OrganizationAddonsConfigAdvancedApiOpsConfig\n description: Configuration for the Advanced API Ops add-on.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Flag that specifies whether the Advanced API Ops add-on\n is enabled.\n monetizationConfig:\n type: object\n x-dcl-go-name: MonetizationConfig\n x-dcl-go-type: OrganizationAddonsConfigMonetizationConfig\n description: Configuration for the Monetization add-on.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Flag that specifies whether the Monetization add-on\n is enabled.\n analyticsRegion:\n type: string\n x-dcl-go-name: AnalyticsRegion\n description: Required. Primary GCP region for analytics data storage. For\n valid values, see (https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).\n x-kubernetes-immutable: true\n authorizedNetwork:\n type: string\n x-dcl-go-name: AuthorizedNetwork\n description: 'Compute Engine network used for Service Networking to be peered\n with Apigee runtime instances. See (https://cloud.google.com/vpc/docs/shared-vpc).\n To use a shared VPC network, use the following format: `projects/{host-project-id}/{region}/networks/{network-name}`.\n For example: `projects/my-sharedvpc-host/global/networks/mynetwork` **Note:**\n Not supported for Apigee hybrid.'\n x-dcl-references:\n - resource: Compute/Network\n field: name\n billingType:\n type: string\n x-dcl-go-name: BillingType\n x-dcl-go-type: OrganizationBillingTypeEnum\n readOnly: true\n description: 'Output only. Billing type of the Apigee organization. See\n (https://cloud.google.com/apigee/pricing). Possible values: BILLING_TYPE_UNSPECIFIED,\n SUBSCRIPTION, EVALUATION'\n x-kubernetes-immutable: true\n enum:\n - BILLING_TYPE_UNSPECIFIED\n - SUBSCRIPTION\n - EVALUATION\n caCertificate:\n type: string\n x-dcl-go-name: CaCertificate\n readOnly: true\n description: Output only. Base64-encoded public certificate for the root\n CA of the Apigee organization. Valid only when (#RuntimeType) is `CLOUD`.\n x-kubernetes-immutable: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Time that the Apigee organization was created\n in milliseconds since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the Apigee organization.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name for the Apigee organization.\n environments:\n type: array\n x-dcl-go-name: Environments\n readOnly: true\n description: Output only. List of environments in the Apigee organization.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n expiresAt:\n type: integer\n format: int64\n x-dcl-go-name: ExpiresAt\n readOnly: true\n description: Output only. Time that the Apigee organization is scheduled\n for deletion.\n x-kubernetes-immutable: true\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Time that the Apigee organization was last modified\n in milliseconds since epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Name of the Apigee organization.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: 'Required. Name of the GCP project in which to associate the\n Apigee organization. Pass the information as a query parameter using the\n following structure in your request: projects/ Authorization\n requires the following IAM permission on the specified resource parent:\n apigee.organizations.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n readOnly: true\n description: Output only. Project ID associated with the Apigee organization.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Properties defined in the Apigee organization profile.\n runtimeDatabaseEncryptionKeyName:\n type: string\n x-dcl-go-name: RuntimeDatabaseEncryptionKeyName\n description: 'Cloud KMS key name used for encrypting the data that is stored\n and replicated across runtime instances. Update is not allowed after the\n organization is created. Required when (#RuntimeType) is `TRIAL`, a Google-Managed\n encryption key will be used. For example: \"projects/foo/locations/us/keyRings/bar/cryptoKeys/baz\".\n **Note:** Not supported for Apigee hybrid.'\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n runtimeType:\n type: string\n x-dcl-go-name: RuntimeType\n x-dcl-go-type: OrganizationRuntimeTypeEnum\n description: 'Required. Runtime type of the Apigee organization based on\n the Apigee subscription purchased. Possible values: RUNTIME_TYPE_UNSPECIFIED,\n CLOUD, HYBRID'\n x-kubernetes-immutable: true\n enum:\n - RUNTIME_TYPE_UNSPECIFIED\n - CLOUD\n - HYBRID\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: OrganizationStateEnum\n readOnly: true\n description: 'Output only. State of the organization. Values other than\n ACTIVE means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n x-kubernetes-immutable: true\n enum:\n - SNAPSHOT_STATE_UNSPECIFIED\n - MISSING\n - OK_DOCSTORE\n - OK_SUBMITTED\n - OK_EXTERNAL\n - DELETED\n subscriptionType:\n type: string\n x-dcl-go-name: SubscriptionType\n x-dcl-go-type: OrganizationSubscriptionTypeEnum\n readOnly: true\n description: 'Output only. DEPRECATED: This will eventually be replaced\n by BillingType. Subscription type of the Apigee organization. Valid values\n include trial (free, limited, and for evaluation purposes only) or paid\n (full subscription has been purchased). See (https://cloud.google.com/apigee/pricing/).\n Possible values: SUBSCRIPTION_TYPE_UNSPECIFIED, PAID, TRIAL'\n x-kubernetes-immutable: true\n enum:\n - SUBSCRIPTION_TYPE_UNSPECIFIED\n - PAID\n - TRIAL\n") +var YAML_organization = []byte("info:\n title: Apigee/Organization\n description: The Apigee Organization resource\n x-dcl-struct-name: Organization\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n apply:\n description: The function used to apply information about a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n delete:\n description: The function used to delete a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n deleteAll:\n description: The function used to delete all Organization\n parameters: []\n list:\n description: The function used to list information about many Organization\n parameters: []\ncomponents:\n schemas:\n Organization:\n title: Organization\n x-dcl-id: organizations/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - analyticsRegion\n - runtimeType\n properties:\n addonsConfig:\n type: object\n x-dcl-go-name: AddonsConfig\n x-dcl-go-type: OrganizationAddonsConfig\n description: Addon configurations of the Apigee organization.\n properties:\n advancedApiOpsConfig:\n type: object\n x-dcl-go-name: AdvancedApiOpsConfig\n x-dcl-go-type: OrganizationAddonsConfigAdvancedApiOpsConfig\n description: Configuration for the Advanced API Ops add-on.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Flag that specifies whether the Advanced API Ops add-on\n is enabled.\n monetizationConfig:\n type: object\n x-dcl-go-name: MonetizationConfig\n x-dcl-go-type: OrganizationAddonsConfigMonetizationConfig\n description: Configuration for the Monetization add-on.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Flag that specifies whether the Monetization add-on\n is enabled.\n analyticsRegion:\n type: string\n x-dcl-go-name: AnalyticsRegion\n description: Required. Primary GCP region for analytics data storage. For\n valid values, see (https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).\n x-kubernetes-immutable: true\n authorizedNetwork:\n type: string\n x-dcl-go-name: AuthorizedNetwork\n description: 'Compute Engine network used for Service Networking to be peered\n with Apigee runtime instances. See (https://cloud.google.com/vpc/docs/shared-vpc).\n To use a shared VPC network, use the following format: `projects/{host-project-id}/{region}/networks/{network-name}`.\n For example: `projects/my-sharedvpc-host/global/networks/mynetwork` **Note:**\n Not supported for Apigee hybrid.'\n x-dcl-references:\n - resource: Compute/Network\n field: name\n billingType:\n type: string\n x-dcl-go-name: BillingType\n x-dcl-go-type: OrganizationBillingTypeEnum\n readOnly: true\n description: 'Output only. Billing type of the Apigee organization. See\n (https://cloud.google.com/apigee/pricing). Possible values: BILLING_TYPE_UNSPECIFIED,\n SUBSCRIPTION, EVALUATION'\n x-kubernetes-immutable: true\n enum:\n - BILLING_TYPE_UNSPECIFIED\n - SUBSCRIPTION\n - EVALUATION\n caCertificate:\n type: string\n x-dcl-go-name: CaCertificate\n readOnly: true\n description: Output only. Base64-encoded public certificate for the root\n CA of the Apigee organization. Valid only when (#RuntimeType) is `CLOUD`.\n x-kubernetes-immutable: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Time that the Apigee organization was created\n in milliseconds since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the Apigee organization.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name for the Apigee organization.\n environments:\n type: array\n x-dcl-go-name: Environments\n readOnly: true\n description: Output only. List of environments in the Apigee organization.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n expiresAt:\n type: integer\n format: int64\n x-dcl-go-name: ExpiresAt\n readOnly: true\n description: Output only. Time that the Apigee organization is scheduled\n for deletion.\n x-kubernetes-immutable: true\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Time that the Apigee organization was last modified\n in milliseconds since epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Name of the Apigee organization.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: 'Required. Name of the GCP project in which to associate the\n Apigee organization. Pass the information as a query parameter using the\n following structure in your request: projects/ Authorization\n requires the following IAM permission on the specified resource parent:\n apigee.organizations.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n readOnly: true\n description: Output only. Project ID associated with the Apigee organization.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Properties defined in the Apigee organization profile.\n runtimeDatabaseEncryptionKeyName:\n type: string\n x-dcl-go-name: RuntimeDatabaseEncryptionKeyName\n description: 'Cloud KMS key name used for encrypting the data that is stored\n and replicated across runtime instances. Update is not allowed after the\n organization is created. Required when (#RuntimeType) is `TRIAL`, a Google-Managed\n encryption key will be used. For example: \"projects/foo/locations/us/keyRings/bar/cryptoKeys/baz\".\n **Note:** Not supported for Apigee hybrid.'\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n runtimeType:\n type: string\n x-dcl-go-name: RuntimeType\n x-dcl-go-type: OrganizationRuntimeTypeEnum\n description: 'Required. Runtime type of the Apigee organization based on\n the Apigee subscription purchased. Possible values: RUNTIME_TYPE_UNSPECIFIED,\n CLOUD, HYBRID'\n x-kubernetes-immutable: true\n enum:\n - RUNTIME_TYPE_UNSPECIFIED\n - CLOUD\n - HYBRID\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: OrganizationStateEnum\n readOnly: true\n description: 'Output only. State of the organization. Values other than\n ACTIVE means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n x-kubernetes-immutable: true\n enum:\n - SNAPSHOT_STATE_UNSPECIFIED\n - MISSING\n - OK_DOCSTORE\n - OK_SUBMITTED\n - OK_EXTERNAL\n - DELETED\n subscriptionType:\n type: string\n x-dcl-go-name: SubscriptionType\n x-dcl-go-type: OrganizationSubscriptionTypeEnum\n readOnly: true\n description: 'Output only. DEPRECATED: This will eventually be replaced\n by BillingType. Subscription type of the Apigee organization. Valid values\n include trial (free, limited, and for evaluation purposes only) or paid\n (full subscription has been purchased). See (https://cloud.google.com/apigee/pricing/).\n Possible values: SUBSCRIPTION_TYPE_UNSPECIFIED, PAID, TRIAL'\n x-kubernetes-immutable: true\n enum:\n - SUBSCRIPTION_TYPE_UNSPECIFIED\n - PAID\n - TRIAL\n") -// 9474 bytes -// MD5: 719663a0a9631392590d2fc8eafe2ad7 +// 9499 bytes +// MD5: cdc3e400ac00acffa29cd6789ae5c07d diff --git a/services/google/apigee/alpha/organization_schema.go b/services/google/apigee/alpha/organization_schema.go index 6449767c54..746792cc5b 100755 --- a/services/google/apigee/alpha/organization_schema.go +++ b/services/google/apigee/alpha/organization_schema.go @@ -23,6 +23,7 @@ func DCLOrganizationSchema() *dcl.Schema { Title: "Apigee/Organization", Description: "The Apigee Organization resource", StructName: "Organization", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apigee/beta/environment.yaml b/services/google/apigee/beta/environment.yaml index 7b7b17b11d..4168c23602 100755 --- a/services/google/apigee/beta/environment.yaml +++ b/services/google/apigee/beta/environment.yaml @@ -15,6 +15,7 @@ info: title: Apigee/Environment description: The Apigee Environment resource x-dcl-struct-name: Environment + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/apigee/beta/environment_beta_yaml_embed.go b/services/google/apigee/beta/environment_beta_yaml_embed.go index 96d53e5d43..4cece3cd8e 100755 --- a/services/google/apigee/beta/environment_beta_yaml_embed.go +++ b/services/google/apigee/beta/environment_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/beta/environment.yaml -var YAML_environment = []byte("info:\n title: Apigee/Environment\n description: The Apigee Environment resource\n x-dcl-struct-name: Environment\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n apply:\n description: The function used to apply information about a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n delete:\n description: The function used to delete a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n deleteAll:\n description: The function used to delete all Environment\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Environment\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Environment:\n title: Environment\n x-dcl-id: organizations/{{apigee_organization}}/environments/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Creation time of this environment as milliseconds\n since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the environment.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. Display name for this environment.\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Last modification time of this environment as\n milliseconds since epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment. Values must match the regular\n expression ^[.\\p{Alnum}-_]{1,255}$\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. Key-value pairs that may be used for customizing\n the environment.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: EnvironmentStateEnum\n readOnly: true\n description: 'Output only. State of the environment. Values other than ACTIVE\n means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n") +var YAML_environment = []byte("info:\n title: Apigee/Environment\n description: The Apigee Environment resource\n x-dcl-struct-name: Environment\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n apply:\n description: The function used to apply information about a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n delete:\n description: The function used to delete a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n deleteAll:\n description: The function used to delete all Environment\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Environment\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Environment:\n title: Environment\n x-dcl-id: organizations/{{apigee_organization}}/environments/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Creation time of this environment as milliseconds\n since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the environment.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. Display name for this environment.\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Last modification time of this environment as\n milliseconds since epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment. Values must match the regular\n expression ^[.\\p{Alnum}-_]{1,255}$\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. Key-value pairs that may be used for customizing\n the environment.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: EnvironmentStateEnum\n readOnly: true\n description: 'Output only. State of the environment. Values other than ACTIVE\n means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n") -// 3518 bytes -// MD5: 65c5c903fe747553ca0648d8f6778693 +// 3543 bytes +// MD5: 35f3361d1e696ea8a05a37ae2a77f72f diff --git a/services/google/apigee/beta/environment_group.yaml b/services/google/apigee/beta/environment_group.yaml index 7397763020..e7790e938b 100755 --- a/services/google/apigee/beta/environment_group.yaml +++ b/services/google/apigee/beta/environment_group.yaml @@ -15,6 +15,7 @@ info: title: Apigee/EnvironmentGroup description: The Apigee EnvironmentGroup resource x-dcl-struct-name: EnvironmentGroup + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apigee/beta/environment_group_attachment.yaml b/services/google/apigee/beta/environment_group_attachment.yaml index 8cf895409e..ed90233fea 100755 --- a/services/google/apigee/beta/environment_group_attachment.yaml +++ b/services/google/apigee/beta/environment_group_attachment.yaml @@ -15,6 +15,7 @@ info: title: Apigee/EnvironmentGroupAttachment description: The Apigee EnvironmentGroupAttachment resource x-dcl-struct-name: EnvironmentGroupAttachment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apigee/beta/environment_group_attachment_beta_yaml_embed.go b/services/google/apigee/beta/environment_group_attachment_beta_yaml_embed.go index e066716bce..766425a05b 100755 --- a/services/google/apigee/beta/environment_group_attachment_beta_yaml_embed.go +++ b/services/google/apigee/beta/environment_group_attachment_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/beta/environment_group_attachment.yaml -var YAML_environment_group_attachment = []byte("info:\n title: Apigee/EnvironmentGroupAttachment\n description: The Apigee EnvironmentGroupAttachment resource\n x-dcl-struct-name: EnvironmentGroupAttachment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n apply:\n description: The function used to apply information about a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n delete:\n description: The function used to delete a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n deleteAll:\n description: The function used to delete all EnvironmentGroupAttachment\n parameters:\n - name: envgroup\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EnvironmentGroupAttachment\n parameters:\n - name: envgroup\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EnvironmentGroupAttachment:\n title: EnvironmentGroupAttachment\n x-dcl-id: '{{envgroup}}/attachments/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - environment\n - envgroup\n properties:\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n x-kubernetes-immutable: true\n envgroup:\n type: string\n x-dcl-go-name: Envgroup\n description: The environment group for the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Apigee/EnvironmentGroup\n field: name\n parent: true\n environment:\n type: string\n x-dcl-go-name: Environment\n description: Required. ID of the attached environment.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Environment\n field: name\n name:\n type: string\n x-dcl-go-name: Name\n description: ID of the environment group attachment.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n") +var YAML_environment_group_attachment = []byte("info:\n title: Apigee/EnvironmentGroupAttachment\n description: The Apigee EnvironmentGroupAttachment resource\n x-dcl-struct-name: EnvironmentGroupAttachment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n apply:\n description: The function used to apply information about a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n delete:\n description: The function used to delete a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n deleteAll:\n description: The function used to delete all EnvironmentGroupAttachment\n parameters:\n - name: envgroup\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EnvironmentGroupAttachment\n parameters:\n - name: envgroup\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EnvironmentGroupAttachment:\n title: EnvironmentGroupAttachment\n x-dcl-id: '{{envgroup}}/attachments/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - environment\n - envgroup\n properties:\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n x-kubernetes-immutable: true\n envgroup:\n type: string\n x-dcl-go-name: Envgroup\n description: The environment group for the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Apigee/EnvironmentGroup\n field: name\n parent: true\n environment:\n type: string\n x-dcl-go-name: Environment\n description: Required. ID of the attached environment.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Environment\n field: name\n name:\n type: string\n x-dcl-go-name: Name\n description: ID of the environment group attachment.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n") -// 2543 bytes -// MD5: 441703fd692a8e8de437a7b06c2e25e9 +// 2568 bytes +// MD5: 155229371709ca50fd8d498be3c4b7f8 diff --git a/services/google/apigee/beta/environment_group_attachment_schema.go b/services/google/apigee/beta/environment_group_attachment_schema.go index c54ec38208..0e91ca375a 100755 --- a/services/google/apigee/beta/environment_group_attachment_schema.go +++ b/services/google/apigee/beta/environment_group_attachment_schema.go @@ -23,6 +23,7 @@ func DCLEnvironmentGroupAttachmentSchema() *dcl.Schema { Title: "Apigee/EnvironmentGroupAttachment", Description: "The Apigee EnvironmentGroupAttachment resource", StructName: "EnvironmentGroupAttachment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apigee/beta/environment_group_beta_yaml_embed.go b/services/google/apigee/beta/environment_group_beta_yaml_embed.go index dbf61f5f79..61c2e4cf08 100755 --- a/services/google/apigee/beta/environment_group_beta_yaml_embed.go +++ b/services/google/apigee/beta/environment_group_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/beta/environment_group.yaml -var YAML_environment_group = []byte("info:\n title: Apigee/EnvironmentGroup\n description: The Apigee EnvironmentGroup resource\n x-dcl-struct-name: EnvironmentGroup\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n apply:\n description: The function used to apply information about a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n delete:\n description: The function used to delete a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n deleteAll:\n description: The function used to delete all EnvironmentGroup\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EnvironmentGroup\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EnvironmentGroup:\n title: EnvironmentGroup\n x-dcl-id: organizations/{{apigee_organization}}/envgroups/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n x-kubernetes-immutable: true\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: Required. Host names for this environment group.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: ID of the environment group.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: EnvironmentGroupStateEnum\n readOnly: true\n description: 'Output only. State of the environment. Values other than ACTIVE\n means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n") +var YAML_environment_group = []byte("info:\n title: Apigee/EnvironmentGroup\n description: The Apigee EnvironmentGroup resource\n x-dcl-struct-name: EnvironmentGroup\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n apply:\n description: The function used to apply information about a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n delete:\n description: The function used to delete a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n deleteAll:\n description: The function used to delete all EnvironmentGroup\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EnvironmentGroup\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EnvironmentGroup:\n title: EnvironmentGroup\n x-dcl-id: organizations/{{apigee_organization}}/envgroups/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n x-kubernetes-immutable: true\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: Required. Host names for this environment group.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: ID of the environment group.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: EnvironmentGroupStateEnum\n readOnly: true\n description: 'Output only. State of the environment. Values other than ACTIVE\n means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n") -// 3053 bytes -// MD5: 5a42346765df1f837340a8d5fc24d7b9 +// 3078 bytes +// MD5: a3117b16524ceedc0aae54052e945a7c diff --git a/services/google/apigee/beta/environment_group_schema.go b/services/google/apigee/beta/environment_group_schema.go index 92666726ef..9881375d17 100755 --- a/services/google/apigee/beta/environment_group_schema.go +++ b/services/google/apigee/beta/environment_group_schema.go @@ -23,6 +23,7 @@ func DCLEnvironmentGroupSchema() *dcl.Schema { Title: "Apigee/EnvironmentGroup", Description: "The Apigee EnvironmentGroup resource", StructName: "EnvironmentGroup", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apigee/beta/environment_schema.go b/services/google/apigee/beta/environment_schema.go index 2af39b825c..b8f1e61da0 100755 --- a/services/google/apigee/beta/environment_schema.go +++ b/services/google/apigee/beta/environment_schema.go @@ -23,6 +23,7 @@ func DCLEnvironmentSchema() *dcl.Schema { Title: "Apigee/Environment", Description: "The Apigee Environment resource", StructName: "Environment", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/apigee/beta/instance.yaml b/services/google/apigee/beta/instance.yaml index 4f4c23696e..5c315fe76c 100755 --- a/services/google/apigee/beta/instance.yaml +++ b/services/google/apigee/beta/instance.yaml @@ -15,6 +15,7 @@ info: title: Apigee/Instance description: The Apigee Instance resource x-dcl-struct-name: Instance + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apigee/beta/instance_beta_yaml_embed.go b/services/google/apigee/beta/instance_beta_yaml_embed.go index 65a0b2a4b4..9c90272b25 100755 --- a/services/google/apigee/beta/instance_beta_yaml_embed.go +++ b/services/google/apigee/beta/instance_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/beta/instance.yaml -var YAML_instance = []byte("info:\n title: Apigee/Instance\n description: The Apigee Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: organizations/{{apigee_organization}}/instances/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - location\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Time the instance was created in milliseconds\n since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the instance.\n x-kubernetes-immutable: true\n diskEncryptionKeyName:\n type: string\n x-dcl-go-name: DiskEncryptionKeyName\n description: 'Customer Managed Encryption Key (CMEK) used for disk and volume\n encryption. Required for Apigee paid subscriptions only. Use the following\n format: projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. Display name for the instance.\n x-kubernetes-immutable: true\n host:\n type: string\n x-dcl-go-name: Host\n readOnly: true\n description: Output only. Internal hostname or IP address of the Apigee\n endpoint used by clients to connect to the service.\n x-kubernetes-immutable: true\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Time the instance was last modified in milliseconds\n since epoch.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: Required. Compute Engine location where the instance resides.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Resource ID of the instance. Values must match the\n regular expression ^[a-z][a-z\\-\\d]{0,30}[a-z\\d]$.\n x-kubernetes-immutable: true\n peeringCidrRange:\n type: string\n x-dcl-go-name: PeeringCidrRange\n x-dcl-go-type: InstancePeeringCidrRangeEnum\n description: 'Optional. Size of the CIDR block range that will be reserved\n by the instance. PAID apigee_organizations support SLASH_16 to SLASH_20\n and defaults to SLASH_16. Evaluation organizations support only SLASH_23.\n Possible values: CIDR_RANGE_UNSPECIFIED, SLASH_16, SLASH_17, SLASH_18,\n SLASH_19, SLASH_20, SLASH_23'\n x-kubernetes-immutable: true\n enum:\n - CIDR_RANGE_UNSPECIFIED\n - SLASH_16\n - SLASH_17\n - SLASH_18\n - SLASH_19\n - SLASH_20\n - SLASH_23\n port:\n type: string\n x-dcl-go-name: Port\n readOnly: true\n description: Output only. Port number of the exposed Apigee endpoint.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. State of the instance. Values other than `ACTIVE`\n means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n x-kubernetes-immutable: true\n enum:\n - SNAPSHOT_STATE_UNSPECIFIED\n - MISSING\n - OK_DOCSTORE\n - OK_SUBMITTED\n - OK_EXTERNAL\n - DELETED\n") +var YAML_instance = []byte("info:\n title: Apigee/Instance\n description: The Apigee Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: organizations/{{apigee_organization}}/instances/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - location\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Time the instance was created in milliseconds\n since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the instance.\n x-kubernetes-immutable: true\n diskEncryptionKeyName:\n type: string\n x-dcl-go-name: DiskEncryptionKeyName\n description: 'Customer Managed Encryption Key (CMEK) used for disk and volume\n encryption. Required for Apigee paid subscriptions only. Use the following\n format: projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. Display name for the instance.\n x-kubernetes-immutable: true\n host:\n type: string\n x-dcl-go-name: Host\n readOnly: true\n description: Output only. Internal hostname or IP address of the Apigee\n endpoint used by clients to connect to the service.\n x-kubernetes-immutable: true\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Time the instance was last modified in milliseconds\n since epoch.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: Required. Compute Engine location where the instance resides.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Resource ID of the instance. Values must match the\n regular expression ^[a-z][a-z\\-\\d]{0,30}[a-z\\d]$.\n x-kubernetes-immutable: true\n peeringCidrRange:\n type: string\n x-dcl-go-name: PeeringCidrRange\n x-dcl-go-type: InstancePeeringCidrRangeEnum\n description: 'Optional. Size of the CIDR block range that will be reserved\n by the instance. PAID apigee_organizations support SLASH_16 to SLASH_20\n and defaults to SLASH_16. Evaluation organizations support only SLASH_23.\n Possible values: CIDR_RANGE_UNSPECIFIED, SLASH_16, SLASH_17, SLASH_18,\n SLASH_19, SLASH_20, SLASH_23'\n x-kubernetes-immutable: true\n enum:\n - CIDR_RANGE_UNSPECIFIED\n - SLASH_16\n - SLASH_17\n - SLASH_18\n - SLASH_19\n - SLASH_20\n - SLASH_23\n port:\n type: string\n x-dcl-go-name: Port\n readOnly: true\n description: Output only. Port number of the exposed Apigee endpoint.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. State of the instance. Values other than `ACTIVE`\n means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n x-kubernetes-immutable: true\n enum:\n - SNAPSHOT_STATE_UNSPECIFIED\n - MISSING\n - OK_DOCSTORE\n - OK_SUBMITTED\n - OK_EXTERNAL\n - DELETED\n") -// 5334 bytes -// MD5: 3238fe14f814e32824ecae566ef3ab81 +// 5359 bytes +// MD5: 5705d7a67aabe715d405d7c4bf06f0f6 diff --git a/services/google/apigee/beta/instance_schema.go b/services/google/apigee/beta/instance_schema.go index 7b7db82028..6f695501ae 100755 --- a/services/google/apigee/beta/instance_schema.go +++ b/services/google/apigee/beta/instance_schema.go @@ -23,6 +23,7 @@ func DCLInstanceSchema() *dcl.Schema { Title: "Apigee/Instance", Description: "The Apigee Instance resource", StructName: "Instance", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apigee/beta/organization.yaml b/services/google/apigee/beta/organization.yaml index f8a0c309cf..02bbeff6b7 100755 --- a/services/google/apigee/beta/organization.yaml +++ b/services/google/apigee/beta/organization.yaml @@ -15,6 +15,7 @@ info: title: Apigee/Organization description: The Apigee Organization resource x-dcl-struct-name: Organization + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apigee/beta/organization_beta_yaml_embed.go b/services/google/apigee/beta/organization_beta_yaml_embed.go index bec5a4210d..186969242e 100755 --- a/services/google/apigee/beta/organization_beta_yaml_embed.go +++ b/services/google/apigee/beta/organization_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/beta/organization.yaml -var YAML_organization = []byte("info:\n title: Apigee/Organization\n description: The Apigee Organization resource\n x-dcl-struct-name: Organization\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n apply:\n description: The function used to apply information about a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n delete:\n description: The function used to delete a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n deleteAll:\n description: The function used to delete all Organization\n parameters: []\n list:\n description: The function used to list information about many Organization\n parameters: []\ncomponents:\n schemas:\n Organization:\n title: Organization\n x-dcl-id: organizations/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - analyticsRegion\n - runtimeType\n properties:\n addonsConfig:\n type: object\n x-dcl-go-name: AddonsConfig\n x-dcl-go-type: OrganizationAddonsConfig\n description: Addon configurations of the Apigee organization.\n properties:\n advancedApiOpsConfig:\n type: object\n x-dcl-go-name: AdvancedApiOpsConfig\n x-dcl-go-type: OrganizationAddonsConfigAdvancedApiOpsConfig\n description: Configuration for the Advanced API Ops add-on.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Flag that specifies whether the Advanced API Ops add-on\n is enabled.\n monetizationConfig:\n type: object\n x-dcl-go-name: MonetizationConfig\n x-dcl-go-type: OrganizationAddonsConfigMonetizationConfig\n description: Configuration for the Monetization add-on.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Flag that specifies whether the Monetization add-on\n is enabled.\n analyticsRegion:\n type: string\n x-dcl-go-name: AnalyticsRegion\n description: Required. Primary GCP region for analytics data storage. For\n valid values, see (https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).\n x-kubernetes-immutable: true\n authorizedNetwork:\n type: string\n x-dcl-go-name: AuthorizedNetwork\n description: 'Compute Engine network used for Service Networking to be peered\n with Apigee runtime instances. See (https://cloud.google.com/vpc/docs/shared-vpc).\n To use a shared VPC network, use the following format: `projects/{host-project-id}/{region}/networks/{network-name}`.\n For example: `projects/my-sharedvpc-host/global/networks/mynetwork` **Note:**\n Not supported for Apigee hybrid.'\n x-dcl-references:\n - resource: Compute/Network\n field: name\n billingType:\n type: string\n x-dcl-go-name: BillingType\n x-dcl-go-type: OrganizationBillingTypeEnum\n readOnly: true\n description: 'Output only. Billing type of the Apigee organization. See\n (https://cloud.google.com/apigee/pricing). Possible values: BILLING_TYPE_UNSPECIFIED,\n SUBSCRIPTION, EVALUATION'\n x-kubernetes-immutable: true\n enum:\n - BILLING_TYPE_UNSPECIFIED\n - SUBSCRIPTION\n - EVALUATION\n caCertificate:\n type: string\n x-dcl-go-name: CaCertificate\n readOnly: true\n description: Output only. Base64-encoded public certificate for the root\n CA of the Apigee organization. Valid only when (#RuntimeType) is `CLOUD`.\n x-kubernetes-immutable: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Time that the Apigee organization was created\n in milliseconds since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the Apigee organization.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name for the Apigee organization.\n environments:\n type: array\n x-dcl-go-name: Environments\n readOnly: true\n description: Output only. List of environments in the Apigee organization.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n expiresAt:\n type: integer\n format: int64\n x-dcl-go-name: ExpiresAt\n readOnly: true\n description: Output only. Time that the Apigee organization is scheduled\n for deletion.\n x-kubernetes-immutable: true\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Time that the Apigee organization was last modified\n in milliseconds since epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Name of the Apigee organization.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: 'Required. Name of the GCP project in which to associate the\n Apigee organization. Pass the information as a query parameter using the\n following structure in your request: projects/ Authorization\n requires the following IAM permission on the specified resource parent:\n apigee.organizations.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n readOnly: true\n description: Output only. Project ID associated with the Apigee organization.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Properties defined in the Apigee organization profile.\n runtimeDatabaseEncryptionKeyName:\n type: string\n x-dcl-go-name: RuntimeDatabaseEncryptionKeyName\n description: 'Cloud KMS key name used for encrypting the data that is stored\n and replicated across runtime instances. Update is not allowed after the\n organization is created. Required when (#RuntimeType) is `TRIAL`, a Google-Managed\n encryption key will be used. For example: \"projects/foo/locations/us/keyRings/bar/cryptoKeys/baz\".\n **Note:** Not supported for Apigee hybrid.'\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n runtimeType:\n type: string\n x-dcl-go-name: RuntimeType\n x-dcl-go-type: OrganizationRuntimeTypeEnum\n description: 'Required. Runtime type of the Apigee organization based on\n the Apigee subscription purchased. Possible values: RUNTIME_TYPE_UNSPECIFIED,\n CLOUD, HYBRID'\n x-kubernetes-immutable: true\n enum:\n - RUNTIME_TYPE_UNSPECIFIED\n - CLOUD\n - HYBRID\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: OrganizationStateEnum\n readOnly: true\n description: 'Output only. State of the organization. Values other than\n ACTIVE means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n x-kubernetes-immutable: true\n enum:\n - SNAPSHOT_STATE_UNSPECIFIED\n - MISSING\n - OK_DOCSTORE\n - OK_SUBMITTED\n - OK_EXTERNAL\n - DELETED\n subscriptionType:\n type: string\n x-dcl-go-name: SubscriptionType\n x-dcl-go-type: OrganizationSubscriptionTypeEnum\n readOnly: true\n description: 'Output only. DEPRECATED: This will eventually be replaced\n by BillingType. Subscription type of the Apigee organization. Valid values\n include trial (free, limited, and for evaluation purposes only) or paid\n (full subscription has been purchased). See (https://cloud.google.com/apigee/pricing/).\n Possible values: SUBSCRIPTION_TYPE_UNSPECIFIED, PAID, TRIAL'\n x-kubernetes-immutable: true\n enum:\n - SUBSCRIPTION_TYPE_UNSPECIFIED\n - PAID\n - TRIAL\n") +var YAML_organization = []byte("info:\n title: Apigee/Organization\n description: The Apigee Organization resource\n x-dcl-struct-name: Organization\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n apply:\n description: The function used to apply information about a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n delete:\n description: The function used to delete a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n deleteAll:\n description: The function used to delete all Organization\n parameters: []\n list:\n description: The function used to list information about many Organization\n parameters: []\ncomponents:\n schemas:\n Organization:\n title: Organization\n x-dcl-id: organizations/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - analyticsRegion\n - runtimeType\n properties:\n addonsConfig:\n type: object\n x-dcl-go-name: AddonsConfig\n x-dcl-go-type: OrganizationAddonsConfig\n description: Addon configurations of the Apigee organization.\n properties:\n advancedApiOpsConfig:\n type: object\n x-dcl-go-name: AdvancedApiOpsConfig\n x-dcl-go-type: OrganizationAddonsConfigAdvancedApiOpsConfig\n description: Configuration for the Advanced API Ops add-on.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Flag that specifies whether the Advanced API Ops add-on\n is enabled.\n monetizationConfig:\n type: object\n x-dcl-go-name: MonetizationConfig\n x-dcl-go-type: OrganizationAddonsConfigMonetizationConfig\n description: Configuration for the Monetization add-on.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Flag that specifies whether the Monetization add-on\n is enabled.\n analyticsRegion:\n type: string\n x-dcl-go-name: AnalyticsRegion\n description: Required. Primary GCP region for analytics data storage. For\n valid values, see (https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).\n x-kubernetes-immutable: true\n authorizedNetwork:\n type: string\n x-dcl-go-name: AuthorizedNetwork\n description: 'Compute Engine network used for Service Networking to be peered\n with Apigee runtime instances. See (https://cloud.google.com/vpc/docs/shared-vpc).\n To use a shared VPC network, use the following format: `projects/{host-project-id}/{region}/networks/{network-name}`.\n For example: `projects/my-sharedvpc-host/global/networks/mynetwork` **Note:**\n Not supported for Apigee hybrid.'\n x-dcl-references:\n - resource: Compute/Network\n field: name\n billingType:\n type: string\n x-dcl-go-name: BillingType\n x-dcl-go-type: OrganizationBillingTypeEnum\n readOnly: true\n description: 'Output only. Billing type of the Apigee organization. See\n (https://cloud.google.com/apigee/pricing). Possible values: BILLING_TYPE_UNSPECIFIED,\n SUBSCRIPTION, EVALUATION'\n x-kubernetes-immutable: true\n enum:\n - BILLING_TYPE_UNSPECIFIED\n - SUBSCRIPTION\n - EVALUATION\n caCertificate:\n type: string\n x-dcl-go-name: CaCertificate\n readOnly: true\n description: Output only. Base64-encoded public certificate for the root\n CA of the Apigee organization. Valid only when (#RuntimeType) is `CLOUD`.\n x-kubernetes-immutable: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Time that the Apigee organization was created\n in milliseconds since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the Apigee organization.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name for the Apigee organization.\n environments:\n type: array\n x-dcl-go-name: Environments\n readOnly: true\n description: Output only. List of environments in the Apigee organization.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n expiresAt:\n type: integer\n format: int64\n x-dcl-go-name: ExpiresAt\n readOnly: true\n description: Output only. Time that the Apigee organization is scheduled\n for deletion.\n x-kubernetes-immutable: true\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Time that the Apigee organization was last modified\n in milliseconds since epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Name of the Apigee organization.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: 'Required. Name of the GCP project in which to associate the\n Apigee organization. Pass the information as a query parameter using the\n following structure in your request: projects/ Authorization\n requires the following IAM permission on the specified resource parent:\n apigee.organizations.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n readOnly: true\n description: Output only. Project ID associated with the Apigee organization.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Properties defined in the Apigee organization profile.\n runtimeDatabaseEncryptionKeyName:\n type: string\n x-dcl-go-name: RuntimeDatabaseEncryptionKeyName\n description: 'Cloud KMS key name used for encrypting the data that is stored\n and replicated across runtime instances. Update is not allowed after the\n organization is created. Required when (#RuntimeType) is `TRIAL`, a Google-Managed\n encryption key will be used. For example: \"projects/foo/locations/us/keyRings/bar/cryptoKeys/baz\".\n **Note:** Not supported for Apigee hybrid.'\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n runtimeType:\n type: string\n x-dcl-go-name: RuntimeType\n x-dcl-go-type: OrganizationRuntimeTypeEnum\n description: 'Required. Runtime type of the Apigee organization based on\n the Apigee subscription purchased. Possible values: RUNTIME_TYPE_UNSPECIFIED,\n CLOUD, HYBRID'\n x-kubernetes-immutable: true\n enum:\n - RUNTIME_TYPE_UNSPECIFIED\n - CLOUD\n - HYBRID\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: OrganizationStateEnum\n readOnly: true\n description: 'Output only. State of the organization. Values other than\n ACTIVE means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n x-kubernetes-immutable: true\n enum:\n - SNAPSHOT_STATE_UNSPECIFIED\n - MISSING\n - OK_DOCSTORE\n - OK_SUBMITTED\n - OK_EXTERNAL\n - DELETED\n subscriptionType:\n type: string\n x-dcl-go-name: SubscriptionType\n x-dcl-go-type: OrganizationSubscriptionTypeEnum\n readOnly: true\n description: 'Output only. DEPRECATED: This will eventually be replaced\n by BillingType. Subscription type of the Apigee organization. Valid values\n include trial (free, limited, and for evaluation purposes only) or paid\n (full subscription has been purchased). See (https://cloud.google.com/apigee/pricing/).\n Possible values: SUBSCRIPTION_TYPE_UNSPECIFIED, PAID, TRIAL'\n x-kubernetes-immutable: true\n enum:\n - SUBSCRIPTION_TYPE_UNSPECIFIED\n - PAID\n - TRIAL\n") -// 9474 bytes -// MD5: 719663a0a9631392590d2fc8eafe2ad7 +// 9499 bytes +// MD5: cdc3e400ac00acffa29cd6789ae5c07d diff --git a/services/google/apigee/beta/organization_schema.go b/services/google/apigee/beta/organization_schema.go index 0f3781eb6b..330616f56b 100755 --- a/services/google/apigee/beta/organization_schema.go +++ b/services/google/apigee/beta/organization_schema.go @@ -23,6 +23,7 @@ func DCLOrganizationSchema() *dcl.Schema { Title: "Apigee/Organization", Description: "The Apigee Organization resource", StructName: "Organization", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apigee/environment.yaml b/services/google/apigee/environment.yaml index 7b7b17b11d..4168c23602 100755 --- a/services/google/apigee/environment.yaml +++ b/services/google/apigee/environment.yaml @@ -15,6 +15,7 @@ info: title: Apigee/Environment description: The Apigee Environment resource x-dcl-struct-name: Environment + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/apigee/environment_group.yaml b/services/google/apigee/environment_group.yaml index 7397763020..e7790e938b 100755 --- a/services/google/apigee/environment_group.yaml +++ b/services/google/apigee/environment_group.yaml @@ -15,6 +15,7 @@ info: title: Apigee/EnvironmentGroup description: The Apigee EnvironmentGroup resource x-dcl-struct-name: EnvironmentGroup + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apigee/environment_group_attachment.yaml b/services/google/apigee/environment_group_attachment.yaml index 8cf895409e..ed90233fea 100755 --- a/services/google/apigee/environment_group_attachment.yaml +++ b/services/google/apigee/environment_group_attachment.yaml @@ -15,6 +15,7 @@ info: title: Apigee/EnvironmentGroupAttachment description: The Apigee EnvironmentGroupAttachment resource x-dcl-struct-name: EnvironmentGroupAttachment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apigee/environment_group_attachment_schema.go b/services/google/apigee/environment_group_attachment_schema.go index 96245b6f0c..9c82028a45 100755 --- a/services/google/apigee/environment_group_attachment_schema.go +++ b/services/google/apigee/environment_group_attachment_schema.go @@ -23,6 +23,7 @@ func DCLEnvironmentGroupAttachmentSchema() *dcl.Schema { Title: "Apigee/EnvironmentGroupAttachment", Description: "The Apigee EnvironmentGroupAttachment resource", StructName: "EnvironmentGroupAttachment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apigee/environment_group_attachment_yaml_embed.go b/services/google/apigee/environment_group_attachment_yaml_embed.go index 385495fc9e..57ca3b00ca 100755 --- a/services/google/apigee/environment_group_attachment_yaml_embed.go +++ b/services/google/apigee/environment_group_attachment_yaml_embed.go @@ -17,7 +17,7 @@ package apigee // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/environment_group_attachment.yaml -var YAML_environment_group_attachment = []byte("info:\n title: Apigee/EnvironmentGroupAttachment\n description: The Apigee EnvironmentGroupAttachment resource\n x-dcl-struct-name: EnvironmentGroupAttachment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n apply:\n description: The function used to apply information about a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n delete:\n description: The function used to delete a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n deleteAll:\n description: The function used to delete all EnvironmentGroupAttachment\n parameters:\n - name: envgroup\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EnvironmentGroupAttachment\n parameters:\n - name: envgroup\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EnvironmentGroupAttachment:\n title: EnvironmentGroupAttachment\n x-dcl-id: '{{envgroup}}/attachments/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - environment\n - envgroup\n properties:\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n x-kubernetes-immutable: true\n envgroup:\n type: string\n x-dcl-go-name: Envgroup\n description: The environment group for the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Apigee/EnvironmentGroup\n field: name\n parent: true\n environment:\n type: string\n x-dcl-go-name: Environment\n description: Required. ID of the attached environment.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Environment\n field: name\n name:\n type: string\n x-dcl-go-name: Name\n description: ID of the environment group attachment.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n") +var YAML_environment_group_attachment = []byte("info:\n title: Apigee/EnvironmentGroupAttachment\n description: The Apigee EnvironmentGroupAttachment resource\n x-dcl-struct-name: EnvironmentGroupAttachment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n apply:\n description: The function used to apply information about a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n delete:\n description: The function used to delete a EnvironmentGroupAttachment\n parameters:\n - name: EnvironmentGroupAttachment\n required: true\n description: A full instance of a EnvironmentGroupAttachment\n deleteAll:\n description: The function used to delete all EnvironmentGroupAttachment\n parameters:\n - name: envgroup\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EnvironmentGroupAttachment\n parameters:\n - name: envgroup\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EnvironmentGroupAttachment:\n title: EnvironmentGroupAttachment\n x-dcl-id: '{{envgroup}}/attachments/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - environment\n - envgroup\n properties:\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n x-kubernetes-immutable: true\n envgroup:\n type: string\n x-dcl-go-name: Envgroup\n description: The environment group for the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Apigee/EnvironmentGroup\n field: name\n parent: true\n environment:\n type: string\n x-dcl-go-name: Environment\n description: Required. ID of the attached environment.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Environment\n field: name\n name:\n type: string\n x-dcl-go-name: Name\n description: ID of the environment group attachment.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n") -// 2543 bytes -// MD5: 441703fd692a8e8de437a7b06c2e25e9 +// 2568 bytes +// MD5: 155229371709ca50fd8d498be3c4b7f8 diff --git a/services/google/apigee/environment_group_schema.go b/services/google/apigee/environment_group_schema.go index 7f3c5457b7..6e53913d09 100755 --- a/services/google/apigee/environment_group_schema.go +++ b/services/google/apigee/environment_group_schema.go @@ -23,6 +23,7 @@ func DCLEnvironmentGroupSchema() *dcl.Schema { Title: "Apigee/EnvironmentGroup", Description: "The Apigee EnvironmentGroup resource", StructName: "EnvironmentGroup", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apigee/environment_group_yaml_embed.go b/services/google/apigee/environment_group_yaml_embed.go index 0c5d3a4fbe..df69f51196 100755 --- a/services/google/apigee/environment_group_yaml_embed.go +++ b/services/google/apigee/environment_group_yaml_embed.go @@ -17,7 +17,7 @@ package apigee // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/environment_group.yaml -var YAML_environment_group = []byte("info:\n title: Apigee/EnvironmentGroup\n description: The Apigee EnvironmentGroup resource\n x-dcl-struct-name: EnvironmentGroup\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n apply:\n description: The function used to apply information about a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n delete:\n description: The function used to delete a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n deleteAll:\n description: The function used to delete all EnvironmentGroup\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EnvironmentGroup\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EnvironmentGroup:\n title: EnvironmentGroup\n x-dcl-id: organizations/{{apigee_organization}}/envgroups/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n x-kubernetes-immutable: true\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: Required. Host names for this environment group.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: ID of the environment group.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: EnvironmentGroupStateEnum\n readOnly: true\n description: 'Output only. State of the environment. Values other than ACTIVE\n means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n") +var YAML_environment_group = []byte("info:\n title: Apigee/EnvironmentGroup\n description: The Apigee EnvironmentGroup resource\n x-dcl-struct-name: EnvironmentGroup\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n apply:\n description: The function used to apply information about a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n delete:\n description: The function used to delete a EnvironmentGroup\n parameters:\n - name: EnvironmentGroup\n required: true\n description: A full instance of a EnvironmentGroup\n deleteAll:\n description: The function used to delete all EnvironmentGroup\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EnvironmentGroup\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EnvironmentGroup:\n title: EnvironmentGroup\n x-dcl-id: organizations/{{apigee_organization}}/envgroups/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n x-kubernetes-immutable: true\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: Required. Host names for this environment group.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: ID of the environment group.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: EnvironmentGroupStateEnum\n readOnly: true\n description: 'Output only. State of the environment. Values other than ACTIVE\n means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n") -// 3053 bytes -// MD5: 5a42346765df1f837340a8d5fc24d7b9 +// 3078 bytes +// MD5: a3117b16524ceedc0aae54052e945a7c diff --git a/services/google/apigee/environment_schema.go b/services/google/apigee/environment_schema.go index 961416edcd..8f313ba383 100755 --- a/services/google/apigee/environment_schema.go +++ b/services/google/apigee/environment_schema.go @@ -23,6 +23,7 @@ func DCLEnvironmentSchema() *dcl.Schema { Title: "Apigee/Environment", Description: "The Apigee Environment resource", StructName: "Environment", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/apigee/environment_yaml_embed.go b/services/google/apigee/environment_yaml_embed.go index a4318dd968..328e0646bc 100755 --- a/services/google/apigee/environment_yaml_embed.go +++ b/services/google/apigee/environment_yaml_embed.go @@ -17,7 +17,7 @@ package apigee // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/environment.yaml -var YAML_environment = []byte("info:\n title: Apigee/Environment\n description: The Apigee Environment resource\n x-dcl-struct-name: Environment\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n apply:\n description: The function used to apply information about a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n delete:\n description: The function used to delete a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n deleteAll:\n description: The function used to delete all Environment\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Environment\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Environment:\n title: Environment\n x-dcl-id: organizations/{{apigee_organization}}/environments/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Creation time of this environment as milliseconds\n since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the environment.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. Display name for this environment.\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Last modification time of this environment as\n milliseconds since epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment. Values must match the regular\n expression ^[.\\p{Alnum}-_]{1,255}$\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. Key-value pairs that may be used for customizing\n the environment.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: EnvironmentStateEnum\n readOnly: true\n description: 'Output only. State of the environment. Values other than ACTIVE\n means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n") +var YAML_environment = []byte("info:\n title: Apigee/Environment\n description: The Apigee Environment resource\n x-dcl-struct-name: Environment\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n apply:\n description: The function used to apply information about a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n delete:\n description: The function used to delete a Environment\n parameters:\n - name: Environment\n required: true\n description: A full instance of a Environment\n deleteAll:\n description: The function used to delete all Environment\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Environment\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Environment:\n title: Environment\n x-dcl-id: organizations/{{apigee_organization}}/environments/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Creation time of this environment as milliseconds\n since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the environment.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. Display name for this environment.\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Last modification time of this environment as\n milliseconds since epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment. Values must match the regular\n expression ^[.\\p{Alnum}-_]{1,255}$\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. Key-value pairs that may be used for customizing\n the environment.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: EnvironmentStateEnum\n readOnly: true\n description: 'Output only. State of the environment. Values other than ACTIVE\n means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n") -// 3518 bytes -// MD5: 65c5c903fe747553ca0648d8f6778693 +// 3543 bytes +// MD5: 35f3361d1e696ea8a05a37ae2a77f72f diff --git a/services/google/apigee/instance.yaml b/services/google/apigee/instance.yaml index 4f4c23696e..5c315fe76c 100755 --- a/services/google/apigee/instance.yaml +++ b/services/google/apigee/instance.yaml @@ -15,6 +15,7 @@ info: title: Apigee/Instance description: The Apigee Instance resource x-dcl-struct-name: Instance + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apigee/instance_schema.go b/services/google/apigee/instance_schema.go index 28d28cfe06..897a44b531 100755 --- a/services/google/apigee/instance_schema.go +++ b/services/google/apigee/instance_schema.go @@ -23,6 +23,7 @@ func DCLInstanceSchema() *dcl.Schema { Title: "Apigee/Instance", Description: "The Apigee Instance resource", StructName: "Instance", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apigee/instance_yaml_embed.go b/services/google/apigee/instance_yaml_embed.go index e002fe08b4..5bc706b10c 100755 --- a/services/google/apigee/instance_yaml_embed.go +++ b/services/google/apigee/instance_yaml_embed.go @@ -17,7 +17,7 @@ package apigee // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/instance.yaml -var YAML_instance = []byte("info:\n title: Apigee/Instance\n description: The Apigee Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: organizations/{{apigee_organization}}/instances/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - location\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Time the instance was created in milliseconds\n since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the instance.\n x-kubernetes-immutable: true\n diskEncryptionKeyName:\n type: string\n x-dcl-go-name: DiskEncryptionKeyName\n description: 'Customer Managed Encryption Key (CMEK) used for disk and volume\n encryption. Required for Apigee paid subscriptions only. Use the following\n format: projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. Display name for the instance.\n x-kubernetes-immutable: true\n host:\n type: string\n x-dcl-go-name: Host\n readOnly: true\n description: Output only. Internal hostname or IP address of the Apigee\n endpoint used by clients to connect to the service.\n x-kubernetes-immutable: true\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Time the instance was last modified in milliseconds\n since epoch.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: Required. Compute Engine location where the instance resides.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Resource ID of the instance. Values must match the\n regular expression ^[a-z][a-z\\-\\d]{0,30}[a-z\\d]$.\n x-kubernetes-immutable: true\n peeringCidrRange:\n type: string\n x-dcl-go-name: PeeringCidrRange\n x-dcl-go-type: InstancePeeringCidrRangeEnum\n description: 'Optional. Size of the CIDR block range that will be reserved\n by the instance. PAID apigee_organizations support SLASH_16 to SLASH_20\n and defaults to SLASH_16. Evaluation organizations support only SLASH_23.\n Possible values: CIDR_RANGE_UNSPECIFIED, SLASH_16, SLASH_17, SLASH_18,\n SLASH_19, SLASH_20, SLASH_23'\n x-kubernetes-immutable: true\n enum:\n - CIDR_RANGE_UNSPECIFIED\n - SLASH_16\n - SLASH_17\n - SLASH_18\n - SLASH_19\n - SLASH_20\n - SLASH_23\n port:\n type: string\n x-dcl-go-name: Port\n readOnly: true\n description: Output only. Port number of the exposed Apigee endpoint.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. State of the instance. Values other than `ACTIVE`\n means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n x-kubernetes-immutable: true\n enum:\n - SNAPSHOT_STATE_UNSPECIFIED\n - MISSING\n - OK_DOCSTORE\n - OK_SUBMITTED\n - OK_EXTERNAL\n - DELETED\n") +var YAML_instance = []byte("info:\n title: Apigee/Instance\n description: The Apigee Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: apigeeorganization\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: organizations/{{apigee_organization}}/instances/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - location\n - apigeeOrganization\n properties:\n apigeeOrganization:\n type: string\n x-dcl-go-name: ApigeeOrganization\n description: The apigee organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Apigee/Organization\n field: name\n parent: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Time the instance was created in milliseconds\n since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the instance.\n x-kubernetes-immutable: true\n diskEncryptionKeyName:\n type: string\n x-dcl-go-name: DiskEncryptionKeyName\n description: 'Customer Managed Encryption Key (CMEK) used for disk and volume\n encryption. Required for Apigee paid subscriptions only. Use the following\n format: projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. Display name for the instance.\n x-kubernetes-immutable: true\n host:\n type: string\n x-dcl-go-name: Host\n readOnly: true\n description: Output only. Internal hostname or IP address of the Apigee\n endpoint used by clients to connect to the service.\n x-kubernetes-immutable: true\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Time the instance was last modified in milliseconds\n since epoch.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: Required. Compute Engine location where the instance resides.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Resource ID of the instance. Values must match the\n regular expression ^[a-z][a-z\\-\\d]{0,30}[a-z\\d]$.\n x-kubernetes-immutable: true\n peeringCidrRange:\n type: string\n x-dcl-go-name: PeeringCidrRange\n x-dcl-go-type: InstancePeeringCidrRangeEnum\n description: 'Optional. Size of the CIDR block range that will be reserved\n by the instance. PAID apigee_organizations support SLASH_16 to SLASH_20\n and defaults to SLASH_16. Evaluation organizations support only SLASH_23.\n Possible values: CIDR_RANGE_UNSPECIFIED, SLASH_16, SLASH_17, SLASH_18,\n SLASH_19, SLASH_20, SLASH_23'\n x-kubernetes-immutable: true\n enum:\n - CIDR_RANGE_UNSPECIFIED\n - SLASH_16\n - SLASH_17\n - SLASH_18\n - SLASH_19\n - SLASH_20\n - SLASH_23\n port:\n type: string\n x-dcl-go-name: Port\n readOnly: true\n description: Output only. Port number of the exposed Apigee endpoint.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. State of the instance. Values other than `ACTIVE`\n means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n x-kubernetes-immutable: true\n enum:\n - SNAPSHOT_STATE_UNSPECIFIED\n - MISSING\n - OK_DOCSTORE\n - OK_SUBMITTED\n - OK_EXTERNAL\n - DELETED\n") -// 5334 bytes -// MD5: 3238fe14f814e32824ecae566ef3ab81 +// 5359 bytes +// MD5: 5705d7a67aabe715d405d7c4bf06f0f6 diff --git a/services/google/apigee/organization.yaml b/services/google/apigee/organization.yaml index f8a0c309cf..02bbeff6b7 100755 --- a/services/google/apigee/organization.yaml +++ b/services/google/apigee/organization.yaml @@ -15,6 +15,7 @@ info: title: Apigee/Organization description: The Apigee Organization resource x-dcl-struct-name: Organization + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apigee/organization_schema.go b/services/google/apigee/organization_schema.go index a6a163077a..bb52b0194d 100755 --- a/services/google/apigee/organization_schema.go +++ b/services/google/apigee/organization_schema.go @@ -23,6 +23,7 @@ func DCLOrganizationSchema() *dcl.Schema { Title: "Apigee/Organization", Description: "The Apigee Organization resource", StructName: "Organization", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apigee/organization_yaml_embed.go b/services/google/apigee/organization_yaml_embed.go index dd45fb46b7..8c588e6ea9 100755 --- a/services/google/apigee/organization_yaml_embed.go +++ b/services/google/apigee/organization_yaml_embed.go @@ -17,7 +17,7 @@ package apigee // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/organization.yaml -var YAML_organization = []byte("info:\n title: Apigee/Organization\n description: The Apigee Organization resource\n x-dcl-struct-name: Organization\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n apply:\n description: The function used to apply information about a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n delete:\n description: The function used to delete a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n deleteAll:\n description: The function used to delete all Organization\n parameters: []\n list:\n description: The function used to list information about many Organization\n parameters: []\ncomponents:\n schemas:\n Organization:\n title: Organization\n x-dcl-id: organizations/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - analyticsRegion\n - runtimeType\n properties:\n addonsConfig:\n type: object\n x-dcl-go-name: AddonsConfig\n x-dcl-go-type: OrganizationAddonsConfig\n description: Addon configurations of the Apigee organization.\n properties:\n advancedApiOpsConfig:\n type: object\n x-dcl-go-name: AdvancedApiOpsConfig\n x-dcl-go-type: OrganizationAddonsConfigAdvancedApiOpsConfig\n description: Configuration for the Advanced API Ops add-on.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Flag that specifies whether the Advanced API Ops add-on\n is enabled.\n monetizationConfig:\n type: object\n x-dcl-go-name: MonetizationConfig\n x-dcl-go-type: OrganizationAddonsConfigMonetizationConfig\n description: Configuration for the Monetization add-on.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Flag that specifies whether the Monetization add-on\n is enabled.\n analyticsRegion:\n type: string\n x-dcl-go-name: AnalyticsRegion\n description: Required. Primary GCP region for analytics data storage. For\n valid values, see (https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).\n x-kubernetes-immutable: true\n authorizedNetwork:\n type: string\n x-dcl-go-name: AuthorizedNetwork\n description: 'Compute Engine network used for Service Networking to be peered\n with Apigee runtime instances. See (https://cloud.google.com/vpc/docs/shared-vpc).\n To use a shared VPC network, use the following format: `projects/{host-project-id}/{region}/networks/{network-name}`.\n For example: `projects/my-sharedvpc-host/global/networks/mynetwork` **Note:**\n Not supported for Apigee hybrid.'\n x-dcl-references:\n - resource: Compute/Network\n field: name\n billingType:\n type: string\n x-dcl-go-name: BillingType\n x-dcl-go-type: OrganizationBillingTypeEnum\n readOnly: true\n description: 'Output only. Billing type of the Apigee organization. See\n (https://cloud.google.com/apigee/pricing). Possible values: BILLING_TYPE_UNSPECIFIED,\n SUBSCRIPTION, EVALUATION'\n x-kubernetes-immutable: true\n enum:\n - BILLING_TYPE_UNSPECIFIED\n - SUBSCRIPTION\n - EVALUATION\n caCertificate:\n type: string\n x-dcl-go-name: CaCertificate\n readOnly: true\n description: Output only. Base64-encoded public certificate for the root\n CA of the Apigee organization. Valid only when (#RuntimeType) is `CLOUD`.\n x-kubernetes-immutable: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Time that the Apigee organization was created\n in milliseconds since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the Apigee organization.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name for the Apigee organization.\n environments:\n type: array\n x-dcl-go-name: Environments\n readOnly: true\n description: Output only. List of environments in the Apigee organization.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n expiresAt:\n type: integer\n format: int64\n x-dcl-go-name: ExpiresAt\n readOnly: true\n description: Output only. Time that the Apigee organization is scheduled\n for deletion.\n x-kubernetes-immutable: true\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Time that the Apigee organization was last modified\n in milliseconds since epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Name of the Apigee organization.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: 'Required. Name of the GCP project in which to associate the\n Apigee organization. Pass the information as a query parameter using the\n following structure in your request: projects/ Authorization\n requires the following IAM permission on the specified resource parent:\n apigee.organizations.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n readOnly: true\n description: Output only. Project ID associated with the Apigee organization.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Properties defined in the Apigee organization profile.\n runtimeDatabaseEncryptionKeyName:\n type: string\n x-dcl-go-name: RuntimeDatabaseEncryptionKeyName\n description: 'Cloud KMS key name used for encrypting the data that is stored\n and replicated across runtime instances. Update is not allowed after the\n organization is created. Required when (#RuntimeType) is `TRIAL`, a Google-Managed\n encryption key will be used. For example: \"projects/foo/locations/us/keyRings/bar/cryptoKeys/baz\".\n **Note:** Not supported for Apigee hybrid.'\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n runtimeType:\n type: string\n x-dcl-go-name: RuntimeType\n x-dcl-go-type: OrganizationRuntimeTypeEnum\n description: 'Required. Runtime type of the Apigee organization based on\n the Apigee subscription purchased. Possible values: RUNTIME_TYPE_UNSPECIFIED,\n CLOUD, HYBRID'\n x-kubernetes-immutable: true\n enum:\n - RUNTIME_TYPE_UNSPECIFIED\n - CLOUD\n - HYBRID\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: OrganizationStateEnum\n readOnly: true\n description: 'Output only. State of the organization. Values other than\n ACTIVE means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n x-kubernetes-immutable: true\n enum:\n - SNAPSHOT_STATE_UNSPECIFIED\n - MISSING\n - OK_DOCSTORE\n - OK_SUBMITTED\n - OK_EXTERNAL\n - DELETED\n subscriptionType:\n type: string\n x-dcl-go-name: SubscriptionType\n x-dcl-go-type: OrganizationSubscriptionTypeEnum\n readOnly: true\n description: 'Output only. DEPRECATED: This will eventually be replaced\n by BillingType. Subscription type of the Apigee organization. Valid values\n include trial (free, limited, and for evaluation purposes only) or paid\n (full subscription has been purchased). See (https://cloud.google.com/apigee/pricing/).\n Possible values: SUBSCRIPTION_TYPE_UNSPECIFIED, PAID, TRIAL'\n x-kubernetes-immutable: true\n enum:\n - SUBSCRIPTION_TYPE_UNSPECIFIED\n - PAID\n - TRIAL\n") +var YAML_organization = []byte("info:\n title: Apigee/Organization\n description: The Apigee Organization resource\n x-dcl-struct-name: Organization\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n apply:\n description: The function used to apply information about a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n delete:\n description: The function used to delete a Organization\n parameters:\n - name: Organization\n required: true\n description: A full instance of a Organization\n deleteAll:\n description: The function used to delete all Organization\n parameters: []\n list:\n description: The function used to list information about many Organization\n parameters: []\ncomponents:\n schemas:\n Organization:\n title: Organization\n x-dcl-id: organizations/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - analyticsRegion\n - runtimeType\n properties:\n addonsConfig:\n type: object\n x-dcl-go-name: AddonsConfig\n x-dcl-go-type: OrganizationAddonsConfig\n description: Addon configurations of the Apigee organization.\n properties:\n advancedApiOpsConfig:\n type: object\n x-dcl-go-name: AdvancedApiOpsConfig\n x-dcl-go-type: OrganizationAddonsConfigAdvancedApiOpsConfig\n description: Configuration for the Advanced API Ops add-on.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Flag that specifies whether the Advanced API Ops add-on\n is enabled.\n monetizationConfig:\n type: object\n x-dcl-go-name: MonetizationConfig\n x-dcl-go-type: OrganizationAddonsConfigMonetizationConfig\n description: Configuration for the Monetization add-on.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Flag that specifies whether the Monetization add-on\n is enabled.\n analyticsRegion:\n type: string\n x-dcl-go-name: AnalyticsRegion\n description: Required. Primary GCP region for analytics data storage. For\n valid values, see (https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).\n x-kubernetes-immutable: true\n authorizedNetwork:\n type: string\n x-dcl-go-name: AuthorizedNetwork\n description: 'Compute Engine network used for Service Networking to be peered\n with Apigee runtime instances. See (https://cloud.google.com/vpc/docs/shared-vpc).\n To use a shared VPC network, use the following format: `projects/{host-project-id}/{region}/networks/{network-name}`.\n For example: `projects/my-sharedvpc-host/global/networks/mynetwork` **Note:**\n Not supported for Apigee hybrid.'\n x-dcl-references:\n - resource: Compute/Network\n field: name\n billingType:\n type: string\n x-dcl-go-name: BillingType\n x-dcl-go-type: OrganizationBillingTypeEnum\n readOnly: true\n description: 'Output only. Billing type of the Apigee organization. See\n (https://cloud.google.com/apigee/pricing). Possible values: BILLING_TYPE_UNSPECIFIED,\n SUBSCRIPTION, EVALUATION'\n x-kubernetes-immutable: true\n enum:\n - BILLING_TYPE_UNSPECIFIED\n - SUBSCRIPTION\n - EVALUATION\n caCertificate:\n type: string\n x-dcl-go-name: CaCertificate\n readOnly: true\n description: Output only. Base64-encoded public certificate for the root\n CA of the Apigee organization. Valid only when (#RuntimeType) is `CLOUD`.\n x-kubernetes-immutable: true\n createdAt:\n type: integer\n format: int64\n x-dcl-go-name: CreatedAt\n readOnly: true\n description: Output only. Time that the Apigee organization was created\n in milliseconds since epoch.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the Apigee organization.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name for the Apigee organization.\n environments:\n type: array\n x-dcl-go-name: Environments\n readOnly: true\n description: Output only. List of environments in the Apigee organization.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n expiresAt:\n type: integer\n format: int64\n x-dcl-go-name: ExpiresAt\n readOnly: true\n description: Output only. Time that the Apigee organization is scheduled\n for deletion.\n x-kubernetes-immutable: true\n lastModifiedAt:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedAt\n readOnly: true\n description: Output only. Time that the Apigee organization was last modified\n in milliseconds since epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Name of the Apigee organization.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: 'Required. Name of the GCP project in which to associate the\n Apigee organization. Pass the information as a query parameter using the\n following structure in your request: projects/ Authorization\n requires the following IAM permission on the specified resource parent:\n apigee.organizations.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n readOnly: true\n description: Output only. Project ID associated with the Apigee organization.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Properties defined in the Apigee organization profile.\n runtimeDatabaseEncryptionKeyName:\n type: string\n x-dcl-go-name: RuntimeDatabaseEncryptionKeyName\n description: 'Cloud KMS key name used for encrypting the data that is stored\n and replicated across runtime instances. Update is not allowed after the\n organization is created. Required when (#RuntimeType) is `TRIAL`, a Google-Managed\n encryption key will be used. For example: \"projects/foo/locations/us/keyRings/bar/cryptoKeys/baz\".\n **Note:** Not supported for Apigee hybrid.'\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n runtimeType:\n type: string\n x-dcl-go-name: RuntimeType\n x-dcl-go-type: OrganizationRuntimeTypeEnum\n description: 'Required. Runtime type of the Apigee organization based on\n the Apigee subscription purchased. Possible values: RUNTIME_TYPE_UNSPECIFIED,\n CLOUD, HYBRID'\n x-kubernetes-immutable: true\n enum:\n - RUNTIME_TYPE_UNSPECIFIED\n - CLOUD\n - HYBRID\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: OrganizationStateEnum\n readOnly: true\n description: 'Output only. State of the organization. Values other than\n ACTIVE means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n x-kubernetes-immutable: true\n enum:\n - SNAPSHOT_STATE_UNSPECIFIED\n - MISSING\n - OK_DOCSTORE\n - OK_SUBMITTED\n - OK_EXTERNAL\n - DELETED\n subscriptionType:\n type: string\n x-dcl-go-name: SubscriptionType\n x-dcl-go-type: OrganizationSubscriptionTypeEnum\n readOnly: true\n description: 'Output only. DEPRECATED: This will eventually be replaced\n by BillingType. Subscription type of the Apigee organization. Valid values\n include trial (free, limited, and for evaluation purposes only) or paid\n (full subscription has been purchased). See (https://cloud.google.com/apigee/pricing/).\n Possible values: SUBSCRIPTION_TYPE_UNSPECIFIED, PAID, TRIAL'\n x-kubernetes-immutable: true\n enum:\n - SUBSCRIPTION_TYPE_UNSPECIFIED\n - PAID\n - TRIAL\n") -// 9474 bytes -// MD5: 719663a0a9631392590d2fc8eafe2ad7 +// 9499 bytes +// MD5: cdc3e400ac00acffa29cd6789ae5c07d diff --git a/services/google/apikeys/alpha/key.yaml b/services/google/apikeys/alpha/key.yaml index c545c28cad..5b7b18c677 100755 --- a/services/google/apikeys/alpha/key.yaml +++ b/services/google/apikeys/alpha/key.yaml @@ -15,6 +15,7 @@ info: title: Apikeys/Key description: The Apikeys Key resource x-dcl-struct-name: Key + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apikeys/alpha/key_alpha_yaml_embed.go b/services/google/apikeys/alpha/key_alpha_yaml_embed.go index 729134adb4..11a5c77c68 100755 --- a/services/google/apikeys/alpha/key_alpha_yaml_embed.go +++ b/services/google/apikeys/alpha/key_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apikeys/alpha/key.yaml -var YAML_key = []byte("info:\n title: Apikeys/Key\n description: The Apikeys Key resource\n x-dcl-struct-name: Key\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n apply:\n description: The function used to apply information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n delete:\n description: The function used to delete a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n deleteAll:\n description: The function used to delete all Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Key:\n title: Key\n x-dcl-id: projects/{{project}}/locations/global/keys/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-readable display name of this API key. Modifiable by\n user.\n keyString:\n type: string\n x-dcl-go-name: KeyString\n readOnly: true\n description: Output only. An encrypted and signed value held by this key.\n This field can be accessed only through the `GetKeyString` method.\n x-kubernetes-immutable: true\n x-dcl-sensitive: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the key. The name must be unique within\n the project, must conform with RFC-1034, is restricted to lower-cased\n letters, and has a maximum length of 63 characters. In another word, the\n name must match the regular expression: [a-z]([a-z0-9-]{0,61}[a-z0-9])?.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n restrictions:\n type: object\n x-dcl-go-name: Restrictions\n x-dcl-go-type: KeyRestrictions\n description: Key restrictions.\n properties:\n androidKeyRestrictions:\n type: object\n x-dcl-go-name: AndroidKeyRestrictions\n x-dcl-go-type: KeyRestrictionsAndroidKeyRestrictions\n description: The Android apps that are allowed to use the key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - serverKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedApplications\n properties:\n allowedApplications:\n type: array\n x-dcl-go-name: AllowedApplications\n description: A list of Android applications that are allowed to\n make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: KeyRestrictionsAndroidKeyRestrictionsAllowedApplications\n required:\n - sha1Fingerprint\n - packageName\n properties:\n packageName:\n type: string\n x-dcl-go-name: PackageName\n description: The package name of the application.\n sha1Fingerprint:\n type: string\n x-dcl-go-name: Sha1Fingerprint\n description: 'The SHA1 fingerprint of the application. For\n example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09\n or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format\n is the latter.'\n apiTargets:\n type: array\n x-dcl-go-name: ApiTargets\n description: A restriction for a specific service and optionally one\n or more specific methods. Requests are allowed if they match any of\n these restrictions. If no restrictions are specified, all targets\n are allowed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: KeyRestrictionsApiTargets\n required:\n - service\n properties:\n methods:\n type: array\n x-dcl-go-name: Methods\n description: 'Optional. List of one or more methods that can be\n called. If empty, all methods for the service are allowed. A\n wildcard (*) can be used as the last symbol. Valid examples:\n `google.cloud.translate.v2.TranslateService.GetSupportedLanguage`\n `TranslateText` `Get*` `translate.googleapis.com.Get*`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n service:\n type: string\n x-dcl-go-name: Service\n description: 'The service for this restriction. It should be the\n canonical service name, for example: `translate.googleapis.com`.\n You can use `gcloud services list` to get a list of services\n that are enabled in the project.'\n browserKeyRestrictions:\n type: object\n x-dcl-go-name: BrowserKeyRestrictions\n x-dcl-go-type: KeyRestrictionsBrowserKeyRestrictions\n description: The HTTP referrers (websites) that are allowed to use the\n key.\n x-dcl-conflicts:\n - serverKeyRestrictions\n - androidKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedReferrers\n properties:\n allowedReferrers:\n type: array\n x-dcl-go-name: AllowedReferrers\n description: A list of regular expressions for the referrer URLs\n that are allowed to make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n iosKeyRestrictions:\n type: object\n x-dcl-go-name: IosKeyRestrictions\n x-dcl-go-type: KeyRestrictionsIosKeyRestrictions\n description: The iOS apps that are allowed to use the key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - serverKeyRestrictions\n - androidKeyRestrictions\n required:\n - allowedBundleIds\n properties:\n allowedBundleIds:\n type: array\n x-dcl-go-name: AllowedBundleIds\n description: A list of bundle IDs that are allowed when making API\n calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serverKeyRestrictions:\n type: object\n x-dcl-go-name: ServerKeyRestrictions\n x-dcl-go-type: KeyRestrictionsServerKeyRestrictions\n description: The IP addresses of callers that are allowed to use the\n key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - androidKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedIps\n properties:\n allowedIps:\n type: array\n x-dcl-go-name: AllowedIps\n description: A list of the caller IP addresses that are allowed\n to make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n") +var YAML_key = []byte("info:\n title: Apikeys/Key\n description: The Apikeys Key resource\n x-dcl-struct-name: Key\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n apply:\n description: The function used to apply information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n delete:\n description: The function used to delete a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n deleteAll:\n description: The function used to delete all Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Key:\n title: Key\n x-dcl-id: projects/{{project}}/locations/global/keys/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-readable display name of this API key. Modifiable by\n user.\n keyString:\n type: string\n x-dcl-go-name: KeyString\n readOnly: true\n description: Output only. An encrypted and signed value held by this key.\n This field can be accessed only through the `GetKeyString` method.\n x-kubernetes-immutable: true\n x-dcl-sensitive: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the key. The name must be unique within\n the project, must conform with RFC-1034, is restricted to lower-cased\n letters, and has a maximum length of 63 characters. In another word, the\n name must match the regular expression: [a-z]([a-z0-9-]{0,61}[a-z0-9])?.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n restrictions:\n type: object\n x-dcl-go-name: Restrictions\n x-dcl-go-type: KeyRestrictions\n description: Key restrictions.\n properties:\n androidKeyRestrictions:\n type: object\n x-dcl-go-name: AndroidKeyRestrictions\n x-dcl-go-type: KeyRestrictionsAndroidKeyRestrictions\n description: The Android apps that are allowed to use the key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - serverKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedApplications\n properties:\n allowedApplications:\n type: array\n x-dcl-go-name: AllowedApplications\n description: A list of Android applications that are allowed to\n make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: KeyRestrictionsAndroidKeyRestrictionsAllowedApplications\n required:\n - sha1Fingerprint\n - packageName\n properties:\n packageName:\n type: string\n x-dcl-go-name: PackageName\n description: The package name of the application.\n sha1Fingerprint:\n type: string\n x-dcl-go-name: Sha1Fingerprint\n description: 'The SHA1 fingerprint of the application. For\n example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09\n or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format\n is the latter.'\n apiTargets:\n type: array\n x-dcl-go-name: ApiTargets\n description: A restriction for a specific service and optionally one\n or more specific methods. Requests are allowed if they match any of\n these restrictions. If no restrictions are specified, all targets\n are allowed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: KeyRestrictionsApiTargets\n required:\n - service\n properties:\n methods:\n type: array\n x-dcl-go-name: Methods\n description: 'Optional. List of one or more methods that can be\n called. If empty, all methods for the service are allowed. A\n wildcard (*) can be used as the last symbol. Valid examples:\n `google.cloud.translate.v2.TranslateService.GetSupportedLanguage`\n `TranslateText` `Get*` `translate.googleapis.com.Get*`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n service:\n type: string\n x-dcl-go-name: Service\n description: 'The service for this restriction. It should be the\n canonical service name, for example: `translate.googleapis.com`.\n You can use `gcloud services list` to get a list of services\n that are enabled in the project.'\n browserKeyRestrictions:\n type: object\n x-dcl-go-name: BrowserKeyRestrictions\n x-dcl-go-type: KeyRestrictionsBrowserKeyRestrictions\n description: The HTTP referrers (websites) that are allowed to use the\n key.\n x-dcl-conflicts:\n - serverKeyRestrictions\n - androidKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedReferrers\n properties:\n allowedReferrers:\n type: array\n x-dcl-go-name: AllowedReferrers\n description: A list of regular expressions for the referrer URLs\n that are allowed to make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n iosKeyRestrictions:\n type: object\n x-dcl-go-name: IosKeyRestrictions\n x-dcl-go-type: KeyRestrictionsIosKeyRestrictions\n description: The iOS apps that are allowed to use the key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - serverKeyRestrictions\n - androidKeyRestrictions\n required:\n - allowedBundleIds\n properties:\n allowedBundleIds:\n type: array\n x-dcl-go-name: AllowedBundleIds\n description: A list of bundle IDs that are allowed when making API\n calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serverKeyRestrictions:\n type: object\n x-dcl-go-name: ServerKeyRestrictions\n x-dcl-go-type: KeyRestrictionsServerKeyRestrictions\n description: The IP addresses of callers that are allowed to use the\n key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - androidKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedIps\n properties:\n allowedIps:\n type: array\n x-dcl-go-name: AllowedIps\n description: A list of the caller IP addresses that are allowed\n to make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n") -// 8996 bytes -// MD5: 3c5f760e8bf6293807aefa8252060032 +// 9021 bytes +// MD5: 58ef8666e212c77368adc0912202c1d0 diff --git a/services/google/apikeys/alpha/key_schema.go b/services/google/apikeys/alpha/key_schema.go index 139101f412..64b38d90ac 100755 --- a/services/google/apikeys/alpha/key_schema.go +++ b/services/google/apikeys/alpha/key_schema.go @@ -23,6 +23,7 @@ func DCLKeySchema() *dcl.Schema { Title: "Apikeys/Key", Description: "The Apikeys Key resource", StructName: "Key", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apikeys/beta/key.yaml b/services/google/apikeys/beta/key.yaml index c545c28cad..5b7b18c677 100755 --- a/services/google/apikeys/beta/key.yaml +++ b/services/google/apikeys/beta/key.yaml @@ -15,6 +15,7 @@ info: title: Apikeys/Key description: The Apikeys Key resource x-dcl-struct-name: Key + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apikeys/beta/key_beta_yaml_embed.go b/services/google/apikeys/beta/key_beta_yaml_embed.go index 30034514f7..abf703b889 100755 --- a/services/google/apikeys/beta/key_beta_yaml_embed.go +++ b/services/google/apikeys/beta/key_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apikeys/beta/key.yaml -var YAML_key = []byte("info:\n title: Apikeys/Key\n description: The Apikeys Key resource\n x-dcl-struct-name: Key\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n apply:\n description: The function used to apply information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n delete:\n description: The function used to delete a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n deleteAll:\n description: The function used to delete all Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Key:\n title: Key\n x-dcl-id: projects/{{project}}/locations/global/keys/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-readable display name of this API key. Modifiable by\n user.\n keyString:\n type: string\n x-dcl-go-name: KeyString\n readOnly: true\n description: Output only. An encrypted and signed value held by this key.\n This field can be accessed only through the `GetKeyString` method.\n x-kubernetes-immutable: true\n x-dcl-sensitive: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the key. The name must be unique within\n the project, must conform with RFC-1034, is restricted to lower-cased\n letters, and has a maximum length of 63 characters. In another word, the\n name must match the regular expression: [a-z]([a-z0-9-]{0,61}[a-z0-9])?.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n restrictions:\n type: object\n x-dcl-go-name: Restrictions\n x-dcl-go-type: KeyRestrictions\n description: Key restrictions.\n properties:\n androidKeyRestrictions:\n type: object\n x-dcl-go-name: AndroidKeyRestrictions\n x-dcl-go-type: KeyRestrictionsAndroidKeyRestrictions\n description: The Android apps that are allowed to use the key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - serverKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedApplications\n properties:\n allowedApplications:\n type: array\n x-dcl-go-name: AllowedApplications\n description: A list of Android applications that are allowed to\n make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: KeyRestrictionsAndroidKeyRestrictionsAllowedApplications\n required:\n - sha1Fingerprint\n - packageName\n properties:\n packageName:\n type: string\n x-dcl-go-name: PackageName\n description: The package name of the application.\n sha1Fingerprint:\n type: string\n x-dcl-go-name: Sha1Fingerprint\n description: 'The SHA1 fingerprint of the application. For\n example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09\n or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format\n is the latter.'\n apiTargets:\n type: array\n x-dcl-go-name: ApiTargets\n description: A restriction for a specific service and optionally one\n or more specific methods. Requests are allowed if they match any of\n these restrictions. If no restrictions are specified, all targets\n are allowed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: KeyRestrictionsApiTargets\n required:\n - service\n properties:\n methods:\n type: array\n x-dcl-go-name: Methods\n description: 'Optional. List of one or more methods that can be\n called. If empty, all methods for the service are allowed. A\n wildcard (*) can be used as the last symbol. Valid examples:\n `google.cloud.translate.v2.TranslateService.GetSupportedLanguage`\n `TranslateText` `Get*` `translate.googleapis.com.Get*`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n service:\n type: string\n x-dcl-go-name: Service\n description: 'The service for this restriction. It should be the\n canonical service name, for example: `translate.googleapis.com`.\n You can use `gcloud services list` to get a list of services\n that are enabled in the project.'\n browserKeyRestrictions:\n type: object\n x-dcl-go-name: BrowserKeyRestrictions\n x-dcl-go-type: KeyRestrictionsBrowserKeyRestrictions\n description: The HTTP referrers (websites) that are allowed to use the\n key.\n x-dcl-conflicts:\n - serverKeyRestrictions\n - androidKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedReferrers\n properties:\n allowedReferrers:\n type: array\n x-dcl-go-name: AllowedReferrers\n description: A list of regular expressions for the referrer URLs\n that are allowed to make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n iosKeyRestrictions:\n type: object\n x-dcl-go-name: IosKeyRestrictions\n x-dcl-go-type: KeyRestrictionsIosKeyRestrictions\n description: The iOS apps that are allowed to use the key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - serverKeyRestrictions\n - androidKeyRestrictions\n required:\n - allowedBundleIds\n properties:\n allowedBundleIds:\n type: array\n x-dcl-go-name: AllowedBundleIds\n description: A list of bundle IDs that are allowed when making API\n calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serverKeyRestrictions:\n type: object\n x-dcl-go-name: ServerKeyRestrictions\n x-dcl-go-type: KeyRestrictionsServerKeyRestrictions\n description: The IP addresses of callers that are allowed to use the\n key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - androidKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedIps\n properties:\n allowedIps:\n type: array\n x-dcl-go-name: AllowedIps\n description: A list of the caller IP addresses that are allowed\n to make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n") +var YAML_key = []byte("info:\n title: Apikeys/Key\n description: The Apikeys Key resource\n x-dcl-struct-name: Key\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n apply:\n description: The function used to apply information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n delete:\n description: The function used to delete a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n deleteAll:\n description: The function used to delete all Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Key:\n title: Key\n x-dcl-id: projects/{{project}}/locations/global/keys/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-readable display name of this API key. Modifiable by\n user.\n keyString:\n type: string\n x-dcl-go-name: KeyString\n readOnly: true\n description: Output only. An encrypted and signed value held by this key.\n This field can be accessed only through the `GetKeyString` method.\n x-kubernetes-immutable: true\n x-dcl-sensitive: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the key. The name must be unique within\n the project, must conform with RFC-1034, is restricted to lower-cased\n letters, and has a maximum length of 63 characters. In another word, the\n name must match the regular expression: [a-z]([a-z0-9-]{0,61}[a-z0-9])?.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n restrictions:\n type: object\n x-dcl-go-name: Restrictions\n x-dcl-go-type: KeyRestrictions\n description: Key restrictions.\n properties:\n androidKeyRestrictions:\n type: object\n x-dcl-go-name: AndroidKeyRestrictions\n x-dcl-go-type: KeyRestrictionsAndroidKeyRestrictions\n description: The Android apps that are allowed to use the key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - serverKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedApplications\n properties:\n allowedApplications:\n type: array\n x-dcl-go-name: AllowedApplications\n description: A list of Android applications that are allowed to\n make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: KeyRestrictionsAndroidKeyRestrictionsAllowedApplications\n required:\n - sha1Fingerprint\n - packageName\n properties:\n packageName:\n type: string\n x-dcl-go-name: PackageName\n description: The package name of the application.\n sha1Fingerprint:\n type: string\n x-dcl-go-name: Sha1Fingerprint\n description: 'The SHA1 fingerprint of the application. For\n example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09\n or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format\n is the latter.'\n apiTargets:\n type: array\n x-dcl-go-name: ApiTargets\n description: A restriction for a specific service and optionally one\n or more specific methods. Requests are allowed if they match any of\n these restrictions. If no restrictions are specified, all targets\n are allowed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: KeyRestrictionsApiTargets\n required:\n - service\n properties:\n methods:\n type: array\n x-dcl-go-name: Methods\n description: 'Optional. List of one or more methods that can be\n called. If empty, all methods for the service are allowed. A\n wildcard (*) can be used as the last symbol. Valid examples:\n `google.cloud.translate.v2.TranslateService.GetSupportedLanguage`\n `TranslateText` `Get*` `translate.googleapis.com.Get*`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n service:\n type: string\n x-dcl-go-name: Service\n description: 'The service for this restriction. It should be the\n canonical service name, for example: `translate.googleapis.com`.\n You can use `gcloud services list` to get a list of services\n that are enabled in the project.'\n browserKeyRestrictions:\n type: object\n x-dcl-go-name: BrowserKeyRestrictions\n x-dcl-go-type: KeyRestrictionsBrowserKeyRestrictions\n description: The HTTP referrers (websites) that are allowed to use the\n key.\n x-dcl-conflicts:\n - serverKeyRestrictions\n - androidKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedReferrers\n properties:\n allowedReferrers:\n type: array\n x-dcl-go-name: AllowedReferrers\n description: A list of regular expressions for the referrer URLs\n that are allowed to make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n iosKeyRestrictions:\n type: object\n x-dcl-go-name: IosKeyRestrictions\n x-dcl-go-type: KeyRestrictionsIosKeyRestrictions\n description: The iOS apps that are allowed to use the key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - serverKeyRestrictions\n - androidKeyRestrictions\n required:\n - allowedBundleIds\n properties:\n allowedBundleIds:\n type: array\n x-dcl-go-name: AllowedBundleIds\n description: A list of bundle IDs that are allowed when making API\n calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serverKeyRestrictions:\n type: object\n x-dcl-go-name: ServerKeyRestrictions\n x-dcl-go-type: KeyRestrictionsServerKeyRestrictions\n description: The IP addresses of callers that are allowed to use the\n key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - androidKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedIps\n properties:\n allowedIps:\n type: array\n x-dcl-go-name: AllowedIps\n description: A list of the caller IP addresses that are allowed\n to make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n") -// 8996 bytes -// MD5: 3c5f760e8bf6293807aefa8252060032 +// 9021 bytes +// MD5: 58ef8666e212c77368adc0912202c1d0 diff --git a/services/google/apikeys/beta/key_schema.go b/services/google/apikeys/beta/key_schema.go index 81a7bf6159..58487e2fdc 100755 --- a/services/google/apikeys/beta/key_schema.go +++ b/services/google/apikeys/beta/key_schema.go @@ -23,6 +23,7 @@ func DCLKeySchema() *dcl.Schema { Title: "Apikeys/Key", Description: "The Apikeys Key resource", StructName: "Key", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apikeys/key.yaml b/services/google/apikeys/key.yaml index c545c28cad..5b7b18c677 100755 --- a/services/google/apikeys/key.yaml +++ b/services/google/apikeys/key.yaml @@ -15,6 +15,7 @@ info: title: Apikeys/Key description: The Apikeys Key resource x-dcl-struct-name: Key + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/apikeys/key_schema.go b/services/google/apikeys/key_schema.go index 5d16d1721a..dca43d5590 100755 --- a/services/google/apikeys/key_schema.go +++ b/services/google/apikeys/key_schema.go @@ -23,6 +23,7 @@ func DCLKeySchema() *dcl.Schema { Title: "Apikeys/Key", Description: "The Apikeys Key resource", StructName: "Key", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/apikeys/key_yaml_embed.go b/services/google/apikeys/key_yaml_embed.go index a0b812d3fa..a6c7b885f1 100755 --- a/services/google/apikeys/key_yaml_embed.go +++ b/services/google/apikeys/key_yaml_embed.go @@ -17,7 +17,7 @@ package apikeys // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apikeys/key.yaml -var YAML_key = []byte("info:\n title: Apikeys/Key\n description: The Apikeys Key resource\n x-dcl-struct-name: Key\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n apply:\n description: The function used to apply information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n delete:\n description: The function used to delete a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n deleteAll:\n description: The function used to delete all Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Key:\n title: Key\n x-dcl-id: projects/{{project}}/locations/global/keys/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-readable display name of this API key. Modifiable by\n user.\n keyString:\n type: string\n x-dcl-go-name: KeyString\n readOnly: true\n description: Output only. An encrypted and signed value held by this key.\n This field can be accessed only through the `GetKeyString` method.\n x-kubernetes-immutable: true\n x-dcl-sensitive: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the key. The name must be unique within\n the project, must conform with RFC-1034, is restricted to lower-cased\n letters, and has a maximum length of 63 characters. In another word, the\n name must match the regular expression: [a-z]([a-z0-9-]{0,61}[a-z0-9])?.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n restrictions:\n type: object\n x-dcl-go-name: Restrictions\n x-dcl-go-type: KeyRestrictions\n description: Key restrictions.\n properties:\n androidKeyRestrictions:\n type: object\n x-dcl-go-name: AndroidKeyRestrictions\n x-dcl-go-type: KeyRestrictionsAndroidKeyRestrictions\n description: The Android apps that are allowed to use the key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - serverKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedApplications\n properties:\n allowedApplications:\n type: array\n x-dcl-go-name: AllowedApplications\n description: A list of Android applications that are allowed to\n make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: KeyRestrictionsAndroidKeyRestrictionsAllowedApplications\n required:\n - sha1Fingerprint\n - packageName\n properties:\n packageName:\n type: string\n x-dcl-go-name: PackageName\n description: The package name of the application.\n sha1Fingerprint:\n type: string\n x-dcl-go-name: Sha1Fingerprint\n description: 'The SHA1 fingerprint of the application. For\n example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09\n or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format\n is the latter.'\n apiTargets:\n type: array\n x-dcl-go-name: ApiTargets\n description: A restriction for a specific service and optionally one\n or more specific methods. Requests are allowed if they match any of\n these restrictions. If no restrictions are specified, all targets\n are allowed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: KeyRestrictionsApiTargets\n required:\n - service\n properties:\n methods:\n type: array\n x-dcl-go-name: Methods\n description: 'Optional. List of one or more methods that can be\n called. If empty, all methods for the service are allowed. A\n wildcard (*) can be used as the last symbol. Valid examples:\n `google.cloud.translate.v2.TranslateService.GetSupportedLanguage`\n `TranslateText` `Get*` `translate.googleapis.com.Get*`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n service:\n type: string\n x-dcl-go-name: Service\n description: 'The service for this restriction. It should be the\n canonical service name, for example: `translate.googleapis.com`.\n You can use `gcloud services list` to get a list of services\n that are enabled in the project.'\n browserKeyRestrictions:\n type: object\n x-dcl-go-name: BrowserKeyRestrictions\n x-dcl-go-type: KeyRestrictionsBrowserKeyRestrictions\n description: The HTTP referrers (websites) that are allowed to use the\n key.\n x-dcl-conflicts:\n - serverKeyRestrictions\n - androidKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedReferrers\n properties:\n allowedReferrers:\n type: array\n x-dcl-go-name: AllowedReferrers\n description: A list of regular expressions for the referrer URLs\n that are allowed to make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n iosKeyRestrictions:\n type: object\n x-dcl-go-name: IosKeyRestrictions\n x-dcl-go-type: KeyRestrictionsIosKeyRestrictions\n description: The iOS apps that are allowed to use the key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - serverKeyRestrictions\n - androidKeyRestrictions\n required:\n - allowedBundleIds\n properties:\n allowedBundleIds:\n type: array\n x-dcl-go-name: AllowedBundleIds\n description: A list of bundle IDs that are allowed when making API\n calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serverKeyRestrictions:\n type: object\n x-dcl-go-name: ServerKeyRestrictions\n x-dcl-go-type: KeyRestrictionsServerKeyRestrictions\n description: The IP addresses of callers that are allowed to use the\n key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - androidKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedIps\n properties:\n allowedIps:\n type: array\n x-dcl-go-name: AllowedIps\n description: A list of the caller IP addresses that are allowed\n to make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n") +var YAML_key = []byte("info:\n title: Apikeys/Key\n description: The Apikeys Key resource\n x-dcl-struct-name: Key\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n apply:\n description: The function used to apply information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n delete:\n description: The function used to delete a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n deleteAll:\n description: The function used to delete all Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Key:\n title: Key\n x-dcl-id: projects/{{project}}/locations/global/keys/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-readable display name of this API key. Modifiable by\n user.\n keyString:\n type: string\n x-dcl-go-name: KeyString\n readOnly: true\n description: Output only. An encrypted and signed value held by this key.\n This field can be accessed only through the `GetKeyString` method.\n x-kubernetes-immutable: true\n x-dcl-sensitive: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the key. The name must be unique within\n the project, must conform with RFC-1034, is restricted to lower-cased\n letters, and has a maximum length of 63 characters. In another word, the\n name must match the regular expression: [a-z]([a-z0-9-]{0,61}[a-z0-9])?.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n restrictions:\n type: object\n x-dcl-go-name: Restrictions\n x-dcl-go-type: KeyRestrictions\n description: Key restrictions.\n properties:\n androidKeyRestrictions:\n type: object\n x-dcl-go-name: AndroidKeyRestrictions\n x-dcl-go-type: KeyRestrictionsAndroidKeyRestrictions\n description: The Android apps that are allowed to use the key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - serverKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedApplications\n properties:\n allowedApplications:\n type: array\n x-dcl-go-name: AllowedApplications\n description: A list of Android applications that are allowed to\n make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: KeyRestrictionsAndroidKeyRestrictionsAllowedApplications\n required:\n - sha1Fingerprint\n - packageName\n properties:\n packageName:\n type: string\n x-dcl-go-name: PackageName\n description: The package name of the application.\n sha1Fingerprint:\n type: string\n x-dcl-go-name: Sha1Fingerprint\n description: 'The SHA1 fingerprint of the application. For\n example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09\n or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format\n is the latter.'\n apiTargets:\n type: array\n x-dcl-go-name: ApiTargets\n description: A restriction for a specific service and optionally one\n or more specific methods. Requests are allowed if they match any of\n these restrictions. If no restrictions are specified, all targets\n are allowed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: KeyRestrictionsApiTargets\n required:\n - service\n properties:\n methods:\n type: array\n x-dcl-go-name: Methods\n description: 'Optional. List of one or more methods that can be\n called. If empty, all methods for the service are allowed. A\n wildcard (*) can be used as the last symbol. Valid examples:\n `google.cloud.translate.v2.TranslateService.GetSupportedLanguage`\n `TranslateText` `Get*` `translate.googleapis.com.Get*`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n service:\n type: string\n x-dcl-go-name: Service\n description: 'The service for this restriction. It should be the\n canonical service name, for example: `translate.googleapis.com`.\n You can use `gcloud services list` to get a list of services\n that are enabled in the project.'\n browserKeyRestrictions:\n type: object\n x-dcl-go-name: BrowserKeyRestrictions\n x-dcl-go-type: KeyRestrictionsBrowserKeyRestrictions\n description: The HTTP referrers (websites) that are allowed to use the\n key.\n x-dcl-conflicts:\n - serverKeyRestrictions\n - androidKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedReferrers\n properties:\n allowedReferrers:\n type: array\n x-dcl-go-name: AllowedReferrers\n description: A list of regular expressions for the referrer URLs\n that are allowed to make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n iosKeyRestrictions:\n type: object\n x-dcl-go-name: IosKeyRestrictions\n x-dcl-go-type: KeyRestrictionsIosKeyRestrictions\n description: The iOS apps that are allowed to use the key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - serverKeyRestrictions\n - androidKeyRestrictions\n required:\n - allowedBundleIds\n properties:\n allowedBundleIds:\n type: array\n x-dcl-go-name: AllowedBundleIds\n description: A list of bundle IDs that are allowed when making API\n calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serverKeyRestrictions:\n type: object\n x-dcl-go-name: ServerKeyRestrictions\n x-dcl-go-type: KeyRestrictionsServerKeyRestrictions\n description: The IP addresses of callers that are allowed to use the\n key.\n x-dcl-conflicts:\n - browserKeyRestrictions\n - androidKeyRestrictions\n - iosKeyRestrictions\n required:\n - allowedIps\n properties:\n allowedIps:\n type: array\n x-dcl-go-name: AllowedIps\n description: A list of the caller IP addresses that are allowed\n to make API calls with this key.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n") -// 8996 bytes -// MD5: 3c5f760e8bf6293807aefa8252060032 +// 9021 bytes +// MD5: 58ef8666e212c77368adc0912202c1d0 diff --git a/services/google/assuredworkloads/alpha/workload.yaml b/services/google/assuredworkloads/alpha/workload.yaml index bdd3e8f9d0..859810d4ac 100755 --- a/services/google/assuredworkloads/alpha/workload.yaml +++ b/services/google/assuredworkloads/alpha/workload.yaml @@ -15,6 +15,7 @@ info: title: AssuredWorkloads/Workload description: The AssuredWorkloads Workload resource x-dcl-struct-name: Workload + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/assuredworkloads/alpha/workload_alpha_yaml_embed.go b/services/google/assuredworkloads/alpha/workload_alpha_yaml_embed.go index c1082441a9..ed9496389a 100755 --- a/services/google/assuredworkloads/alpha/workload_alpha_yaml_embed.go +++ b/services/google/assuredworkloads/alpha/workload_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/assuredworkloads/alpha/workload.yaml -var YAML_workload = []byte("info:\n title: AssuredWorkloads/Workload\n description: The AssuredWorkloads Workload resource\n x-dcl-struct-name: Workload\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n apply:\n description: The function used to apply information about a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n delete:\n description: The function used to delete a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n deleteAll:\n description: The function used to delete all Workload\n parameters:\n - name: organization\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Workload\n parameters:\n - name: organization\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Workload:\n title: Workload\n x-dcl-id: organizations/{{organization}}/locations/{{location}}/workloads/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: organization\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - complianceRegime\n - billingAccount\n - organization\n - location\n properties:\n billingAccount:\n type: string\n x-dcl-go-name: BillingAccount\n description: Required. Input only. The billing account used for the resources\n which are direct children of workload. This billing account is initially\n associated with the resources created as part of Workload creation. After\n the initial creation of these resources, the customer can change the assigned\n billing account. The resource name has the form `billingAccounts/{billing_account_id}`.\n For example, 'billingAccounts/012345-567890-ABCDEF`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n x-dcl-mutable-unreadable: true\n complianceRegime:\n type: string\n x-dcl-go-name: ComplianceRegime\n x-dcl-go-type: WorkloadComplianceRegimeEnum\n description: 'Required. Immutable. Compliance Regime associated with this\n workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH,\n FEDRAMP_MODERATE, US_REGIONAL_ACCESS'\n x-kubernetes-immutable: true\n enum:\n - COMPLIANCE_REGIME_UNSPECIFIED\n - IL4\n - CJIS\n - FEDRAMP_HIGH\n - FEDRAMP_MODERATE\n - US_REGIONAL_ACCESS\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Immutable. The Workload creation timestamp.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'Required. The user-assigned display name of the Workload.\n When present it must be between 4 to 30 characters. Allowed characters\n are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example:\n My Workload'\n kmsSettings:\n type: object\n x-dcl-go-name: KmsSettings\n x-dcl-go-type: WorkloadKmsSettings\n description: Input only. Settings used to create a CMEK crypto key. When\n set a project with a KMS CMEK key is provisioned. This field is mandatory\n for a subset of Compliance Regimes.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n required:\n - nextRotationTime\n - rotationPeriod\n properties:\n nextRotationTime:\n type: string\n format: date-time\n x-dcl-go-name: NextRotationTime\n description: Required. Input only. Immutable. The time at which the\n Key Management Service will automatically create a new version of\n the crypto key and mark it as the primary.\n x-kubernetes-immutable: true\n rotationPeriod:\n type: string\n x-dcl-go-name: RotationPeriod\n description: Required. Input only. Immutable. will be advanced by this\n period when the Key Management Service automatically rotates a key.\n Must be at least 24 hours and at most 876,000 hours.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels applied to the workload.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the workload.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n provisionedResourcesParent:\n type: string\n x-dcl-go-name: ProvisionedResourcesParent\n description: 'Input only. The parent resource for the resources managed\n by this Assured Workload. May be either an organization or a folder. Must\n be the same or a child of the Workload parent. If not specified all resources\n are created under the Workload parent. Formats: folders/{folder_id}, organizations/{organization_id}'\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n resourceSettings:\n type: array\n x-dcl-go-name: ResourceSettings\n description: Input only. Resource properties that are used to customize\n workload resources. These properties (such as custom project id) will\n be used to create workload resources if possible. This field is optional.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkloadResourceSettings\n properties:\n resourceId:\n type: string\n x-dcl-go-name: ResourceId\n description: Resource identifier. For a project this represents project_number.\n If the project is already taken, the workload creation will fail.\n x-kubernetes-immutable: true\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: WorkloadResourceSettingsResourceTypeEnum\n description: 'Indicates the type of resource. This field should be\n specified to correspond the id to the right project type (CONSUMER_PROJECT\n or ENCRYPTION_KEYS_PROJECT) Possible values: RESOURCE_TYPE_UNSPECIFIED,\n CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - CONSUMER_PROJECT\n - ENCRYPTION_KEYS_PROJECT\n - KEYRING\n - CONSUMER_FOLDER\n x-dcl-mutable-unreadable: true\n resources:\n type: array\n x-dcl-go-name: Resources\n readOnly: true\n description: Output only. The resources associated with this workload. These\n resources will be created when creating the workload. If any of the projects\n already exist, the workload creation will fail. Always read only.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkloadResources\n properties:\n resourceId:\n type: integer\n format: int64\n x-dcl-go-name: ResourceId\n description: Resource identifier. For a project this represents project_number.\n x-kubernetes-immutable: true\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: WorkloadResourcesResourceTypeEnum\n description: 'Indicates the type of resource. Possible values: RESOURCE_TYPE_UNSPECIFIED,\n CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - CONSUMER_PROJECT\n - ENCRYPTION_KEYS_PROJECT\n - KEYRING\n - CONSUMER_FOLDER\n") +var YAML_workload = []byte("info:\n title: AssuredWorkloads/Workload\n description: The AssuredWorkloads Workload resource\n x-dcl-struct-name: Workload\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n apply:\n description: The function used to apply information about a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n delete:\n description: The function used to delete a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n deleteAll:\n description: The function used to delete all Workload\n parameters:\n - name: organization\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Workload\n parameters:\n - name: organization\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Workload:\n title: Workload\n x-dcl-id: organizations/{{organization}}/locations/{{location}}/workloads/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: organization\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - complianceRegime\n - billingAccount\n - organization\n - location\n properties:\n billingAccount:\n type: string\n x-dcl-go-name: BillingAccount\n description: Required. Input only. The billing account used for the resources\n which are direct children of workload. This billing account is initially\n associated with the resources created as part of Workload creation. After\n the initial creation of these resources, the customer can change the assigned\n billing account. The resource name has the form `billingAccounts/{billing_account_id}`.\n For example, 'billingAccounts/012345-567890-ABCDEF`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n x-dcl-mutable-unreadable: true\n complianceRegime:\n type: string\n x-dcl-go-name: ComplianceRegime\n x-dcl-go-type: WorkloadComplianceRegimeEnum\n description: 'Required. Immutable. Compliance Regime associated with this\n workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH,\n FEDRAMP_MODERATE, US_REGIONAL_ACCESS'\n x-kubernetes-immutable: true\n enum:\n - COMPLIANCE_REGIME_UNSPECIFIED\n - IL4\n - CJIS\n - FEDRAMP_HIGH\n - FEDRAMP_MODERATE\n - US_REGIONAL_ACCESS\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Immutable. The Workload creation timestamp.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'Required. The user-assigned display name of the Workload.\n When present it must be between 4 to 30 characters. Allowed characters\n are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example:\n My Workload'\n kmsSettings:\n type: object\n x-dcl-go-name: KmsSettings\n x-dcl-go-type: WorkloadKmsSettings\n description: Input only. Settings used to create a CMEK crypto key. When\n set a project with a KMS CMEK key is provisioned. This field is mandatory\n for a subset of Compliance Regimes.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n required:\n - nextRotationTime\n - rotationPeriod\n properties:\n nextRotationTime:\n type: string\n format: date-time\n x-dcl-go-name: NextRotationTime\n description: Required. Input only. Immutable. The time at which the\n Key Management Service will automatically create a new version of\n the crypto key and mark it as the primary.\n x-kubernetes-immutable: true\n rotationPeriod:\n type: string\n x-dcl-go-name: RotationPeriod\n description: Required. Input only. Immutable. will be advanced by this\n period when the Key Management Service automatically rotates a key.\n Must be at least 24 hours and at most 876,000 hours.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels applied to the workload.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the workload.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n provisionedResourcesParent:\n type: string\n x-dcl-go-name: ProvisionedResourcesParent\n description: 'Input only. The parent resource for the resources managed\n by this Assured Workload. May be either an organization or a folder. Must\n be the same or a child of the Workload parent. If not specified all resources\n are created under the Workload parent. Formats: folders/{folder_id}, organizations/{organization_id}'\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n resourceSettings:\n type: array\n x-dcl-go-name: ResourceSettings\n description: Input only. Resource properties that are used to customize\n workload resources. These properties (such as custom project id) will\n be used to create workload resources if possible. This field is optional.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkloadResourceSettings\n properties:\n resourceId:\n type: string\n x-dcl-go-name: ResourceId\n description: Resource identifier. For a project this represents project_number.\n If the project is already taken, the workload creation will fail.\n x-kubernetes-immutable: true\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: WorkloadResourceSettingsResourceTypeEnum\n description: 'Indicates the type of resource. This field should be\n specified to correspond the id to the right project type (CONSUMER_PROJECT\n or ENCRYPTION_KEYS_PROJECT) Possible values: RESOURCE_TYPE_UNSPECIFIED,\n CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - CONSUMER_PROJECT\n - ENCRYPTION_KEYS_PROJECT\n - KEYRING\n - CONSUMER_FOLDER\n x-dcl-mutable-unreadable: true\n resources:\n type: array\n x-dcl-go-name: Resources\n readOnly: true\n description: Output only. The resources associated with this workload. These\n resources will be created when creating the workload. If any of the projects\n already exist, the workload creation will fail. Always read only.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkloadResources\n properties:\n resourceId:\n type: integer\n format: int64\n x-dcl-go-name: ResourceId\n description: Resource identifier. For a project this represents project_number.\n x-kubernetes-immutable: true\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: WorkloadResourcesResourceTypeEnum\n description: 'Indicates the type of resource. Possible values: RESOURCE_TYPE_UNSPECIFIED,\n CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - CONSUMER_PROJECT\n - ENCRYPTION_KEYS_PROJECT\n - KEYRING\n - CONSUMER_FOLDER\n") -// 9507 bytes -// MD5: 4b18749cc472c4b2fab54febb1232ba5 +// 9532 bytes +// MD5: 81a235686c6dafde041ad672507d6d3b diff --git a/services/google/assuredworkloads/alpha/workload_schema.go b/services/google/assuredworkloads/alpha/workload_schema.go index a77a69ece1..8eec129042 100755 --- a/services/google/assuredworkloads/alpha/workload_schema.go +++ b/services/google/assuredworkloads/alpha/workload_schema.go @@ -23,6 +23,7 @@ func DCLWorkloadSchema() *dcl.Schema { Title: "AssuredWorkloads/Workload", Description: "The AssuredWorkloads Workload resource", StructName: "Workload", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/assuredworkloads/beta/workload.yaml b/services/google/assuredworkloads/beta/workload.yaml index bdd3e8f9d0..859810d4ac 100755 --- a/services/google/assuredworkloads/beta/workload.yaml +++ b/services/google/assuredworkloads/beta/workload.yaml @@ -15,6 +15,7 @@ info: title: AssuredWorkloads/Workload description: The AssuredWorkloads Workload resource x-dcl-struct-name: Workload + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/assuredworkloads/beta/workload_beta_yaml_embed.go b/services/google/assuredworkloads/beta/workload_beta_yaml_embed.go index 80e6677a17..4535bafae8 100755 --- a/services/google/assuredworkloads/beta/workload_beta_yaml_embed.go +++ b/services/google/assuredworkloads/beta/workload_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/assuredworkloads/beta/workload.yaml -var YAML_workload = []byte("info:\n title: AssuredWorkloads/Workload\n description: The AssuredWorkloads Workload resource\n x-dcl-struct-name: Workload\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n apply:\n description: The function used to apply information about a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n delete:\n description: The function used to delete a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n deleteAll:\n description: The function used to delete all Workload\n parameters:\n - name: organization\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Workload\n parameters:\n - name: organization\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Workload:\n title: Workload\n x-dcl-id: organizations/{{organization}}/locations/{{location}}/workloads/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: organization\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - complianceRegime\n - billingAccount\n - organization\n - location\n properties:\n billingAccount:\n type: string\n x-dcl-go-name: BillingAccount\n description: Required. Input only. The billing account used for the resources\n which are direct children of workload. This billing account is initially\n associated with the resources created as part of Workload creation. After\n the initial creation of these resources, the customer can change the assigned\n billing account. The resource name has the form `billingAccounts/{billing_account_id}`.\n For example, 'billingAccounts/012345-567890-ABCDEF`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n x-dcl-mutable-unreadable: true\n complianceRegime:\n type: string\n x-dcl-go-name: ComplianceRegime\n x-dcl-go-type: WorkloadComplianceRegimeEnum\n description: 'Required. Immutable. Compliance Regime associated with this\n workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH,\n FEDRAMP_MODERATE, US_REGIONAL_ACCESS'\n x-kubernetes-immutable: true\n enum:\n - COMPLIANCE_REGIME_UNSPECIFIED\n - IL4\n - CJIS\n - FEDRAMP_HIGH\n - FEDRAMP_MODERATE\n - US_REGIONAL_ACCESS\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Immutable. The Workload creation timestamp.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'Required. The user-assigned display name of the Workload.\n When present it must be between 4 to 30 characters. Allowed characters\n are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example:\n My Workload'\n kmsSettings:\n type: object\n x-dcl-go-name: KmsSettings\n x-dcl-go-type: WorkloadKmsSettings\n description: Input only. Settings used to create a CMEK crypto key. When\n set a project with a KMS CMEK key is provisioned. This field is mandatory\n for a subset of Compliance Regimes.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n required:\n - nextRotationTime\n - rotationPeriod\n properties:\n nextRotationTime:\n type: string\n format: date-time\n x-dcl-go-name: NextRotationTime\n description: Required. Input only. Immutable. The time at which the\n Key Management Service will automatically create a new version of\n the crypto key and mark it as the primary.\n x-kubernetes-immutable: true\n rotationPeriod:\n type: string\n x-dcl-go-name: RotationPeriod\n description: Required. Input only. Immutable. will be advanced by this\n period when the Key Management Service automatically rotates a key.\n Must be at least 24 hours and at most 876,000 hours.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels applied to the workload.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the workload.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n provisionedResourcesParent:\n type: string\n x-dcl-go-name: ProvisionedResourcesParent\n description: 'Input only. The parent resource for the resources managed\n by this Assured Workload. May be either an organization or a folder. Must\n be the same or a child of the Workload parent. If not specified all resources\n are created under the Workload parent. Formats: folders/{folder_id}, organizations/{organization_id}'\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n resourceSettings:\n type: array\n x-dcl-go-name: ResourceSettings\n description: Input only. Resource properties that are used to customize\n workload resources. These properties (such as custom project id) will\n be used to create workload resources if possible. This field is optional.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkloadResourceSettings\n properties:\n resourceId:\n type: string\n x-dcl-go-name: ResourceId\n description: Resource identifier. For a project this represents project_number.\n If the project is already taken, the workload creation will fail.\n x-kubernetes-immutable: true\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: WorkloadResourceSettingsResourceTypeEnum\n description: 'Indicates the type of resource. This field should be\n specified to correspond the id to the right project type (CONSUMER_PROJECT\n or ENCRYPTION_KEYS_PROJECT) Possible values: RESOURCE_TYPE_UNSPECIFIED,\n CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - CONSUMER_PROJECT\n - ENCRYPTION_KEYS_PROJECT\n - KEYRING\n - CONSUMER_FOLDER\n x-dcl-mutable-unreadable: true\n resources:\n type: array\n x-dcl-go-name: Resources\n readOnly: true\n description: Output only. The resources associated with this workload. These\n resources will be created when creating the workload. If any of the projects\n already exist, the workload creation will fail. Always read only.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkloadResources\n properties:\n resourceId:\n type: integer\n format: int64\n x-dcl-go-name: ResourceId\n description: Resource identifier. For a project this represents project_number.\n x-kubernetes-immutable: true\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: WorkloadResourcesResourceTypeEnum\n description: 'Indicates the type of resource. Possible values: RESOURCE_TYPE_UNSPECIFIED,\n CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - CONSUMER_PROJECT\n - ENCRYPTION_KEYS_PROJECT\n - KEYRING\n - CONSUMER_FOLDER\n") +var YAML_workload = []byte("info:\n title: AssuredWorkloads/Workload\n description: The AssuredWorkloads Workload resource\n x-dcl-struct-name: Workload\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n apply:\n description: The function used to apply information about a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n delete:\n description: The function used to delete a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n deleteAll:\n description: The function used to delete all Workload\n parameters:\n - name: organization\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Workload\n parameters:\n - name: organization\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Workload:\n title: Workload\n x-dcl-id: organizations/{{organization}}/locations/{{location}}/workloads/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: organization\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - complianceRegime\n - billingAccount\n - organization\n - location\n properties:\n billingAccount:\n type: string\n x-dcl-go-name: BillingAccount\n description: Required. Input only. The billing account used for the resources\n which are direct children of workload. This billing account is initially\n associated with the resources created as part of Workload creation. After\n the initial creation of these resources, the customer can change the assigned\n billing account. The resource name has the form `billingAccounts/{billing_account_id}`.\n For example, 'billingAccounts/012345-567890-ABCDEF`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n x-dcl-mutable-unreadable: true\n complianceRegime:\n type: string\n x-dcl-go-name: ComplianceRegime\n x-dcl-go-type: WorkloadComplianceRegimeEnum\n description: 'Required. Immutable. Compliance Regime associated with this\n workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH,\n FEDRAMP_MODERATE, US_REGIONAL_ACCESS'\n x-kubernetes-immutable: true\n enum:\n - COMPLIANCE_REGIME_UNSPECIFIED\n - IL4\n - CJIS\n - FEDRAMP_HIGH\n - FEDRAMP_MODERATE\n - US_REGIONAL_ACCESS\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Immutable. The Workload creation timestamp.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'Required. The user-assigned display name of the Workload.\n When present it must be between 4 to 30 characters. Allowed characters\n are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example:\n My Workload'\n kmsSettings:\n type: object\n x-dcl-go-name: KmsSettings\n x-dcl-go-type: WorkloadKmsSettings\n description: Input only. Settings used to create a CMEK crypto key. When\n set a project with a KMS CMEK key is provisioned. This field is mandatory\n for a subset of Compliance Regimes.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n required:\n - nextRotationTime\n - rotationPeriod\n properties:\n nextRotationTime:\n type: string\n format: date-time\n x-dcl-go-name: NextRotationTime\n description: Required. Input only. Immutable. The time at which the\n Key Management Service will automatically create a new version of\n the crypto key and mark it as the primary.\n x-kubernetes-immutable: true\n rotationPeriod:\n type: string\n x-dcl-go-name: RotationPeriod\n description: Required. Input only. Immutable. will be advanced by this\n period when the Key Management Service automatically rotates a key.\n Must be at least 24 hours and at most 876,000 hours.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels applied to the workload.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the workload.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n provisionedResourcesParent:\n type: string\n x-dcl-go-name: ProvisionedResourcesParent\n description: 'Input only. The parent resource for the resources managed\n by this Assured Workload. May be either an organization or a folder. Must\n be the same or a child of the Workload parent. If not specified all resources\n are created under the Workload parent. Formats: folders/{folder_id}, organizations/{organization_id}'\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n resourceSettings:\n type: array\n x-dcl-go-name: ResourceSettings\n description: Input only. Resource properties that are used to customize\n workload resources. These properties (such as custom project id) will\n be used to create workload resources if possible. This field is optional.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkloadResourceSettings\n properties:\n resourceId:\n type: string\n x-dcl-go-name: ResourceId\n description: Resource identifier. For a project this represents project_number.\n If the project is already taken, the workload creation will fail.\n x-kubernetes-immutable: true\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: WorkloadResourceSettingsResourceTypeEnum\n description: 'Indicates the type of resource. This field should be\n specified to correspond the id to the right project type (CONSUMER_PROJECT\n or ENCRYPTION_KEYS_PROJECT) Possible values: RESOURCE_TYPE_UNSPECIFIED,\n CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - CONSUMER_PROJECT\n - ENCRYPTION_KEYS_PROJECT\n - KEYRING\n - CONSUMER_FOLDER\n x-dcl-mutable-unreadable: true\n resources:\n type: array\n x-dcl-go-name: Resources\n readOnly: true\n description: Output only. The resources associated with this workload. These\n resources will be created when creating the workload. If any of the projects\n already exist, the workload creation will fail. Always read only.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkloadResources\n properties:\n resourceId:\n type: integer\n format: int64\n x-dcl-go-name: ResourceId\n description: Resource identifier. For a project this represents project_number.\n x-kubernetes-immutable: true\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: WorkloadResourcesResourceTypeEnum\n description: 'Indicates the type of resource. Possible values: RESOURCE_TYPE_UNSPECIFIED,\n CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - CONSUMER_PROJECT\n - ENCRYPTION_KEYS_PROJECT\n - KEYRING\n - CONSUMER_FOLDER\n") -// 9507 bytes -// MD5: 4b18749cc472c4b2fab54febb1232ba5 +// 9532 bytes +// MD5: 81a235686c6dafde041ad672507d6d3b diff --git a/services/google/assuredworkloads/beta/workload_schema.go b/services/google/assuredworkloads/beta/workload_schema.go index 5a206cd908..6e01beba07 100755 --- a/services/google/assuredworkloads/beta/workload_schema.go +++ b/services/google/assuredworkloads/beta/workload_schema.go @@ -23,6 +23,7 @@ func DCLWorkloadSchema() *dcl.Schema { Title: "AssuredWorkloads/Workload", Description: "The AssuredWorkloads Workload resource", StructName: "Workload", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/assuredworkloads/workload.yaml b/services/google/assuredworkloads/workload.yaml index bdd3e8f9d0..859810d4ac 100755 --- a/services/google/assuredworkloads/workload.yaml +++ b/services/google/assuredworkloads/workload.yaml @@ -15,6 +15,7 @@ info: title: AssuredWorkloads/Workload description: The AssuredWorkloads Workload resource x-dcl-struct-name: Workload + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/assuredworkloads/workload_schema.go b/services/google/assuredworkloads/workload_schema.go index 1985683ad9..c9b2f49ec7 100755 --- a/services/google/assuredworkloads/workload_schema.go +++ b/services/google/assuredworkloads/workload_schema.go @@ -23,6 +23,7 @@ func DCLWorkloadSchema() *dcl.Schema { Title: "AssuredWorkloads/Workload", Description: "The AssuredWorkloads Workload resource", StructName: "Workload", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/assuredworkloads/workload_yaml_embed.go b/services/google/assuredworkloads/workload_yaml_embed.go index fba4a55047..31167aa172 100755 --- a/services/google/assuredworkloads/workload_yaml_embed.go +++ b/services/google/assuredworkloads/workload_yaml_embed.go @@ -17,7 +17,7 @@ package assuredworkloads // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/assuredworkloads/workload.yaml -var YAML_workload = []byte("info:\n title: AssuredWorkloads/Workload\n description: The AssuredWorkloads Workload resource\n x-dcl-struct-name: Workload\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n apply:\n description: The function used to apply information about a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n delete:\n description: The function used to delete a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n deleteAll:\n description: The function used to delete all Workload\n parameters:\n - name: organization\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Workload\n parameters:\n - name: organization\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Workload:\n title: Workload\n x-dcl-id: organizations/{{organization}}/locations/{{location}}/workloads/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: organization\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - complianceRegime\n - billingAccount\n - organization\n - location\n properties:\n billingAccount:\n type: string\n x-dcl-go-name: BillingAccount\n description: Required. Input only. The billing account used for the resources\n which are direct children of workload. This billing account is initially\n associated with the resources created as part of Workload creation. After\n the initial creation of these resources, the customer can change the assigned\n billing account. The resource name has the form `billingAccounts/{billing_account_id}`.\n For example, 'billingAccounts/012345-567890-ABCDEF`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n x-dcl-mutable-unreadable: true\n complianceRegime:\n type: string\n x-dcl-go-name: ComplianceRegime\n x-dcl-go-type: WorkloadComplianceRegimeEnum\n description: 'Required. Immutable. Compliance Regime associated with this\n workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH,\n FEDRAMP_MODERATE, US_REGIONAL_ACCESS'\n x-kubernetes-immutable: true\n enum:\n - COMPLIANCE_REGIME_UNSPECIFIED\n - IL4\n - CJIS\n - FEDRAMP_HIGH\n - FEDRAMP_MODERATE\n - US_REGIONAL_ACCESS\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Immutable. The Workload creation timestamp.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'Required. The user-assigned display name of the Workload.\n When present it must be between 4 to 30 characters. Allowed characters\n are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example:\n My Workload'\n kmsSettings:\n type: object\n x-dcl-go-name: KmsSettings\n x-dcl-go-type: WorkloadKmsSettings\n description: Input only. Settings used to create a CMEK crypto key. When\n set a project with a KMS CMEK key is provisioned. This field is mandatory\n for a subset of Compliance Regimes.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n required:\n - nextRotationTime\n - rotationPeriod\n properties:\n nextRotationTime:\n type: string\n format: date-time\n x-dcl-go-name: NextRotationTime\n description: Required. Input only. Immutable. The time at which the\n Key Management Service will automatically create a new version of\n the crypto key and mark it as the primary.\n x-kubernetes-immutable: true\n rotationPeriod:\n type: string\n x-dcl-go-name: RotationPeriod\n description: Required. Input only. Immutable. will be advanced by this\n period when the Key Management Service automatically rotates a key.\n Must be at least 24 hours and at most 876,000 hours.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels applied to the workload.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the workload.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n provisionedResourcesParent:\n type: string\n x-dcl-go-name: ProvisionedResourcesParent\n description: 'Input only. The parent resource for the resources managed\n by this Assured Workload. May be either an organization or a folder. Must\n be the same or a child of the Workload parent. If not specified all resources\n are created under the Workload parent. Formats: folders/{folder_id}, organizations/{organization_id}'\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n resourceSettings:\n type: array\n x-dcl-go-name: ResourceSettings\n description: Input only. Resource properties that are used to customize\n workload resources. These properties (such as custom project id) will\n be used to create workload resources if possible. This field is optional.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkloadResourceSettings\n properties:\n resourceId:\n type: string\n x-dcl-go-name: ResourceId\n description: Resource identifier. For a project this represents project_number.\n If the project is already taken, the workload creation will fail.\n x-kubernetes-immutable: true\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: WorkloadResourceSettingsResourceTypeEnum\n description: 'Indicates the type of resource. This field should be\n specified to correspond the id to the right project type (CONSUMER_PROJECT\n or ENCRYPTION_KEYS_PROJECT) Possible values: RESOURCE_TYPE_UNSPECIFIED,\n CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - CONSUMER_PROJECT\n - ENCRYPTION_KEYS_PROJECT\n - KEYRING\n - CONSUMER_FOLDER\n x-dcl-mutable-unreadable: true\n resources:\n type: array\n x-dcl-go-name: Resources\n readOnly: true\n description: Output only. The resources associated with this workload. These\n resources will be created when creating the workload. If any of the projects\n already exist, the workload creation will fail. Always read only.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkloadResources\n properties:\n resourceId:\n type: integer\n format: int64\n x-dcl-go-name: ResourceId\n description: Resource identifier. For a project this represents project_number.\n x-kubernetes-immutable: true\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: WorkloadResourcesResourceTypeEnum\n description: 'Indicates the type of resource. Possible values: RESOURCE_TYPE_UNSPECIFIED,\n CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - CONSUMER_PROJECT\n - ENCRYPTION_KEYS_PROJECT\n - KEYRING\n - CONSUMER_FOLDER\n") +var YAML_workload = []byte("info:\n title: AssuredWorkloads/Workload\n description: The AssuredWorkloads Workload resource\n x-dcl-struct-name: Workload\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n apply:\n description: The function used to apply information about a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n delete:\n description: The function used to delete a Workload\n parameters:\n - name: Workload\n required: true\n description: A full instance of a Workload\n deleteAll:\n description: The function used to delete all Workload\n parameters:\n - name: organization\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Workload\n parameters:\n - name: organization\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Workload:\n title: Workload\n x-dcl-id: organizations/{{organization}}/locations/{{location}}/workloads/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: organization\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - complianceRegime\n - billingAccount\n - organization\n - location\n properties:\n billingAccount:\n type: string\n x-dcl-go-name: BillingAccount\n description: Required. Input only. The billing account used for the resources\n which are direct children of workload. This billing account is initially\n associated with the resources created as part of Workload creation. After\n the initial creation of these resources, the customer can change the assigned\n billing account. The resource name has the form `billingAccounts/{billing_account_id}`.\n For example, 'billingAccounts/012345-567890-ABCDEF`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n x-dcl-mutable-unreadable: true\n complianceRegime:\n type: string\n x-dcl-go-name: ComplianceRegime\n x-dcl-go-type: WorkloadComplianceRegimeEnum\n description: 'Required. Immutable. Compliance Regime associated with this\n workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH,\n FEDRAMP_MODERATE, US_REGIONAL_ACCESS'\n x-kubernetes-immutable: true\n enum:\n - COMPLIANCE_REGIME_UNSPECIFIED\n - IL4\n - CJIS\n - FEDRAMP_HIGH\n - FEDRAMP_MODERATE\n - US_REGIONAL_ACCESS\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Immutable. The Workload creation timestamp.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'Required. The user-assigned display name of the Workload.\n When present it must be between 4 to 30 characters. Allowed characters\n are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example:\n My Workload'\n kmsSettings:\n type: object\n x-dcl-go-name: KmsSettings\n x-dcl-go-type: WorkloadKmsSettings\n description: Input only. Settings used to create a CMEK crypto key. When\n set a project with a KMS CMEK key is provisioned. This field is mandatory\n for a subset of Compliance Regimes.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n required:\n - nextRotationTime\n - rotationPeriod\n properties:\n nextRotationTime:\n type: string\n format: date-time\n x-dcl-go-name: NextRotationTime\n description: Required. Input only. Immutable. The time at which the\n Key Management Service will automatically create a new version of\n the crypto key and mark it as the primary.\n x-kubernetes-immutable: true\n rotationPeriod:\n type: string\n x-dcl-go-name: RotationPeriod\n description: Required. Input only. Immutable. will be advanced by this\n period when the Key Management Service automatically rotates a key.\n Must be at least 24 hours and at most 876,000 hours.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels applied to the workload.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the workload.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n provisionedResourcesParent:\n type: string\n x-dcl-go-name: ProvisionedResourcesParent\n description: 'Input only. The parent resource for the resources managed\n by this Assured Workload. May be either an organization or a folder. Must\n be the same or a child of the Workload parent. If not specified all resources\n are created under the Workload parent. Formats: folders/{folder_id}, organizations/{organization_id}'\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n resourceSettings:\n type: array\n x-dcl-go-name: ResourceSettings\n description: Input only. Resource properties that are used to customize\n workload resources. These properties (such as custom project id) will\n be used to create workload resources if possible. This field is optional.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkloadResourceSettings\n properties:\n resourceId:\n type: string\n x-dcl-go-name: ResourceId\n description: Resource identifier. For a project this represents project_number.\n If the project is already taken, the workload creation will fail.\n x-kubernetes-immutable: true\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: WorkloadResourceSettingsResourceTypeEnum\n description: 'Indicates the type of resource. This field should be\n specified to correspond the id to the right project type (CONSUMER_PROJECT\n or ENCRYPTION_KEYS_PROJECT) Possible values: RESOURCE_TYPE_UNSPECIFIED,\n CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - CONSUMER_PROJECT\n - ENCRYPTION_KEYS_PROJECT\n - KEYRING\n - CONSUMER_FOLDER\n x-dcl-mutable-unreadable: true\n resources:\n type: array\n x-dcl-go-name: Resources\n readOnly: true\n description: Output only. The resources associated with this workload. These\n resources will be created when creating the workload. If any of the projects\n already exist, the workload creation will fail. Always read only.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkloadResources\n properties:\n resourceId:\n type: integer\n format: int64\n x-dcl-go-name: ResourceId\n description: Resource identifier. For a project this represents project_number.\n x-kubernetes-immutable: true\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: WorkloadResourcesResourceTypeEnum\n description: 'Indicates the type of resource. Possible values: RESOURCE_TYPE_UNSPECIFIED,\n CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - CONSUMER_PROJECT\n - ENCRYPTION_KEYS_PROJECT\n - KEYRING\n - CONSUMER_FOLDER\n") -// 9507 bytes -// MD5: 4b18749cc472c4b2fab54febb1232ba5 +// 9532 bytes +// MD5: 81a235686c6dafde041ad672507d6d3b diff --git a/services/google/bigquery/alpha/dataset.yaml b/services/google/bigquery/alpha/dataset.yaml index 894a7e6a89..3ac7cf9b70 100755 --- a/services/google/bigquery/alpha/dataset.yaml +++ b/services/google/bigquery/alpha/dataset.yaml @@ -15,6 +15,7 @@ info: title: Bigquery/Dataset description: The Bigquery Dataset resource x-dcl-struct-name: Dataset + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigquery/alpha/dataset_alpha_yaml_embed.go b/services/google/bigquery/alpha/dataset_alpha_yaml_embed.go index 50090429ea..cd226b9b1a 100755 --- a/services/google/bigquery/alpha/dataset_alpha_yaml_embed.go +++ b/services/google/bigquery/alpha/dataset_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigquery/alpha/dataset.yaml -var YAML_dataset = []byte("info:\n title: Bigquery/Dataset\n description: The Bigquery Dataset resource\n x-dcl-struct-name: Dataset\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n apply:\n description: The function used to apply information about a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n delete:\n description: The function used to delete a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n deleteAll:\n description: The function used to delete all Dataset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Dataset\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Dataset:\n title: Dataset\n x-dcl-id: projects/{{project}}/datasets/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n access:\n type: array\n x-dcl-go-name: Access\n description: 'Optional. An array of objects that define dataset access for\n one or more entities. You can set this property when inserting or updating\n a dataset in order to control who is allowed to access the data. If unspecified\n at dataset creation time, BigQuery adds default dataset access for the\n following entities: access.specialGroup: projectReaders; access.role:\n READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup:\n projectOwners; access.role: OWNER; access.userByEmail: ; access.role:\n OWNER;'\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: DatasetAccess\n required:\n - role\n properties:\n domain:\n type: string\n x-dcl-go-name: Domain\n description: 'A domain to grant access to. Any users signed in with\n the domain specified will be granted the specified access. Example:\n \"example.com\". Maps to IAM policy member \"domain:DOMAIN\".'\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - specialGroup\n - iamMember\n - view\n - routine\n groupByEmail:\n type: string\n x-dcl-go-name: GroupByEmail\n description: An email address of a Google Group to grant access to.\n Maps to IAM policy member \"group:GROUP\".\n x-dcl-conflicts:\n - userByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n - routine\n iamMember:\n type: string\n x-dcl-go-name: IamMember\n description: Some other type of member that appears in the IAM Policy\n but isn't a user, group, domain, or special group.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - view\n - routine\n role:\n type: string\n x-dcl-go-name: Role\n description: 'Required. An IAM role ID that should be granted to the\n user, group, or domain specified in this access entry. The following\n legacy mappings will be applied: OWNER <=> roles/bigquery.dataOwner\n WRITER <=> roles/bigquery.dataEditor READER <=> roles/bigquery.dataViewer\n This field will accept any of the above formats, but will return\n only the legacy format. For example, if you set this field to \"roles/bigquery.dataOwner\",\n it will be returned back as \"OWNER\".'\n routine:\n type: object\n x-dcl-go-name: Routine\n x-dcl-go-type: DatasetAccessRoutine\n description: A routine from a different dataset to grant access to.\n Queries executed against that routine will have read access to views/tables/routines\n in this dataset. Only UDF is supported for now. The role field is\n not required when this field is set. If that routine is updated\n by any user, access to the routine needs to be granted again via\n an update operation.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n required:\n - projectId\n - datasetId\n - routineId\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Required. The ID of the dataset containing this routine.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Required. The ID of the project containing this routine.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n routineId:\n type: string\n x-dcl-go-name: RoutineId\n description: Required. The ID of the routine. The ID must contain\n only letters (a-z, A-Z), numbers (0-9), or underscores (_).\n The maximum length is 256 characters.\n x-dcl-references:\n - resource: Bigquery/Routine\n field: name\n specialGroup:\n type: string\n x-dcl-go-name: SpecialGroup\n description: 'A special group to grant access to. Possible values\n include: projectOwners: Owners of the enclosing project. projectReaders:\n Readers of the enclosing project. projectWriters: Writers of the\n enclosing project. allAuthenticatedUsers: All authenticated BigQuery\n users. Maps to similarly-named IAM members.'\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - iamMember\n - view\n - routine\n userByEmail:\n type: string\n x-dcl-go-name: UserByEmail\n description: 'An email address of a user to grant access to. For example:\n fred@example.com. Maps to IAM policy member \"user:EMAIL\" or \"serviceAccount:EMAIL\".'\n x-dcl-conflicts:\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n - routine\n view:\n type: object\n x-dcl-go-name: View\n x-dcl-go-type: DatasetAccessView\n description: A view from a different dataset to grant access to. Queries\n executed against that view will have read access to views/tables/routines\n in this dataset. The role field is not required when this field\n is set. If that view is updated by any user, access to the view\n needs to be granted again via an update operation.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - routine\n required:\n - projectId\n - datasetId\n - tableId\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Required. The ID of the dataset containing this table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Required. The ID of the project containing this table.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Required. The ID of the table. The ID must contain\n only letters (a-z, A-Z), numbers (0-9), or underscores (_).\n The maximum length is 1,024 characters. Certain operations allow\n suffixing of the table ID with a partition decorator, such as\n `sample_table$20190123`.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n creationTime:\n type: integer\n format: int64\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. The time when this dataset was created, in milliseconds\n since the epoch.\n x-kubernetes-immutable: true\n defaultEncryptionConfiguration:\n type: object\n x-dcl-go-name: DefaultEncryptionConfiguration\n x-dcl-go-type: DatasetDefaultEncryptionConfiguration\n description: The default encryption key for all tables in the dataset. Once\n this property is set, all newly-created partitioned tables in the dataset\n will have encryption key set to this value, unless table creation request\n (or query) overrides the key.\n x-kubernetes-immutable: true\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: Optional. Describes the Cloud KMS encryption key that will\n be used to protect destination BigQuery table. The BigQuery Service\n Account associated with your project requires access to this encryption\n key.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n defaultPartitionExpirationMs:\n type: string\n x-dcl-go-name: DefaultPartitionExpirationMs\n description: This default partition expiration, expressed in milliseconds.\n When new time-partitioned tables are created in a dataset where this property\n is set, the table will inherit this value, propagated as the `TimePartitioning.expirationMs`\n property on the new table. If you set `TimePartitioning.expirationMs`\n explicitly when creating a table, the `defaultPartitionExpirationMs` of\n the containing dataset is ignored. When creating a partitioned table,\n if `defaultPartitionExpirationMs` is set, the `defaultTableExpirationMs`\n value is ignored and the table will not inherit a table expiration deadline.\n defaultTableExpirationMs:\n type: string\n x-dcl-go-name: DefaultTableExpirationMs\n description: Optional. The default lifetime of all tables in the dataset,\n in milliseconds. The minimum lifetime value is 3600000 milliseconds (one\n hour). To clear an existing default expiration with a PATCH request, set\n to 0. Once this property is set, all newly-created tables in the dataset\n will have an expirationTime property set to the creation time plus the\n value in this property, and changing the value will only affect new tables,\n not existing ones. When the expirationTime for a given table is reached,\n that table will be deleted automatically. If a table's expirationTime\n is modified or removed before the table expires, or if you provide an\n explicit expirationTime when creating a table, that value takes precedence\n over the default expiration time indicated by this property.\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A user-friendly description of the dataset.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A hash of the resource.\n x-kubernetes-immutable: true\n friendlyName:\n type: string\n x-dcl-go-name: FriendlyName\n description: Optional. A descriptive name for the dataset.\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: Output only. The fully-qualified unique name of the dataset\n in the format projectId:datasetId. The dataset name without the project\n name is given in the datasetId field. When creating a new dataset, leave\n this field blank, and instead specify the datasetId field.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels associated with this dataset. You can use these\n to organize and group your datasets. You can set this property when inserting\n or updating a dataset. See (/bigquery/docs/creating-managing-labels#creating_and_updating_dataset_labels)\n for more information.\n lastModifiedTime:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedTime\n readOnly: true\n description: Output only. The date when this dataset was last modified,\n in milliseconds since the epoch.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The geographic location where the dataset should reside. See\n https://cloud.google.com/bigquery/docs/locations for supported locations.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. A unique ID for this dataset, without the project\n name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores\n (_). The maximum length is 1,024 characters.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The ID of the project containing this dataset.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n published:\n type: boolean\n x-dcl-go-name: Published\n description: Whether this dataset is visible to all users in public search.\n This field can only be set to true if READER access is given to allAuthenticatedUsers\n in the access list. The default value is false.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. A URL that can be used to access the resource\n again. You can use this URL in Get or Update requests to the resource.\n x-kubernetes-immutable: true\n") +var YAML_dataset = []byte("info:\n title: Bigquery/Dataset\n description: The Bigquery Dataset resource\n x-dcl-struct-name: Dataset\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n apply:\n description: The function used to apply information about a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n delete:\n description: The function used to delete a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n deleteAll:\n description: The function used to delete all Dataset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Dataset\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Dataset:\n title: Dataset\n x-dcl-id: projects/{{project}}/datasets/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n access:\n type: array\n x-dcl-go-name: Access\n description: 'Optional. An array of objects that define dataset access for\n one or more entities. You can set this property when inserting or updating\n a dataset in order to control who is allowed to access the data. If unspecified\n at dataset creation time, BigQuery adds default dataset access for the\n following entities: access.specialGroup: projectReaders; access.role:\n READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup:\n projectOwners; access.role: OWNER; access.userByEmail: ; access.role:\n OWNER;'\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: DatasetAccess\n required:\n - role\n properties:\n domain:\n type: string\n x-dcl-go-name: Domain\n description: 'A domain to grant access to. Any users signed in with\n the domain specified will be granted the specified access. Example:\n \"example.com\". Maps to IAM policy member \"domain:DOMAIN\".'\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - specialGroup\n - iamMember\n - view\n - routine\n groupByEmail:\n type: string\n x-dcl-go-name: GroupByEmail\n description: An email address of a Google Group to grant access to.\n Maps to IAM policy member \"group:GROUP\".\n x-dcl-conflicts:\n - userByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n - routine\n iamMember:\n type: string\n x-dcl-go-name: IamMember\n description: Some other type of member that appears in the IAM Policy\n but isn't a user, group, domain, or special group.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - view\n - routine\n role:\n type: string\n x-dcl-go-name: Role\n description: 'Required. An IAM role ID that should be granted to the\n user, group, or domain specified in this access entry. The following\n legacy mappings will be applied: OWNER <=> roles/bigquery.dataOwner\n WRITER <=> roles/bigquery.dataEditor READER <=> roles/bigquery.dataViewer\n This field will accept any of the above formats, but will return\n only the legacy format. For example, if you set this field to \"roles/bigquery.dataOwner\",\n it will be returned back as \"OWNER\".'\n routine:\n type: object\n x-dcl-go-name: Routine\n x-dcl-go-type: DatasetAccessRoutine\n description: A routine from a different dataset to grant access to.\n Queries executed against that routine will have read access to views/tables/routines\n in this dataset. Only UDF is supported for now. The role field is\n not required when this field is set. If that routine is updated\n by any user, access to the routine needs to be granted again via\n an update operation.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n required:\n - projectId\n - datasetId\n - routineId\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Required. The ID of the dataset containing this routine.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Required. The ID of the project containing this routine.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n routineId:\n type: string\n x-dcl-go-name: RoutineId\n description: Required. The ID of the routine. The ID must contain\n only letters (a-z, A-Z), numbers (0-9), or underscores (_).\n The maximum length is 256 characters.\n x-dcl-references:\n - resource: Bigquery/Routine\n field: name\n specialGroup:\n type: string\n x-dcl-go-name: SpecialGroup\n description: 'A special group to grant access to. Possible values\n include: projectOwners: Owners of the enclosing project. projectReaders:\n Readers of the enclosing project. projectWriters: Writers of the\n enclosing project. allAuthenticatedUsers: All authenticated BigQuery\n users. Maps to similarly-named IAM members.'\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - iamMember\n - view\n - routine\n userByEmail:\n type: string\n x-dcl-go-name: UserByEmail\n description: 'An email address of a user to grant access to. For example:\n fred@example.com. Maps to IAM policy member \"user:EMAIL\" or \"serviceAccount:EMAIL\".'\n x-dcl-conflicts:\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n - routine\n view:\n type: object\n x-dcl-go-name: View\n x-dcl-go-type: DatasetAccessView\n description: A view from a different dataset to grant access to. Queries\n executed against that view will have read access to views/tables/routines\n in this dataset. The role field is not required when this field\n is set. If that view is updated by any user, access to the view\n needs to be granted again via an update operation.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - routine\n required:\n - projectId\n - datasetId\n - tableId\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Required. The ID of the dataset containing this table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Required. The ID of the project containing this table.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Required. The ID of the table. The ID must contain\n only letters (a-z, A-Z), numbers (0-9), or underscores (_).\n The maximum length is 1,024 characters. Certain operations allow\n suffixing of the table ID with a partition decorator, such as\n `sample_table$20190123`.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n creationTime:\n type: integer\n format: int64\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. The time when this dataset was created, in milliseconds\n since the epoch.\n x-kubernetes-immutable: true\n defaultEncryptionConfiguration:\n type: object\n x-dcl-go-name: DefaultEncryptionConfiguration\n x-dcl-go-type: DatasetDefaultEncryptionConfiguration\n description: The default encryption key for all tables in the dataset. Once\n this property is set, all newly-created partitioned tables in the dataset\n will have encryption key set to this value, unless table creation request\n (or query) overrides the key.\n x-kubernetes-immutable: true\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: Optional. Describes the Cloud KMS encryption key that will\n be used to protect destination BigQuery table. The BigQuery Service\n Account associated with your project requires access to this encryption\n key.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n defaultPartitionExpirationMs:\n type: string\n x-dcl-go-name: DefaultPartitionExpirationMs\n description: This default partition expiration, expressed in milliseconds.\n When new time-partitioned tables are created in a dataset where this property\n is set, the table will inherit this value, propagated as the `TimePartitioning.expirationMs`\n property on the new table. If you set `TimePartitioning.expirationMs`\n explicitly when creating a table, the `defaultPartitionExpirationMs` of\n the containing dataset is ignored. When creating a partitioned table,\n if `defaultPartitionExpirationMs` is set, the `defaultTableExpirationMs`\n value is ignored and the table will not inherit a table expiration deadline.\n defaultTableExpirationMs:\n type: string\n x-dcl-go-name: DefaultTableExpirationMs\n description: Optional. The default lifetime of all tables in the dataset,\n in milliseconds. The minimum lifetime value is 3600000 milliseconds (one\n hour). To clear an existing default expiration with a PATCH request, set\n to 0. Once this property is set, all newly-created tables in the dataset\n will have an expirationTime property set to the creation time plus the\n value in this property, and changing the value will only affect new tables,\n not existing ones. When the expirationTime for a given table is reached,\n that table will be deleted automatically. If a table's expirationTime\n is modified or removed before the table expires, or if you provide an\n explicit expirationTime when creating a table, that value takes precedence\n over the default expiration time indicated by this property.\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A user-friendly description of the dataset.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A hash of the resource.\n x-kubernetes-immutable: true\n friendlyName:\n type: string\n x-dcl-go-name: FriendlyName\n description: Optional. A descriptive name for the dataset.\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: Output only. The fully-qualified unique name of the dataset\n in the format projectId:datasetId. The dataset name without the project\n name is given in the datasetId field. When creating a new dataset, leave\n this field blank, and instead specify the datasetId field.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels associated with this dataset. You can use these\n to organize and group your datasets. You can set this property when inserting\n or updating a dataset. See (/bigquery/docs/creating-managing-labels#creating_and_updating_dataset_labels)\n for more information.\n lastModifiedTime:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedTime\n readOnly: true\n description: Output only. The date when this dataset was last modified,\n in milliseconds since the epoch.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The geographic location where the dataset should reside. See\n https://cloud.google.com/bigquery/docs/locations for supported locations.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. A unique ID for this dataset, without the project\n name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores\n (_). The maximum length is 1,024 characters.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The ID of the project containing this dataset.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n published:\n type: boolean\n x-dcl-go-name: Published\n description: Whether this dataset is visible to all users in public search.\n This field can only be set to true if READER access is given to allAuthenticatedUsers\n in the access list. The default value is false.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. A URL that can be used to access the resource\n again. You can use this URL in Get or Update requests to the resource.\n x-kubernetes-immutable: true\n") -// 16213 bytes -// MD5: c63b2185f10218c780ba731dd0bee202 +// 16238 bytes +// MD5: 65beb9e52ee65a9f5cc7c61925061df7 diff --git a/services/google/bigquery/alpha/dataset_schema.go b/services/google/bigquery/alpha/dataset_schema.go index 03ddd939de..33e89dc7fd 100755 --- a/services/google/bigquery/alpha/dataset_schema.go +++ b/services/google/bigquery/alpha/dataset_schema.go @@ -23,6 +23,7 @@ func DCLDatasetSchema() *dcl.Schema { Title: "Bigquery/Dataset", Description: "The Bigquery Dataset resource", StructName: "Dataset", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigquery/alpha/routine.yaml b/services/google/bigquery/alpha/routine.yaml index 21c9132fd1..2a3407ebf7 100755 --- a/services/google/bigquery/alpha/routine.yaml +++ b/services/google/bigquery/alpha/routine.yaml @@ -15,6 +15,7 @@ info: title: Bigquery/Routine description: The Bigquery Routine resource x-dcl-struct-name: Routine + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigquery/alpha/routine_alpha_yaml_embed.go b/services/google/bigquery/alpha/routine_alpha_yaml_embed.go index 6ba8d10fd9..a76b98a8a8 100755 --- a/services/google/bigquery/alpha/routine_alpha_yaml_embed.go +++ b/services/google/bigquery/alpha/routine_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigquery/alpha/routine.yaml -var YAML_routine = []byte("info:\n title: Bigquery/Routine\n description: The Bigquery Routine resource\n x-dcl-struct-name: Routine\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n apply:\n description: The function used to apply information about a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n delete:\n description: The function used to delete a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n deleteAll:\n description: The function used to delete all Routine\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: dataset\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Routine\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: dataset\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ArgumentsDataType:\n x-dcl-has-iam: false\n type: object\n x-dcl-go-name: DataType\n x-dcl-go-type: RoutineArgumentsDataType\n description: Required unless argument_kind = ANY_TYPE.\n x-kubernetes-immutable: true\n required:\n - typeKind\n properties:\n arrayElementType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: ArrayElementType\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - structType\n structType:\n type: object\n x-dcl-go-name: StructType\n x-dcl-go-type: RoutineArgumentsDataTypeStructType\n description: The fields of this struct, in order, if type_kind = \"STRUCT\".\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - arrayElementType\n properties:\n fields:\n type: array\n x-dcl-go-name: Fields\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RoutineArgumentsDataTypeStructTypeFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Optional. The name of this field. Can be absent for\n struct fields.\n x-kubernetes-immutable: true\n type:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: Type\n x-kubernetes-immutable: true\n typeKind:\n type: string\n x-dcl-go-name: TypeKind\n x-dcl-go-type: RoutineArgumentsDataTypeTypeKindEnum\n description: 'Required. The top level type of this field. Can be any standard\n SQL data type (e.g., \"INT64\", \"DATE\", \"ARRAY\"). Possible values: TYPE_KIND_UNSPECIFIED,\n INT64, BOOL, FLOAT64, STRING, BYTES, TIMESTAMP, DATE, TIME, DATETIME,\n INTERVAL, GEOGRAPHY, NUMERIC, BIGNUMERIC, JSON, ARRAY, STRUCT'\n x-kubernetes-immutable: true\n enum:\n - TYPE_KIND_UNSPECIFIED\n - INT64\n - BOOL\n - FLOAT64\n - STRING\n - BYTES\n - TIMESTAMP\n - DATE\n - TIME\n - DATETIME\n - INTERVAL\n - GEOGRAPHY\n - NUMERIC\n - BIGNUMERIC\n - JSON\n - ARRAY\n - STRUCT\n Routine:\n title: Routine\n x-dcl-id: projects/{{project}}/datasets/{{dataset}}/routines/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - dataset\n - routineType\n - definitionBody\n properties:\n arguments:\n type: array\n x-dcl-go-name: Arguments\n description: Optional.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RoutineArguments\n properties:\n argumentKind:\n type: string\n x-dcl-go-name: ArgumentKind\n x-dcl-go-type: RoutineArgumentsArgumentKindEnum\n description: 'Optional. Defaults to FIXED_TYPE. Possible values: ARGUMENT_KIND_UNSPECIFIED,\n FIXED_TYPE, ANY_TYPE'\n enum:\n - ARGUMENT_KIND_UNSPECIFIED\n - FIXED_TYPE\n - ANY_TYPE\n dataType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: DataType\n x-kubernetes-immutable: true\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: RoutineArgumentsModeEnum\n description: 'Optional. Specifies whether the argument is input or\n output. Can be set for procedures only. Possible values: MODE_UNSPECIFIED,\n IN, OUT, INOUT'\n enum:\n - MODE_UNSPECIFIED\n - IN\n - OUT\n - INOUT\n name:\n type: string\n x-dcl-go-name: Name\n description: Optional. The name of this argument. Can be absent for\n function return argument.\n creationTime:\n type: integer\n format: int64\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. The time when this routine was created, in milliseconds\n since the epoch.\n x-kubernetes-immutable: true\n dataset:\n type: string\n x-dcl-go-name: Dataset\n description: Required. The ID of the dataset containing this routine.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n parent: true\n definitionBody:\n type: string\n x-dcl-go-name: DefinitionBody\n description: \"Required. The body of the routine. For functions, this is\n the expression in the AS clause. If language=SQL, it is the substring\n inside (but excluding) the parentheses. For example, for the function\n created with the following statement: `CREATE FUNCTION JoinLines(x string,\n y string) as (concat(x, \\\"\\n\\\", y))` The definition_body is `concat(x,\n \\\"\\n\\\", y)` (\\n is not replaced with linebreak). If language=JAVASCRIPT,\n it is the evaluated string in the AS clause. For example, for the function\n created with the following statement: `CREATE FUNCTION f() RETURNS STRING\n LANGUAGE js AS 'return \\\"\\n\\\";\\n'` The definition_body is `return \\\"\\n\\\";\\n`\n Note that both \\n are replaced with linebreaks.\"\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. The description of the routine if defined.\n determinismLevel:\n type: string\n x-dcl-go-name: DeterminismLevel\n x-dcl-go-type: RoutineDeterminismLevelEnum\n description: 'Optional. The determinism level of the JavaScript UDF if defined.\n Possible values: DETERMINISM_LEVEL_UNSPECIFIED, DETERMINISTIC, NOT_DETERMINISTIC'\n enum:\n - DETERMINISM_LEVEL_UNSPECIFIED\n - DETERMINISTIC\n - NOT_DETERMINISTIC\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A hash of this resource.\n x-kubernetes-immutable: true\n importedLibraries:\n type: array\n x-dcl-go-name: ImportedLibraries\n description: Optional. If language = \"JAVASCRIPT\", this field stores the\n path of the imported JAVASCRIPT libraries.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n language:\n type: string\n x-dcl-go-name: Language\n x-dcl-go-type: RoutineLanguageEnum\n description: 'Optional. Defaults to \"SQL\". Possible values: LANGUAGE_UNSPECIFIED,\n SQL, JAVASCRIPT'\n enum:\n - LANGUAGE_UNSPECIFIED\n - SQL\n - JAVASCRIPT\n lastModifiedTime:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedTime\n readOnly: true\n description: Output only. The time when this routine was last modified,\n in milliseconds since the epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The ID of the routine. The ID must contain only letters\n (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256\n characters.\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The ID of the project containing this routine.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n returnType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: ReturnType\n routineType:\n type: string\n x-dcl-go-name: RoutineType\n x-dcl-go-type: RoutineRoutineTypeEnum\n description: 'Required. The type of routine. Possible values: ROUTINE_TYPE_UNSPECIFIED,\n SCALAR_FUNCTION, PROCEDURE'\n enum:\n - ROUTINE_TYPE_UNSPECIFIED\n - SCALAR_FUNCTION\n - PROCEDURE\n strictMode:\n type: boolean\n x-dcl-go-name: StrictMode\n description: Optional. Can be set for procedures only. If true (default),\n the definition body will be validated in the creation and the updates\n of the procedure. For procedures with an argument of ANY TYPE, the definition\n body validtion is not supported at creation/update time, and thus this\n field must be set to false explicitly.\n") +var YAML_routine = []byte("info:\n title: Bigquery/Routine\n description: The Bigquery Routine resource\n x-dcl-struct-name: Routine\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n apply:\n description: The function used to apply information about a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n delete:\n description: The function used to delete a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n deleteAll:\n description: The function used to delete all Routine\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: dataset\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Routine\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: dataset\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ArgumentsDataType:\n x-dcl-has-iam: false\n type: object\n x-dcl-go-name: DataType\n x-dcl-go-type: RoutineArgumentsDataType\n description: Required unless argument_kind = ANY_TYPE.\n x-kubernetes-immutable: true\n required:\n - typeKind\n properties:\n arrayElementType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: ArrayElementType\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - structType\n structType:\n type: object\n x-dcl-go-name: StructType\n x-dcl-go-type: RoutineArgumentsDataTypeStructType\n description: The fields of this struct, in order, if type_kind = \"STRUCT\".\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - arrayElementType\n properties:\n fields:\n type: array\n x-dcl-go-name: Fields\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RoutineArgumentsDataTypeStructTypeFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Optional. The name of this field. Can be absent for\n struct fields.\n x-kubernetes-immutable: true\n type:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: Type\n x-kubernetes-immutable: true\n typeKind:\n type: string\n x-dcl-go-name: TypeKind\n x-dcl-go-type: RoutineArgumentsDataTypeTypeKindEnum\n description: 'Required. The top level type of this field. Can be any standard\n SQL data type (e.g., \"INT64\", \"DATE\", \"ARRAY\"). Possible values: TYPE_KIND_UNSPECIFIED,\n INT64, BOOL, FLOAT64, STRING, BYTES, TIMESTAMP, DATE, TIME, DATETIME,\n INTERVAL, GEOGRAPHY, NUMERIC, BIGNUMERIC, JSON, ARRAY, STRUCT'\n x-kubernetes-immutable: true\n enum:\n - TYPE_KIND_UNSPECIFIED\n - INT64\n - BOOL\n - FLOAT64\n - STRING\n - BYTES\n - TIMESTAMP\n - DATE\n - TIME\n - DATETIME\n - INTERVAL\n - GEOGRAPHY\n - NUMERIC\n - BIGNUMERIC\n - JSON\n - ARRAY\n - STRUCT\n Routine:\n title: Routine\n x-dcl-id: projects/{{project}}/datasets/{{dataset}}/routines/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - dataset\n - routineType\n - definitionBody\n properties:\n arguments:\n type: array\n x-dcl-go-name: Arguments\n description: Optional.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RoutineArguments\n properties:\n argumentKind:\n type: string\n x-dcl-go-name: ArgumentKind\n x-dcl-go-type: RoutineArgumentsArgumentKindEnum\n description: 'Optional. Defaults to FIXED_TYPE. Possible values: ARGUMENT_KIND_UNSPECIFIED,\n FIXED_TYPE, ANY_TYPE'\n enum:\n - ARGUMENT_KIND_UNSPECIFIED\n - FIXED_TYPE\n - ANY_TYPE\n dataType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: DataType\n x-kubernetes-immutable: true\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: RoutineArgumentsModeEnum\n description: 'Optional. Specifies whether the argument is input or\n output. Can be set for procedures only. Possible values: MODE_UNSPECIFIED,\n IN, OUT, INOUT'\n enum:\n - MODE_UNSPECIFIED\n - IN\n - OUT\n - INOUT\n name:\n type: string\n x-dcl-go-name: Name\n description: Optional. The name of this argument. Can be absent for\n function return argument.\n creationTime:\n type: integer\n format: int64\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. The time when this routine was created, in milliseconds\n since the epoch.\n x-kubernetes-immutable: true\n dataset:\n type: string\n x-dcl-go-name: Dataset\n description: Required. The ID of the dataset containing this routine.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n parent: true\n definitionBody:\n type: string\n x-dcl-go-name: DefinitionBody\n description: \"Required. The body of the routine. For functions, this is\n the expression in the AS clause. If language=SQL, it is the substring\n inside (but excluding) the parentheses. For example, for the function\n created with the following statement: `CREATE FUNCTION JoinLines(x string,\n y string) as (concat(x, \\\"\\n\\\", y))` The definition_body is `concat(x,\n \\\"\\n\\\", y)` (\\n is not replaced with linebreak). If language=JAVASCRIPT,\n it is the evaluated string in the AS clause. For example, for the function\n created with the following statement: `CREATE FUNCTION f() RETURNS STRING\n LANGUAGE js AS 'return \\\"\\n\\\";\\n'` The definition_body is `return \\\"\\n\\\";\\n`\n Note that both \\n are replaced with linebreaks.\"\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. The description of the routine if defined.\n determinismLevel:\n type: string\n x-dcl-go-name: DeterminismLevel\n x-dcl-go-type: RoutineDeterminismLevelEnum\n description: 'Optional. The determinism level of the JavaScript UDF if defined.\n Possible values: DETERMINISM_LEVEL_UNSPECIFIED, DETERMINISTIC, NOT_DETERMINISTIC'\n enum:\n - DETERMINISM_LEVEL_UNSPECIFIED\n - DETERMINISTIC\n - NOT_DETERMINISTIC\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A hash of this resource.\n x-kubernetes-immutable: true\n importedLibraries:\n type: array\n x-dcl-go-name: ImportedLibraries\n description: Optional. If language = \"JAVASCRIPT\", this field stores the\n path of the imported JAVASCRIPT libraries.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n language:\n type: string\n x-dcl-go-name: Language\n x-dcl-go-type: RoutineLanguageEnum\n description: 'Optional. Defaults to \"SQL\". Possible values: LANGUAGE_UNSPECIFIED,\n SQL, JAVASCRIPT'\n enum:\n - LANGUAGE_UNSPECIFIED\n - SQL\n - JAVASCRIPT\n lastModifiedTime:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedTime\n readOnly: true\n description: Output only. The time when this routine was last modified,\n in milliseconds since the epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The ID of the routine. The ID must contain only letters\n (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256\n characters.\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The ID of the project containing this routine.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n returnType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: ReturnType\n routineType:\n type: string\n x-dcl-go-name: RoutineType\n x-dcl-go-type: RoutineRoutineTypeEnum\n description: 'Required. The type of routine. Possible values: ROUTINE_TYPE_UNSPECIFIED,\n SCALAR_FUNCTION, PROCEDURE'\n enum:\n - ROUTINE_TYPE_UNSPECIFIED\n - SCALAR_FUNCTION\n - PROCEDURE\n strictMode:\n type: boolean\n x-dcl-go-name: StrictMode\n description: Optional. Can be set for procedures only. If true (default),\n the definition body will be validated in the creation and the updates\n of the procedure. For procedures with an argument of ANY TYPE, the definition\n body validtion is not supported at creation/update time, and thus this\n field must be set to false explicitly.\n") -// 10373 bytes -// MD5: 7318121177b98aab8ed3d720db0fa822 +// 10398 bytes +// MD5: 18ce3014ccce5a671e52d86f1cd8d5b1 diff --git a/services/google/bigquery/alpha/routine_schema.go b/services/google/bigquery/alpha/routine_schema.go index 01f167c1d4..73e8facd90 100755 --- a/services/google/bigquery/alpha/routine_schema.go +++ b/services/google/bigquery/alpha/routine_schema.go @@ -23,6 +23,7 @@ func DCLRoutineSchema() *dcl.Schema { Title: "Bigquery/Routine", Description: "The Bigquery Routine resource", StructName: "Routine", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigquery/beta/dataset.yaml b/services/google/bigquery/beta/dataset.yaml index 894a7e6a89..3ac7cf9b70 100755 --- a/services/google/bigquery/beta/dataset.yaml +++ b/services/google/bigquery/beta/dataset.yaml @@ -15,6 +15,7 @@ info: title: Bigquery/Dataset description: The Bigquery Dataset resource x-dcl-struct-name: Dataset + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigquery/beta/dataset_beta_yaml_embed.go b/services/google/bigquery/beta/dataset_beta_yaml_embed.go index 5218bd52bf..00c73fbdda 100755 --- a/services/google/bigquery/beta/dataset_beta_yaml_embed.go +++ b/services/google/bigquery/beta/dataset_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigquery/beta/dataset.yaml -var YAML_dataset = []byte("info:\n title: Bigquery/Dataset\n description: The Bigquery Dataset resource\n x-dcl-struct-name: Dataset\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n apply:\n description: The function used to apply information about a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n delete:\n description: The function used to delete a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n deleteAll:\n description: The function used to delete all Dataset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Dataset\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Dataset:\n title: Dataset\n x-dcl-id: projects/{{project}}/datasets/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n access:\n type: array\n x-dcl-go-name: Access\n description: 'Optional. An array of objects that define dataset access for\n one or more entities. You can set this property when inserting or updating\n a dataset in order to control who is allowed to access the data. If unspecified\n at dataset creation time, BigQuery adds default dataset access for the\n following entities: access.specialGroup: projectReaders; access.role:\n READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup:\n projectOwners; access.role: OWNER; access.userByEmail: ; access.role:\n OWNER;'\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: DatasetAccess\n required:\n - role\n properties:\n domain:\n type: string\n x-dcl-go-name: Domain\n description: 'A domain to grant access to. Any users signed in with\n the domain specified will be granted the specified access. Example:\n \"example.com\". Maps to IAM policy member \"domain:DOMAIN\".'\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - specialGroup\n - iamMember\n - view\n - routine\n groupByEmail:\n type: string\n x-dcl-go-name: GroupByEmail\n description: An email address of a Google Group to grant access to.\n Maps to IAM policy member \"group:GROUP\".\n x-dcl-conflicts:\n - userByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n - routine\n iamMember:\n type: string\n x-dcl-go-name: IamMember\n description: Some other type of member that appears in the IAM Policy\n but isn't a user, group, domain, or special group.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - view\n - routine\n role:\n type: string\n x-dcl-go-name: Role\n description: 'Required. An IAM role ID that should be granted to the\n user, group, or domain specified in this access entry. The following\n legacy mappings will be applied: OWNER <=> roles/bigquery.dataOwner\n WRITER <=> roles/bigquery.dataEditor READER <=> roles/bigquery.dataViewer\n This field will accept any of the above formats, but will return\n only the legacy format. For example, if you set this field to \"roles/bigquery.dataOwner\",\n it will be returned back as \"OWNER\".'\n routine:\n type: object\n x-dcl-go-name: Routine\n x-dcl-go-type: DatasetAccessRoutine\n description: A routine from a different dataset to grant access to.\n Queries executed against that routine will have read access to views/tables/routines\n in this dataset. Only UDF is supported for now. The role field is\n not required when this field is set. If that routine is updated\n by any user, access to the routine needs to be granted again via\n an update operation.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n required:\n - projectId\n - datasetId\n - routineId\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Required. The ID of the dataset containing this routine.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Required. The ID of the project containing this routine.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n routineId:\n type: string\n x-dcl-go-name: RoutineId\n description: Required. The ID of the routine. The ID must contain\n only letters (a-z, A-Z), numbers (0-9), or underscores (_).\n The maximum length is 256 characters.\n x-dcl-references:\n - resource: Bigquery/Routine\n field: name\n specialGroup:\n type: string\n x-dcl-go-name: SpecialGroup\n description: 'A special group to grant access to. Possible values\n include: projectOwners: Owners of the enclosing project. projectReaders:\n Readers of the enclosing project. projectWriters: Writers of the\n enclosing project. allAuthenticatedUsers: All authenticated BigQuery\n users. Maps to similarly-named IAM members.'\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - iamMember\n - view\n - routine\n userByEmail:\n type: string\n x-dcl-go-name: UserByEmail\n description: 'An email address of a user to grant access to. For example:\n fred@example.com. Maps to IAM policy member \"user:EMAIL\" or \"serviceAccount:EMAIL\".'\n x-dcl-conflicts:\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n - routine\n view:\n type: object\n x-dcl-go-name: View\n x-dcl-go-type: DatasetAccessView\n description: A view from a different dataset to grant access to. Queries\n executed against that view will have read access to views/tables/routines\n in this dataset. The role field is not required when this field\n is set. If that view is updated by any user, access to the view\n needs to be granted again via an update operation.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - routine\n required:\n - projectId\n - datasetId\n - tableId\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Required. The ID of the dataset containing this table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Required. The ID of the project containing this table.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Required. The ID of the table. The ID must contain\n only letters (a-z, A-Z), numbers (0-9), or underscores (_).\n The maximum length is 1,024 characters. Certain operations allow\n suffixing of the table ID with a partition decorator, such as\n `sample_table$20190123`.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n creationTime:\n type: integer\n format: int64\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. The time when this dataset was created, in milliseconds\n since the epoch.\n x-kubernetes-immutable: true\n defaultEncryptionConfiguration:\n type: object\n x-dcl-go-name: DefaultEncryptionConfiguration\n x-dcl-go-type: DatasetDefaultEncryptionConfiguration\n description: The default encryption key for all tables in the dataset. Once\n this property is set, all newly-created partitioned tables in the dataset\n will have encryption key set to this value, unless table creation request\n (or query) overrides the key.\n x-kubernetes-immutable: true\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: Optional. Describes the Cloud KMS encryption key that will\n be used to protect destination BigQuery table. The BigQuery Service\n Account associated with your project requires access to this encryption\n key.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n defaultPartitionExpirationMs:\n type: string\n x-dcl-go-name: DefaultPartitionExpirationMs\n description: This default partition expiration, expressed in milliseconds.\n When new time-partitioned tables are created in a dataset where this property\n is set, the table will inherit this value, propagated as the `TimePartitioning.expirationMs`\n property on the new table. If you set `TimePartitioning.expirationMs`\n explicitly when creating a table, the `defaultPartitionExpirationMs` of\n the containing dataset is ignored. When creating a partitioned table,\n if `defaultPartitionExpirationMs` is set, the `defaultTableExpirationMs`\n value is ignored and the table will not inherit a table expiration deadline.\n defaultTableExpirationMs:\n type: string\n x-dcl-go-name: DefaultTableExpirationMs\n description: Optional. The default lifetime of all tables in the dataset,\n in milliseconds. The minimum lifetime value is 3600000 milliseconds (one\n hour). To clear an existing default expiration with a PATCH request, set\n to 0. Once this property is set, all newly-created tables in the dataset\n will have an expirationTime property set to the creation time plus the\n value in this property, and changing the value will only affect new tables,\n not existing ones. When the expirationTime for a given table is reached,\n that table will be deleted automatically. If a table's expirationTime\n is modified or removed before the table expires, or if you provide an\n explicit expirationTime when creating a table, that value takes precedence\n over the default expiration time indicated by this property.\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A user-friendly description of the dataset.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A hash of the resource.\n x-kubernetes-immutable: true\n friendlyName:\n type: string\n x-dcl-go-name: FriendlyName\n description: Optional. A descriptive name for the dataset.\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: Output only. The fully-qualified unique name of the dataset\n in the format projectId:datasetId. The dataset name without the project\n name is given in the datasetId field. When creating a new dataset, leave\n this field blank, and instead specify the datasetId field.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels associated with this dataset. You can use these\n to organize and group your datasets. You can set this property when inserting\n or updating a dataset. See (/bigquery/docs/creating-managing-labels#creating_and_updating_dataset_labels)\n for more information.\n lastModifiedTime:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedTime\n readOnly: true\n description: Output only. The date when this dataset was last modified,\n in milliseconds since the epoch.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The geographic location where the dataset should reside. See\n https://cloud.google.com/bigquery/docs/locations for supported locations.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. A unique ID for this dataset, without the project\n name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores\n (_). The maximum length is 1,024 characters.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The ID of the project containing this dataset.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n published:\n type: boolean\n x-dcl-go-name: Published\n description: Whether this dataset is visible to all users in public search.\n This field can only be set to true if READER access is given to allAuthenticatedUsers\n in the access list. The default value is false.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. A URL that can be used to access the resource\n again. You can use this URL in Get or Update requests to the resource.\n x-kubernetes-immutable: true\n") +var YAML_dataset = []byte("info:\n title: Bigquery/Dataset\n description: The Bigquery Dataset resource\n x-dcl-struct-name: Dataset\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n apply:\n description: The function used to apply information about a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n delete:\n description: The function used to delete a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n deleteAll:\n description: The function used to delete all Dataset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Dataset\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Dataset:\n title: Dataset\n x-dcl-id: projects/{{project}}/datasets/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n access:\n type: array\n x-dcl-go-name: Access\n description: 'Optional. An array of objects that define dataset access for\n one or more entities. You can set this property when inserting or updating\n a dataset in order to control who is allowed to access the data. If unspecified\n at dataset creation time, BigQuery adds default dataset access for the\n following entities: access.specialGroup: projectReaders; access.role:\n READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup:\n projectOwners; access.role: OWNER; access.userByEmail: ; access.role:\n OWNER;'\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: DatasetAccess\n required:\n - role\n properties:\n domain:\n type: string\n x-dcl-go-name: Domain\n description: 'A domain to grant access to. Any users signed in with\n the domain specified will be granted the specified access. Example:\n \"example.com\". Maps to IAM policy member \"domain:DOMAIN\".'\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - specialGroup\n - iamMember\n - view\n - routine\n groupByEmail:\n type: string\n x-dcl-go-name: GroupByEmail\n description: An email address of a Google Group to grant access to.\n Maps to IAM policy member \"group:GROUP\".\n x-dcl-conflicts:\n - userByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n - routine\n iamMember:\n type: string\n x-dcl-go-name: IamMember\n description: Some other type of member that appears in the IAM Policy\n but isn't a user, group, domain, or special group.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - view\n - routine\n role:\n type: string\n x-dcl-go-name: Role\n description: 'Required. An IAM role ID that should be granted to the\n user, group, or domain specified in this access entry. The following\n legacy mappings will be applied: OWNER <=> roles/bigquery.dataOwner\n WRITER <=> roles/bigquery.dataEditor READER <=> roles/bigquery.dataViewer\n This field will accept any of the above formats, but will return\n only the legacy format. For example, if you set this field to \"roles/bigquery.dataOwner\",\n it will be returned back as \"OWNER\".'\n routine:\n type: object\n x-dcl-go-name: Routine\n x-dcl-go-type: DatasetAccessRoutine\n description: A routine from a different dataset to grant access to.\n Queries executed against that routine will have read access to views/tables/routines\n in this dataset. Only UDF is supported for now. The role field is\n not required when this field is set. If that routine is updated\n by any user, access to the routine needs to be granted again via\n an update operation.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n required:\n - projectId\n - datasetId\n - routineId\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Required. The ID of the dataset containing this routine.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Required. The ID of the project containing this routine.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n routineId:\n type: string\n x-dcl-go-name: RoutineId\n description: Required. The ID of the routine. The ID must contain\n only letters (a-z, A-Z), numbers (0-9), or underscores (_).\n The maximum length is 256 characters.\n x-dcl-references:\n - resource: Bigquery/Routine\n field: name\n specialGroup:\n type: string\n x-dcl-go-name: SpecialGroup\n description: 'A special group to grant access to. Possible values\n include: projectOwners: Owners of the enclosing project. projectReaders:\n Readers of the enclosing project. projectWriters: Writers of the\n enclosing project. allAuthenticatedUsers: All authenticated BigQuery\n users. Maps to similarly-named IAM members.'\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - iamMember\n - view\n - routine\n userByEmail:\n type: string\n x-dcl-go-name: UserByEmail\n description: 'An email address of a user to grant access to. For example:\n fred@example.com. Maps to IAM policy member \"user:EMAIL\" or \"serviceAccount:EMAIL\".'\n x-dcl-conflicts:\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n - routine\n view:\n type: object\n x-dcl-go-name: View\n x-dcl-go-type: DatasetAccessView\n description: A view from a different dataset to grant access to. Queries\n executed against that view will have read access to views/tables/routines\n in this dataset. The role field is not required when this field\n is set. If that view is updated by any user, access to the view\n needs to be granted again via an update operation.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - routine\n required:\n - projectId\n - datasetId\n - tableId\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Required. The ID of the dataset containing this table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Required. The ID of the project containing this table.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Required. The ID of the table. The ID must contain\n only letters (a-z, A-Z), numbers (0-9), or underscores (_).\n The maximum length is 1,024 characters. Certain operations allow\n suffixing of the table ID with a partition decorator, such as\n `sample_table$20190123`.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n creationTime:\n type: integer\n format: int64\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. The time when this dataset was created, in milliseconds\n since the epoch.\n x-kubernetes-immutable: true\n defaultEncryptionConfiguration:\n type: object\n x-dcl-go-name: DefaultEncryptionConfiguration\n x-dcl-go-type: DatasetDefaultEncryptionConfiguration\n description: The default encryption key for all tables in the dataset. Once\n this property is set, all newly-created partitioned tables in the dataset\n will have encryption key set to this value, unless table creation request\n (or query) overrides the key.\n x-kubernetes-immutable: true\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: Optional. Describes the Cloud KMS encryption key that will\n be used to protect destination BigQuery table. The BigQuery Service\n Account associated with your project requires access to this encryption\n key.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n defaultPartitionExpirationMs:\n type: string\n x-dcl-go-name: DefaultPartitionExpirationMs\n description: This default partition expiration, expressed in milliseconds.\n When new time-partitioned tables are created in a dataset where this property\n is set, the table will inherit this value, propagated as the `TimePartitioning.expirationMs`\n property on the new table. If you set `TimePartitioning.expirationMs`\n explicitly when creating a table, the `defaultPartitionExpirationMs` of\n the containing dataset is ignored. When creating a partitioned table,\n if `defaultPartitionExpirationMs` is set, the `defaultTableExpirationMs`\n value is ignored and the table will not inherit a table expiration deadline.\n defaultTableExpirationMs:\n type: string\n x-dcl-go-name: DefaultTableExpirationMs\n description: Optional. The default lifetime of all tables in the dataset,\n in milliseconds. The minimum lifetime value is 3600000 milliseconds (one\n hour). To clear an existing default expiration with a PATCH request, set\n to 0. Once this property is set, all newly-created tables in the dataset\n will have an expirationTime property set to the creation time plus the\n value in this property, and changing the value will only affect new tables,\n not existing ones. When the expirationTime for a given table is reached,\n that table will be deleted automatically. If a table's expirationTime\n is modified or removed before the table expires, or if you provide an\n explicit expirationTime when creating a table, that value takes precedence\n over the default expiration time indicated by this property.\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A user-friendly description of the dataset.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A hash of the resource.\n x-kubernetes-immutable: true\n friendlyName:\n type: string\n x-dcl-go-name: FriendlyName\n description: Optional. A descriptive name for the dataset.\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: Output only. The fully-qualified unique name of the dataset\n in the format projectId:datasetId. The dataset name without the project\n name is given in the datasetId field. When creating a new dataset, leave\n this field blank, and instead specify the datasetId field.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels associated with this dataset. You can use these\n to organize and group your datasets. You can set this property when inserting\n or updating a dataset. See (/bigquery/docs/creating-managing-labels#creating_and_updating_dataset_labels)\n for more information.\n lastModifiedTime:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedTime\n readOnly: true\n description: Output only. The date when this dataset was last modified,\n in milliseconds since the epoch.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The geographic location where the dataset should reside. See\n https://cloud.google.com/bigquery/docs/locations for supported locations.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. A unique ID for this dataset, without the project\n name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores\n (_). The maximum length is 1,024 characters.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The ID of the project containing this dataset.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n published:\n type: boolean\n x-dcl-go-name: Published\n description: Whether this dataset is visible to all users in public search.\n This field can only be set to true if READER access is given to allAuthenticatedUsers\n in the access list. The default value is false.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. A URL that can be used to access the resource\n again. You can use this URL in Get or Update requests to the resource.\n x-kubernetes-immutable: true\n") -// 16213 bytes -// MD5: c63b2185f10218c780ba731dd0bee202 +// 16238 bytes +// MD5: 65beb9e52ee65a9f5cc7c61925061df7 diff --git a/services/google/bigquery/beta/dataset_schema.go b/services/google/bigquery/beta/dataset_schema.go index 9169b78bb9..6576050655 100755 --- a/services/google/bigquery/beta/dataset_schema.go +++ b/services/google/bigquery/beta/dataset_schema.go @@ -23,6 +23,7 @@ func DCLDatasetSchema() *dcl.Schema { Title: "Bigquery/Dataset", Description: "The Bigquery Dataset resource", StructName: "Dataset", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigquery/beta/routine.yaml b/services/google/bigquery/beta/routine.yaml index 21c9132fd1..2a3407ebf7 100755 --- a/services/google/bigquery/beta/routine.yaml +++ b/services/google/bigquery/beta/routine.yaml @@ -15,6 +15,7 @@ info: title: Bigquery/Routine description: The Bigquery Routine resource x-dcl-struct-name: Routine + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigquery/beta/routine_beta_yaml_embed.go b/services/google/bigquery/beta/routine_beta_yaml_embed.go index dcbf5b2604..302bab3853 100755 --- a/services/google/bigquery/beta/routine_beta_yaml_embed.go +++ b/services/google/bigquery/beta/routine_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigquery/beta/routine.yaml -var YAML_routine = []byte("info:\n title: Bigquery/Routine\n description: The Bigquery Routine resource\n x-dcl-struct-name: Routine\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n apply:\n description: The function used to apply information about a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n delete:\n description: The function used to delete a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n deleteAll:\n description: The function used to delete all Routine\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: dataset\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Routine\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: dataset\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ArgumentsDataType:\n x-dcl-has-iam: false\n type: object\n x-dcl-go-name: DataType\n x-dcl-go-type: RoutineArgumentsDataType\n description: Required unless argument_kind = ANY_TYPE.\n x-kubernetes-immutable: true\n required:\n - typeKind\n properties:\n arrayElementType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: ArrayElementType\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - structType\n structType:\n type: object\n x-dcl-go-name: StructType\n x-dcl-go-type: RoutineArgumentsDataTypeStructType\n description: The fields of this struct, in order, if type_kind = \"STRUCT\".\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - arrayElementType\n properties:\n fields:\n type: array\n x-dcl-go-name: Fields\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RoutineArgumentsDataTypeStructTypeFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Optional. The name of this field. Can be absent for\n struct fields.\n x-kubernetes-immutable: true\n type:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: Type\n x-kubernetes-immutable: true\n typeKind:\n type: string\n x-dcl-go-name: TypeKind\n x-dcl-go-type: RoutineArgumentsDataTypeTypeKindEnum\n description: 'Required. The top level type of this field. Can be any standard\n SQL data type (e.g., \"INT64\", \"DATE\", \"ARRAY\"). Possible values: TYPE_KIND_UNSPECIFIED,\n INT64, BOOL, FLOAT64, STRING, BYTES, TIMESTAMP, DATE, TIME, DATETIME,\n INTERVAL, GEOGRAPHY, NUMERIC, BIGNUMERIC, JSON, ARRAY, STRUCT'\n x-kubernetes-immutable: true\n enum:\n - TYPE_KIND_UNSPECIFIED\n - INT64\n - BOOL\n - FLOAT64\n - STRING\n - BYTES\n - TIMESTAMP\n - DATE\n - TIME\n - DATETIME\n - INTERVAL\n - GEOGRAPHY\n - NUMERIC\n - BIGNUMERIC\n - JSON\n - ARRAY\n - STRUCT\n Routine:\n title: Routine\n x-dcl-id: projects/{{project}}/datasets/{{dataset}}/routines/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - dataset\n - routineType\n - definitionBody\n properties:\n arguments:\n type: array\n x-dcl-go-name: Arguments\n description: Optional.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RoutineArguments\n properties:\n argumentKind:\n type: string\n x-dcl-go-name: ArgumentKind\n x-dcl-go-type: RoutineArgumentsArgumentKindEnum\n description: 'Optional. Defaults to FIXED_TYPE. Possible values: ARGUMENT_KIND_UNSPECIFIED,\n FIXED_TYPE, ANY_TYPE'\n enum:\n - ARGUMENT_KIND_UNSPECIFIED\n - FIXED_TYPE\n - ANY_TYPE\n dataType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: DataType\n x-kubernetes-immutable: true\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: RoutineArgumentsModeEnum\n description: 'Optional. Specifies whether the argument is input or\n output. Can be set for procedures only. Possible values: MODE_UNSPECIFIED,\n IN, OUT, INOUT'\n enum:\n - MODE_UNSPECIFIED\n - IN\n - OUT\n - INOUT\n name:\n type: string\n x-dcl-go-name: Name\n description: Optional. The name of this argument. Can be absent for\n function return argument.\n creationTime:\n type: integer\n format: int64\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. The time when this routine was created, in milliseconds\n since the epoch.\n x-kubernetes-immutable: true\n dataset:\n type: string\n x-dcl-go-name: Dataset\n description: Required. The ID of the dataset containing this routine.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n parent: true\n definitionBody:\n type: string\n x-dcl-go-name: DefinitionBody\n description: \"Required. The body of the routine. For functions, this is\n the expression in the AS clause. If language=SQL, it is the substring\n inside (but excluding) the parentheses. For example, for the function\n created with the following statement: `CREATE FUNCTION JoinLines(x string,\n y string) as (concat(x, \\\"\\n\\\", y))` The definition_body is `concat(x,\n \\\"\\n\\\", y)` (\\n is not replaced with linebreak). If language=JAVASCRIPT,\n it is the evaluated string in the AS clause. For example, for the function\n created with the following statement: `CREATE FUNCTION f() RETURNS STRING\n LANGUAGE js AS 'return \\\"\\n\\\";\\n'` The definition_body is `return \\\"\\n\\\";\\n`\n Note that both \\n are replaced with linebreaks.\"\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. The description of the routine if defined.\n determinismLevel:\n type: string\n x-dcl-go-name: DeterminismLevel\n x-dcl-go-type: RoutineDeterminismLevelEnum\n description: 'Optional. The determinism level of the JavaScript UDF if defined.\n Possible values: DETERMINISM_LEVEL_UNSPECIFIED, DETERMINISTIC, NOT_DETERMINISTIC'\n enum:\n - DETERMINISM_LEVEL_UNSPECIFIED\n - DETERMINISTIC\n - NOT_DETERMINISTIC\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A hash of this resource.\n x-kubernetes-immutable: true\n importedLibraries:\n type: array\n x-dcl-go-name: ImportedLibraries\n description: Optional. If language = \"JAVASCRIPT\", this field stores the\n path of the imported JAVASCRIPT libraries.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n language:\n type: string\n x-dcl-go-name: Language\n x-dcl-go-type: RoutineLanguageEnum\n description: 'Optional. Defaults to \"SQL\". Possible values: LANGUAGE_UNSPECIFIED,\n SQL, JAVASCRIPT'\n enum:\n - LANGUAGE_UNSPECIFIED\n - SQL\n - JAVASCRIPT\n lastModifiedTime:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedTime\n readOnly: true\n description: Output only. The time when this routine was last modified,\n in milliseconds since the epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The ID of the routine. The ID must contain only letters\n (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256\n characters.\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The ID of the project containing this routine.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n returnType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: ReturnType\n routineType:\n type: string\n x-dcl-go-name: RoutineType\n x-dcl-go-type: RoutineRoutineTypeEnum\n description: 'Required. The type of routine. Possible values: ROUTINE_TYPE_UNSPECIFIED,\n SCALAR_FUNCTION, PROCEDURE'\n enum:\n - ROUTINE_TYPE_UNSPECIFIED\n - SCALAR_FUNCTION\n - PROCEDURE\n strictMode:\n type: boolean\n x-dcl-go-name: StrictMode\n description: Optional. Can be set for procedures only. If true (default),\n the definition body will be validated in the creation and the updates\n of the procedure. For procedures with an argument of ANY TYPE, the definition\n body validtion is not supported at creation/update time, and thus this\n field must be set to false explicitly.\n") +var YAML_routine = []byte("info:\n title: Bigquery/Routine\n description: The Bigquery Routine resource\n x-dcl-struct-name: Routine\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n apply:\n description: The function used to apply information about a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n delete:\n description: The function used to delete a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n deleteAll:\n description: The function used to delete all Routine\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: dataset\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Routine\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: dataset\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ArgumentsDataType:\n x-dcl-has-iam: false\n type: object\n x-dcl-go-name: DataType\n x-dcl-go-type: RoutineArgumentsDataType\n description: Required unless argument_kind = ANY_TYPE.\n x-kubernetes-immutable: true\n required:\n - typeKind\n properties:\n arrayElementType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: ArrayElementType\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - structType\n structType:\n type: object\n x-dcl-go-name: StructType\n x-dcl-go-type: RoutineArgumentsDataTypeStructType\n description: The fields of this struct, in order, if type_kind = \"STRUCT\".\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - arrayElementType\n properties:\n fields:\n type: array\n x-dcl-go-name: Fields\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RoutineArgumentsDataTypeStructTypeFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Optional. The name of this field. Can be absent for\n struct fields.\n x-kubernetes-immutable: true\n type:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: Type\n x-kubernetes-immutable: true\n typeKind:\n type: string\n x-dcl-go-name: TypeKind\n x-dcl-go-type: RoutineArgumentsDataTypeTypeKindEnum\n description: 'Required. The top level type of this field. Can be any standard\n SQL data type (e.g., \"INT64\", \"DATE\", \"ARRAY\"). Possible values: TYPE_KIND_UNSPECIFIED,\n INT64, BOOL, FLOAT64, STRING, BYTES, TIMESTAMP, DATE, TIME, DATETIME,\n INTERVAL, GEOGRAPHY, NUMERIC, BIGNUMERIC, JSON, ARRAY, STRUCT'\n x-kubernetes-immutable: true\n enum:\n - TYPE_KIND_UNSPECIFIED\n - INT64\n - BOOL\n - FLOAT64\n - STRING\n - BYTES\n - TIMESTAMP\n - DATE\n - TIME\n - DATETIME\n - INTERVAL\n - GEOGRAPHY\n - NUMERIC\n - BIGNUMERIC\n - JSON\n - ARRAY\n - STRUCT\n Routine:\n title: Routine\n x-dcl-id: projects/{{project}}/datasets/{{dataset}}/routines/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - dataset\n - routineType\n - definitionBody\n properties:\n arguments:\n type: array\n x-dcl-go-name: Arguments\n description: Optional.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RoutineArguments\n properties:\n argumentKind:\n type: string\n x-dcl-go-name: ArgumentKind\n x-dcl-go-type: RoutineArgumentsArgumentKindEnum\n description: 'Optional. Defaults to FIXED_TYPE. Possible values: ARGUMENT_KIND_UNSPECIFIED,\n FIXED_TYPE, ANY_TYPE'\n enum:\n - ARGUMENT_KIND_UNSPECIFIED\n - FIXED_TYPE\n - ANY_TYPE\n dataType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: DataType\n x-kubernetes-immutable: true\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: RoutineArgumentsModeEnum\n description: 'Optional. Specifies whether the argument is input or\n output. Can be set for procedures only. Possible values: MODE_UNSPECIFIED,\n IN, OUT, INOUT'\n enum:\n - MODE_UNSPECIFIED\n - IN\n - OUT\n - INOUT\n name:\n type: string\n x-dcl-go-name: Name\n description: Optional. The name of this argument. Can be absent for\n function return argument.\n creationTime:\n type: integer\n format: int64\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. The time when this routine was created, in milliseconds\n since the epoch.\n x-kubernetes-immutable: true\n dataset:\n type: string\n x-dcl-go-name: Dataset\n description: Required. The ID of the dataset containing this routine.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n parent: true\n definitionBody:\n type: string\n x-dcl-go-name: DefinitionBody\n description: \"Required. The body of the routine. For functions, this is\n the expression in the AS clause. If language=SQL, it is the substring\n inside (but excluding) the parentheses. For example, for the function\n created with the following statement: `CREATE FUNCTION JoinLines(x string,\n y string) as (concat(x, \\\"\\n\\\", y))` The definition_body is `concat(x,\n \\\"\\n\\\", y)` (\\n is not replaced with linebreak). If language=JAVASCRIPT,\n it is the evaluated string in the AS clause. For example, for the function\n created with the following statement: `CREATE FUNCTION f() RETURNS STRING\n LANGUAGE js AS 'return \\\"\\n\\\";\\n'` The definition_body is `return \\\"\\n\\\";\\n`\n Note that both \\n are replaced with linebreaks.\"\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. The description of the routine if defined.\n determinismLevel:\n type: string\n x-dcl-go-name: DeterminismLevel\n x-dcl-go-type: RoutineDeterminismLevelEnum\n description: 'Optional. The determinism level of the JavaScript UDF if defined.\n Possible values: DETERMINISM_LEVEL_UNSPECIFIED, DETERMINISTIC, NOT_DETERMINISTIC'\n enum:\n - DETERMINISM_LEVEL_UNSPECIFIED\n - DETERMINISTIC\n - NOT_DETERMINISTIC\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A hash of this resource.\n x-kubernetes-immutable: true\n importedLibraries:\n type: array\n x-dcl-go-name: ImportedLibraries\n description: Optional. If language = \"JAVASCRIPT\", this field stores the\n path of the imported JAVASCRIPT libraries.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n language:\n type: string\n x-dcl-go-name: Language\n x-dcl-go-type: RoutineLanguageEnum\n description: 'Optional. Defaults to \"SQL\". Possible values: LANGUAGE_UNSPECIFIED,\n SQL, JAVASCRIPT'\n enum:\n - LANGUAGE_UNSPECIFIED\n - SQL\n - JAVASCRIPT\n lastModifiedTime:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedTime\n readOnly: true\n description: Output only. The time when this routine was last modified,\n in milliseconds since the epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The ID of the routine. The ID must contain only letters\n (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256\n characters.\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The ID of the project containing this routine.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n returnType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: ReturnType\n routineType:\n type: string\n x-dcl-go-name: RoutineType\n x-dcl-go-type: RoutineRoutineTypeEnum\n description: 'Required. The type of routine. Possible values: ROUTINE_TYPE_UNSPECIFIED,\n SCALAR_FUNCTION, PROCEDURE'\n enum:\n - ROUTINE_TYPE_UNSPECIFIED\n - SCALAR_FUNCTION\n - PROCEDURE\n strictMode:\n type: boolean\n x-dcl-go-name: StrictMode\n description: Optional. Can be set for procedures only. If true (default),\n the definition body will be validated in the creation and the updates\n of the procedure. For procedures with an argument of ANY TYPE, the definition\n body validtion is not supported at creation/update time, and thus this\n field must be set to false explicitly.\n") -// 10373 bytes -// MD5: 7318121177b98aab8ed3d720db0fa822 +// 10398 bytes +// MD5: 18ce3014ccce5a671e52d86f1cd8d5b1 diff --git a/services/google/bigquery/beta/routine_schema.go b/services/google/bigquery/beta/routine_schema.go index c64ea2ddab..91feb3540f 100755 --- a/services/google/bigquery/beta/routine_schema.go +++ b/services/google/bigquery/beta/routine_schema.go @@ -23,6 +23,7 @@ func DCLRoutineSchema() *dcl.Schema { Title: "Bigquery/Routine", Description: "The Bigquery Routine resource", StructName: "Routine", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigquery/dataset.yaml b/services/google/bigquery/dataset.yaml index 894a7e6a89..3ac7cf9b70 100755 --- a/services/google/bigquery/dataset.yaml +++ b/services/google/bigquery/dataset.yaml @@ -15,6 +15,7 @@ info: title: Bigquery/Dataset description: The Bigquery Dataset resource x-dcl-struct-name: Dataset + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigquery/dataset_schema.go b/services/google/bigquery/dataset_schema.go index c8e4ab2796..1b5b468b6e 100755 --- a/services/google/bigquery/dataset_schema.go +++ b/services/google/bigquery/dataset_schema.go @@ -23,6 +23,7 @@ func DCLDatasetSchema() *dcl.Schema { Title: "Bigquery/Dataset", Description: "The Bigquery Dataset resource", StructName: "Dataset", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigquery/dataset_yaml_embed.go b/services/google/bigquery/dataset_yaml_embed.go index 64aad24ab9..063de5a9aa 100755 --- a/services/google/bigquery/dataset_yaml_embed.go +++ b/services/google/bigquery/dataset_yaml_embed.go @@ -17,7 +17,7 @@ package bigquery // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigquery/dataset.yaml -var YAML_dataset = []byte("info:\n title: Bigquery/Dataset\n description: The Bigquery Dataset resource\n x-dcl-struct-name: Dataset\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n apply:\n description: The function used to apply information about a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n delete:\n description: The function used to delete a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n deleteAll:\n description: The function used to delete all Dataset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Dataset\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Dataset:\n title: Dataset\n x-dcl-id: projects/{{project}}/datasets/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n access:\n type: array\n x-dcl-go-name: Access\n description: 'Optional. An array of objects that define dataset access for\n one or more entities. You can set this property when inserting or updating\n a dataset in order to control who is allowed to access the data. If unspecified\n at dataset creation time, BigQuery adds default dataset access for the\n following entities: access.specialGroup: projectReaders; access.role:\n READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup:\n projectOwners; access.role: OWNER; access.userByEmail: ; access.role:\n OWNER;'\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: DatasetAccess\n required:\n - role\n properties:\n domain:\n type: string\n x-dcl-go-name: Domain\n description: 'A domain to grant access to. Any users signed in with\n the domain specified will be granted the specified access. Example:\n \"example.com\". Maps to IAM policy member \"domain:DOMAIN\".'\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - specialGroup\n - iamMember\n - view\n - routine\n groupByEmail:\n type: string\n x-dcl-go-name: GroupByEmail\n description: An email address of a Google Group to grant access to.\n Maps to IAM policy member \"group:GROUP\".\n x-dcl-conflicts:\n - userByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n - routine\n iamMember:\n type: string\n x-dcl-go-name: IamMember\n description: Some other type of member that appears in the IAM Policy\n but isn't a user, group, domain, or special group.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - view\n - routine\n role:\n type: string\n x-dcl-go-name: Role\n description: 'Required. An IAM role ID that should be granted to the\n user, group, or domain specified in this access entry. The following\n legacy mappings will be applied: OWNER <=> roles/bigquery.dataOwner\n WRITER <=> roles/bigquery.dataEditor READER <=> roles/bigquery.dataViewer\n This field will accept any of the above formats, but will return\n only the legacy format. For example, if you set this field to \"roles/bigquery.dataOwner\",\n it will be returned back as \"OWNER\".'\n routine:\n type: object\n x-dcl-go-name: Routine\n x-dcl-go-type: DatasetAccessRoutine\n description: A routine from a different dataset to grant access to.\n Queries executed against that routine will have read access to views/tables/routines\n in this dataset. Only UDF is supported for now. The role field is\n not required when this field is set. If that routine is updated\n by any user, access to the routine needs to be granted again via\n an update operation.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n required:\n - projectId\n - datasetId\n - routineId\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Required. The ID of the dataset containing this routine.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Required. The ID of the project containing this routine.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n routineId:\n type: string\n x-dcl-go-name: RoutineId\n description: Required. The ID of the routine. The ID must contain\n only letters (a-z, A-Z), numbers (0-9), or underscores (_).\n The maximum length is 256 characters.\n x-dcl-references:\n - resource: Bigquery/Routine\n field: name\n specialGroup:\n type: string\n x-dcl-go-name: SpecialGroup\n description: 'A special group to grant access to. Possible values\n include: projectOwners: Owners of the enclosing project. projectReaders:\n Readers of the enclosing project. projectWriters: Writers of the\n enclosing project. allAuthenticatedUsers: All authenticated BigQuery\n users. Maps to similarly-named IAM members.'\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - iamMember\n - view\n - routine\n userByEmail:\n type: string\n x-dcl-go-name: UserByEmail\n description: 'An email address of a user to grant access to. For example:\n fred@example.com. Maps to IAM policy member \"user:EMAIL\" or \"serviceAccount:EMAIL\".'\n x-dcl-conflicts:\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n - routine\n view:\n type: object\n x-dcl-go-name: View\n x-dcl-go-type: DatasetAccessView\n description: A view from a different dataset to grant access to. Queries\n executed against that view will have read access to views/tables/routines\n in this dataset. The role field is not required when this field\n is set. If that view is updated by any user, access to the view\n needs to be granted again via an update operation.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - routine\n required:\n - projectId\n - datasetId\n - tableId\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Required. The ID of the dataset containing this table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Required. The ID of the project containing this table.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Required. The ID of the table. The ID must contain\n only letters (a-z, A-Z), numbers (0-9), or underscores (_).\n The maximum length is 1,024 characters. Certain operations allow\n suffixing of the table ID with a partition decorator, such as\n `sample_table$20190123`.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n creationTime:\n type: integer\n format: int64\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. The time when this dataset was created, in milliseconds\n since the epoch.\n x-kubernetes-immutable: true\n defaultEncryptionConfiguration:\n type: object\n x-dcl-go-name: DefaultEncryptionConfiguration\n x-dcl-go-type: DatasetDefaultEncryptionConfiguration\n description: The default encryption key for all tables in the dataset. Once\n this property is set, all newly-created partitioned tables in the dataset\n will have encryption key set to this value, unless table creation request\n (or query) overrides the key.\n x-kubernetes-immutable: true\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: Optional. Describes the Cloud KMS encryption key that will\n be used to protect destination BigQuery table. The BigQuery Service\n Account associated with your project requires access to this encryption\n key.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n defaultPartitionExpirationMs:\n type: string\n x-dcl-go-name: DefaultPartitionExpirationMs\n description: This default partition expiration, expressed in milliseconds.\n When new time-partitioned tables are created in a dataset where this property\n is set, the table will inherit this value, propagated as the `TimePartitioning.expirationMs`\n property on the new table. If you set `TimePartitioning.expirationMs`\n explicitly when creating a table, the `defaultPartitionExpirationMs` of\n the containing dataset is ignored. When creating a partitioned table,\n if `defaultPartitionExpirationMs` is set, the `defaultTableExpirationMs`\n value is ignored and the table will not inherit a table expiration deadline.\n defaultTableExpirationMs:\n type: string\n x-dcl-go-name: DefaultTableExpirationMs\n description: Optional. The default lifetime of all tables in the dataset,\n in milliseconds. The minimum lifetime value is 3600000 milliseconds (one\n hour). To clear an existing default expiration with a PATCH request, set\n to 0. Once this property is set, all newly-created tables in the dataset\n will have an expirationTime property set to the creation time plus the\n value in this property, and changing the value will only affect new tables,\n not existing ones. When the expirationTime for a given table is reached,\n that table will be deleted automatically. If a table's expirationTime\n is modified or removed before the table expires, or if you provide an\n explicit expirationTime when creating a table, that value takes precedence\n over the default expiration time indicated by this property.\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A user-friendly description of the dataset.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A hash of the resource.\n x-kubernetes-immutable: true\n friendlyName:\n type: string\n x-dcl-go-name: FriendlyName\n description: Optional. A descriptive name for the dataset.\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: Output only. The fully-qualified unique name of the dataset\n in the format projectId:datasetId. The dataset name without the project\n name is given in the datasetId field. When creating a new dataset, leave\n this field blank, and instead specify the datasetId field.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels associated with this dataset. You can use these\n to organize and group your datasets. You can set this property when inserting\n or updating a dataset. See (/bigquery/docs/creating-managing-labels#creating_and_updating_dataset_labels)\n for more information.\n lastModifiedTime:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedTime\n readOnly: true\n description: Output only. The date when this dataset was last modified,\n in milliseconds since the epoch.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The geographic location where the dataset should reside. See\n https://cloud.google.com/bigquery/docs/locations for supported locations.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. A unique ID for this dataset, without the project\n name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores\n (_). The maximum length is 1,024 characters.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The ID of the project containing this dataset.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n published:\n type: boolean\n x-dcl-go-name: Published\n description: Whether this dataset is visible to all users in public search.\n This field can only be set to true if READER access is given to allAuthenticatedUsers\n in the access list. The default value is false.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. A URL that can be used to access the resource\n again. You can use this URL in Get or Update requests to the resource.\n x-kubernetes-immutable: true\n") +var YAML_dataset = []byte("info:\n title: Bigquery/Dataset\n description: The Bigquery Dataset resource\n x-dcl-struct-name: Dataset\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n apply:\n description: The function used to apply information about a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n delete:\n description: The function used to delete a Dataset\n parameters:\n - name: Dataset\n required: true\n description: A full instance of a Dataset\n deleteAll:\n description: The function used to delete all Dataset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Dataset\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Dataset:\n title: Dataset\n x-dcl-id: projects/{{project}}/datasets/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n access:\n type: array\n x-dcl-go-name: Access\n description: 'Optional. An array of objects that define dataset access for\n one or more entities. You can set this property when inserting or updating\n a dataset in order to control who is allowed to access the data. If unspecified\n at dataset creation time, BigQuery adds default dataset access for the\n following entities: access.specialGroup: projectReaders; access.role:\n READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup:\n projectOwners; access.role: OWNER; access.userByEmail: ; access.role:\n OWNER;'\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: DatasetAccess\n required:\n - role\n properties:\n domain:\n type: string\n x-dcl-go-name: Domain\n description: 'A domain to grant access to. Any users signed in with\n the domain specified will be granted the specified access. Example:\n \"example.com\". Maps to IAM policy member \"domain:DOMAIN\".'\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - specialGroup\n - iamMember\n - view\n - routine\n groupByEmail:\n type: string\n x-dcl-go-name: GroupByEmail\n description: An email address of a Google Group to grant access to.\n Maps to IAM policy member \"group:GROUP\".\n x-dcl-conflicts:\n - userByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n - routine\n iamMember:\n type: string\n x-dcl-go-name: IamMember\n description: Some other type of member that appears in the IAM Policy\n but isn't a user, group, domain, or special group.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - view\n - routine\n role:\n type: string\n x-dcl-go-name: Role\n description: 'Required. An IAM role ID that should be granted to the\n user, group, or domain specified in this access entry. The following\n legacy mappings will be applied: OWNER <=> roles/bigquery.dataOwner\n WRITER <=> roles/bigquery.dataEditor READER <=> roles/bigquery.dataViewer\n This field will accept any of the above formats, but will return\n only the legacy format. For example, if you set this field to \"roles/bigquery.dataOwner\",\n it will be returned back as \"OWNER\".'\n routine:\n type: object\n x-dcl-go-name: Routine\n x-dcl-go-type: DatasetAccessRoutine\n description: A routine from a different dataset to grant access to.\n Queries executed against that routine will have read access to views/tables/routines\n in this dataset. Only UDF is supported for now. The role field is\n not required when this field is set. If that routine is updated\n by any user, access to the routine needs to be granted again via\n an update operation.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n required:\n - projectId\n - datasetId\n - routineId\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Required. The ID of the dataset containing this routine.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Required. The ID of the project containing this routine.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n routineId:\n type: string\n x-dcl-go-name: RoutineId\n description: Required. The ID of the routine. The ID must contain\n only letters (a-z, A-Z), numbers (0-9), or underscores (_).\n The maximum length is 256 characters.\n x-dcl-references:\n - resource: Bigquery/Routine\n field: name\n specialGroup:\n type: string\n x-dcl-go-name: SpecialGroup\n description: 'A special group to grant access to. Possible values\n include: projectOwners: Owners of the enclosing project. projectReaders:\n Readers of the enclosing project. projectWriters: Writers of the\n enclosing project. allAuthenticatedUsers: All authenticated BigQuery\n users. Maps to similarly-named IAM members.'\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - iamMember\n - view\n - routine\n userByEmail:\n type: string\n x-dcl-go-name: UserByEmail\n description: 'An email address of a user to grant access to. For example:\n fred@example.com. Maps to IAM policy member \"user:EMAIL\" or \"serviceAccount:EMAIL\".'\n x-dcl-conflicts:\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - view\n - routine\n view:\n type: object\n x-dcl-go-name: View\n x-dcl-go-type: DatasetAccessView\n description: A view from a different dataset to grant access to. Queries\n executed against that view will have read access to views/tables/routines\n in this dataset. The role field is not required when this field\n is set. If that view is updated by any user, access to the view\n needs to be granted again via an update operation.\n x-dcl-conflicts:\n - userByEmail\n - groupByEmail\n - domain\n - specialGroup\n - iamMember\n - routine\n required:\n - projectId\n - datasetId\n - tableId\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Required. The ID of the dataset containing this table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Required. The ID of the project containing this table.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Required. The ID of the table. The ID must contain\n only letters (a-z, A-Z), numbers (0-9), or underscores (_).\n The maximum length is 1,024 characters. Certain operations allow\n suffixing of the table ID with a partition decorator, such as\n `sample_table$20190123`.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n creationTime:\n type: integer\n format: int64\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. The time when this dataset was created, in milliseconds\n since the epoch.\n x-kubernetes-immutable: true\n defaultEncryptionConfiguration:\n type: object\n x-dcl-go-name: DefaultEncryptionConfiguration\n x-dcl-go-type: DatasetDefaultEncryptionConfiguration\n description: The default encryption key for all tables in the dataset. Once\n this property is set, all newly-created partitioned tables in the dataset\n will have encryption key set to this value, unless table creation request\n (or query) overrides the key.\n x-kubernetes-immutable: true\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: Optional. Describes the Cloud KMS encryption key that will\n be used to protect destination BigQuery table. The BigQuery Service\n Account associated with your project requires access to this encryption\n key.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n defaultPartitionExpirationMs:\n type: string\n x-dcl-go-name: DefaultPartitionExpirationMs\n description: This default partition expiration, expressed in milliseconds.\n When new time-partitioned tables are created in a dataset where this property\n is set, the table will inherit this value, propagated as the `TimePartitioning.expirationMs`\n property on the new table. If you set `TimePartitioning.expirationMs`\n explicitly when creating a table, the `defaultPartitionExpirationMs` of\n the containing dataset is ignored. When creating a partitioned table,\n if `defaultPartitionExpirationMs` is set, the `defaultTableExpirationMs`\n value is ignored and the table will not inherit a table expiration deadline.\n defaultTableExpirationMs:\n type: string\n x-dcl-go-name: DefaultTableExpirationMs\n description: Optional. The default lifetime of all tables in the dataset,\n in milliseconds. The minimum lifetime value is 3600000 milliseconds (one\n hour). To clear an existing default expiration with a PATCH request, set\n to 0. Once this property is set, all newly-created tables in the dataset\n will have an expirationTime property set to the creation time plus the\n value in this property, and changing the value will only affect new tables,\n not existing ones. When the expirationTime for a given table is reached,\n that table will be deleted automatically. If a table's expirationTime\n is modified or removed before the table expires, or if you provide an\n explicit expirationTime when creating a table, that value takes precedence\n over the default expiration time indicated by this property.\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A user-friendly description of the dataset.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A hash of the resource.\n x-kubernetes-immutable: true\n friendlyName:\n type: string\n x-dcl-go-name: FriendlyName\n description: Optional. A descriptive name for the dataset.\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: Output only. The fully-qualified unique name of the dataset\n in the format projectId:datasetId. The dataset name without the project\n name is given in the datasetId field. When creating a new dataset, leave\n this field blank, and instead specify the datasetId field.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels associated with this dataset. You can use these\n to organize and group your datasets. You can set this property when inserting\n or updating a dataset. See (/bigquery/docs/creating-managing-labels#creating_and_updating_dataset_labels)\n for more information.\n lastModifiedTime:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedTime\n readOnly: true\n description: Output only. The date when this dataset was last modified,\n in milliseconds since the epoch.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The geographic location where the dataset should reside. See\n https://cloud.google.com/bigquery/docs/locations for supported locations.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. A unique ID for this dataset, without the project\n name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores\n (_). The maximum length is 1,024 characters.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The ID of the project containing this dataset.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n published:\n type: boolean\n x-dcl-go-name: Published\n description: Whether this dataset is visible to all users in public search.\n This field can only be set to true if READER access is given to allAuthenticatedUsers\n in the access list. The default value is false.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. A URL that can be used to access the resource\n again. You can use this URL in Get or Update requests to the resource.\n x-kubernetes-immutable: true\n") -// 16213 bytes -// MD5: c63b2185f10218c780ba731dd0bee202 +// 16238 bytes +// MD5: 65beb9e52ee65a9f5cc7c61925061df7 diff --git a/services/google/bigquery/routine.yaml b/services/google/bigquery/routine.yaml index 21c9132fd1..2a3407ebf7 100755 --- a/services/google/bigquery/routine.yaml +++ b/services/google/bigquery/routine.yaml @@ -15,6 +15,7 @@ info: title: Bigquery/Routine description: The Bigquery Routine resource x-dcl-struct-name: Routine + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigquery/routine_schema.go b/services/google/bigquery/routine_schema.go index 9afa7db430..f20a59d15d 100755 --- a/services/google/bigquery/routine_schema.go +++ b/services/google/bigquery/routine_schema.go @@ -23,6 +23,7 @@ func DCLRoutineSchema() *dcl.Schema { Title: "Bigquery/Routine", Description: "The Bigquery Routine resource", StructName: "Routine", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigquery/routine_yaml_embed.go b/services/google/bigquery/routine_yaml_embed.go index d0a0c35196..0e944adb54 100755 --- a/services/google/bigquery/routine_yaml_embed.go +++ b/services/google/bigquery/routine_yaml_embed.go @@ -17,7 +17,7 @@ package bigquery // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigquery/routine.yaml -var YAML_routine = []byte("info:\n title: Bigquery/Routine\n description: The Bigquery Routine resource\n x-dcl-struct-name: Routine\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n apply:\n description: The function used to apply information about a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n delete:\n description: The function used to delete a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n deleteAll:\n description: The function used to delete all Routine\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: dataset\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Routine\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: dataset\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ArgumentsDataType:\n x-dcl-has-iam: false\n type: object\n x-dcl-go-name: DataType\n x-dcl-go-type: RoutineArgumentsDataType\n description: Required unless argument_kind = ANY_TYPE.\n x-kubernetes-immutable: true\n required:\n - typeKind\n properties:\n arrayElementType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: ArrayElementType\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - structType\n structType:\n type: object\n x-dcl-go-name: StructType\n x-dcl-go-type: RoutineArgumentsDataTypeStructType\n description: The fields of this struct, in order, if type_kind = \"STRUCT\".\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - arrayElementType\n properties:\n fields:\n type: array\n x-dcl-go-name: Fields\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RoutineArgumentsDataTypeStructTypeFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Optional. The name of this field. Can be absent for\n struct fields.\n x-kubernetes-immutable: true\n type:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: Type\n x-kubernetes-immutable: true\n typeKind:\n type: string\n x-dcl-go-name: TypeKind\n x-dcl-go-type: RoutineArgumentsDataTypeTypeKindEnum\n description: 'Required. The top level type of this field. Can be any standard\n SQL data type (e.g., \"INT64\", \"DATE\", \"ARRAY\"). Possible values: TYPE_KIND_UNSPECIFIED,\n INT64, BOOL, FLOAT64, STRING, BYTES, TIMESTAMP, DATE, TIME, DATETIME,\n INTERVAL, GEOGRAPHY, NUMERIC, BIGNUMERIC, JSON, ARRAY, STRUCT'\n x-kubernetes-immutable: true\n enum:\n - TYPE_KIND_UNSPECIFIED\n - INT64\n - BOOL\n - FLOAT64\n - STRING\n - BYTES\n - TIMESTAMP\n - DATE\n - TIME\n - DATETIME\n - INTERVAL\n - GEOGRAPHY\n - NUMERIC\n - BIGNUMERIC\n - JSON\n - ARRAY\n - STRUCT\n Routine:\n title: Routine\n x-dcl-id: projects/{{project}}/datasets/{{dataset}}/routines/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - dataset\n - routineType\n - definitionBody\n properties:\n arguments:\n type: array\n x-dcl-go-name: Arguments\n description: Optional.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RoutineArguments\n properties:\n argumentKind:\n type: string\n x-dcl-go-name: ArgumentKind\n x-dcl-go-type: RoutineArgumentsArgumentKindEnum\n description: 'Optional. Defaults to FIXED_TYPE. Possible values: ARGUMENT_KIND_UNSPECIFIED,\n FIXED_TYPE, ANY_TYPE'\n enum:\n - ARGUMENT_KIND_UNSPECIFIED\n - FIXED_TYPE\n - ANY_TYPE\n dataType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: DataType\n x-kubernetes-immutable: true\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: RoutineArgumentsModeEnum\n description: 'Optional. Specifies whether the argument is input or\n output. Can be set for procedures only. Possible values: MODE_UNSPECIFIED,\n IN, OUT, INOUT'\n enum:\n - MODE_UNSPECIFIED\n - IN\n - OUT\n - INOUT\n name:\n type: string\n x-dcl-go-name: Name\n description: Optional. The name of this argument. Can be absent for\n function return argument.\n creationTime:\n type: integer\n format: int64\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. The time when this routine was created, in milliseconds\n since the epoch.\n x-kubernetes-immutable: true\n dataset:\n type: string\n x-dcl-go-name: Dataset\n description: Required. The ID of the dataset containing this routine.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n parent: true\n definitionBody:\n type: string\n x-dcl-go-name: DefinitionBody\n description: \"Required. The body of the routine. For functions, this is\n the expression in the AS clause. If language=SQL, it is the substring\n inside (but excluding) the parentheses. For example, for the function\n created with the following statement: `CREATE FUNCTION JoinLines(x string,\n y string) as (concat(x, \\\"\\n\\\", y))` The definition_body is `concat(x,\n \\\"\\n\\\", y)` (\\n is not replaced with linebreak). If language=JAVASCRIPT,\n it is the evaluated string in the AS clause. For example, for the function\n created with the following statement: `CREATE FUNCTION f() RETURNS STRING\n LANGUAGE js AS 'return \\\"\\n\\\";\\n'` The definition_body is `return \\\"\\n\\\";\\n`\n Note that both \\n are replaced with linebreaks.\"\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. The description of the routine if defined.\n determinismLevel:\n type: string\n x-dcl-go-name: DeterminismLevel\n x-dcl-go-type: RoutineDeterminismLevelEnum\n description: 'Optional. The determinism level of the JavaScript UDF if defined.\n Possible values: DETERMINISM_LEVEL_UNSPECIFIED, DETERMINISTIC, NOT_DETERMINISTIC'\n enum:\n - DETERMINISM_LEVEL_UNSPECIFIED\n - DETERMINISTIC\n - NOT_DETERMINISTIC\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A hash of this resource.\n x-kubernetes-immutable: true\n importedLibraries:\n type: array\n x-dcl-go-name: ImportedLibraries\n description: Optional. If language = \"JAVASCRIPT\", this field stores the\n path of the imported JAVASCRIPT libraries.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n language:\n type: string\n x-dcl-go-name: Language\n x-dcl-go-type: RoutineLanguageEnum\n description: 'Optional. Defaults to \"SQL\". Possible values: LANGUAGE_UNSPECIFIED,\n SQL, JAVASCRIPT'\n enum:\n - LANGUAGE_UNSPECIFIED\n - SQL\n - JAVASCRIPT\n lastModifiedTime:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedTime\n readOnly: true\n description: Output only. The time when this routine was last modified,\n in milliseconds since the epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The ID of the routine. The ID must contain only letters\n (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256\n characters.\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The ID of the project containing this routine.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n returnType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: ReturnType\n routineType:\n type: string\n x-dcl-go-name: RoutineType\n x-dcl-go-type: RoutineRoutineTypeEnum\n description: 'Required. The type of routine. Possible values: ROUTINE_TYPE_UNSPECIFIED,\n SCALAR_FUNCTION, PROCEDURE'\n enum:\n - ROUTINE_TYPE_UNSPECIFIED\n - SCALAR_FUNCTION\n - PROCEDURE\n strictMode:\n type: boolean\n x-dcl-go-name: StrictMode\n description: Optional. Can be set for procedures only. If true (default),\n the definition body will be validated in the creation and the updates\n of the procedure. For procedures with an argument of ANY TYPE, the definition\n body validtion is not supported at creation/update time, and thus this\n field must be set to false explicitly.\n") +var YAML_routine = []byte("info:\n title: Bigquery/Routine\n description: The Bigquery Routine resource\n x-dcl-struct-name: Routine\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n apply:\n description: The function used to apply information about a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n delete:\n description: The function used to delete a Routine\n parameters:\n - name: Routine\n required: true\n description: A full instance of a Routine\n deleteAll:\n description: The function used to delete all Routine\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: dataset\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Routine\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: dataset\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ArgumentsDataType:\n x-dcl-has-iam: false\n type: object\n x-dcl-go-name: DataType\n x-dcl-go-type: RoutineArgumentsDataType\n description: Required unless argument_kind = ANY_TYPE.\n x-kubernetes-immutable: true\n required:\n - typeKind\n properties:\n arrayElementType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: ArrayElementType\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - structType\n structType:\n type: object\n x-dcl-go-name: StructType\n x-dcl-go-type: RoutineArgumentsDataTypeStructType\n description: The fields of this struct, in order, if type_kind = \"STRUCT\".\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - arrayElementType\n properties:\n fields:\n type: array\n x-dcl-go-name: Fields\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RoutineArgumentsDataTypeStructTypeFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Optional. The name of this field. Can be absent for\n struct fields.\n x-kubernetes-immutable: true\n type:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: Type\n x-kubernetes-immutable: true\n typeKind:\n type: string\n x-dcl-go-name: TypeKind\n x-dcl-go-type: RoutineArgumentsDataTypeTypeKindEnum\n description: 'Required. The top level type of this field. Can be any standard\n SQL data type (e.g., \"INT64\", \"DATE\", \"ARRAY\"). Possible values: TYPE_KIND_UNSPECIFIED,\n INT64, BOOL, FLOAT64, STRING, BYTES, TIMESTAMP, DATE, TIME, DATETIME,\n INTERVAL, GEOGRAPHY, NUMERIC, BIGNUMERIC, JSON, ARRAY, STRUCT'\n x-kubernetes-immutable: true\n enum:\n - TYPE_KIND_UNSPECIFIED\n - INT64\n - BOOL\n - FLOAT64\n - STRING\n - BYTES\n - TIMESTAMP\n - DATE\n - TIME\n - DATETIME\n - INTERVAL\n - GEOGRAPHY\n - NUMERIC\n - BIGNUMERIC\n - JSON\n - ARRAY\n - STRUCT\n Routine:\n title: Routine\n x-dcl-id: projects/{{project}}/datasets/{{dataset}}/routines/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - dataset\n - routineType\n - definitionBody\n properties:\n arguments:\n type: array\n x-dcl-go-name: Arguments\n description: Optional.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RoutineArguments\n properties:\n argumentKind:\n type: string\n x-dcl-go-name: ArgumentKind\n x-dcl-go-type: RoutineArgumentsArgumentKindEnum\n description: 'Optional. Defaults to FIXED_TYPE. Possible values: ARGUMENT_KIND_UNSPECIFIED,\n FIXED_TYPE, ANY_TYPE'\n enum:\n - ARGUMENT_KIND_UNSPECIFIED\n - FIXED_TYPE\n - ANY_TYPE\n dataType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: DataType\n x-kubernetes-immutable: true\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: RoutineArgumentsModeEnum\n description: 'Optional. Specifies whether the argument is input or\n output. Can be set for procedures only. Possible values: MODE_UNSPECIFIED,\n IN, OUT, INOUT'\n enum:\n - MODE_UNSPECIFIED\n - IN\n - OUT\n - INOUT\n name:\n type: string\n x-dcl-go-name: Name\n description: Optional. The name of this argument. Can be absent for\n function return argument.\n creationTime:\n type: integer\n format: int64\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. The time when this routine was created, in milliseconds\n since the epoch.\n x-kubernetes-immutable: true\n dataset:\n type: string\n x-dcl-go-name: Dataset\n description: Required. The ID of the dataset containing this routine.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n parent: true\n definitionBody:\n type: string\n x-dcl-go-name: DefinitionBody\n description: \"Required. The body of the routine. For functions, this is\n the expression in the AS clause. If language=SQL, it is the substring\n inside (but excluding) the parentheses. For example, for the function\n created with the following statement: `CREATE FUNCTION JoinLines(x string,\n y string) as (concat(x, \\\"\\n\\\", y))` The definition_body is `concat(x,\n \\\"\\n\\\", y)` (\\n is not replaced with linebreak). If language=JAVASCRIPT,\n it is the evaluated string in the AS clause. For example, for the function\n created with the following statement: `CREATE FUNCTION f() RETURNS STRING\n LANGUAGE js AS 'return \\\"\\n\\\";\\n'` The definition_body is `return \\\"\\n\\\";\\n`\n Note that both \\n are replaced with linebreaks.\"\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. The description of the routine if defined.\n determinismLevel:\n type: string\n x-dcl-go-name: DeterminismLevel\n x-dcl-go-type: RoutineDeterminismLevelEnum\n description: 'Optional. The determinism level of the JavaScript UDF if defined.\n Possible values: DETERMINISM_LEVEL_UNSPECIFIED, DETERMINISTIC, NOT_DETERMINISTIC'\n enum:\n - DETERMINISM_LEVEL_UNSPECIFIED\n - DETERMINISTIC\n - NOT_DETERMINISTIC\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A hash of this resource.\n x-kubernetes-immutable: true\n importedLibraries:\n type: array\n x-dcl-go-name: ImportedLibraries\n description: Optional. If language = \"JAVASCRIPT\", this field stores the\n path of the imported JAVASCRIPT libraries.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n language:\n type: string\n x-dcl-go-name: Language\n x-dcl-go-type: RoutineLanguageEnum\n description: 'Optional. Defaults to \"SQL\". Possible values: LANGUAGE_UNSPECIFIED,\n SQL, JAVASCRIPT'\n enum:\n - LANGUAGE_UNSPECIFIED\n - SQL\n - JAVASCRIPT\n lastModifiedTime:\n type: integer\n format: int64\n x-dcl-go-name: LastModifiedTime\n readOnly: true\n description: Output only. The time when this routine was last modified,\n in milliseconds since the epoch.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The ID of the routine. The ID must contain only letters\n (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256\n characters.\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The ID of the project containing this routine.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n returnType:\n $ref: '#/components/schemas/ArgumentsDataType'\n x-dcl-go-name: ReturnType\n routineType:\n type: string\n x-dcl-go-name: RoutineType\n x-dcl-go-type: RoutineRoutineTypeEnum\n description: 'Required. The type of routine. Possible values: ROUTINE_TYPE_UNSPECIFIED,\n SCALAR_FUNCTION, PROCEDURE'\n enum:\n - ROUTINE_TYPE_UNSPECIFIED\n - SCALAR_FUNCTION\n - PROCEDURE\n strictMode:\n type: boolean\n x-dcl-go-name: StrictMode\n description: Optional. Can be set for procedures only. If true (default),\n the definition body will be validated in the creation and the updates\n of the procedure. For procedures with an argument of ANY TYPE, the definition\n body validtion is not supported at creation/update time, and thus this\n field must be set to false explicitly.\n") -// 10373 bytes -// MD5: 7318121177b98aab8ed3d720db0fa822 +// 10398 bytes +// MD5: 18ce3014ccce5a671e52d86f1cd8d5b1 diff --git a/services/google/bigqueryreservation/alpha/assignment.yaml b/services/google/bigqueryreservation/alpha/assignment.yaml index f19574ced1..a1b8d95221 100755 --- a/services/google/bigqueryreservation/alpha/assignment.yaml +++ b/services/google/bigqueryreservation/alpha/assignment.yaml @@ -15,6 +15,7 @@ info: title: BigqueryReservation/Assignment description: The BigqueryReservation Assignment resource x-dcl-struct-name: Assignment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigqueryreservation/alpha/assignment_alpha_yaml_embed.go b/services/google/bigqueryreservation/alpha/assignment_alpha_yaml_embed.go index bb2e487494..171a974c83 100755 --- a/services/google/bigqueryreservation/alpha/assignment_alpha_yaml_embed.go +++ b/services/google/bigqueryreservation/alpha/assignment_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigqueryreservation/alpha/assignment.yaml -var YAML_assignment = []byte("info:\n title: BigqueryReservation/Assignment\n description: The BigqueryReservation Assignment resource\n x-dcl-struct-name: Assignment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n apply:\n description: The function used to apply information about a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n delete:\n description: The function used to delete a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n deleteAll:\n description: The function used to delete all Assignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: reservation\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Assignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: reservation\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Assignment:\n title: Assignment\n x-dcl-id: projects/{{project}}/locations/{{location}}/reservations/{{reservation}}/assignments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - assignee\n - jobType\n - reservation\n properties:\n assignee:\n type: string\n x-dcl-go-name: Assignee\n description: The resource which will use the reservation. E.g. projects/myproject,\n folders/123, organizations/456.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n jobType:\n type: string\n x-dcl-go-name: JobType\n x-dcl-go-type: AssignmentJobTypeEnum\n description: 'Types of job, which could be specified when using the reservation.\n Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY'\n x-kubernetes-immutable: true\n enum:\n - JOB_TYPE_UNSPECIFIED\n - PIPELINE\n - QUERY\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the assignment.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n reservation:\n type: string\n x-dcl-go-name: Reservation\n description: The reservation for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigqueryreservation/Reservation\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssignmentStateEnum\n readOnly: true\n description: 'Assignment will remain in PENDING state if no active capacity\n commitment is present. It will become ACTIVE when some capacity commitment\n becomes active. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n") +var YAML_assignment = []byte("info:\n title: BigqueryReservation/Assignment\n description: The BigqueryReservation Assignment resource\n x-dcl-struct-name: Assignment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n apply:\n description: The function used to apply information about a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n delete:\n description: The function used to delete a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n deleteAll:\n description: The function used to delete all Assignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: reservation\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Assignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: reservation\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Assignment:\n title: Assignment\n x-dcl-id: projects/{{project}}/locations/{{location}}/reservations/{{reservation}}/assignments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - assignee\n - jobType\n - reservation\n properties:\n assignee:\n type: string\n x-dcl-go-name: Assignee\n description: The resource which will use the reservation. E.g. projects/myproject,\n folders/123, organizations/456.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n jobType:\n type: string\n x-dcl-go-name: JobType\n x-dcl-go-type: AssignmentJobTypeEnum\n description: 'Types of job, which could be specified when using the reservation.\n Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY'\n x-kubernetes-immutable: true\n enum:\n - JOB_TYPE_UNSPECIFIED\n - PIPELINE\n - QUERY\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the assignment.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n reservation:\n type: string\n x-dcl-go-name: Reservation\n description: The reservation for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigqueryreservation/Reservation\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssignmentStateEnum\n readOnly: true\n description: 'Assignment will remain in PENDING state if no active capacity\n commitment is present. It will become ACTIVE when some capacity commitment\n becomes active. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n") -// 4235 bytes -// MD5: 7e8f1038ae6342c271719bcd00e24c9a +// 4260 bytes +// MD5: b70f88d09bb96f1805c47cefa526eece diff --git a/services/google/bigqueryreservation/alpha/assignment_schema.go b/services/google/bigqueryreservation/alpha/assignment_schema.go index 276465b60f..0ce783a943 100755 --- a/services/google/bigqueryreservation/alpha/assignment_schema.go +++ b/services/google/bigqueryreservation/alpha/assignment_schema.go @@ -23,6 +23,7 @@ func DCLAssignmentSchema() *dcl.Schema { Title: "BigqueryReservation/Assignment", Description: "The BigqueryReservation Assignment resource", StructName: "Assignment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigqueryreservation/alpha/capacity_commitment.yaml b/services/google/bigqueryreservation/alpha/capacity_commitment.yaml index 905472ed9d..90bb916c69 100755 --- a/services/google/bigqueryreservation/alpha/capacity_commitment.yaml +++ b/services/google/bigqueryreservation/alpha/capacity_commitment.yaml @@ -15,6 +15,7 @@ info: title: BigqueryReservation/CapacityCommitment description: The BigqueryReservation CapacityCommitment resource x-dcl-struct-name: CapacityCommitment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigqueryreservation/alpha/capacity_commitment_alpha_yaml_embed.go b/services/google/bigqueryreservation/alpha/capacity_commitment_alpha_yaml_embed.go index 7290c6d85f..b026cd796d 100755 --- a/services/google/bigqueryreservation/alpha/capacity_commitment_alpha_yaml_embed.go +++ b/services/google/bigqueryreservation/alpha/capacity_commitment_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigqueryreservation/alpha/capacity_commitment.yaml -var YAML_capacity_commitment = []byte("info:\n title: BigqueryReservation/CapacityCommitment\n description: The BigqueryReservation CapacityCommitment resource\n x-dcl-struct-name: CapacityCommitment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n apply:\n description: The function used to apply information about a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n delete:\n description: The function used to delete a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n deleteAll:\n description: The function used to delete all CapacityCommitment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CapacityCommitment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CapacityCommitment:\n title: CapacityCommitment\n x-dcl-id: projects/{{project}}/locations/{{location}}/capacityCommitments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - location\n properties:\n commitmentEndTime:\n type: string\n format: date-time\n x-dcl-go-name: CommitmentEndTime\n readOnly: true\n description: Output only. The end of the current commitment period. It is\n applicable only for ACTIVE capacity commitments.\n x-kubernetes-immutable: true\n commitmentStartTime:\n type: string\n format: date-time\n x-dcl-go-name: CommitmentStartTime\n readOnly: true\n description: Output only. The start of the current commitment period. It\n is applicable only for ACTIVE capacity commitments.\n x-kubernetes-immutable: true\n failureStatus:\n type: object\n x-dcl-go-name: FailureStatus\n x-dcl-go-type: CapacityCommitmentFailureStatus\n readOnly: true\n description: Output only. For FAILED commitment plan, provides the reason\n of failure.\n x-kubernetes-immutable: true\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of google.rpc.Code.\n x-kubernetes-immutable: true\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details. There\n is a common set of message types for APIs to use.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CapacityCommitmentFailureStatusDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies the\n type of the serialized protocol buffer message. This string\n must contain at least one \"/\" character. The last segment of\n the URL''s path must represent the fully qualified name of the\n type (as in `path/google.protobuf.Duration`). The name should\n be in a canonical form (e.g., leading \".\" is not accepted).\n In practice, teams usually precompile into the binary all types\n that they expect it to use in the context of Any. However, for\n URLs which use the scheme `http`, `https`, or no scheme, one\n can optionally set up a type server that maps type URLs to message\n definitions as follows: * If no scheme is provided, `https`\n is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL, or have\n them precompiled into a binary to avoid any lookup. Therefore,\n binary compatibility needs to be preserved on changes to types.\n (Use versioned type names to manage breaking changes.) Note:\n this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning\n with type.googleapis.com. Schemes other than `http`, `https`\n (or the empty scheme) might be used with implementation specific\n semantics.'\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer of the\n above specified type.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be in English.\n Any user-facing error message should be localized and sent in the\n google.rpc.Status.details field, or localized by the client.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123`\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n plan:\n type: string\n x-dcl-go-name: Plan\n x-dcl-go-type: CapacityCommitmentPlanEnum\n description: 'Capacity commitment commitment plan. Possible values: COMMITMENT_PLAN_UNSPECIFIED,\n FLEX, TRIAL, MONTHLY, ANNUAL'\n enum:\n - COMMITMENT_PLAN_UNSPECIFIED\n - FLEX\n - TRIAL\n - MONTHLY\n - ANNUAL\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n renewalPlan:\n type: string\n x-dcl-go-name: RenewalPlan\n x-dcl-go-type: CapacityCommitmentRenewalPlanEnum\n description: 'The plan this capacity commitment is converted to after commitment_end_time\n passes. Once the plan is changed, committed period is extended according\n to commitment plan. Only applicable for ANNUAL and TRIAL commitments.\n Possible values: COMMITMENT_PLAN_UNSPECIFIED, FLEX, TRIAL, MONTHLY, ANNUAL'\n enum:\n - COMMITMENT_PLAN_UNSPECIFIED\n - FLEX\n - TRIAL\n - MONTHLY\n - ANNUAL\n slotCount:\n type: integer\n format: int64\n x-dcl-go-name: SlotCount\n description: Number of slots in this commitment.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CapacityCommitmentStateEnum\n readOnly: true\n description: 'Output only. State of the commitment. Possible values: STATE_UNSPECIFIED,\n PENDING, ACTIVE, FAILED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n - FAILED\n") +var YAML_capacity_commitment = []byte("info:\n title: BigqueryReservation/CapacityCommitment\n description: The BigqueryReservation CapacityCommitment resource\n x-dcl-struct-name: CapacityCommitment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n apply:\n description: The function used to apply information about a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n delete:\n description: The function used to delete a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n deleteAll:\n description: The function used to delete all CapacityCommitment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CapacityCommitment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CapacityCommitment:\n title: CapacityCommitment\n x-dcl-id: projects/{{project}}/locations/{{location}}/capacityCommitments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - location\n properties:\n commitmentEndTime:\n type: string\n format: date-time\n x-dcl-go-name: CommitmentEndTime\n readOnly: true\n description: Output only. The end of the current commitment period. It is\n applicable only for ACTIVE capacity commitments.\n x-kubernetes-immutable: true\n commitmentStartTime:\n type: string\n format: date-time\n x-dcl-go-name: CommitmentStartTime\n readOnly: true\n description: Output only. The start of the current commitment period. It\n is applicable only for ACTIVE capacity commitments.\n x-kubernetes-immutable: true\n failureStatus:\n type: object\n x-dcl-go-name: FailureStatus\n x-dcl-go-type: CapacityCommitmentFailureStatus\n readOnly: true\n description: Output only. For FAILED commitment plan, provides the reason\n of failure.\n x-kubernetes-immutable: true\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of google.rpc.Code.\n x-kubernetes-immutable: true\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details. There\n is a common set of message types for APIs to use.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CapacityCommitmentFailureStatusDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies the\n type of the serialized protocol buffer message. This string\n must contain at least one \"/\" character. The last segment of\n the URL''s path must represent the fully qualified name of the\n type (as in `path/google.protobuf.Duration`). The name should\n be in a canonical form (e.g., leading \".\" is not accepted).\n In practice, teams usually precompile into the binary all types\n that they expect it to use in the context of Any. However, for\n URLs which use the scheme `http`, `https`, or no scheme, one\n can optionally set up a type server that maps type URLs to message\n definitions as follows: * If no scheme is provided, `https`\n is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL, or have\n them precompiled into a binary to avoid any lookup. Therefore,\n binary compatibility needs to be preserved on changes to types.\n (Use versioned type names to manage breaking changes.) Note:\n this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning\n with type.googleapis.com. Schemes other than `http`, `https`\n (or the empty scheme) might be used with implementation specific\n semantics.'\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer of the\n above specified type.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be in English.\n Any user-facing error message should be localized and sent in the\n google.rpc.Status.details field, or localized by the client.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123`\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n plan:\n type: string\n x-dcl-go-name: Plan\n x-dcl-go-type: CapacityCommitmentPlanEnum\n description: 'Capacity commitment commitment plan. Possible values: COMMITMENT_PLAN_UNSPECIFIED,\n FLEX, TRIAL, MONTHLY, ANNUAL'\n enum:\n - COMMITMENT_PLAN_UNSPECIFIED\n - FLEX\n - TRIAL\n - MONTHLY\n - ANNUAL\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n renewalPlan:\n type: string\n x-dcl-go-name: RenewalPlan\n x-dcl-go-type: CapacityCommitmentRenewalPlanEnum\n description: 'The plan this capacity commitment is converted to after commitment_end_time\n passes. Once the plan is changed, committed period is extended according\n to commitment plan. Only applicable for ANNUAL and TRIAL commitments.\n Possible values: COMMITMENT_PLAN_UNSPECIFIED, FLEX, TRIAL, MONTHLY, ANNUAL'\n enum:\n - COMMITMENT_PLAN_UNSPECIFIED\n - FLEX\n - TRIAL\n - MONTHLY\n - ANNUAL\n slotCount:\n type: integer\n format: int64\n x-dcl-go-name: SlotCount\n description: Number of slots in this commitment.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CapacityCommitmentStateEnum\n readOnly: true\n description: 'Output only. State of the commitment. Possible values: STATE_UNSPECIFIED,\n PENDING, ACTIVE, FAILED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n - FAILED\n") -// 8408 bytes -// MD5: f65d490e4f18fa7c99d10bedd61c874e +// 8433 bytes +// MD5: cdd95c450619a9fec993018eb05fddf7 diff --git a/services/google/bigqueryreservation/alpha/capacity_commitment_schema.go b/services/google/bigqueryreservation/alpha/capacity_commitment_schema.go index 2d8d7d2226..5e1b27901a 100755 --- a/services/google/bigqueryreservation/alpha/capacity_commitment_schema.go +++ b/services/google/bigqueryreservation/alpha/capacity_commitment_schema.go @@ -23,6 +23,7 @@ func DCLCapacityCommitmentSchema() *dcl.Schema { Title: "BigqueryReservation/CapacityCommitment", Description: "The BigqueryReservation CapacityCommitment resource", StructName: "CapacityCommitment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigqueryreservation/alpha/reservation.yaml b/services/google/bigqueryreservation/alpha/reservation.yaml index 27e59a5750..791ade6495 100755 --- a/services/google/bigqueryreservation/alpha/reservation.yaml +++ b/services/google/bigqueryreservation/alpha/reservation.yaml @@ -15,6 +15,7 @@ info: title: BigqueryReservation/Reservation description: The BigqueryReservation Reservation resource x-dcl-struct-name: Reservation + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigqueryreservation/alpha/reservation_alpha_yaml_embed.go b/services/google/bigqueryreservation/alpha/reservation_alpha_yaml_embed.go index c24bc7bcab..d4948d7c5e 100755 --- a/services/google/bigqueryreservation/alpha/reservation_alpha_yaml_embed.go +++ b/services/google/bigqueryreservation/alpha/reservation_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigqueryreservation/alpha/reservation.yaml -var YAML_reservation = []byte("info:\n title: BigqueryReservation/Reservation\n description: The BigqueryReservation Reservation resource\n x-dcl-struct-name: Reservation\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n apply:\n description: The function used to apply information about a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n delete:\n description: The function used to delete a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n deleteAll:\n description: The function used to delete all Reservation\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Reservation\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Reservation:\n title: Reservation\n x-dcl-id: projects/{{project}}/locations/{{location}}/reservations/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n creationTime:\n type: string\n format: date-time\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. Creation time of the reservation.\n x-kubernetes-immutable: true\n ignoreIdleSlots:\n type: boolean\n x-dcl-go-name: IgnoreIdleSlots\n description: If false, any query using this reservation will use idle slots\n from other reservations within the same admin project. If true, a query\n using this reservation will execute with the slot capacity specified above\n at most.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxConcurrency:\n type: integer\n format: int64\n x-dcl-go-name: MaxConcurrency\n description: Maximum number of queries that are allowed to run concurrently\n in this reservation. Default value is 0 which means that maximum concurrency\n will be automatically set based on the reservation size.\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the reservation.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n slotCapacity:\n type: integer\n format: int64\n x-dcl-go-name: SlotCapacity\n description: Minimum slots available to this reservation. A slot is a unit\n of computational power in BigQuery, and serves as the unit of parallelism.\n Queries using this reservation might use more slots during runtime if\n ignore_idle_slots is set to false. If the new reservation's slot capacity\n exceed the parent's slot capacity or if total slot capacity of the new\n reservation and its siblings exceeds the parent's slot capacity, the request\n will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last update time of the reservation.\n x-kubernetes-immutable: true\n") +var YAML_reservation = []byte("info:\n title: BigqueryReservation/Reservation\n description: The BigqueryReservation Reservation resource\n x-dcl-struct-name: Reservation\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n apply:\n description: The function used to apply information about a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n delete:\n description: The function used to delete a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n deleteAll:\n description: The function used to delete all Reservation\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Reservation\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Reservation:\n title: Reservation\n x-dcl-id: projects/{{project}}/locations/{{location}}/reservations/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n creationTime:\n type: string\n format: date-time\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. Creation time of the reservation.\n x-kubernetes-immutable: true\n ignoreIdleSlots:\n type: boolean\n x-dcl-go-name: IgnoreIdleSlots\n description: If false, any query using this reservation will use idle slots\n from other reservations within the same admin project. If true, a query\n using this reservation will execute with the slot capacity specified above\n at most.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxConcurrency:\n type: integer\n format: int64\n x-dcl-go-name: MaxConcurrency\n description: Maximum number of queries that are allowed to run concurrently\n in this reservation. Default value is 0 which means that maximum concurrency\n will be automatically set based on the reservation size.\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the reservation.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n slotCapacity:\n type: integer\n format: int64\n x-dcl-go-name: SlotCapacity\n description: Minimum slots available to this reservation. A slot is a unit\n of computational power in BigQuery, and serves as the unit of parallelism.\n Queries using this reservation might use more slots during runtime if\n ignore_idle_slots is set to false. If the new reservation's slot capacity\n exceed the parent's slot capacity or if total slot capacity of the new\n reservation and its siblings exceeds the parent's slot capacity, the request\n will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last update time of the reservation.\n x-kubernetes-immutable: true\n") -// 4077 bytes -// MD5: ce3c9d09de3116d066d3c0aa7b1fa36d +// 4102 bytes +// MD5: c909ad512b1039b73ba659ad4dc78119 diff --git a/services/google/bigqueryreservation/alpha/reservation_schema.go b/services/google/bigqueryreservation/alpha/reservation_schema.go index bf5634bf46..5a0e7366a3 100755 --- a/services/google/bigqueryreservation/alpha/reservation_schema.go +++ b/services/google/bigqueryreservation/alpha/reservation_schema.go @@ -23,6 +23,7 @@ func DCLReservationSchema() *dcl.Schema { Title: "BigqueryReservation/Reservation", Description: "The BigqueryReservation Reservation resource", StructName: "Reservation", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigqueryreservation/assignment.yaml b/services/google/bigqueryreservation/assignment.yaml index f19574ced1..a1b8d95221 100755 --- a/services/google/bigqueryreservation/assignment.yaml +++ b/services/google/bigqueryreservation/assignment.yaml @@ -15,6 +15,7 @@ info: title: BigqueryReservation/Assignment description: The BigqueryReservation Assignment resource x-dcl-struct-name: Assignment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigqueryreservation/assignment_schema.go b/services/google/bigqueryreservation/assignment_schema.go index fba202d340..612a11162a 100755 --- a/services/google/bigqueryreservation/assignment_schema.go +++ b/services/google/bigqueryreservation/assignment_schema.go @@ -23,6 +23,7 @@ func DCLAssignmentSchema() *dcl.Schema { Title: "BigqueryReservation/Assignment", Description: "The BigqueryReservation Assignment resource", StructName: "Assignment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigqueryreservation/assignment_yaml_embed.go b/services/google/bigqueryreservation/assignment_yaml_embed.go index c74babe36f..af0324b6df 100755 --- a/services/google/bigqueryreservation/assignment_yaml_embed.go +++ b/services/google/bigqueryreservation/assignment_yaml_embed.go @@ -17,7 +17,7 @@ package bigqueryreservation // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigqueryreservation/assignment.yaml -var YAML_assignment = []byte("info:\n title: BigqueryReservation/Assignment\n description: The BigqueryReservation Assignment resource\n x-dcl-struct-name: Assignment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n apply:\n description: The function used to apply information about a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n delete:\n description: The function used to delete a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n deleteAll:\n description: The function used to delete all Assignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: reservation\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Assignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: reservation\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Assignment:\n title: Assignment\n x-dcl-id: projects/{{project}}/locations/{{location}}/reservations/{{reservation}}/assignments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - assignee\n - jobType\n - reservation\n properties:\n assignee:\n type: string\n x-dcl-go-name: Assignee\n description: The resource which will use the reservation. E.g. projects/myproject,\n folders/123, organizations/456.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n jobType:\n type: string\n x-dcl-go-name: JobType\n x-dcl-go-type: AssignmentJobTypeEnum\n description: 'Types of job, which could be specified when using the reservation.\n Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY'\n x-kubernetes-immutable: true\n enum:\n - JOB_TYPE_UNSPECIFIED\n - PIPELINE\n - QUERY\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the assignment.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n reservation:\n type: string\n x-dcl-go-name: Reservation\n description: The reservation for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigqueryreservation/Reservation\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssignmentStateEnum\n readOnly: true\n description: 'Assignment will remain in PENDING state if no active capacity\n commitment is present. It will become ACTIVE when some capacity commitment\n becomes active. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n") +var YAML_assignment = []byte("info:\n title: BigqueryReservation/Assignment\n description: The BigqueryReservation Assignment resource\n x-dcl-struct-name: Assignment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n apply:\n description: The function used to apply information about a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n delete:\n description: The function used to delete a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n deleteAll:\n description: The function used to delete all Assignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: reservation\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Assignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: reservation\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Assignment:\n title: Assignment\n x-dcl-id: projects/{{project}}/locations/{{location}}/reservations/{{reservation}}/assignments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - assignee\n - jobType\n - reservation\n properties:\n assignee:\n type: string\n x-dcl-go-name: Assignee\n description: The resource which will use the reservation. E.g. projects/myproject,\n folders/123, organizations/456.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n jobType:\n type: string\n x-dcl-go-name: JobType\n x-dcl-go-type: AssignmentJobTypeEnum\n description: 'Types of job, which could be specified when using the reservation.\n Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY'\n x-kubernetes-immutable: true\n enum:\n - JOB_TYPE_UNSPECIFIED\n - PIPELINE\n - QUERY\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the assignment.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n reservation:\n type: string\n x-dcl-go-name: Reservation\n description: The reservation for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigqueryreservation/Reservation\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssignmentStateEnum\n readOnly: true\n description: 'Assignment will remain in PENDING state if no active capacity\n commitment is present. It will become ACTIVE when some capacity commitment\n becomes active. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n") -// 4235 bytes -// MD5: 7e8f1038ae6342c271719bcd00e24c9a +// 4260 bytes +// MD5: b70f88d09bb96f1805c47cefa526eece diff --git a/services/google/bigqueryreservation/beta/assignment.yaml b/services/google/bigqueryreservation/beta/assignment.yaml index f19574ced1..a1b8d95221 100755 --- a/services/google/bigqueryreservation/beta/assignment.yaml +++ b/services/google/bigqueryreservation/beta/assignment.yaml @@ -15,6 +15,7 @@ info: title: BigqueryReservation/Assignment description: The BigqueryReservation Assignment resource x-dcl-struct-name: Assignment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigqueryreservation/beta/assignment_beta_yaml_embed.go b/services/google/bigqueryreservation/beta/assignment_beta_yaml_embed.go index 831bf7d2cb..98632bf7b4 100755 --- a/services/google/bigqueryreservation/beta/assignment_beta_yaml_embed.go +++ b/services/google/bigqueryreservation/beta/assignment_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigqueryreservation/beta/assignment.yaml -var YAML_assignment = []byte("info:\n title: BigqueryReservation/Assignment\n description: The BigqueryReservation Assignment resource\n x-dcl-struct-name: Assignment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n apply:\n description: The function used to apply information about a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n delete:\n description: The function used to delete a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n deleteAll:\n description: The function used to delete all Assignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: reservation\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Assignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: reservation\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Assignment:\n title: Assignment\n x-dcl-id: projects/{{project}}/locations/{{location}}/reservations/{{reservation}}/assignments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - assignee\n - jobType\n - reservation\n properties:\n assignee:\n type: string\n x-dcl-go-name: Assignee\n description: The resource which will use the reservation. E.g. projects/myproject,\n folders/123, organizations/456.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n jobType:\n type: string\n x-dcl-go-name: JobType\n x-dcl-go-type: AssignmentJobTypeEnum\n description: 'Types of job, which could be specified when using the reservation.\n Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY'\n x-kubernetes-immutable: true\n enum:\n - JOB_TYPE_UNSPECIFIED\n - PIPELINE\n - QUERY\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the assignment.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n reservation:\n type: string\n x-dcl-go-name: Reservation\n description: The reservation for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigqueryreservation/Reservation\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssignmentStateEnum\n readOnly: true\n description: 'Assignment will remain in PENDING state if no active capacity\n commitment is present. It will become ACTIVE when some capacity commitment\n becomes active. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n") +var YAML_assignment = []byte("info:\n title: BigqueryReservation/Assignment\n description: The BigqueryReservation Assignment resource\n x-dcl-struct-name: Assignment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n apply:\n description: The function used to apply information about a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n delete:\n description: The function used to delete a Assignment\n parameters:\n - name: Assignment\n required: true\n description: A full instance of a Assignment\n deleteAll:\n description: The function used to delete all Assignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: reservation\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Assignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: reservation\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Assignment:\n title: Assignment\n x-dcl-id: projects/{{project}}/locations/{{location}}/reservations/{{reservation}}/assignments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - assignee\n - jobType\n - reservation\n properties:\n assignee:\n type: string\n x-dcl-go-name: Assignee\n description: The resource which will use the reservation. E.g. projects/myproject,\n folders/123, organizations/456.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n jobType:\n type: string\n x-dcl-go-name: JobType\n x-dcl-go-type: AssignmentJobTypeEnum\n description: 'Types of job, which could be specified when using the reservation.\n Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY'\n x-kubernetes-immutable: true\n enum:\n - JOB_TYPE_UNSPECIFIED\n - PIPELINE\n - QUERY\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the assignment.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n reservation:\n type: string\n x-dcl-go-name: Reservation\n description: The reservation for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigqueryreservation/Reservation\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssignmentStateEnum\n readOnly: true\n description: 'Assignment will remain in PENDING state if no active capacity\n commitment is present. It will become ACTIVE when some capacity commitment\n becomes active. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n") -// 4235 bytes -// MD5: 7e8f1038ae6342c271719bcd00e24c9a +// 4260 bytes +// MD5: b70f88d09bb96f1805c47cefa526eece diff --git a/services/google/bigqueryreservation/beta/assignment_schema.go b/services/google/bigqueryreservation/beta/assignment_schema.go index 8b002c4f9e..30e8af74fe 100755 --- a/services/google/bigqueryreservation/beta/assignment_schema.go +++ b/services/google/bigqueryreservation/beta/assignment_schema.go @@ -23,6 +23,7 @@ func DCLAssignmentSchema() *dcl.Schema { Title: "BigqueryReservation/Assignment", Description: "The BigqueryReservation Assignment resource", StructName: "Assignment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigqueryreservation/beta/capacity_commitment.yaml b/services/google/bigqueryreservation/beta/capacity_commitment.yaml index 905472ed9d..90bb916c69 100755 --- a/services/google/bigqueryreservation/beta/capacity_commitment.yaml +++ b/services/google/bigqueryreservation/beta/capacity_commitment.yaml @@ -15,6 +15,7 @@ info: title: BigqueryReservation/CapacityCommitment description: The BigqueryReservation CapacityCommitment resource x-dcl-struct-name: CapacityCommitment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigqueryreservation/beta/capacity_commitment_beta_yaml_embed.go b/services/google/bigqueryreservation/beta/capacity_commitment_beta_yaml_embed.go index 5b377bb3ba..3d44487ce5 100755 --- a/services/google/bigqueryreservation/beta/capacity_commitment_beta_yaml_embed.go +++ b/services/google/bigqueryreservation/beta/capacity_commitment_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigqueryreservation/beta/capacity_commitment.yaml -var YAML_capacity_commitment = []byte("info:\n title: BigqueryReservation/CapacityCommitment\n description: The BigqueryReservation CapacityCommitment resource\n x-dcl-struct-name: CapacityCommitment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n apply:\n description: The function used to apply information about a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n delete:\n description: The function used to delete a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n deleteAll:\n description: The function used to delete all CapacityCommitment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CapacityCommitment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CapacityCommitment:\n title: CapacityCommitment\n x-dcl-id: projects/{{project}}/locations/{{location}}/capacityCommitments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - location\n properties:\n commitmentEndTime:\n type: string\n format: date-time\n x-dcl-go-name: CommitmentEndTime\n readOnly: true\n description: Output only. The end of the current commitment period. It is\n applicable only for ACTIVE capacity commitments.\n x-kubernetes-immutable: true\n commitmentStartTime:\n type: string\n format: date-time\n x-dcl-go-name: CommitmentStartTime\n readOnly: true\n description: Output only. The start of the current commitment period. It\n is applicable only for ACTIVE capacity commitments.\n x-kubernetes-immutable: true\n failureStatus:\n type: object\n x-dcl-go-name: FailureStatus\n x-dcl-go-type: CapacityCommitmentFailureStatus\n readOnly: true\n description: Output only. For FAILED commitment plan, provides the reason\n of failure.\n x-kubernetes-immutable: true\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of google.rpc.Code.\n x-kubernetes-immutable: true\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details. There\n is a common set of message types for APIs to use.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CapacityCommitmentFailureStatusDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies the\n type of the serialized protocol buffer message. This string\n must contain at least one \"/\" character. The last segment of\n the URL''s path must represent the fully qualified name of the\n type (as in `path/google.protobuf.Duration`). The name should\n be in a canonical form (e.g., leading \".\" is not accepted).\n In practice, teams usually precompile into the binary all types\n that they expect it to use in the context of Any. However, for\n URLs which use the scheme `http`, `https`, or no scheme, one\n can optionally set up a type server that maps type URLs to message\n definitions as follows: * If no scheme is provided, `https`\n is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL, or have\n them precompiled into a binary to avoid any lookup. Therefore,\n binary compatibility needs to be preserved on changes to types.\n (Use versioned type names to manage breaking changes.) Note:\n this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning\n with type.googleapis.com. Schemes other than `http`, `https`\n (or the empty scheme) might be used with implementation specific\n semantics.'\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer of the\n above specified type.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be in English.\n Any user-facing error message should be localized and sent in the\n google.rpc.Status.details field, or localized by the client.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123`\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n plan:\n type: string\n x-dcl-go-name: Plan\n x-dcl-go-type: CapacityCommitmentPlanEnum\n description: 'Capacity commitment commitment plan. Possible values: COMMITMENT_PLAN_UNSPECIFIED,\n FLEX, TRIAL, MONTHLY, ANNUAL'\n enum:\n - COMMITMENT_PLAN_UNSPECIFIED\n - FLEX\n - TRIAL\n - MONTHLY\n - ANNUAL\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n renewalPlan:\n type: string\n x-dcl-go-name: RenewalPlan\n x-dcl-go-type: CapacityCommitmentRenewalPlanEnum\n description: 'The plan this capacity commitment is converted to after commitment_end_time\n passes. Once the plan is changed, committed period is extended according\n to commitment plan. Only applicable for ANNUAL and TRIAL commitments.\n Possible values: COMMITMENT_PLAN_UNSPECIFIED, FLEX, TRIAL, MONTHLY, ANNUAL'\n enum:\n - COMMITMENT_PLAN_UNSPECIFIED\n - FLEX\n - TRIAL\n - MONTHLY\n - ANNUAL\n slotCount:\n type: integer\n format: int64\n x-dcl-go-name: SlotCount\n description: Number of slots in this commitment.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CapacityCommitmentStateEnum\n readOnly: true\n description: 'Output only. State of the commitment. Possible values: STATE_UNSPECIFIED,\n PENDING, ACTIVE, FAILED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n - FAILED\n") +var YAML_capacity_commitment = []byte("info:\n title: BigqueryReservation/CapacityCommitment\n description: The BigqueryReservation CapacityCommitment resource\n x-dcl-struct-name: CapacityCommitment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n apply:\n description: The function used to apply information about a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n delete:\n description: The function used to delete a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n deleteAll:\n description: The function used to delete all CapacityCommitment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CapacityCommitment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CapacityCommitment:\n title: CapacityCommitment\n x-dcl-id: projects/{{project}}/locations/{{location}}/capacityCommitments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - location\n properties:\n commitmentEndTime:\n type: string\n format: date-time\n x-dcl-go-name: CommitmentEndTime\n readOnly: true\n description: Output only. The end of the current commitment period. It is\n applicable only for ACTIVE capacity commitments.\n x-kubernetes-immutable: true\n commitmentStartTime:\n type: string\n format: date-time\n x-dcl-go-name: CommitmentStartTime\n readOnly: true\n description: Output only. The start of the current commitment period. It\n is applicable only for ACTIVE capacity commitments.\n x-kubernetes-immutable: true\n failureStatus:\n type: object\n x-dcl-go-name: FailureStatus\n x-dcl-go-type: CapacityCommitmentFailureStatus\n readOnly: true\n description: Output only. For FAILED commitment plan, provides the reason\n of failure.\n x-kubernetes-immutable: true\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of google.rpc.Code.\n x-kubernetes-immutable: true\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details. There\n is a common set of message types for APIs to use.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CapacityCommitmentFailureStatusDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies the\n type of the serialized protocol buffer message. This string\n must contain at least one \"/\" character. The last segment of\n the URL''s path must represent the fully qualified name of the\n type (as in `path/google.protobuf.Duration`). The name should\n be in a canonical form (e.g., leading \".\" is not accepted).\n In practice, teams usually precompile into the binary all types\n that they expect it to use in the context of Any. However, for\n URLs which use the scheme `http`, `https`, or no scheme, one\n can optionally set up a type server that maps type URLs to message\n definitions as follows: * If no scheme is provided, `https`\n is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL, or have\n them precompiled into a binary to avoid any lookup. Therefore,\n binary compatibility needs to be preserved on changes to types.\n (Use versioned type names to manage breaking changes.) Note:\n this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning\n with type.googleapis.com. Schemes other than `http`, `https`\n (or the empty scheme) might be used with implementation specific\n semantics.'\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer of the\n above specified type.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be in English.\n Any user-facing error message should be localized and sent in the\n google.rpc.Status.details field, or localized by the client.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123`\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n plan:\n type: string\n x-dcl-go-name: Plan\n x-dcl-go-type: CapacityCommitmentPlanEnum\n description: 'Capacity commitment commitment plan. Possible values: COMMITMENT_PLAN_UNSPECIFIED,\n FLEX, TRIAL, MONTHLY, ANNUAL'\n enum:\n - COMMITMENT_PLAN_UNSPECIFIED\n - FLEX\n - TRIAL\n - MONTHLY\n - ANNUAL\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n renewalPlan:\n type: string\n x-dcl-go-name: RenewalPlan\n x-dcl-go-type: CapacityCommitmentRenewalPlanEnum\n description: 'The plan this capacity commitment is converted to after commitment_end_time\n passes. Once the plan is changed, committed period is extended according\n to commitment plan. Only applicable for ANNUAL and TRIAL commitments.\n Possible values: COMMITMENT_PLAN_UNSPECIFIED, FLEX, TRIAL, MONTHLY, ANNUAL'\n enum:\n - COMMITMENT_PLAN_UNSPECIFIED\n - FLEX\n - TRIAL\n - MONTHLY\n - ANNUAL\n slotCount:\n type: integer\n format: int64\n x-dcl-go-name: SlotCount\n description: Number of slots in this commitment.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CapacityCommitmentStateEnum\n readOnly: true\n description: 'Output only. State of the commitment. Possible values: STATE_UNSPECIFIED,\n PENDING, ACTIVE, FAILED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n - FAILED\n") -// 8408 bytes -// MD5: f65d490e4f18fa7c99d10bedd61c874e +// 8433 bytes +// MD5: cdd95c450619a9fec993018eb05fddf7 diff --git a/services/google/bigqueryreservation/beta/capacity_commitment_schema.go b/services/google/bigqueryreservation/beta/capacity_commitment_schema.go index d47cd14120..004402954d 100755 --- a/services/google/bigqueryreservation/beta/capacity_commitment_schema.go +++ b/services/google/bigqueryreservation/beta/capacity_commitment_schema.go @@ -23,6 +23,7 @@ func DCLCapacityCommitmentSchema() *dcl.Schema { Title: "BigqueryReservation/CapacityCommitment", Description: "The BigqueryReservation CapacityCommitment resource", StructName: "CapacityCommitment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigqueryreservation/beta/reservation.yaml b/services/google/bigqueryreservation/beta/reservation.yaml index 27e59a5750..791ade6495 100755 --- a/services/google/bigqueryreservation/beta/reservation.yaml +++ b/services/google/bigqueryreservation/beta/reservation.yaml @@ -15,6 +15,7 @@ info: title: BigqueryReservation/Reservation description: The BigqueryReservation Reservation resource x-dcl-struct-name: Reservation + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigqueryreservation/beta/reservation_beta_yaml_embed.go b/services/google/bigqueryreservation/beta/reservation_beta_yaml_embed.go index 5d5aedbf1a..4e1ad70d5f 100755 --- a/services/google/bigqueryreservation/beta/reservation_beta_yaml_embed.go +++ b/services/google/bigqueryreservation/beta/reservation_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigqueryreservation/beta/reservation.yaml -var YAML_reservation = []byte("info:\n title: BigqueryReservation/Reservation\n description: The BigqueryReservation Reservation resource\n x-dcl-struct-name: Reservation\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n apply:\n description: The function used to apply information about a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n delete:\n description: The function used to delete a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n deleteAll:\n description: The function used to delete all Reservation\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Reservation\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Reservation:\n title: Reservation\n x-dcl-id: projects/{{project}}/locations/{{location}}/reservations/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n creationTime:\n type: string\n format: date-time\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. Creation time of the reservation.\n x-kubernetes-immutable: true\n ignoreIdleSlots:\n type: boolean\n x-dcl-go-name: IgnoreIdleSlots\n description: If false, any query using this reservation will use idle slots\n from other reservations within the same admin project. If true, a query\n using this reservation will execute with the slot capacity specified above\n at most.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxConcurrency:\n type: integer\n format: int64\n x-dcl-go-name: MaxConcurrency\n description: Maximum number of queries that are allowed to run concurrently\n in this reservation. Default value is 0 which means that maximum concurrency\n will be automatically set based on the reservation size.\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the reservation.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n slotCapacity:\n type: integer\n format: int64\n x-dcl-go-name: SlotCapacity\n description: Minimum slots available to this reservation. A slot is a unit\n of computational power in BigQuery, and serves as the unit of parallelism.\n Queries using this reservation might use more slots during runtime if\n ignore_idle_slots is set to false. If the new reservation's slot capacity\n exceed the parent's slot capacity or if total slot capacity of the new\n reservation and its siblings exceeds the parent's slot capacity, the request\n will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last update time of the reservation.\n x-kubernetes-immutable: true\n") +var YAML_reservation = []byte("info:\n title: BigqueryReservation/Reservation\n description: The BigqueryReservation Reservation resource\n x-dcl-struct-name: Reservation\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n apply:\n description: The function used to apply information about a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n delete:\n description: The function used to delete a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n deleteAll:\n description: The function used to delete all Reservation\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Reservation\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Reservation:\n title: Reservation\n x-dcl-id: projects/{{project}}/locations/{{location}}/reservations/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n creationTime:\n type: string\n format: date-time\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. Creation time of the reservation.\n x-kubernetes-immutable: true\n ignoreIdleSlots:\n type: boolean\n x-dcl-go-name: IgnoreIdleSlots\n description: If false, any query using this reservation will use idle slots\n from other reservations within the same admin project. If true, a query\n using this reservation will execute with the slot capacity specified above\n at most.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxConcurrency:\n type: integer\n format: int64\n x-dcl-go-name: MaxConcurrency\n description: Maximum number of queries that are allowed to run concurrently\n in this reservation. Default value is 0 which means that maximum concurrency\n will be automatically set based on the reservation size.\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the reservation.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n slotCapacity:\n type: integer\n format: int64\n x-dcl-go-name: SlotCapacity\n description: Minimum slots available to this reservation. A slot is a unit\n of computational power in BigQuery, and serves as the unit of parallelism.\n Queries using this reservation might use more slots during runtime if\n ignore_idle_slots is set to false. If the new reservation's slot capacity\n exceed the parent's slot capacity or if total slot capacity of the new\n reservation and its siblings exceeds the parent's slot capacity, the request\n will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last update time of the reservation.\n x-kubernetes-immutable: true\n") -// 4077 bytes -// MD5: ce3c9d09de3116d066d3c0aa7b1fa36d +// 4102 bytes +// MD5: c909ad512b1039b73ba659ad4dc78119 diff --git a/services/google/bigqueryreservation/beta/reservation_schema.go b/services/google/bigqueryreservation/beta/reservation_schema.go index 599469d7a8..b064f34498 100755 --- a/services/google/bigqueryreservation/beta/reservation_schema.go +++ b/services/google/bigqueryreservation/beta/reservation_schema.go @@ -23,6 +23,7 @@ func DCLReservationSchema() *dcl.Schema { Title: "BigqueryReservation/Reservation", Description: "The BigqueryReservation Reservation resource", StructName: "Reservation", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigqueryreservation/capacity_commitment.yaml b/services/google/bigqueryreservation/capacity_commitment.yaml index 905472ed9d..90bb916c69 100755 --- a/services/google/bigqueryreservation/capacity_commitment.yaml +++ b/services/google/bigqueryreservation/capacity_commitment.yaml @@ -15,6 +15,7 @@ info: title: BigqueryReservation/CapacityCommitment description: The BigqueryReservation CapacityCommitment resource x-dcl-struct-name: CapacityCommitment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigqueryreservation/capacity_commitment_schema.go b/services/google/bigqueryreservation/capacity_commitment_schema.go index 2be3468b93..1e7c5f343c 100755 --- a/services/google/bigqueryreservation/capacity_commitment_schema.go +++ b/services/google/bigqueryreservation/capacity_commitment_schema.go @@ -23,6 +23,7 @@ func DCLCapacityCommitmentSchema() *dcl.Schema { Title: "BigqueryReservation/CapacityCommitment", Description: "The BigqueryReservation CapacityCommitment resource", StructName: "CapacityCommitment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigqueryreservation/capacity_commitment_yaml_embed.go b/services/google/bigqueryreservation/capacity_commitment_yaml_embed.go index 42eb0b2586..bddd88af98 100755 --- a/services/google/bigqueryreservation/capacity_commitment_yaml_embed.go +++ b/services/google/bigqueryreservation/capacity_commitment_yaml_embed.go @@ -17,7 +17,7 @@ package bigqueryreservation // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigqueryreservation/capacity_commitment.yaml -var YAML_capacity_commitment = []byte("info:\n title: BigqueryReservation/CapacityCommitment\n description: The BigqueryReservation CapacityCommitment resource\n x-dcl-struct-name: CapacityCommitment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n apply:\n description: The function used to apply information about a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n delete:\n description: The function used to delete a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n deleteAll:\n description: The function used to delete all CapacityCommitment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CapacityCommitment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CapacityCommitment:\n title: CapacityCommitment\n x-dcl-id: projects/{{project}}/locations/{{location}}/capacityCommitments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - location\n properties:\n commitmentEndTime:\n type: string\n format: date-time\n x-dcl-go-name: CommitmentEndTime\n readOnly: true\n description: Output only. The end of the current commitment period. It is\n applicable only for ACTIVE capacity commitments.\n x-kubernetes-immutable: true\n commitmentStartTime:\n type: string\n format: date-time\n x-dcl-go-name: CommitmentStartTime\n readOnly: true\n description: Output only. The start of the current commitment period. It\n is applicable only for ACTIVE capacity commitments.\n x-kubernetes-immutable: true\n failureStatus:\n type: object\n x-dcl-go-name: FailureStatus\n x-dcl-go-type: CapacityCommitmentFailureStatus\n readOnly: true\n description: Output only. For FAILED commitment plan, provides the reason\n of failure.\n x-kubernetes-immutable: true\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of google.rpc.Code.\n x-kubernetes-immutable: true\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details. There\n is a common set of message types for APIs to use.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CapacityCommitmentFailureStatusDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies the\n type of the serialized protocol buffer message. This string\n must contain at least one \"/\" character. The last segment of\n the URL''s path must represent the fully qualified name of the\n type (as in `path/google.protobuf.Duration`). The name should\n be in a canonical form (e.g., leading \".\" is not accepted).\n In practice, teams usually precompile into the binary all types\n that they expect it to use in the context of Any. However, for\n URLs which use the scheme `http`, `https`, or no scheme, one\n can optionally set up a type server that maps type URLs to message\n definitions as follows: * If no scheme is provided, `https`\n is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL, or have\n them precompiled into a binary to avoid any lookup. Therefore,\n binary compatibility needs to be preserved on changes to types.\n (Use versioned type names to manage breaking changes.) Note:\n this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning\n with type.googleapis.com. Schemes other than `http`, `https`\n (or the empty scheme) might be used with implementation specific\n semantics.'\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer of the\n above specified type.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be in English.\n Any user-facing error message should be localized and sent in the\n google.rpc.Status.details field, or localized by the client.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123`\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n plan:\n type: string\n x-dcl-go-name: Plan\n x-dcl-go-type: CapacityCommitmentPlanEnum\n description: 'Capacity commitment commitment plan. Possible values: COMMITMENT_PLAN_UNSPECIFIED,\n FLEX, TRIAL, MONTHLY, ANNUAL'\n enum:\n - COMMITMENT_PLAN_UNSPECIFIED\n - FLEX\n - TRIAL\n - MONTHLY\n - ANNUAL\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n renewalPlan:\n type: string\n x-dcl-go-name: RenewalPlan\n x-dcl-go-type: CapacityCommitmentRenewalPlanEnum\n description: 'The plan this capacity commitment is converted to after commitment_end_time\n passes. Once the plan is changed, committed period is extended according\n to commitment plan. Only applicable for ANNUAL and TRIAL commitments.\n Possible values: COMMITMENT_PLAN_UNSPECIFIED, FLEX, TRIAL, MONTHLY, ANNUAL'\n enum:\n - COMMITMENT_PLAN_UNSPECIFIED\n - FLEX\n - TRIAL\n - MONTHLY\n - ANNUAL\n slotCount:\n type: integer\n format: int64\n x-dcl-go-name: SlotCount\n description: Number of slots in this commitment.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CapacityCommitmentStateEnum\n readOnly: true\n description: 'Output only. State of the commitment. Possible values: STATE_UNSPECIFIED,\n PENDING, ACTIVE, FAILED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n - FAILED\n") +var YAML_capacity_commitment = []byte("info:\n title: BigqueryReservation/CapacityCommitment\n description: The BigqueryReservation CapacityCommitment resource\n x-dcl-struct-name: CapacityCommitment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n apply:\n description: The function used to apply information about a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n delete:\n description: The function used to delete a CapacityCommitment\n parameters:\n - name: CapacityCommitment\n required: true\n description: A full instance of a CapacityCommitment\n deleteAll:\n description: The function used to delete all CapacityCommitment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CapacityCommitment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CapacityCommitment:\n title: CapacityCommitment\n x-dcl-id: projects/{{project}}/locations/{{location}}/capacityCommitments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - location\n properties:\n commitmentEndTime:\n type: string\n format: date-time\n x-dcl-go-name: CommitmentEndTime\n readOnly: true\n description: Output only. The end of the current commitment period. It is\n applicable only for ACTIVE capacity commitments.\n x-kubernetes-immutable: true\n commitmentStartTime:\n type: string\n format: date-time\n x-dcl-go-name: CommitmentStartTime\n readOnly: true\n description: Output only. The start of the current commitment period. It\n is applicable only for ACTIVE capacity commitments.\n x-kubernetes-immutable: true\n failureStatus:\n type: object\n x-dcl-go-name: FailureStatus\n x-dcl-go-type: CapacityCommitmentFailureStatus\n readOnly: true\n description: Output only. For FAILED commitment plan, provides the reason\n of failure.\n x-kubernetes-immutable: true\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of google.rpc.Code.\n x-kubernetes-immutable: true\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details. There\n is a common set of message types for APIs to use.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CapacityCommitmentFailureStatusDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies the\n type of the serialized protocol buffer message. This string\n must contain at least one \"/\" character. The last segment of\n the URL''s path must represent the fully qualified name of the\n type (as in `path/google.protobuf.Duration`). The name should\n be in a canonical form (e.g., leading \".\" is not accepted).\n In practice, teams usually precompile into the binary all types\n that they expect it to use in the context of Any. However, for\n URLs which use the scheme `http`, `https`, or no scheme, one\n can optionally set up a type server that maps type URLs to message\n definitions as follows: * If no scheme is provided, `https`\n is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL, or have\n them precompiled into a binary to avoid any lookup. Therefore,\n binary compatibility needs to be preserved on changes to types.\n (Use versioned type names to manage breaking changes.) Note:\n this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning\n with type.googleapis.com. Schemes other than `http`, `https`\n (or the empty scheme) might be used with implementation specific\n semantics.'\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer of the\n above specified type.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be in English.\n Any user-facing error message should be localized and sent in the\n google.rpc.Status.details field, or localized by the client.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123`\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n plan:\n type: string\n x-dcl-go-name: Plan\n x-dcl-go-type: CapacityCommitmentPlanEnum\n description: 'Capacity commitment commitment plan. Possible values: COMMITMENT_PLAN_UNSPECIFIED,\n FLEX, TRIAL, MONTHLY, ANNUAL'\n enum:\n - COMMITMENT_PLAN_UNSPECIFIED\n - FLEX\n - TRIAL\n - MONTHLY\n - ANNUAL\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n renewalPlan:\n type: string\n x-dcl-go-name: RenewalPlan\n x-dcl-go-type: CapacityCommitmentRenewalPlanEnum\n description: 'The plan this capacity commitment is converted to after commitment_end_time\n passes. Once the plan is changed, committed period is extended according\n to commitment plan. Only applicable for ANNUAL and TRIAL commitments.\n Possible values: COMMITMENT_PLAN_UNSPECIFIED, FLEX, TRIAL, MONTHLY, ANNUAL'\n enum:\n - COMMITMENT_PLAN_UNSPECIFIED\n - FLEX\n - TRIAL\n - MONTHLY\n - ANNUAL\n slotCount:\n type: integer\n format: int64\n x-dcl-go-name: SlotCount\n description: Number of slots in this commitment.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CapacityCommitmentStateEnum\n readOnly: true\n description: 'Output only. State of the commitment. Possible values: STATE_UNSPECIFIED,\n PENDING, ACTIVE, FAILED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n - FAILED\n") -// 8408 bytes -// MD5: f65d490e4f18fa7c99d10bedd61c874e +// 8433 bytes +// MD5: cdd95c450619a9fec993018eb05fddf7 diff --git a/services/google/bigqueryreservation/reservation.yaml b/services/google/bigqueryreservation/reservation.yaml index e26c3d407f..d18394e520 100755 --- a/services/google/bigqueryreservation/reservation.yaml +++ b/services/google/bigqueryreservation/reservation.yaml @@ -15,6 +15,7 @@ info: title: BigqueryReservation/Reservation description: The BigqueryReservation Reservation resource x-dcl-struct-name: Reservation + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/bigqueryreservation/reservation_schema.go b/services/google/bigqueryreservation/reservation_schema.go index ff677ec74c..5d63c6d52f 100755 --- a/services/google/bigqueryreservation/reservation_schema.go +++ b/services/google/bigqueryreservation/reservation_schema.go @@ -23,6 +23,7 @@ func DCLReservationSchema() *dcl.Schema { Title: "BigqueryReservation/Reservation", Description: "The BigqueryReservation Reservation resource", StructName: "Reservation", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/bigqueryreservation/reservation_yaml_embed.go b/services/google/bigqueryreservation/reservation_yaml_embed.go index e254dfbc09..5d60f93f67 100755 --- a/services/google/bigqueryreservation/reservation_yaml_embed.go +++ b/services/google/bigqueryreservation/reservation_yaml_embed.go @@ -17,7 +17,7 @@ package bigqueryreservation // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/bigqueryreservation/reservation.yaml -var YAML_reservation = []byte("info:\n title: BigqueryReservation/Reservation\n description: The BigqueryReservation Reservation resource\n x-dcl-struct-name: Reservation\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n apply:\n description: The function used to apply information about a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n delete:\n description: The function used to delete a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n deleteAll:\n description: The function used to delete all Reservation\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Reservation\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Reservation:\n title: Reservation\n x-dcl-id: projects/{{project}}/locations/{{location}}/reservations/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n creationTime:\n type: string\n format: date-time\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. Creation time of the reservation.\n x-kubernetes-immutable: true\n ignoreIdleSlots:\n type: boolean\n x-dcl-go-name: IgnoreIdleSlots\n description: If false, any query using this reservation will use idle slots\n from other reservations within the same admin project. If true, a query\n using this reservation will execute with the slot capacity specified above\n at most.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the reservation.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n slotCapacity:\n type: integer\n format: int64\n x-dcl-go-name: SlotCapacity\n description: Minimum slots available to this reservation. A slot is a unit\n of computational power in BigQuery, and serves as the unit of parallelism.\n Queries using this reservation might use more slots during runtime if\n ignore_idle_slots is set to false. If the new reservation's slot capacity\n exceed the parent's slot capacity or if total slot capacity of the new\n reservation and its siblings exceeds the parent's slot capacity, the request\n will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last update time of the reservation.\n x-kubernetes-immutable: true\n") +var YAML_reservation = []byte("info:\n title: BigqueryReservation/Reservation\n description: The BigqueryReservation Reservation resource\n x-dcl-struct-name: Reservation\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n apply:\n description: The function used to apply information about a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n delete:\n description: The function used to delete a Reservation\n parameters:\n - name: Reservation\n required: true\n description: A full instance of a Reservation\n deleteAll:\n description: The function used to delete all Reservation\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Reservation\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Reservation:\n title: Reservation\n x-dcl-id: projects/{{project}}/locations/{{location}}/reservations/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n creationTime:\n type: string\n format: date-time\n x-dcl-go-name: CreationTime\n readOnly: true\n description: Output only. Creation time of the reservation.\n x-kubernetes-immutable: true\n ignoreIdleSlots:\n type: boolean\n x-dcl-go-name: IgnoreIdleSlots\n description: If false, any query using this reservation will use idle slots\n from other reservations within the same admin project. If true, a query\n using this reservation will execute with the slot capacity specified above\n at most.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the reservation.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n slotCapacity:\n type: integer\n format: int64\n x-dcl-go-name: SlotCapacity\n description: Minimum slots available to this reservation. A slot is a unit\n of computational power in BigQuery, and serves as the unit of parallelism.\n Queries using this reservation might use more slots during runtime if\n ignore_idle_slots is set to false. If the new reservation's slot capacity\n exceed the parent's slot capacity or if total slot capacity of the new\n reservation and its siblings exceeds the parent's slot capacity, the request\n will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last update time of the reservation.\n x-kubernetes-immutable: true\n") -// 3721 bytes -// MD5: 40f927ba776754bce7e29e52e7083cba +// 3746 bytes +// MD5: c541cd3f61fc2858db93d5cc02d7172e diff --git a/services/google/billingbudgets/alpha/budget.yaml b/services/google/billingbudgets/alpha/budget.yaml index 917b75e190..162cbb0534 100755 --- a/services/google/billingbudgets/alpha/budget.yaml +++ b/services/google/billingbudgets/alpha/budget.yaml @@ -15,6 +15,7 @@ info: title: BillingBudgets/Budget description: The BillingBudgets Budget resource x-dcl-struct-name: Budget + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/billingbudgets/alpha/budget_alpha_yaml_embed.go b/services/google/billingbudgets/alpha/budget_alpha_yaml_embed.go index 68f5fde502..e921f230d1 100755 --- a/services/google/billingbudgets/alpha/budget_alpha_yaml_embed.go +++ b/services/google/billingbudgets/alpha/budget_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/billingbudgets/alpha/budget.yaml -var YAML_budget = []byte("info:\n title: BillingBudgets/Budget\n description: The BillingBudgets Budget resource\n x-dcl-struct-name: Budget\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n apply:\n description: The function used to apply information about a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n delete:\n description: The function used to delete a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n deleteAll:\n description: The function used to delete all Budget\n parameters:\n - name: billingaccount\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Budget\n parameters:\n - name: billingaccount\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Budget:\n title: Budget\n x-dcl-id: billingAccounts/{{billing_account}}/budgets/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - amount\n - billingAccount\n properties:\n allUpdatesRule:\n type: object\n x-dcl-go-name: AllUpdatesRule\n x-dcl-go-type: BudgetAllUpdatesRule\n description: Optional. Rules to apply to notifications sent based on budget\n spend and thresholds.\n properties:\n disableDefaultIamRecipients:\n type: boolean\n x-dcl-go-name: DisableDefaultIamRecipients\n description: Optional. When set to true, disables default notifications\n sent when a threshold is exceeded. Default notifications are sent\n to those with Billing Account Administrator and Billing Account User\n IAM roles for the target account.\n monitoringNotificationChannels:\n type: array\n x-dcl-go-name: MonitoringNotificationChannels\n description: Optional. Targets to send notifications to when a threshold\n is exceeded. This is in addition to default recipients who have billing\n account IAM roles. The value is the full REST resource name of a monitoring\n notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`.\n A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients\n for more details.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Monitoring/NotificationChannel\n field: name\n pubsubTopic:\n type: string\n x-dcl-go-name: PubsubTopic\n description: Optional. The name of the Pub/Sub topic where budget related\n messages will be published, in the form `projects/{project_id}/topics/{topic_id}`.\n Updates are sent at regular intervals to the topic. The topic needs\n to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications\n for more details. Caller is expected to have `pubsub.topics.setIamPolicy`\n permission on the topic when it's set for a budget, otherwise, the\n API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task\n for more details on Pub/Sub roles and permissions.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n schemaVersion:\n type: string\n x-dcl-go-name: SchemaVersion\n description: Optional. Required when NotificationsRule.pubsub_topic\n is set. The schema version of the notification sent to NotificationsRule.pubsub_topic.\n Only \"1.0\" is accepted. It represents the JSON schema as defined in\n https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.\n amount:\n type: object\n x-dcl-go-name: Amount\n x-dcl-go-type: BudgetAmount\n description: Required. Budgeted amount.\n properties:\n lastPeriodAmount:\n type: object\n x-dcl-go-name: LastPeriodAmount\n x-dcl-go-type: BudgetAmountLastPeriodAmount\n description: Use the last period's actual spend as the budget for the\n present period. LastPeriodAmount can only be set when the budget's\n time period is a .\n x-dcl-conflicts:\n - specifiedAmount\n specifiedAmount:\n type: object\n x-dcl-go-name: SpecifiedAmount\n x-dcl-go-type: BudgetAmountSpecifiedAmount\n description: A specified amount to use as the budget. `currency_code`\n is optional. If specified when creating a budget, it must match the\n currency of the billing account. If specified when updating a budget,\n it must match the currency_code of the existing budget. The `currency_code`\n is provided on output.\n x-dcl-conflicts:\n - lastPeriodAmount\n properties:\n currencyCode:\n type: string\n x-dcl-go-name: CurrencyCode\n description: The three-letter currency code defined in ISO 4217.\n x-kubernetes-immutable: true\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Number of nano (10^-9) units of the amount. The value\n must be between -999,999,999 and +999,999,999 inclusive. If `units`\n is positive, `nanos` must be positive or zero. If `units` is zero,\n `nanos` can be positive, zero, or negative. If `units` is negative,\n `nanos` must be negative or zero. For example $-1.75 is represented\n as `units`=-1 and `nanos`=-750,000,000.\n x-dcl-send-empty: true\n units:\n type: integer\n format: int64\n x-dcl-go-name: Units\n description: The whole units of the amount. For example if `currencyCode`\n is `\"USD\"`, then 1 unit is one US dollar.\n x-dcl-send-empty: true\n billingAccount:\n type: string\n x-dcl-go-name: BillingAccount\n description: The billing account of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n budgetFilter:\n type: object\n x-dcl-go-name: BudgetFilter\n x-dcl-go-type: BudgetBudgetFilter\n description: Optional. Filters that define which resources are used to compute\n the actual spend against the budget amount, such as projects, services,\n and the budget's time period, as well as other filters.\n properties:\n calendarPeriod:\n type: string\n x-dcl-go-name: CalendarPeriod\n x-dcl-go-type: BudgetBudgetFilterCalendarPeriodEnum\n description: 'Optional. Specifies to track usage for recurring calendar\n period. For example, assume that CalendarPeriod.QUARTER is set. The\n budget will track usage from April 1 to June 30, when the current\n calendar month is April, May, June. After that, it will track usage\n from July 1 to September 30 when the current calendar month is July,\n August, September, so on. Possible values: CALENDAR_PERIOD_UNSPECIFIED,\n MONTH, QUARTER, YEAR'\n x-dcl-conflicts:\n - customPeriod\n x-dcl-server-default: true\n enum:\n - CALENDAR_PERIOD_UNSPECIFIED\n - MONTH\n - QUARTER\n - YEAR\n creditTypes:\n type: array\n x-dcl-go-name: CreditTypes\n description: Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS,\n this is a list of credit types to be subtracted from gross cost to\n determine the spend for threshold calculations. See a list of acceptable\n credit type values. If Filter.credit_types_treatment is not INCLUDE_SPECIFIED_CREDITS,\n this field must be empty.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n creditTypesTreatment:\n type: string\n x-dcl-go-name: CreditTypesTreatment\n x-dcl-go-type: BudgetBudgetFilterCreditTypesTreatmentEnum\n description: Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.\n x-dcl-server-default: true\n enum:\n - INCLUDE_ALL_CREDITS\n - EXCLUDE_ALL_CREDITS\n - INCLUDE_SPECIFIED_CREDITS\n customPeriod:\n type: object\n x-dcl-go-name: CustomPeriod\n x-dcl-go-type: BudgetBudgetFilterCustomPeriod\n description: Optional. Specifies to track usage from any start date\n (required) to any end date (optional). This time period is static,\n it does not recur.\n x-dcl-conflicts:\n - calendarPeriod\n required:\n - startDate\n properties:\n endDate:\n type: object\n x-dcl-go-name: EndDate\n x-dcl-go-type: BudgetBudgetFilterCustomPeriodEndDate\n description: Optional. The end date of the time period. Budgets\n with elapsed end date won't be processed. If unset, specifies\n to track all usage incurred since the start_date.\n x-kubernetes-immutable: true\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from 1 to 31 and valid\n for the year and month, or 0 to specify a year by itself or\n a year and month where the day isn't significant.\n x-kubernetes-immutable: true\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from 1 to 12, or 0 to\n specify a year without a month and day.\n x-kubernetes-immutable: true\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from 1 to 9999, or 0\n to specify a date without a year.\n x-kubernetes-immutable: true\n startDate:\n type: object\n x-dcl-go-name: StartDate\n x-dcl-go-type: BudgetBudgetFilterCustomPeriodStartDate\n description: Required. The start date must be after January 1, 2017.\n x-kubernetes-immutable: true\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from 1 to 31 and valid\n for the year and month, or 0 to specify a year by itself or\n a year and month where the day isn't significant.\n x-kubernetes-immutable: true\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from 1 to 12, or 0 to\n specify a year without a month and day.\n x-kubernetes-immutable: true\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from 1 to 9999, or 0\n to specify a date without a year.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: BudgetBudgetFilterLabels\n properties:\n values:\n type: array\n x-dcl-go-name: Values\n description: The values of the label\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-go-name: Labels\n description: Optional. A single label and value pair specifying that\n usage from only this set of labeled resources should be included in\n the budget. Currently, multiple entries or multiple values per entry\n are not allowed. If omitted, the report will include all labeled and\n unlabeled usage.\n projects:\n type: array\n x-dcl-go-name: Projects\n description: Optional. A set of projects of the form `projects/{project}`,\n specifying that usage from only this set of projects should be included\n in the budget. If omitted, the report will include all usage for the\n billing account, regardless of which project the usage occurred on.\n Only zero or one project can be specified currently.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n services:\n type: array\n x-dcl-go-name: Services\n description: 'Optional. A set of services of the form `services/{service_id}`,\n specifying that usage from only this set of services should be included\n in the budget. If omitted, the report will include usage for all the\n services. The service names are available through the Catalog API:\n https://cloud.google.com/billing/v1/how-tos/catalog-api.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subaccounts:\n type: array\n x-dcl-go-name: Subaccounts\n description: Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,\n specifying that usage from only this set of subaccounts should be\n included in the budget. If a subaccount is set to the name of the\n parent account, usage from the parent account will be included. If\n the field is omitted, the report will include usage from the parent\n account and all subaccounts, if they exist.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudbilling/BillingAccount\n field: name\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: User data for display name in UI. The name must be less than\n or equal to 60 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Etag to validate that the object is unchanged for\n a read-modify-write operation. An empty etag will cause an update to overwrite\n other changes.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Resource name of the budget.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n thresholdRules:\n type: array\n x-dcl-go-name: ThresholdRules\n description: Optional. Rules that trigger alerts (notifications of thresholds\n being crossed) when spend exceeds the specified percentages of the budget.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BudgetThresholdRules\n required:\n - thresholdPercent\n properties:\n spendBasis:\n type: string\n x-dcl-go-name: SpendBasis\n x-dcl-go-type: BudgetThresholdRulesSpendBasisEnum\n description: 'Optional. The type of basis used to determine if spend\n has passed the threshold. Behavior defaults to CURRENT_SPEND if\n not set. Possible values: BASIS_UNSPECIFIED, CURRENT_SPEND, FORECASTED_SPEND'\n enum:\n - BASIS_UNSPECIFIED\n - CURRENT_SPEND\n - FORECASTED_SPEND\n thresholdPercent:\n type: number\n format: double\n x-dcl-go-name: ThresholdPercent\n description: 'Required. Send an alert when this threshold is exceeded.\n This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative\n number.'\n") +var YAML_budget = []byte("info:\n title: BillingBudgets/Budget\n description: The BillingBudgets Budget resource\n x-dcl-struct-name: Budget\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n apply:\n description: The function used to apply information about a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n delete:\n description: The function used to delete a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n deleteAll:\n description: The function used to delete all Budget\n parameters:\n - name: billingaccount\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Budget\n parameters:\n - name: billingaccount\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Budget:\n title: Budget\n x-dcl-id: billingAccounts/{{billing_account}}/budgets/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - amount\n - billingAccount\n properties:\n allUpdatesRule:\n type: object\n x-dcl-go-name: AllUpdatesRule\n x-dcl-go-type: BudgetAllUpdatesRule\n description: Optional. Rules to apply to notifications sent based on budget\n spend and thresholds.\n properties:\n disableDefaultIamRecipients:\n type: boolean\n x-dcl-go-name: DisableDefaultIamRecipients\n description: Optional. When set to true, disables default notifications\n sent when a threshold is exceeded. Default notifications are sent\n to those with Billing Account Administrator and Billing Account User\n IAM roles for the target account.\n monitoringNotificationChannels:\n type: array\n x-dcl-go-name: MonitoringNotificationChannels\n description: Optional. Targets to send notifications to when a threshold\n is exceeded. This is in addition to default recipients who have billing\n account IAM roles. The value is the full REST resource name of a monitoring\n notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`.\n A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients\n for more details.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Monitoring/NotificationChannel\n field: name\n pubsubTopic:\n type: string\n x-dcl-go-name: PubsubTopic\n description: Optional. The name of the Pub/Sub topic where budget related\n messages will be published, in the form `projects/{project_id}/topics/{topic_id}`.\n Updates are sent at regular intervals to the topic. The topic needs\n to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications\n for more details. Caller is expected to have `pubsub.topics.setIamPolicy`\n permission on the topic when it's set for a budget, otherwise, the\n API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task\n for more details on Pub/Sub roles and permissions.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n schemaVersion:\n type: string\n x-dcl-go-name: SchemaVersion\n description: Optional. Required when NotificationsRule.pubsub_topic\n is set. The schema version of the notification sent to NotificationsRule.pubsub_topic.\n Only \"1.0\" is accepted. It represents the JSON schema as defined in\n https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.\n amount:\n type: object\n x-dcl-go-name: Amount\n x-dcl-go-type: BudgetAmount\n description: Required. Budgeted amount.\n properties:\n lastPeriodAmount:\n type: object\n x-dcl-go-name: LastPeriodAmount\n x-dcl-go-type: BudgetAmountLastPeriodAmount\n description: Use the last period's actual spend as the budget for the\n present period. LastPeriodAmount can only be set when the budget's\n time period is a .\n x-dcl-conflicts:\n - specifiedAmount\n specifiedAmount:\n type: object\n x-dcl-go-name: SpecifiedAmount\n x-dcl-go-type: BudgetAmountSpecifiedAmount\n description: A specified amount to use as the budget. `currency_code`\n is optional. If specified when creating a budget, it must match the\n currency of the billing account. If specified when updating a budget,\n it must match the currency_code of the existing budget. The `currency_code`\n is provided on output.\n x-dcl-conflicts:\n - lastPeriodAmount\n properties:\n currencyCode:\n type: string\n x-dcl-go-name: CurrencyCode\n description: The three-letter currency code defined in ISO 4217.\n x-kubernetes-immutable: true\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Number of nano (10^-9) units of the amount. The value\n must be between -999,999,999 and +999,999,999 inclusive. If `units`\n is positive, `nanos` must be positive or zero. If `units` is zero,\n `nanos` can be positive, zero, or negative. If `units` is negative,\n `nanos` must be negative or zero. For example $-1.75 is represented\n as `units`=-1 and `nanos`=-750,000,000.\n x-dcl-send-empty: true\n units:\n type: integer\n format: int64\n x-dcl-go-name: Units\n description: The whole units of the amount. For example if `currencyCode`\n is `\"USD\"`, then 1 unit is one US dollar.\n x-dcl-send-empty: true\n billingAccount:\n type: string\n x-dcl-go-name: BillingAccount\n description: The billing account of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n budgetFilter:\n type: object\n x-dcl-go-name: BudgetFilter\n x-dcl-go-type: BudgetBudgetFilter\n description: Optional. Filters that define which resources are used to compute\n the actual spend against the budget amount, such as projects, services,\n and the budget's time period, as well as other filters.\n properties:\n calendarPeriod:\n type: string\n x-dcl-go-name: CalendarPeriod\n x-dcl-go-type: BudgetBudgetFilterCalendarPeriodEnum\n description: 'Optional. Specifies to track usage for recurring calendar\n period. For example, assume that CalendarPeriod.QUARTER is set. The\n budget will track usage from April 1 to June 30, when the current\n calendar month is April, May, June. After that, it will track usage\n from July 1 to September 30 when the current calendar month is July,\n August, September, so on. Possible values: CALENDAR_PERIOD_UNSPECIFIED,\n MONTH, QUARTER, YEAR'\n x-dcl-conflicts:\n - customPeriod\n x-dcl-server-default: true\n enum:\n - CALENDAR_PERIOD_UNSPECIFIED\n - MONTH\n - QUARTER\n - YEAR\n creditTypes:\n type: array\n x-dcl-go-name: CreditTypes\n description: Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS,\n this is a list of credit types to be subtracted from gross cost to\n determine the spend for threshold calculations. See a list of acceptable\n credit type values. If Filter.credit_types_treatment is not INCLUDE_SPECIFIED_CREDITS,\n this field must be empty.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n creditTypesTreatment:\n type: string\n x-dcl-go-name: CreditTypesTreatment\n x-dcl-go-type: BudgetBudgetFilterCreditTypesTreatmentEnum\n description: Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.\n x-dcl-server-default: true\n enum:\n - INCLUDE_ALL_CREDITS\n - EXCLUDE_ALL_CREDITS\n - INCLUDE_SPECIFIED_CREDITS\n customPeriod:\n type: object\n x-dcl-go-name: CustomPeriod\n x-dcl-go-type: BudgetBudgetFilterCustomPeriod\n description: Optional. Specifies to track usage from any start date\n (required) to any end date (optional). This time period is static,\n it does not recur.\n x-dcl-conflicts:\n - calendarPeriod\n required:\n - startDate\n properties:\n endDate:\n type: object\n x-dcl-go-name: EndDate\n x-dcl-go-type: BudgetBudgetFilterCustomPeriodEndDate\n description: Optional. The end date of the time period. Budgets\n with elapsed end date won't be processed. If unset, specifies\n to track all usage incurred since the start_date.\n x-kubernetes-immutable: true\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from 1 to 31 and valid\n for the year and month, or 0 to specify a year by itself or\n a year and month where the day isn't significant.\n x-kubernetes-immutable: true\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from 1 to 12, or 0 to\n specify a year without a month and day.\n x-kubernetes-immutable: true\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from 1 to 9999, or 0\n to specify a date without a year.\n x-kubernetes-immutable: true\n startDate:\n type: object\n x-dcl-go-name: StartDate\n x-dcl-go-type: BudgetBudgetFilterCustomPeriodStartDate\n description: Required. The start date must be after January 1, 2017.\n x-kubernetes-immutable: true\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from 1 to 31 and valid\n for the year and month, or 0 to specify a year by itself or\n a year and month where the day isn't significant.\n x-kubernetes-immutable: true\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from 1 to 12, or 0 to\n specify a year without a month and day.\n x-kubernetes-immutable: true\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from 1 to 9999, or 0\n to specify a date without a year.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: BudgetBudgetFilterLabels\n properties:\n values:\n type: array\n x-dcl-go-name: Values\n description: The values of the label\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-go-name: Labels\n description: Optional. A single label and value pair specifying that\n usage from only this set of labeled resources should be included in\n the budget. Currently, multiple entries or multiple values per entry\n are not allowed. If omitted, the report will include all labeled and\n unlabeled usage.\n projects:\n type: array\n x-dcl-go-name: Projects\n description: Optional. A set of projects of the form `projects/{project}`,\n specifying that usage from only this set of projects should be included\n in the budget. If omitted, the report will include all usage for the\n billing account, regardless of which project the usage occurred on.\n Only zero or one project can be specified currently.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n services:\n type: array\n x-dcl-go-name: Services\n description: 'Optional. A set of services of the form `services/{service_id}`,\n specifying that usage from only this set of services should be included\n in the budget. If omitted, the report will include usage for all the\n services. The service names are available through the Catalog API:\n https://cloud.google.com/billing/v1/how-tos/catalog-api.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subaccounts:\n type: array\n x-dcl-go-name: Subaccounts\n description: Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,\n specifying that usage from only this set of subaccounts should be\n included in the budget. If a subaccount is set to the name of the\n parent account, usage from the parent account will be included. If\n the field is omitted, the report will include usage from the parent\n account and all subaccounts, if they exist.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudbilling/BillingAccount\n field: name\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: User data for display name in UI. The name must be less than\n or equal to 60 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Etag to validate that the object is unchanged for\n a read-modify-write operation. An empty etag will cause an update to overwrite\n other changes.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Resource name of the budget.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n thresholdRules:\n type: array\n x-dcl-go-name: ThresholdRules\n description: Optional. Rules that trigger alerts (notifications of thresholds\n being crossed) when spend exceeds the specified percentages of the budget.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BudgetThresholdRules\n required:\n - thresholdPercent\n properties:\n spendBasis:\n type: string\n x-dcl-go-name: SpendBasis\n x-dcl-go-type: BudgetThresholdRulesSpendBasisEnum\n description: 'Optional. The type of basis used to determine if spend\n has passed the threshold. Behavior defaults to CURRENT_SPEND if\n not set. Possible values: BASIS_UNSPECIFIED, CURRENT_SPEND, FORECASTED_SPEND'\n enum:\n - BASIS_UNSPECIFIED\n - CURRENT_SPEND\n - FORECASTED_SPEND\n thresholdPercent:\n type: number\n format: double\n x-dcl-go-name: ThresholdPercent\n description: 'Required. Send an alert when this threshold is exceeded.\n This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative\n number.'\n") -// 18639 bytes -// MD5: d7645fa147be99ec0fce83a9a7c7838c +// 18664 bytes +// MD5: d6f6b93f3dc080447bb8b09931f4829a diff --git a/services/google/billingbudgets/alpha/budget_schema.go b/services/google/billingbudgets/alpha/budget_schema.go index 8c824f3f44..f02a989844 100755 --- a/services/google/billingbudgets/alpha/budget_schema.go +++ b/services/google/billingbudgets/alpha/budget_schema.go @@ -23,6 +23,7 @@ func DCLBudgetSchema() *dcl.Schema { Title: "BillingBudgets/Budget", Description: "The BillingBudgets Budget resource", StructName: "Budget", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/billingbudgets/beta/budget.yaml b/services/google/billingbudgets/beta/budget.yaml index 917b75e190..162cbb0534 100755 --- a/services/google/billingbudgets/beta/budget.yaml +++ b/services/google/billingbudgets/beta/budget.yaml @@ -15,6 +15,7 @@ info: title: BillingBudgets/Budget description: The BillingBudgets Budget resource x-dcl-struct-name: Budget + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/billingbudgets/beta/budget_beta_yaml_embed.go b/services/google/billingbudgets/beta/budget_beta_yaml_embed.go index 519c2f8469..4850fdd578 100755 --- a/services/google/billingbudgets/beta/budget_beta_yaml_embed.go +++ b/services/google/billingbudgets/beta/budget_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/billingbudgets/beta/budget.yaml -var YAML_budget = []byte("info:\n title: BillingBudgets/Budget\n description: The BillingBudgets Budget resource\n x-dcl-struct-name: Budget\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n apply:\n description: The function used to apply information about a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n delete:\n description: The function used to delete a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n deleteAll:\n description: The function used to delete all Budget\n parameters:\n - name: billingaccount\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Budget\n parameters:\n - name: billingaccount\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Budget:\n title: Budget\n x-dcl-id: billingAccounts/{{billing_account}}/budgets/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - amount\n - billingAccount\n properties:\n allUpdatesRule:\n type: object\n x-dcl-go-name: AllUpdatesRule\n x-dcl-go-type: BudgetAllUpdatesRule\n description: Optional. Rules to apply to notifications sent based on budget\n spend and thresholds.\n properties:\n disableDefaultIamRecipients:\n type: boolean\n x-dcl-go-name: DisableDefaultIamRecipients\n description: Optional. When set to true, disables default notifications\n sent when a threshold is exceeded. Default notifications are sent\n to those with Billing Account Administrator and Billing Account User\n IAM roles for the target account.\n monitoringNotificationChannels:\n type: array\n x-dcl-go-name: MonitoringNotificationChannels\n description: Optional. Targets to send notifications to when a threshold\n is exceeded. This is in addition to default recipients who have billing\n account IAM roles. The value is the full REST resource name of a monitoring\n notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`.\n A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients\n for more details.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Monitoring/NotificationChannel\n field: name\n pubsubTopic:\n type: string\n x-dcl-go-name: PubsubTopic\n description: Optional. The name of the Pub/Sub topic where budget related\n messages will be published, in the form `projects/{project_id}/topics/{topic_id}`.\n Updates are sent at regular intervals to the topic. The topic needs\n to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications\n for more details. Caller is expected to have `pubsub.topics.setIamPolicy`\n permission on the topic when it's set for a budget, otherwise, the\n API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task\n for more details on Pub/Sub roles and permissions.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n schemaVersion:\n type: string\n x-dcl-go-name: SchemaVersion\n description: Optional. Required when NotificationsRule.pubsub_topic\n is set. The schema version of the notification sent to NotificationsRule.pubsub_topic.\n Only \"1.0\" is accepted. It represents the JSON schema as defined in\n https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.\n amount:\n type: object\n x-dcl-go-name: Amount\n x-dcl-go-type: BudgetAmount\n description: Required. Budgeted amount.\n properties:\n lastPeriodAmount:\n type: object\n x-dcl-go-name: LastPeriodAmount\n x-dcl-go-type: BudgetAmountLastPeriodAmount\n description: Use the last period's actual spend as the budget for the\n present period. LastPeriodAmount can only be set when the budget's\n time period is a .\n x-dcl-conflicts:\n - specifiedAmount\n specifiedAmount:\n type: object\n x-dcl-go-name: SpecifiedAmount\n x-dcl-go-type: BudgetAmountSpecifiedAmount\n description: A specified amount to use as the budget. `currency_code`\n is optional. If specified when creating a budget, it must match the\n currency of the billing account. If specified when updating a budget,\n it must match the currency_code of the existing budget. The `currency_code`\n is provided on output.\n x-dcl-conflicts:\n - lastPeriodAmount\n properties:\n currencyCode:\n type: string\n x-dcl-go-name: CurrencyCode\n description: The three-letter currency code defined in ISO 4217.\n x-kubernetes-immutable: true\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Number of nano (10^-9) units of the amount. The value\n must be between -999,999,999 and +999,999,999 inclusive. If `units`\n is positive, `nanos` must be positive or zero. If `units` is zero,\n `nanos` can be positive, zero, or negative. If `units` is negative,\n `nanos` must be negative or zero. For example $-1.75 is represented\n as `units`=-1 and `nanos`=-750,000,000.\n x-dcl-send-empty: true\n units:\n type: integer\n format: int64\n x-dcl-go-name: Units\n description: The whole units of the amount. For example if `currencyCode`\n is `\"USD\"`, then 1 unit is one US dollar.\n x-dcl-send-empty: true\n billingAccount:\n type: string\n x-dcl-go-name: BillingAccount\n description: The billing account of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n budgetFilter:\n type: object\n x-dcl-go-name: BudgetFilter\n x-dcl-go-type: BudgetBudgetFilter\n description: Optional. Filters that define which resources are used to compute\n the actual spend against the budget amount, such as projects, services,\n and the budget's time period, as well as other filters.\n properties:\n calendarPeriod:\n type: string\n x-dcl-go-name: CalendarPeriod\n x-dcl-go-type: BudgetBudgetFilterCalendarPeriodEnum\n description: 'Optional. Specifies to track usage for recurring calendar\n period. For example, assume that CalendarPeriod.QUARTER is set. The\n budget will track usage from April 1 to June 30, when the current\n calendar month is April, May, June. After that, it will track usage\n from July 1 to September 30 when the current calendar month is July,\n August, September, so on. Possible values: CALENDAR_PERIOD_UNSPECIFIED,\n MONTH, QUARTER, YEAR'\n x-dcl-conflicts:\n - customPeriod\n x-dcl-server-default: true\n enum:\n - CALENDAR_PERIOD_UNSPECIFIED\n - MONTH\n - QUARTER\n - YEAR\n creditTypes:\n type: array\n x-dcl-go-name: CreditTypes\n description: Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS,\n this is a list of credit types to be subtracted from gross cost to\n determine the spend for threshold calculations. See a list of acceptable\n credit type values. If Filter.credit_types_treatment is not INCLUDE_SPECIFIED_CREDITS,\n this field must be empty.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n creditTypesTreatment:\n type: string\n x-dcl-go-name: CreditTypesTreatment\n x-dcl-go-type: BudgetBudgetFilterCreditTypesTreatmentEnum\n description: Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.\n x-dcl-server-default: true\n enum:\n - INCLUDE_ALL_CREDITS\n - EXCLUDE_ALL_CREDITS\n - INCLUDE_SPECIFIED_CREDITS\n customPeriod:\n type: object\n x-dcl-go-name: CustomPeriod\n x-dcl-go-type: BudgetBudgetFilterCustomPeriod\n description: Optional. Specifies to track usage from any start date\n (required) to any end date (optional). This time period is static,\n it does not recur.\n x-dcl-conflicts:\n - calendarPeriod\n required:\n - startDate\n properties:\n endDate:\n type: object\n x-dcl-go-name: EndDate\n x-dcl-go-type: BudgetBudgetFilterCustomPeriodEndDate\n description: Optional. The end date of the time period. Budgets\n with elapsed end date won't be processed. If unset, specifies\n to track all usage incurred since the start_date.\n x-kubernetes-immutable: true\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from 1 to 31 and valid\n for the year and month, or 0 to specify a year by itself or\n a year and month where the day isn't significant.\n x-kubernetes-immutable: true\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from 1 to 12, or 0 to\n specify a year without a month and day.\n x-kubernetes-immutable: true\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from 1 to 9999, or 0\n to specify a date without a year.\n x-kubernetes-immutable: true\n startDate:\n type: object\n x-dcl-go-name: StartDate\n x-dcl-go-type: BudgetBudgetFilterCustomPeriodStartDate\n description: Required. The start date must be after January 1, 2017.\n x-kubernetes-immutable: true\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from 1 to 31 and valid\n for the year and month, or 0 to specify a year by itself or\n a year and month where the day isn't significant.\n x-kubernetes-immutable: true\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from 1 to 12, or 0 to\n specify a year without a month and day.\n x-kubernetes-immutable: true\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from 1 to 9999, or 0\n to specify a date without a year.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: BudgetBudgetFilterLabels\n properties:\n values:\n type: array\n x-dcl-go-name: Values\n description: The values of the label\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-go-name: Labels\n description: Optional. A single label and value pair specifying that\n usage from only this set of labeled resources should be included in\n the budget. Currently, multiple entries or multiple values per entry\n are not allowed. If omitted, the report will include all labeled and\n unlabeled usage.\n projects:\n type: array\n x-dcl-go-name: Projects\n description: Optional. A set of projects of the form `projects/{project}`,\n specifying that usage from only this set of projects should be included\n in the budget. If omitted, the report will include all usage for the\n billing account, regardless of which project the usage occurred on.\n Only zero or one project can be specified currently.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n services:\n type: array\n x-dcl-go-name: Services\n description: 'Optional. A set of services of the form `services/{service_id}`,\n specifying that usage from only this set of services should be included\n in the budget. If omitted, the report will include usage for all the\n services. The service names are available through the Catalog API:\n https://cloud.google.com/billing/v1/how-tos/catalog-api.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subaccounts:\n type: array\n x-dcl-go-name: Subaccounts\n description: Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,\n specifying that usage from only this set of subaccounts should be\n included in the budget. If a subaccount is set to the name of the\n parent account, usage from the parent account will be included. If\n the field is omitted, the report will include usage from the parent\n account and all subaccounts, if they exist.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudbilling/BillingAccount\n field: name\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: User data for display name in UI. The name must be less than\n or equal to 60 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Etag to validate that the object is unchanged for\n a read-modify-write operation. An empty etag will cause an update to overwrite\n other changes.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Resource name of the budget.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n thresholdRules:\n type: array\n x-dcl-go-name: ThresholdRules\n description: Optional. Rules that trigger alerts (notifications of thresholds\n being crossed) when spend exceeds the specified percentages of the budget.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BudgetThresholdRules\n required:\n - thresholdPercent\n properties:\n spendBasis:\n type: string\n x-dcl-go-name: SpendBasis\n x-dcl-go-type: BudgetThresholdRulesSpendBasisEnum\n description: 'Optional. The type of basis used to determine if spend\n has passed the threshold. Behavior defaults to CURRENT_SPEND if\n not set. Possible values: BASIS_UNSPECIFIED, CURRENT_SPEND, FORECASTED_SPEND'\n enum:\n - BASIS_UNSPECIFIED\n - CURRENT_SPEND\n - FORECASTED_SPEND\n thresholdPercent:\n type: number\n format: double\n x-dcl-go-name: ThresholdPercent\n description: 'Required. Send an alert when this threshold is exceeded.\n This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative\n number.'\n") +var YAML_budget = []byte("info:\n title: BillingBudgets/Budget\n description: The BillingBudgets Budget resource\n x-dcl-struct-name: Budget\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n apply:\n description: The function used to apply information about a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n delete:\n description: The function used to delete a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n deleteAll:\n description: The function used to delete all Budget\n parameters:\n - name: billingaccount\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Budget\n parameters:\n - name: billingaccount\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Budget:\n title: Budget\n x-dcl-id: billingAccounts/{{billing_account}}/budgets/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - amount\n - billingAccount\n properties:\n allUpdatesRule:\n type: object\n x-dcl-go-name: AllUpdatesRule\n x-dcl-go-type: BudgetAllUpdatesRule\n description: Optional. Rules to apply to notifications sent based on budget\n spend and thresholds.\n properties:\n disableDefaultIamRecipients:\n type: boolean\n x-dcl-go-name: DisableDefaultIamRecipients\n description: Optional. When set to true, disables default notifications\n sent when a threshold is exceeded. Default notifications are sent\n to those with Billing Account Administrator and Billing Account User\n IAM roles for the target account.\n monitoringNotificationChannels:\n type: array\n x-dcl-go-name: MonitoringNotificationChannels\n description: Optional. Targets to send notifications to when a threshold\n is exceeded. This is in addition to default recipients who have billing\n account IAM roles. The value is the full REST resource name of a monitoring\n notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`.\n A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients\n for more details.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Monitoring/NotificationChannel\n field: name\n pubsubTopic:\n type: string\n x-dcl-go-name: PubsubTopic\n description: Optional. The name of the Pub/Sub topic where budget related\n messages will be published, in the form `projects/{project_id}/topics/{topic_id}`.\n Updates are sent at regular intervals to the topic. The topic needs\n to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications\n for more details. Caller is expected to have `pubsub.topics.setIamPolicy`\n permission on the topic when it's set for a budget, otherwise, the\n API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task\n for more details on Pub/Sub roles and permissions.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n schemaVersion:\n type: string\n x-dcl-go-name: SchemaVersion\n description: Optional. Required when NotificationsRule.pubsub_topic\n is set. The schema version of the notification sent to NotificationsRule.pubsub_topic.\n Only \"1.0\" is accepted. It represents the JSON schema as defined in\n https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.\n amount:\n type: object\n x-dcl-go-name: Amount\n x-dcl-go-type: BudgetAmount\n description: Required. Budgeted amount.\n properties:\n lastPeriodAmount:\n type: object\n x-dcl-go-name: LastPeriodAmount\n x-dcl-go-type: BudgetAmountLastPeriodAmount\n description: Use the last period's actual spend as the budget for the\n present period. LastPeriodAmount can only be set when the budget's\n time period is a .\n x-dcl-conflicts:\n - specifiedAmount\n specifiedAmount:\n type: object\n x-dcl-go-name: SpecifiedAmount\n x-dcl-go-type: BudgetAmountSpecifiedAmount\n description: A specified amount to use as the budget. `currency_code`\n is optional. If specified when creating a budget, it must match the\n currency of the billing account. If specified when updating a budget,\n it must match the currency_code of the existing budget. The `currency_code`\n is provided on output.\n x-dcl-conflicts:\n - lastPeriodAmount\n properties:\n currencyCode:\n type: string\n x-dcl-go-name: CurrencyCode\n description: The three-letter currency code defined in ISO 4217.\n x-kubernetes-immutable: true\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Number of nano (10^-9) units of the amount. The value\n must be between -999,999,999 and +999,999,999 inclusive. If `units`\n is positive, `nanos` must be positive or zero. If `units` is zero,\n `nanos` can be positive, zero, or negative. If `units` is negative,\n `nanos` must be negative or zero. For example $-1.75 is represented\n as `units`=-1 and `nanos`=-750,000,000.\n x-dcl-send-empty: true\n units:\n type: integer\n format: int64\n x-dcl-go-name: Units\n description: The whole units of the amount. For example if `currencyCode`\n is `\"USD\"`, then 1 unit is one US dollar.\n x-dcl-send-empty: true\n billingAccount:\n type: string\n x-dcl-go-name: BillingAccount\n description: The billing account of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n budgetFilter:\n type: object\n x-dcl-go-name: BudgetFilter\n x-dcl-go-type: BudgetBudgetFilter\n description: Optional. Filters that define which resources are used to compute\n the actual spend against the budget amount, such as projects, services,\n and the budget's time period, as well as other filters.\n properties:\n calendarPeriod:\n type: string\n x-dcl-go-name: CalendarPeriod\n x-dcl-go-type: BudgetBudgetFilterCalendarPeriodEnum\n description: 'Optional. Specifies to track usage for recurring calendar\n period. For example, assume that CalendarPeriod.QUARTER is set. The\n budget will track usage from April 1 to June 30, when the current\n calendar month is April, May, June. After that, it will track usage\n from July 1 to September 30 when the current calendar month is July,\n August, September, so on. Possible values: CALENDAR_PERIOD_UNSPECIFIED,\n MONTH, QUARTER, YEAR'\n x-dcl-conflicts:\n - customPeriod\n x-dcl-server-default: true\n enum:\n - CALENDAR_PERIOD_UNSPECIFIED\n - MONTH\n - QUARTER\n - YEAR\n creditTypes:\n type: array\n x-dcl-go-name: CreditTypes\n description: Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS,\n this is a list of credit types to be subtracted from gross cost to\n determine the spend for threshold calculations. See a list of acceptable\n credit type values. If Filter.credit_types_treatment is not INCLUDE_SPECIFIED_CREDITS,\n this field must be empty.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n creditTypesTreatment:\n type: string\n x-dcl-go-name: CreditTypesTreatment\n x-dcl-go-type: BudgetBudgetFilterCreditTypesTreatmentEnum\n description: Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.\n x-dcl-server-default: true\n enum:\n - INCLUDE_ALL_CREDITS\n - EXCLUDE_ALL_CREDITS\n - INCLUDE_SPECIFIED_CREDITS\n customPeriod:\n type: object\n x-dcl-go-name: CustomPeriod\n x-dcl-go-type: BudgetBudgetFilterCustomPeriod\n description: Optional. Specifies to track usage from any start date\n (required) to any end date (optional). This time period is static,\n it does not recur.\n x-dcl-conflicts:\n - calendarPeriod\n required:\n - startDate\n properties:\n endDate:\n type: object\n x-dcl-go-name: EndDate\n x-dcl-go-type: BudgetBudgetFilterCustomPeriodEndDate\n description: Optional. The end date of the time period. Budgets\n with elapsed end date won't be processed. If unset, specifies\n to track all usage incurred since the start_date.\n x-kubernetes-immutable: true\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from 1 to 31 and valid\n for the year and month, or 0 to specify a year by itself or\n a year and month where the day isn't significant.\n x-kubernetes-immutable: true\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from 1 to 12, or 0 to\n specify a year without a month and day.\n x-kubernetes-immutable: true\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from 1 to 9999, or 0\n to specify a date without a year.\n x-kubernetes-immutable: true\n startDate:\n type: object\n x-dcl-go-name: StartDate\n x-dcl-go-type: BudgetBudgetFilterCustomPeriodStartDate\n description: Required. The start date must be after January 1, 2017.\n x-kubernetes-immutable: true\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from 1 to 31 and valid\n for the year and month, or 0 to specify a year by itself or\n a year and month where the day isn't significant.\n x-kubernetes-immutable: true\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from 1 to 12, or 0 to\n specify a year without a month and day.\n x-kubernetes-immutable: true\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from 1 to 9999, or 0\n to specify a date without a year.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: BudgetBudgetFilterLabels\n properties:\n values:\n type: array\n x-dcl-go-name: Values\n description: The values of the label\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-go-name: Labels\n description: Optional. A single label and value pair specifying that\n usage from only this set of labeled resources should be included in\n the budget. Currently, multiple entries or multiple values per entry\n are not allowed. If omitted, the report will include all labeled and\n unlabeled usage.\n projects:\n type: array\n x-dcl-go-name: Projects\n description: Optional. A set of projects of the form `projects/{project}`,\n specifying that usage from only this set of projects should be included\n in the budget. If omitted, the report will include all usage for the\n billing account, regardless of which project the usage occurred on.\n Only zero or one project can be specified currently.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n services:\n type: array\n x-dcl-go-name: Services\n description: 'Optional. A set of services of the form `services/{service_id}`,\n specifying that usage from only this set of services should be included\n in the budget. If omitted, the report will include usage for all the\n services. The service names are available through the Catalog API:\n https://cloud.google.com/billing/v1/how-tos/catalog-api.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subaccounts:\n type: array\n x-dcl-go-name: Subaccounts\n description: Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,\n specifying that usage from only this set of subaccounts should be\n included in the budget. If a subaccount is set to the name of the\n parent account, usage from the parent account will be included. If\n the field is omitted, the report will include usage from the parent\n account and all subaccounts, if they exist.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudbilling/BillingAccount\n field: name\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: User data for display name in UI. The name must be less than\n or equal to 60 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Etag to validate that the object is unchanged for\n a read-modify-write operation. An empty etag will cause an update to overwrite\n other changes.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Resource name of the budget.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n thresholdRules:\n type: array\n x-dcl-go-name: ThresholdRules\n description: Optional. Rules that trigger alerts (notifications of thresholds\n being crossed) when spend exceeds the specified percentages of the budget.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BudgetThresholdRules\n required:\n - thresholdPercent\n properties:\n spendBasis:\n type: string\n x-dcl-go-name: SpendBasis\n x-dcl-go-type: BudgetThresholdRulesSpendBasisEnum\n description: 'Optional. The type of basis used to determine if spend\n has passed the threshold. Behavior defaults to CURRENT_SPEND if\n not set. Possible values: BASIS_UNSPECIFIED, CURRENT_SPEND, FORECASTED_SPEND'\n enum:\n - BASIS_UNSPECIFIED\n - CURRENT_SPEND\n - FORECASTED_SPEND\n thresholdPercent:\n type: number\n format: double\n x-dcl-go-name: ThresholdPercent\n description: 'Required. Send an alert when this threshold is exceeded.\n This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative\n number.'\n") -// 18639 bytes -// MD5: d7645fa147be99ec0fce83a9a7c7838c +// 18664 bytes +// MD5: d6f6b93f3dc080447bb8b09931f4829a diff --git a/services/google/billingbudgets/beta/budget_schema.go b/services/google/billingbudgets/beta/budget_schema.go index e9d3beac25..2da75a621d 100755 --- a/services/google/billingbudgets/beta/budget_schema.go +++ b/services/google/billingbudgets/beta/budget_schema.go @@ -23,6 +23,7 @@ func DCLBudgetSchema() *dcl.Schema { Title: "BillingBudgets/Budget", Description: "The BillingBudgets Budget resource", StructName: "Budget", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/billingbudgets/budget.yaml b/services/google/billingbudgets/budget.yaml index 917b75e190..162cbb0534 100755 --- a/services/google/billingbudgets/budget.yaml +++ b/services/google/billingbudgets/budget.yaml @@ -15,6 +15,7 @@ info: title: BillingBudgets/Budget description: The BillingBudgets Budget resource x-dcl-struct-name: Budget + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/billingbudgets/budget_schema.go b/services/google/billingbudgets/budget_schema.go index 42da8cb7b2..e14b8cf844 100755 --- a/services/google/billingbudgets/budget_schema.go +++ b/services/google/billingbudgets/budget_schema.go @@ -23,6 +23,7 @@ func DCLBudgetSchema() *dcl.Schema { Title: "BillingBudgets/Budget", Description: "The BillingBudgets Budget resource", StructName: "Budget", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/billingbudgets/budget_yaml_embed.go b/services/google/billingbudgets/budget_yaml_embed.go index e66bf8a763..a89f9d198f 100755 --- a/services/google/billingbudgets/budget_yaml_embed.go +++ b/services/google/billingbudgets/budget_yaml_embed.go @@ -17,7 +17,7 @@ package billingbudgets // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/billingbudgets/budget.yaml -var YAML_budget = []byte("info:\n title: BillingBudgets/Budget\n description: The BillingBudgets Budget resource\n x-dcl-struct-name: Budget\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n apply:\n description: The function used to apply information about a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n delete:\n description: The function used to delete a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n deleteAll:\n description: The function used to delete all Budget\n parameters:\n - name: billingaccount\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Budget\n parameters:\n - name: billingaccount\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Budget:\n title: Budget\n x-dcl-id: billingAccounts/{{billing_account}}/budgets/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - amount\n - billingAccount\n properties:\n allUpdatesRule:\n type: object\n x-dcl-go-name: AllUpdatesRule\n x-dcl-go-type: BudgetAllUpdatesRule\n description: Optional. Rules to apply to notifications sent based on budget\n spend and thresholds.\n properties:\n disableDefaultIamRecipients:\n type: boolean\n x-dcl-go-name: DisableDefaultIamRecipients\n description: Optional. When set to true, disables default notifications\n sent when a threshold is exceeded. Default notifications are sent\n to those with Billing Account Administrator and Billing Account User\n IAM roles for the target account.\n monitoringNotificationChannels:\n type: array\n x-dcl-go-name: MonitoringNotificationChannels\n description: Optional. Targets to send notifications to when a threshold\n is exceeded. This is in addition to default recipients who have billing\n account IAM roles. The value is the full REST resource name of a monitoring\n notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`.\n A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients\n for more details.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Monitoring/NotificationChannel\n field: name\n pubsubTopic:\n type: string\n x-dcl-go-name: PubsubTopic\n description: Optional. The name of the Pub/Sub topic where budget related\n messages will be published, in the form `projects/{project_id}/topics/{topic_id}`.\n Updates are sent at regular intervals to the topic. The topic needs\n to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications\n for more details. Caller is expected to have `pubsub.topics.setIamPolicy`\n permission on the topic when it's set for a budget, otherwise, the\n API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task\n for more details on Pub/Sub roles and permissions.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n schemaVersion:\n type: string\n x-dcl-go-name: SchemaVersion\n description: Optional. Required when NotificationsRule.pubsub_topic\n is set. The schema version of the notification sent to NotificationsRule.pubsub_topic.\n Only \"1.0\" is accepted. It represents the JSON schema as defined in\n https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.\n amount:\n type: object\n x-dcl-go-name: Amount\n x-dcl-go-type: BudgetAmount\n description: Required. Budgeted amount.\n properties:\n lastPeriodAmount:\n type: object\n x-dcl-go-name: LastPeriodAmount\n x-dcl-go-type: BudgetAmountLastPeriodAmount\n description: Use the last period's actual spend as the budget for the\n present period. LastPeriodAmount can only be set when the budget's\n time period is a .\n x-dcl-conflicts:\n - specifiedAmount\n specifiedAmount:\n type: object\n x-dcl-go-name: SpecifiedAmount\n x-dcl-go-type: BudgetAmountSpecifiedAmount\n description: A specified amount to use as the budget. `currency_code`\n is optional. If specified when creating a budget, it must match the\n currency of the billing account. If specified when updating a budget,\n it must match the currency_code of the existing budget. The `currency_code`\n is provided on output.\n x-dcl-conflicts:\n - lastPeriodAmount\n properties:\n currencyCode:\n type: string\n x-dcl-go-name: CurrencyCode\n description: The three-letter currency code defined in ISO 4217.\n x-kubernetes-immutable: true\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Number of nano (10^-9) units of the amount. The value\n must be between -999,999,999 and +999,999,999 inclusive. If `units`\n is positive, `nanos` must be positive or zero. If `units` is zero,\n `nanos` can be positive, zero, or negative. If `units` is negative,\n `nanos` must be negative or zero. For example $-1.75 is represented\n as `units`=-1 and `nanos`=-750,000,000.\n x-dcl-send-empty: true\n units:\n type: integer\n format: int64\n x-dcl-go-name: Units\n description: The whole units of the amount. For example if `currencyCode`\n is `\"USD\"`, then 1 unit is one US dollar.\n x-dcl-send-empty: true\n billingAccount:\n type: string\n x-dcl-go-name: BillingAccount\n description: The billing account of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n budgetFilter:\n type: object\n x-dcl-go-name: BudgetFilter\n x-dcl-go-type: BudgetBudgetFilter\n description: Optional. Filters that define which resources are used to compute\n the actual spend against the budget amount, such as projects, services,\n and the budget's time period, as well as other filters.\n properties:\n calendarPeriod:\n type: string\n x-dcl-go-name: CalendarPeriod\n x-dcl-go-type: BudgetBudgetFilterCalendarPeriodEnum\n description: 'Optional. Specifies to track usage for recurring calendar\n period. For example, assume that CalendarPeriod.QUARTER is set. The\n budget will track usage from April 1 to June 30, when the current\n calendar month is April, May, June. After that, it will track usage\n from July 1 to September 30 when the current calendar month is July,\n August, September, so on. Possible values: CALENDAR_PERIOD_UNSPECIFIED,\n MONTH, QUARTER, YEAR'\n x-dcl-conflicts:\n - customPeriod\n x-dcl-server-default: true\n enum:\n - CALENDAR_PERIOD_UNSPECIFIED\n - MONTH\n - QUARTER\n - YEAR\n creditTypes:\n type: array\n x-dcl-go-name: CreditTypes\n description: Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS,\n this is a list of credit types to be subtracted from gross cost to\n determine the spend for threshold calculations. See a list of acceptable\n credit type values. If Filter.credit_types_treatment is not INCLUDE_SPECIFIED_CREDITS,\n this field must be empty.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n creditTypesTreatment:\n type: string\n x-dcl-go-name: CreditTypesTreatment\n x-dcl-go-type: BudgetBudgetFilterCreditTypesTreatmentEnum\n description: Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.\n x-dcl-server-default: true\n enum:\n - INCLUDE_ALL_CREDITS\n - EXCLUDE_ALL_CREDITS\n - INCLUDE_SPECIFIED_CREDITS\n customPeriod:\n type: object\n x-dcl-go-name: CustomPeriod\n x-dcl-go-type: BudgetBudgetFilterCustomPeriod\n description: Optional. Specifies to track usage from any start date\n (required) to any end date (optional). This time period is static,\n it does not recur.\n x-dcl-conflicts:\n - calendarPeriod\n required:\n - startDate\n properties:\n endDate:\n type: object\n x-dcl-go-name: EndDate\n x-dcl-go-type: BudgetBudgetFilterCustomPeriodEndDate\n description: Optional. The end date of the time period. Budgets\n with elapsed end date won't be processed. If unset, specifies\n to track all usage incurred since the start_date.\n x-kubernetes-immutable: true\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from 1 to 31 and valid\n for the year and month, or 0 to specify a year by itself or\n a year and month where the day isn't significant.\n x-kubernetes-immutable: true\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from 1 to 12, or 0 to\n specify a year without a month and day.\n x-kubernetes-immutable: true\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from 1 to 9999, or 0\n to specify a date without a year.\n x-kubernetes-immutable: true\n startDate:\n type: object\n x-dcl-go-name: StartDate\n x-dcl-go-type: BudgetBudgetFilterCustomPeriodStartDate\n description: Required. The start date must be after January 1, 2017.\n x-kubernetes-immutable: true\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from 1 to 31 and valid\n for the year and month, or 0 to specify a year by itself or\n a year and month where the day isn't significant.\n x-kubernetes-immutable: true\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from 1 to 12, or 0 to\n specify a year without a month and day.\n x-kubernetes-immutable: true\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from 1 to 9999, or 0\n to specify a date without a year.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: BudgetBudgetFilterLabels\n properties:\n values:\n type: array\n x-dcl-go-name: Values\n description: The values of the label\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-go-name: Labels\n description: Optional. A single label and value pair specifying that\n usage from only this set of labeled resources should be included in\n the budget. Currently, multiple entries or multiple values per entry\n are not allowed. If omitted, the report will include all labeled and\n unlabeled usage.\n projects:\n type: array\n x-dcl-go-name: Projects\n description: Optional. A set of projects of the form `projects/{project}`,\n specifying that usage from only this set of projects should be included\n in the budget. If omitted, the report will include all usage for the\n billing account, regardless of which project the usage occurred on.\n Only zero or one project can be specified currently.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n services:\n type: array\n x-dcl-go-name: Services\n description: 'Optional. A set of services of the form `services/{service_id}`,\n specifying that usage from only this set of services should be included\n in the budget. If omitted, the report will include usage for all the\n services. The service names are available through the Catalog API:\n https://cloud.google.com/billing/v1/how-tos/catalog-api.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subaccounts:\n type: array\n x-dcl-go-name: Subaccounts\n description: Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,\n specifying that usage from only this set of subaccounts should be\n included in the budget. If a subaccount is set to the name of the\n parent account, usage from the parent account will be included. If\n the field is omitted, the report will include usage from the parent\n account and all subaccounts, if they exist.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudbilling/BillingAccount\n field: name\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: User data for display name in UI. The name must be less than\n or equal to 60 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Etag to validate that the object is unchanged for\n a read-modify-write operation. An empty etag will cause an update to overwrite\n other changes.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Resource name of the budget.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n thresholdRules:\n type: array\n x-dcl-go-name: ThresholdRules\n description: Optional. Rules that trigger alerts (notifications of thresholds\n being crossed) when spend exceeds the specified percentages of the budget.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BudgetThresholdRules\n required:\n - thresholdPercent\n properties:\n spendBasis:\n type: string\n x-dcl-go-name: SpendBasis\n x-dcl-go-type: BudgetThresholdRulesSpendBasisEnum\n description: 'Optional. The type of basis used to determine if spend\n has passed the threshold. Behavior defaults to CURRENT_SPEND if\n not set. Possible values: BASIS_UNSPECIFIED, CURRENT_SPEND, FORECASTED_SPEND'\n enum:\n - BASIS_UNSPECIFIED\n - CURRENT_SPEND\n - FORECASTED_SPEND\n thresholdPercent:\n type: number\n format: double\n x-dcl-go-name: ThresholdPercent\n description: 'Required. Send an alert when this threshold is exceeded.\n This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative\n number.'\n") +var YAML_budget = []byte("info:\n title: BillingBudgets/Budget\n description: The BillingBudgets Budget resource\n x-dcl-struct-name: Budget\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n apply:\n description: The function used to apply information about a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n delete:\n description: The function used to delete a Budget\n parameters:\n - name: Budget\n required: true\n description: A full instance of a Budget\n deleteAll:\n description: The function used to delete all Budget\n parameters:\n - name: billingaccount\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Budget\n parameters:\n - name: billingaccount\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Budget:\n title: Budget\n x-dcl-id: billingAccounts/{{billing_account}}/budgets/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - amount\n - billingAccount\n properties:\n allUpdatesRule:\n type: object\n x-dcl-go-name: AllUpdatesRule\n x-dcl-go-type: BudgetAllUpdatesRule\n description: Optional. Rules to apply to notifications sent based on budget\n spend and thresholds.\n properties:\n disableDefaultIamRecipients:\n type: boolean\n x-dcl-go-name: DisableDefaultIamRecipients\n description: Optional. When set to true, disables default notifications\n sent when a threshold is exceeded. Default notifications are sent\n to those with Billing Account Administrator and Billing Account User\n IAM roles for the target account.\n monitoringNotificationChannels:\n type: array\n x-dcl-go-name: MonitoringNotificationChannels\n description: Optional. Targets to send notifications to when a threshold\n is exceeded. This is in addition to default recipients who have billing\n account IAM roles. The value is the full REST resource name of a monitoring\n notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`.\n A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients\n for more details.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Monitoring/NotificationChannel\n field: name\n pubsubTopic:\n type: string\n x-dcl-go-name: PubsubTopic\n description: Optional. The name of the Pub/Sub topic where budget related\n messages will be published, in the form `projects/{project_id}/topics/{topic_id}`.\n Updates are sent at regular intervals to the topic. The topic needs\n to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications\n for more details. Caller is expected to have `pubsub.topics.setIamPolicy`\n permission on the topic when it's set for a budget, otherwise, the\n API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task\n for more details on Pub/Sub roles and permissions.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n schemaVersion:\n type: string\n x-dcl-go-name: SchemaVersion\n description: Optional. Required when NotificationsRule.pubsub_topic\n is set. The schema version of the notification sent to NotificationsRule.pubsub_topic.\n Only \"1.0\" is accepted. It represents the JSON schema as defined in\n https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.\n amount:\n type: object\n x-dcl-go-name: Amount\n x-dcl-go-type: BudgetAmount\n description: Required. Budgeted amount.\n properties:\n lastPeriodAmount:\n type: object\n x-dcl-go-name: LastPeriodAmount\n x-dcl-go-type: BudgetAmountLastPeriodAmount\n description: Use the last period's actual spend as the budget for the\n present period. LastPeriodAmount can only be set when the budget's\n time period is a .\n x-dcl-conflicts:\n - specifiedAmount\n specifiedAmount:\n type: object\n x-dcl-go-name: SpecifiedAmount\n x-dcl-go-type: BudgetAmountSpecifiedAmount\n description: A specified amount to use as the budget. `currency_code`\n is optional. If specified when creating a budget, it must match the\n currency of the billing account. If specified when updating a budget,\n it must match the currency_code of the existing budget. The `currency_code`\n is provided on output.\n x-dcl-conflicts:\n - lastPeriodAmount\n properties:\n currencyCode:\n type: string\n x-dcl-go-name: CurrencyCode\n description: The three-letter currency code defined in ISO 4217.\n x-kubernetes-immutable: true\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Number of nano (10^-9) units of the amount. The value\n must be between -999,999,999 and +999,999,999 inclusive. If `units`\n is positive, `nanos` must be positive or zero. If `units` is zero,\n `nanos` can be positive, zero, or negative. If `units` is negative,\n `nanos` must be negative or zero. For example $-1.75 is represented\n as `units`=-1 and `nanos`=-750,000,000.\n x-dcl-send-empty: true\n units:\n type: integer\n format: int64\n x-dcl-go-name: Units\n description: The whole units of the amount. For example if `currencyCode`\n is `\"USD\"`, then 1 unit is one US dollar.\n x-dcl-send-empty: true\n billingAccount:\n type: string\n x-dcl-go-name: BillingAccount\n description: The billing account of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n budgetFilter:\n type: object\n x-dcl-go-name: BudgetFilter\n x-dcl-go-type: BudgetBudgetFilter\n description: Optional. Filters that define which resources are used to compute\n the actual spend against the budget amount, such as projects, services,\n and the budget's time period, as well as other filters.\n properties:\n calendarPeriod:\n type: string\n x-dcl-go-name: CalendarPeriod\n x-dcl-go-type: BudgetBudgetFilterCalendarPeriodEnum\n description: 'Optional. Specifies to track usage for recurring calendar\n period. For example, assume that CalendarPeriod.QUARTER is set. The\n budget will track usage from April 1 to June 30, when the current\n calendar month is April, May, June. After that, it will track usage\n from July 1 to September 30 when the current calendar month is July,\n August, September, so on. Possible values: CALENDAR_PERIOD_UNSPECIFIED,\n MONTH, QUARTER, YEAR'\n x-dcl-conflicts:\n - customPeriod\n x-dcl-server-default: true\n enum:\n - CALENDAR_PERIOD_UNSPECIFIED\n - MONTH\n - QUARTER\n - YEAR\n creditTypes:\n type: array\n x-dcl-go-name: CreditTypes\n description: Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS,\n this is a list of credit types to be subtracted from gross cost to\n determine the spend for threshold calculations. See a list of acceptable\n credit type values. If Filter.credit_types_treatment is not INCLUDE_SPECIFIED_CREDITS,\n this field must be empty.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n creditTypesTreatment:\n type: string\n x-dcl-go-name: CreditTypesTreatment\n x-dcl-go-type: BudgetBudgetFilterCreditTypesTreatmentEnum\n description: Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.\n x-dcl-server-default: true\n enum:\n - INCLUDE_ALL_CREDITS\n - EXCLUDE_ALL_CREDITS\n - INCLUDE_SPECIFIED_CREDITS\n customPeriod:\n type: object\n x-dcl-go-name: CustomPeriod\n x-dcl-go-type: BudgetBudgetFilterCustomPeriod\n description: Optional. Specifies to track usage from any start date\n (required) to any end date (optional). This time period is static,\n it does not recur.\n x-dcl-conflicts:\n - calendarPeriod\n required:\n - startDate\n properties:\n endDate:\n type: object\n x-dcl-go-name: EndDate\n x-dcl-go-type: BudgetBudgetFilterCustomPeriodEndDate\n description: Optional. The end date of the time period. Budgets\n with elapsed end date won't be processed. If unset, specifies\n to track all usage incurred since the start_date.\n x-kubernetes-immutable: true\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from 1 to 31 and valid\n for the year and month, or 0 to specify a year by itself or\n a year and month where the day isn't significant.\n x-kubernetes-immutable: true\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from 1 to 12, or 0 to\n specify a year without a month and day.\n x-kubernetes-immutable: true\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from 1 to 9999, or 0\n to specify a date without a year.\n x-kubernetes-immutable: true\n startDate:\n type: object\n x-dcl-go-name: StartDate\n x-dcl-go-type: BudgetBudgetFilterCustomPeriodStartDate\n description: Required. The start date must be after January 1, 2017.\n x-kubernetes-immutable: true\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from 1 to 31 and valid\n for the year and month, or 0 to specify a year by itself or\n a year and month where the day isn't significant.\n x-kubernetes-immutable: true\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from 1 to 12, or 0 to\n specify a year without a month and day.\n x-kubernetes-immutable: true\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from 1 to 9999, or 0\n to specify a date without a year.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: BudgetBudgetFilterLabels\n properties:\n values:\n type: array\n x-dcl-go-name: Values\n description: The values of the label\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-go-name: Labels\n description: Optional. A single label and value pair specifying that\n usage from only this set of labeled resources should be included in\n the budget. Currently, multiple entries or multiple values per entry\n are not allowed. If omitted, the report will include all labeled and\n unlabeled usage.\n projects:\n type: array\n x-dcl-go-name: Projects\n description: Optional. A set of projects of the form `projects/{project}`,\n specifying that usage from only this set of projects should be included\n in the budget. If omitted, the report will include all usage for the\n billing account, regardless of which project the usage occurred on.\n Only zero or one project can be specified currently.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n services:\n type: array\n x-dcl-go-name: Services\n description: 'Optional. A set of services of the form `services/{service_id}`,\n specifying that usage from only this set of services should be included\n in the budget. If omitted, the report will include usage for all the\n services. The service names are available through the Catalog API:\n https://cloud.google.com/billing/v1/how-tos/catalog-api.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subaccounts:\n type: array\n x-dcl-go-name: Subaccounts\n description: Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,\n specifying that usage from only this set of subaccounts should be\n included in the budget. If a subaccount is set to the name of the\n parent account, usage from the parent account will be included. If\n the field is omitted, the report will include usage from the parent\n account and all subaccounts, if they exist.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudbilling/BillingAccount\n field: name\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: User data for display name in UI. The name must be less than\n or equal to 60 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Etag to validate that the object is unchanged for\n a read-modify-write operation. An empty etag will cause an update to overwrite\n other changes.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Resource name of the budget.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n thresholdRules:\n type: array\n x-dcl-go-name: ThresholdRules\n description: Optional. Rules that trigger alerts (notifications of thresholds\n being crossed) when spend exceeds the specified percentages of the budget.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BudgetThresholdRules\n required:\n - thresholdPercent\n properties:\n spendBasis:\n type: string\n x-dcl-go-name: SpendBasis\n x-dcl-go-type: BudgetThresholdRulesSpendBasisEnum\n description: 'Optional. The type of basis used to determine if spend\n has passed the threshold. Behavior defaults to CURRENT_SPEND if\n not set. Possible values: BASIS_UNSPECIFIED, CURRENT_SPEND, FORECASTED_SPEND'\n enum:\n - BASIS_UNSPECIFIED\n - CURRENT_SPEND\n - FORECASTED_SPEND\n thresholdPercent:\n type: number\n format: double\n x-dcl-go-name: ThresholdPercent\n description: 'Required. Send an alert when this threshold is exceeded.\n This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative\n number.'\n") -// 18639 bytes -// MD5: d7645fa147be99ec0fce83a9a7c7838c +// 18664 bytes +// MD5: d6f6b93f3dc080447bb8b09931f4829a diff --git a/services/google/binaryauthorization/alpha/attestor.yaml b/services/google/binaryauthorization/alpha/attestor.yaml index ddc3c55926..44f2d2f28e 100755 --- a/services/google/binaryauthorization/alpha/attestor.yaml +++ b/services/google/binaryauthorization/alpha/attestor.yaml @@ -15,6 +15,7 @@ info: title: BinaryAuthorization/Attestor description: The BinaryAuthorization Attestor resource x-dcl-struct-name: Attestor + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/binaryauthorization/alpha/attestor_alpha_yaml_embed.go b/services/google/binaryauthorization/alpha/attestor_alpha_yaml_embed.go index 323d1651ef..c857f55bf9 100755 --- a/services/google/binaryauthorization/alpha/attestor_alpha_yaml_embed.go +++ b/services/google/binaryauthorization/alpha/attestor_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/binaryauthorization/alpha/attestor.yaml -var YAML_attestor = []byte("info:\n title: BinaryAuthorization/Attestor\n description: The BinaryAuthorization Attestor resource\n x-dcl-struct-name: Attestor\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n apply:\n description: The function used to apply information about a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n delete:\n description: The function used to delete a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n deleteAll:\n description: The function used to delete all Attestor\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Attestor\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Attestor:\n title: Attestor\n x-dcl-id: projects/{{project}}/attestors/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A descriptive comment. This field may be updated.\n The field may be displayed in chooser dialogs.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. The resource name, in the format: `projects/*/attestors/*`.\n This field may not be updated.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time when the attestor was last updated.\n x-kubernetes-immutable: true\n userOwnedDrydockNote:\n type: object\n x-dcl-go-name: UserOwnedDrydockNote\n x-dcl-go-type: AttestorUserOwnedDrydockNote\n description: This specifies how an attestation will be read, and how it\n will be used during policy enforcement.\n required:\n - noteReference\n properties:\n delegationServiceAccountEmail:\n type: string\n x-dcl-go-name: DelegationServiceAccountEmail\n readOnly: true\n description: Output only. This field will contain the service account\n email address that this Attestor will use as the principal when querying\n Container Analysis. Attestor administrators must grant this service\n account the IAM role needed to read attestations from the in Container\n Analysis (`containeranalysis.notes.occurrences.viewer`). This email\n address is fixed for the lifetime of the Attestor, but callers should\n not make any other assumptions about the service account email; future\n versions may use an email based on a different naming pattern.\n x-kubernetes-immutable: true\n noteReference:\n type: string\n x-dcl-go-name: NoteReference\n description: 'Required. The Drydock resource name of a Attestation.\n Authority Note, created by the user, in the format: `projects/*/notes/*`.\n This field may not be updated. An attestation by this attestor is\n stored as a Grafeas Attestation. Authority Occurrence that names a\n container image and that links to this Note. Grafeas is an external\n dependency.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Containeranalysis/Note\n field: name\n publicKeys:\n type: array\n x-dcl-go-name: PublicKeys\n description: Optional. Public keys that verify attestations signed by\n this attestor. This field may be updated. If this field is non-empty,\n one of the specified public keys must verify that an attestation was\n signed by this attestor for the image specified in the admission request.\n If this field is empty, this attestor always returns that no valid\n attestations exist.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeys\n properties:\n asciiArmoredPgpPublicKey:\n type: string\n x-dcl-go-name: AsciiArmoredPgpPublicKey\n description: ASCII-armored representation of a PGP public key,\n as the entire output by the command `gpg --export --armor foo@example.com`\n (either LF or CRLF line endings). When using this field, `id`\n should be left blank. The BinAuthz API handlers will calculate\n the ID and fill it in automatically. BinAuthz computes this\n ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case\n hex. If `id` is provided by the caller, it will be overwritten\n by the API-calculated ID.\n comment:\n type: string\n x-dcl-go-name: Comment\n description: Optional. A descriptive comment. This field may be\n updated.\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of this public key. Signatures verified by\n BinAuthz must include the ID of the public key that can be used\n to verify them, and that ID must match the contents of this\n field exactly. Additional restrictions on this field can be\n imposed based on which public key type is encapsulated. See\n the documentation on `public_key` cases below for details.\n pkixPublicKey:\n type: object\n x-dcl-go-name: PkixPublicKey\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeysPkixPublicKey\n description: 'A raw PKIX SubjectPublicKeyInfo format public key.\n NOTE: `id` may be explicitly provided by the caller when using\n this type of public key, but it MUST be a valid RFC3986 URI.\n If `id` is left blank, a default one will be computed based\n on the digest of the DER encoding of the public key.'\n properties:\n publicKeyPem:\n type: string\n x-dcl-go-name: PublicKeyPem\n description: A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13\n signatureAlgorithm:\n type: string\n x-dcl-go-name: SignatureAlgorithm\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeysPkixPublicKeySignatureAlgorithmEnum\n description: 'The signature algorithm used to verify a message\n against a signature using this key. These signature algorithm\n must match the structure and any object identifiers encoded\n in `public_key_pem` (i.e. this algorithm must match that\n of the public key). Possible values: SIGNATURE_ALGORITHM_UNSPECIFIED,\n RSA_PSS_2048_SHA256, RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256,\n RSA_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256, RSA_SIGN_PKCS1_3072_SHA256,\n RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n ECDSA_P256_SHA256, EC_SIGN_P256_SHA256, ECDSA_P384_SHA384,\n EC_SIGN_P384_SHA384, ECDSA_P521_SHA512, EC_SIGN_P521_SHA512'\n enum:\n - SIGNATURE_ALGORITHM_UNSPECIFIED\n - RSA_PSS_2048_SHA256\n - RSA_PSS_3072_SHA256\n - RSA_PSS_4096_SHA256\n - RSA_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - ECDSA_P256_SHA256\n - EC_SIGN_P256_SHA256\n - ECDSA_P384_SHA384\n - EC_SIGN_P384_SHA384\n - ECDSA_P521_SHA512\n - EC_SIGN_P521_SHA512\n") +var YAML_attestor = []byte("info:\n title: BinaryAuthorization/Attestor\n description: The BinaryAuthorization Attestor resource\n x-dcl-struct-name: Attestor\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n apply:\n description: The function used to apply information about a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n delete:\n description: The function used to delete a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n deleteAll:\n description: The function used to delete all Attestor\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Attestor\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Attestor:\n title: Attestor\n x-dcl-id: projects/{{project}}/attestors/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A descriptive comment. This field may be updated.\n The field may be displayed in chooser dialogs.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. The resource name, in the format: `projects/*/attestors/*`.\n This field may not be updated.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time when the attestor was last updated.\n x-kubernetes-immutable: true\n userOwnedDrydockNote:\n type: object\n x-dcl-go-name: UserOwnedDrydockNote\n x-dcl-go-type: AttestorUserOwnedDrydockNote\n description: This specifies how an attestation will be read, and how it\n will be used during policy enforcement.\n required:\n - noteReference\n properties:\n delegationServiceAccountEmail:\n type: string\n x-dcl-go-name: DelegationServiceAccountEmail\n readOnly: true\n description: Output only. This field will contain the service account\n email address that this Attestor will use as the principal when querying\n Container Analysis. Attestor administrators must grant this service\n account the IAM role needed to read attestations from the in Container\n Analysis (`containeranalysis.notes.occurrences.viewer`). This email\n address is fixed for the lifetime of the Attestor, but callers should\n not make any other assumptions about the service account email; future\n versions may use an email based on a different naming pattern.\n x-kubernetes-immutable: true\n noteReference:\n type: string\n x-dcl-go-name: NoteReference\n description: 'Required. The Drydock resource name of a Attestation.\n Authority Note, created by the user, in the format: `projects/*/notes/*`.\n This field may not be updated. An attestation by this attestor is\n stored as a Grafeas Attestation. Authority Occurrence that names a\n container image and that links to this Note. Grafeas is an external\n dependency.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Containeranalysis/Note\n field: name\n publicKeys:\n type: array\n x-dcl-go-name: PublicKeys\n description: Optional. Public keys that verify attestations signed by\n this attestor. This field may be updated. If this field is non-empty,\n one of the specified public keys must verify that an attestation was\n signed by this attestor for the image specified in the admission request.\n If this field is empty, this attestor always returns that no valid\n attestations exist.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeys\n properties:\n asciiArmoredPgpPublicKey:\n type: string\n x-dcl-go-name: AsciiArmoredPgpPublicKey\n description: ASCII-armored representation of a PGP public key,\n as the entire output by the command `gpg --export --armor foo@example.com`\n (either LF or CRLF line endings). When using this field, `id`\n should be left blank. The BinAuthz API handlers will calculate\n the ID and fill it in automatically. BinAuthz computes this\n ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case\n hex. If `id` is provided by the caller, it will be overwritten\n by the API-calculated ID.\n comment:\n type: string\n x-dcl-go-name: Comment\n description: Optional. A descriptive comment. This field may be\n updated.\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of this public key. Signatures verified by\n BinAuthz must include the ID of the public key that can be used\n to verify them, and that ID must match the contents of this\n field exactly. Additional restrictions on this field can be\n imposed based on which public key type is encapsulated. See\n the documentation on `public_key` cases below for details.\n pkixPublicKey:\n type: object\n x-dcl-go-name: PkixPublicKey\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeysPkixPublicKey\n description: 'A raw PKIX SubjectPublicKeyInfo format public key.\n NOTE: `id` may be explicitly provided by the caller when using\n this type of public key, but it MUST be a valid RFC3986 URI.\n If `id` is left blank, a default one will be computed based\n on the digest of the DER encoding of the public key.'\n properties:\n publicKeyPem:\n type: string\n x-dcl-go-name: PublicKeyPem\n description: A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13\n signatureAlgorithm:\n type: string\n x-dcl-go-name: SignatureAlgorithm\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeysPkixPublicKeySignatureAlgorithmEnum\n description: 'The signature algorithm used to verify a message\n against a signature using this key. These signature algorithm\n must match the structure and any object identifiers encoded\n in `public_key_pem` (i.e. this algorithm must match that\n of the public key). Possible values: SIGNATURE_ALGORITHM_UNSPECIFIED,\n RSA_PSS_2048_SHA256, RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256,\n RSA_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256, RSA_SIGN_PKCS1_3072_SHA256,\n RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n ECDSA_P256_SHA256, EC_SIGN_P256_SHA256, ECDSA_P384_SHA384,\n EC_SIGN_P384_SHA384, ECDSA_P521_SHA512, EC_SIGN_P521_SHA512'\n enum:\n - SIGNATURE_ALGORITHM_UNSPECIFIED\n - RSA_PSS_2048_SHA256\n - RSA_PSS_3072_SHA256\n - RSA_PSS_4096_SHA256\n - RSA_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - ECDSA_P256_SHA256\n - EC_SIGN_P256_SHA256\n - ECDSA_P384_SHA384\n - EC_SIGN_P384_SHA384\n - ECDSA_P521_SHA512\n - EC_SIGN_P521_SHA512\n") -// 9409 bytes -// MD5: 258af928d70b3a58249e6d524835e5bf +// 9434 bytes +// MD5: eab3e93102648aaf55022559537fbf74 diff --git a/services/google/binaryauthorization/alpha/attestor_schema.go b/services/google/binaryauthorization/alpha/attestor_schema.go index 7f7004b59b..9774e16125 100755 --- a/services/google/binaryauthorization/alpha/attestor_schema.go +++ b/services/google/binaryauthorization/alpha/attestor_schema.go @@ -23,6 +23,7 @@ func DCLAttestorSchema() *dcl.Schema { Title: "BinaryAuthorization/Attestor", Description: "The BinaryAuthorization Attestor resource", StructName: "Attestor", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/binaryauthorization/alpha/policy.yaml b/services/google/binaryauthorization/alpha/policy.yaml index 780644896d..00e7003220 100755 --- a/services/google/binaryauthorization/alpha/policy.yaml +++ b/services/google/binaryauthorization/alpha/policy.yaml @@ -15,6 +15,7 @@ info: title: BinaryAuthorization/Policy description: The BinaryAuthorization Policy resource x-dcl-struct-name: Policy + x-dcl-has-create: false x-dcl-has-iam: true paths: get: diff --git a/services/google/binaryauthorization/alpha/policy_alpha_yaml_embed.go b/services/google/binaryauthorization/alpha/policy_alpha_yaml_embed.go index 678d10ad5c..abaa1a44cf 100755 --- a/services/google/binaryauthorization/alpha/policy_alpha_yaml_embed.go +++ b/services/google/binaryauthorization/alpha/policy_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/binaryauthorization/alpha/policy.yaml -var YAML_policy = []byte("info:\n title: BinaryAuthorization/Policy\n description: The BinaryAuthorization Policy resource\n x-dcl-struct-name: Policy\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n apply:\n description: The function used to apply information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\ncomponents:\n schemas:\n Policy:\n title: Policy\n x-dcl-id: projects/{{project}}/policy\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - defaultAdmissionRule\n properties:\n admissionWhitelistPatterns:\n type: array\n x-dcl-go-name: AdmissionWhitelistPatterns\n description: Optional. Admission policy allowlisting. A matching admission\n request will always be permitted. This feature is typically used to exclude\n Google or third-party infrastructure images from Binary Authorization\n policies.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PolicyAdmissionWhitelistPatterns\n properties:\n namePattern:\n type: string\n x-dcl-go-name: NamePattern\n description: An image name pattern to allowlist, in the form `registry/path/to/image`.\n This supports a trailing `*` as a wildcard, but this is allowed\n only in text after the `registry/` part.\n clusterAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyClusterAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyClusterAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyClusterAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: ClusterAdmissionRules\n description: 'Optional. Per-cluster admission rules. Cluster spec format:\n location.clusterId. There can be at most one admission rule per cluster\n spec. A location is either a compute zone (e.g. us-central1-a) or a region\n (e.g. us-central1). For clusterId syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.'\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - kubernetesServiceAccountAdmissionRules\n - istioServiceIdentityAdmissionRules\n defaultAdmissionRule:\n type: object\n x-dcl-go-name: DefaultAdmissionRule\n x-dcl-go-type: PolicyDefaultAdmissionRule\n description: Required. Default admission rule for a cluster without a per-cluster,\n per-kubernetes-service-account, or per-istio-service-identity admission\n rule.\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyDefaultAdmissionRuleEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyDefaultAdmissionRuleEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated. Possible\n values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change request\n must be able to read the attestor resource. Note: this field must\n be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A descriptive comment.\n globalPolicyEvaluationMode:\n type: string\n x-dcl-go-name: GlobalPolicyEvaluationMode\n x-dcl-go-type: PolicyGlobalPolicyEvaluationModeEnum\n description: 'Optional. Controls the evaluation of a Google-maintained global\n admission policy for common system-level images. Images not covered by\n the global policy will be subject to the project admission policy. This\n setting has no effect when specified inside a global admission policy.\n Possible values: GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED, ENABLE, DISABLE'\n enum:\n - GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED\n - ENABLE\n - DISABLE\n istioServiceIdentityAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: IstioServiceIdentityAdmissionRules\n description: 'Optional. Per-istio-service-identity admission rules. Istio\n service identity spec format: spiffe:///ns//sa/ or /ns//sa/ e.g. spiffe://example.com/ns/test-ns/sa/default'\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - kubernetesServiceAccountAdmissionRules\n - clusterAdmissionRules\n kubernetesNamespaceAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: KubernetesNamespaceAdmissionRules\n description: 'Optional. Per-kubernetes-namespace admission rules. K8s namespace\n spec format: [a-z.-]+, e.g. ''some-namespace'''\n x-dcl-conflicts:\n - kubernetesServiceAccountAdmissionRules\n - istioServiceIdentityAdmissionRules\n - clusterAdmissionRules\n kubernetesServiceAccountAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: KubernetesServiceAccountAdmissionRules\n description: 'Optional. Per-kubernetes-service-account admission rules.\n Service account spec format: namespace:serviceaccount. e.g. ''test-ns:default'''\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - istioServiceIdentityAdmissionRules\n - clusterAdmissionRules\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. The resource name, in the format `projects/*/policy`.\n There is at most one policy per project.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time when the policy was last updated.\n x-kubernetes-immutable: true\n") +var YAML_policy = []byte("info:\n title: BinaryAuthorization/Policy\n description: The BinaryAuthorization Policy resource\n x-dcl-struct-name: Policy\n x-dcl-has-create: false\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n apply:\n description: The function used to apply information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\ncomponents:\n schemas:\n Policy:\n title: Policy\n x-dcl-id: projects/{{project}}/policy\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - defaultAdmissionRule\n properties:\n admissionWhitelistPatterns:\n type: array\n x-dcl-go-name: AdmissionWhitelistPatterns\n description: Optional. Admission policy allowlisting. A matching admission\n request will always be permitted. This feature is typically used to exclude\n Google or third-party infrastructure images from Binary Authorization\n policies.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PolicyAdmissionWhitelistPatterns\n properties:\n namePattern:\n type: string\n x-dcl-go-name: NamePattern\n description: An image name pattern to allowlist, in the form `registry/path/to/image`.\n This supports a trailing `*` as a wildcard, but this is allowed\n only in text after the `registry/` part.\n clusterAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyClusterAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyClusterAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyClusterAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: ClusterAdmissionRules\n description: 'Optional. Per-cluster admission rules. Cluster spec format:\n location.clusterId. There can be at most one admission rule per cluster\n spec. A location is either a compute zone (e.g. us-central1-a) or a region\n (e.g. us-central1). For clusterId syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.'\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - kubernetesServiceAccountAdmissionRules\n - istioServiceIdentityAdmissionRules\n defaultAdmissionRule:\n type: object\n x-dcl-go-name: DefaultAdmissionRule\n x-dcl-go-type: PolicyDefaultAdmissionRule\n description: Required. Default admission rule for a cluster without a per-cluster,\n per-kubernetes-service-account, or per-istio-service-identity admission\n rule.\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyDefaultAdmissionRuleEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyDefaultAdmissionRuleEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated. Possible\n values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change request\n must be able to read the attestor resource. Note: this field must\n be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A descriptive comment.\n globalPolicyEvaluationMode:\n type: string\n x-dcl-go-name: GlobalPolicyEvaluationMode\n x-dcl-go-type: PolicyGlobalPolicyEvaluationModeEnum\n description: 'Optional. Controls the evaluation of a Google-maintained global\n admission policy for common system-level images. Images not covered by\n the global policy will be subject to the project admission policy. This\n setting has no effect when specified inside a global admission policy.\n Possible values: GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED, ENABLE, DISABLE'\n enum:\n - GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED\n - ENABLE\n - DISABLE\n istioServiceIdentityAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: IstioServiceIdentityAdmissionRules\n description: 'Optional. Per-istio-service-identity admission rules. Istio\n service identity spec format: spiffe:///ns//sa/ or /ns//sa/ e.g. spiffe://example.com/ns/test-ns/sa/default'\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - kubernetesServiceAccountAdmissionRules\n - clusterAdmissionRules\n kubernetesNamespaceAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: KubernetesNamespaceAdmissionRules\n description: 'Optional. Per-kubernetes-namespace admission rules. K8s namespace\n spec format: [a-z.-]+, e.g. ''some-namespace'''\n x-dcl-conflicts:\n - kubernetesServiceAccountAdmissionRules\n - istioServiceIdentityAdmissionRules\n - clusterAdmissionRules\n kubernetesServiceAccountAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: KubernetesServiceAccountAdmissionRules\n description: 'Optional. Per-kubernetes-service-account admission rules.\n Service account spec format: namespace:serviceaccount. e.g. ''test-ns:default'''\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - istioServiceIdentityAdmissionRules\n - clusterAdmissionRules\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. The resource name, in the format `projects/*/policy`.\n There is at most one policy per project.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time when the policy was last updated.\n x-kubernetes-immutable: true\n") -// 16961 bytes -// MD5: 43dd0b7c1590b834df4dda9997204f18 +// 16987 bytes +// MD5: d1c6033913135cb67dfc3781ee1470be diff --git a/services/google/binaryauthorization/attestor.yaml b/services/google/binaryauthorization/attestor.yaml index ddc3c55926..44f2d2f28e 100755 --- a/services/google/binaryauthorization/attestor.yaml +++ b/services/google/binaryauthorization/attestor.yaml @@ -15,6 +15,7 @@ info: title: BinaryAuthorization/Attestor description: The BinaryAuthorization Attestor resource x-dcl-struct-name: Attestor + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/binaryauthorization/attestor_schema.go b/services/google/binaryauthorization/attestor_schema.go index a4e454982a..ba06f8628c 100755 --- a/services/google/binaryauthorization/attestor_schema.go +++ b/services/google/binaryauthorization/attestor_schema.go @@ -23,6 +23,7 @@ func DCLAttestorSchema() *dcl.Schema { Title: "BinaryAuthorization/Attestor", Description: "The BinaryAuthorization Attestor resource", StructName: "Attestor", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/binaryauthorization/attestor_yaml_embed.go b/services/google/binaryauthorization/attestor_yaml_embed.go index 4583f34167..dbc3048a40 100755 --- a/services/google/binaryauthorization/attestor_yaml_embed.go +++ b/services/google/binaryauthorization/attestor_yaml_embed.go @@ -17,7 +17,7 @@ package binaryauthorization // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/binaryauthorization/attestor.yaml -var YAML_attestor = []byte("info:\n title: BinaryAuthorization/Attestor\n description: The BinaryAuthorization Attestor resource\n x-dcl-struct-name: Attestor\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n apply:\n description: The function used to apply information about a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n delete:\n description: The function used to delete a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n deleteAll:\n description: The function used to delete all Attestor\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Attestor\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Attestor:\n title: Attestor\n x-dcl-id: projects/{{project}}/attestors/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A descriptive comment. This field may be updated.\n The field may be displayed in chooser dialogs.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. The resource name, in the format: `projects/*/attestors/*`.\n This field may not be updated.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time when the attestor was last updated.\n x-kubernetes-immutable: true\n userOwnedDrydockNote:\n type: object\n x-dcl-go-name: UserOwnedDrydockNote\n x-dcl-go-type: AttestorUserOwnedDrydockNote\n description: This specifies how an attestation will be read, and how it\n will be used during policy enforcement.\n required:\n - noteReference\n properties:\n delegationServiceAccountEmail:\n type: string\n x-dcl-go-name: DelegationServiceAccountEmail\n readOnly: true\n description: Output only. This field will contain the service account\n email address that this Attestor will use as the principal when querying\n Container Analysis. Attestor administrators must grant this service\n account the IAM role needed to read attestations from the in Container\n Analysis (`containeranalysis.notes.occurrences.viewer`). This email\n address is fixed for the lifetime of the Attestor, but callers should\n not make any other assumptions about the service account email; future\n versions may use an email based on a different naming pattern.\n x-kubernetes-immutable: true\n noteReference:\n type: string\n x-dcl-go-name: NoteReference\n description: 'Required. The Drydock resource name of a Attestation.\n Authority Note, created by the user, in the format: `projects/*/notes/*`.\n This field may not be updated. An attestation by this attestor is\n stored as a Grafeas Attestation. Authority Occurrence that names a\n container image and that links to this Note. Grafeas is an external\n dependency.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Containeranalysis/Note\n field: name\n publicKeys:\n type: array\n x-dcl-go-name: PublicKeys\n description: Optional. Public keys that verify attestations signed by\n this attestor. This field may be updated. If this field is non-empty,\n one of the specified public keys must verify that an attestation was\n signed by this attestor for the image specified in the admission request.\n If this field is empty, this attestor always returns that no valid\n attestations exist.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeys\n properties:\n asciiArmoredPgpPublicKey:\n type: string\n x-dcl-go-name: AsciiArmoredPgpPublicKey\n description: ASCII-armored representation of a PGP public key,\n as the entire output by the command `gpg --export --armor foo@example.com`\n (either LF or CRLF line endings). When using this field, `id`\n should be left blank. The BinAuthz API handlers will calculate\n the ID and fill it in automatically. BinAuthz computes this\n ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case\n hex. If `id` is provided by the caller, it will be overwritten\n by the API-calculated ID.\n comment:\n type: string\n x-dcl-go-name: Comment\n description: Optional. A descriptive comment. This field may be\n updated.\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of this public key. Signatures verified by\n BinAuthz must include the ID of the public key that can be used\n to verify them, and that ID must match the contents of this\n field exactly. Additional restrictions on this field can be\n imposed based on which public key type is encapsulated. See\n the documentation on `public_key` cases below for details.\n pkixPublicKey:\n type: object\n x-dcl-go-name: PkixPublicKey\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeysPkixPublicKey\n description: 'A raw PKIX SubjectPublicKeyInfo format public key.\n NOTE: `id` may be explicitly provided by the caller when using\n this type of public key, but it MUST be a valid RFC3986 URI.\n If `id` is left blank, a default one will be computed based\n on the digest of the DER encoding of the public key.'\n properties:\n publicKeyPem:\n type: string\n x-dcl-go-name: PublicKeyPem\n description: A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13\n signatureAlgorithm:\n type: string\n x-dcl-go-name: SignatureAlgorithm\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeysPkixPublicKeySignatureAlgorithmEnum\n description: 'The signature algorithm used to verify a message\n against a signature using this key. These signature algorithm\n must match the structure and any object identifiers encoded\n in `public_key_pem` (i.e. this algorithm must match that\n of the public key). Possible values: SIGNATURE_ALGORITHM_UNSPECIFIED,\n RSA_PSS_2048_SHA256, RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256,\n RSA_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256, RSA_SIGN_PKCS1_3072_SHA256,\n RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n ECDSA_P256_SHA256, EC_SIGN_P256_SHA256, ECDSA_P384_SHA384,\n EC_SIGN_P384_SHA384, ECDSA_P521_SHA512, EC_SIGN_P521_SHA512'\n enum:\n - SIGNATURE_ALGORITHM_UNSPECIFIED\n - RSA_PSS_2048_SHA256\n - RSA_PSS_3072_SHA256\n - RSA_PSS_4096_SHA256\n - RSA_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - ECDSA_P256_SHA256\n - EC_SIGN_P256_SHA256\n - ECDSA_P384_SHA384\n - EC_SIGN_P384_SHA384\n - ECDSA_P521_SHA512\n - EC_SIGN_P521_SHA512\n") +var YAML_attestor = []byte("info:\n title: BinaryAuthorization/Attestor\n description: The BinaryAuthorization Attestor resource\n x-dcl-struct-name: Attestor\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n apply:\n description: The function used to apply information about a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n delete:\n description: The function used to delete a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n deleteAll:\n description: The function used to delete all Attestor\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Attestor\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Attestor:\n title: Attestor\n x-dcl-id: projects/{{project}}/attestors/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A descriptive comment. This field may be updated.\n The field may be displayed in chooser dialogs.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. The resource name, in the format: `projects/*/attestors/*`.\n This field may not be updated.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time when the attestor was last updated.\n x-kubernetes-immutable: true\n userOwnedDrydockNote:\n type: object\n x-dcl-go-name: UserOwnedDrydockNote\n x-dcl-go-type: AttestorUserOwnedDrydockNote\n description: This specifies how an attestation will be read, and how it\n will be used during policy enforcement.\n required:\n - noteReference\n properties:\n delegationServiceAccountEmail:\n type: string\n x-dcl-go-name: DelegationServiceAccountEmail\n readOnly: true\n description: Output only. This field will contain the service account\n email address that this Attestor will use as the principal when querying\n Container Analysis. Attestor administrators must grant this service\n account the IAM role needed to read attestations from the in Container\n Analysis (`containeranalysis.notes.occurrences.viewer`). This email\n address is fixed for the lifetime of the Attestor, but callers should\n not make any other assumptions about the service account email; future\n versions may use an email based on a different naming pattern.\n x-kubernetes-immutable: true\n noteReference:\n type: string\n x-dcl-go-name: NoteReference\n description: 'Required. The Drydock resource name of a Attestation.\n Authority Note, created by the user, in the format: `projects/*/notes/*`.\n This field may not be updated. An attestation by this attestor is\n stored as a Grafeas Attestation. Authority Occurrence that names a\n container image and that links to this Note. Grafeas is an external\n dependency.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Containeranalysis/Note\n field: name\n publicKeys:\n type: array\n x-dcl-go-name: PublicKeys\n description: Optional. Public keys that verify attestations signed by\n this attestor. This field may be updated. If this field is non-empty,\n one of the specified public keys must verify that an attestation was\n signed by this attestor for the image specified in the admission request.\n If this field is empty, this attestor always returns that no valid\n attestations exist.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeys\n properties:\n asciiArmoredPgpPublicKey:\n type: string\n x-dcl-go-name: AsciiArmoredPgpPublicKey\n description: ASCII-armored representation of a PGP public key,\n as the entire output by the command `gpg --export --armor foo@example.com`\n (either LF or CRLF line endings). When using this field, `id`\n should be left blank. The BinAuthz API handlers will calculate\n the ID and fill it in automatically. BinAuthz computes this\n ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case\n hex. If `id` is provided by the caller, it will be overwritten\n by the API-calculated ID.\n comment:\n type: string\n x-dcl-go-name: Comment\n description: Optional. A descriptive comment. This field may be\n updated.\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of this public key. Signatures verified by\n BinAuthz must include the ID of the public key that can be used\n to verify them, and that ID must match the contents of this\n field exactly. Additional restrictions on this field can be\n imposed based on which public key type is encapsulated. See\n the documentation on `public_key` cases below for details.\n pkixPublicKey:\n type: object\n x-dcl-go-name: PkixPublicKey\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeysPkixPublicKey\n description: 'A raw PKIX SubjectPublicKeyInfo format public key.\n NOTE: `id` may be explicitly provided by the caller when using\n this type of public key, but it MUST be a valid RFC3986 URI.\n If `id` is left blank, a default one will be computed based\n on the digest of the DER encoding of the public key.'\n properties:\n publicKeyPem:\n type: string\n x-dcl-go-name: PublicKeyPem\n description: A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13\n signatureAlgorithm:\n type: string\n x-dcl-go-name: SignatureAlgorithm\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeysPkixPublicKeySignatureAlgorithmEnum\n description: 'The signature algorithm used to verify a message\n against a signature using this key. These signature algorithm\n must match the structure and any object identifiers encoded\n in `public_key_pem` (i.e. this algorithm must match that\n of the public key). Possible values: SIGNATURE_ALGORITHM_UNSPECIFIED,\n RSA_PSS_2048_SHA256, RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256,\n RSA_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256, RSA_SIGN_PKCS1_3072_SHA256,\n RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n ECDSA_P256_SHA256, EC_SIGN_P256_SHA256, ECDSA_P384_SHA384,\n EC_SIGN_P384_SHA384, ECDSA_P521_SHA512, EC_SIGN_P521_SHA512'\n enum:\n - SIGNATURE_ALGORITHM_UNSPECIFIED\n - RSA_PSS_2048_SHA256\n - RSA_PSS_3072_SHA256\n - RSA_PSS_4096_SHA256\n - RSA_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - ECDSA_P256_SHA256\n - EC_SIGN_P256_SHA256\n - ECDSA_P384_SHA384\n - EC_SIGN_P384_SHA384\n - ECDSA_P521_SHA512\n - EC_SIGN_P521_SHA512\n") -// 9409 bytes -// MD5: 258af928d70b3a58249e6d524835e5bf +// 9434 bytes +// MD5: eab3e93102648aaf55022559537fbf74 diff --git a/services/google/binaryauthorization/beta/attestor.yaml b/services/google/binaryauthorization/beta/attestor.yaml index ddc3c55926..44f2d2f28e 100755 --- a/services/google/binaryauthorization/beta/attestor.yaml +++ b/services/google/binaryauthorization/beta/attestor.yaml @@ -15,6 +15,7 @@ info: title: BinaryAuthorization/Attestor description: The BinaryAuthorization Attestor resource x-dcl-struct-name: Attestor + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/binaryauthorization/beta/attestor_beta_yaml_embed.go b/services/google/binaryauthorization/beta/attestor_beta_yaml_embed.go index bec9cd1155..1a887f3cca 100755 --- a/services/google/binaryauthorization/beta/attestor_beta_yaml_embed.go +++ b/services/google/binaryauthorization/beta/attestor_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/binaryauthorization/beta/attestor.yaml -var YAML_attestor = []byte("info:\n title: BinaryAuthorization/Attestor\n description: The BinaryAuthorization Attestor resource\n x-dcl-struct-name: Attestor\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n apply:\n description: The function used to apply information about a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n delete:\n description: The function used to delete a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n deleteAll:\n description: The function used to delete all Attestor\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Attestor\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Attestor:\n title: Attestor\n x-dcl-id: projects/{{project}}/attestors/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A descriptive comment. This field may be updated.\n The field may be displayed in chooser dialogs.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. The resource name, in the format: `projects/*/attestors/*`.\n This field may not be updated.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time when the attestor was last updated.\n x-kubernetes-immutable: true\n userOwnedDrydockNote:\n type: object\n x-dcl-go-name: UserOwnedDrydockNote\n x-dcl-go-type: AttestorUserOwnedDrydockNote\n description: This specifies how an attestation will be read, and how it\n will be used during policy enforcement.\n required:\n - noteReference\n properties:\n delegationServiceAccountEmail:\n type: string\n x-dcl-go-name: DelegationServiceAccountEmail\n readOnly: true\n description: Output only. This field will contain the service account\n email address that this Attestor will use as the principal when querying\n Container Analysis. Attestor administrators must grant this service\n account the IAM role needed to read attestations from the in Container\n Analysis (`containeranalysis.notes.occurrences.viewer`). This email\n address is fixed for the lifetime of the Attestor, but callers should\n not make any other assumptions about the service account email; future\n versions may use an email based on a different naming pattern.\n x-kubernetes-immutable: true\n noteReference:\n type: string\n x-dcl-go-name: NoteReference\n description: 'Required. The Drydock resource name of a Attestation.\n Authority Note, created by the user, in the format: `projects/*/notes/*`.\n This field may not be updated. An attestation by this attestor is\n stored as a Grafeas Attestation. Authority Occurrence that names a\n container image and that links to this Note. Grafeas is an external\n dependency.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Containeranalysis/Note\n field: name\n publicKeys:\n type: array\n x-dcl-go-name: PublicKeys\n description: Optional. Public keys that verify attestations signed by\n this attestor. This field may be updated. If this field is non-empty,\n one of the specified public keys must verify that an attestation was\n signed by this attestor for the image specified in the admission request.\n If this field is empty, this attestor always returns that no valid\n attestations exist.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeys\n properties:\n asciiArmoredPgpPublicKey:\n type: string\n x-dcl-go-name: AsciiArmoredPgpPublicKey\n description: ASCII-armored representation of a PGP public key,\n as the entire output by the command `gpg --export --armor foo@example.com`\n (either LF or CRLF line endings). When using this field, `id`\n should be left blank. The BinAuthz API handlers will calculate\n the ID and fill it in automatically. BinAuthz computes this\n ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case\n hex. If `id` is provided by the caller, it will be overwritten\n by the API-calculated ID.\n comment:\n type: string\n x-dcl-go-name: Comment\n description: Optional. A descriptive comment. This field may be\n updated.\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of this public key. Signatures verified by\n BinAuthz must include the ID of the public key that can be used\n to verify them, and that ID must match the contents of this\n field exactly. Additional restrictions on this field can be\n imposed based on which public key type is encapsulated. See\n the documentation on `public_key` cases below for details.\n pkixPublicKey:\n type: object\n x-dcl-go-name: PkixPublicKey\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeysPkixPublicKey\n description: 'A raw PKIX SubjectPublicKeyInfo format public key.\n NOTE: `id` may be explicitly provided by the caller when using\n this type of public key, but it MUST be a valid RFC3986 URI.\n If `id` is left blank, a default one will be computed based\n on the digest of the DER encoding of the public key.'\n properties:\n publicKeyPem:\n type: string\n x-dcl-go-name: PublicKeyPem\n description: A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13\n signatureAlgorithm:\n type: string\n x-dcl-go-name: SignatureAlgorithm\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeysPkixPublicKeySignatureAlgorithmEnum\n description: 'The signature algorithm used to verify a message\n against a signature using this key. These signature algorithm\n must match the structure and any object identifiers encoded\n in `public_key_pem` (i.e. this algorithm must match that\n of the public key). Possible values: SIGNATURE_ALGORITHM_UNSPECIFIED,\n RSA_PSS_2048_SHA256, RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256,\n RSA_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256, RSA_SIGN_PKCS1_3072_SHA256,\n RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n ECDSA_P256_SHA256, EC_SIGN_P256_SHA256, ECDSA_P384_SHA384,\n EC_SIGN_P384_SHA384, ECDSA_P521_SHA512, EC_SIGN_P521_SHA512'\n enum:\n - SIGNATURE_ALGORITHM_UNSPECIFIED\n - RSA_PSS_2048_SHA256\n - RSA_PSS_3072_SHA256\n - RSA_PSS_4096_SHA256\n - RSA_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - ECDSA_P256_SHA256\n - EC_SIGN_P256_SHA256\n - ECDSA_P384_SHA384\n - EC_SIGN_P384_SHA384\n - ECDSA_P521_SHA512\n - EC_SIGN_P521_SHA512\n") +var YAML_attestor = []byte("info:\n title: BinaryAuthorization/Attestor\n description: The BinaryAuthorization Attestor resource\n x-dcl-struct-name: Attestor\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n apply:\n description: The function used to apply information about a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n delete:\n description: The function used to delete a Attestor\n parameters:\n - name: Attestor\n required: true\n description: A full instance of a Attestor\n deleteAll:\n description: The function used to delete all Attestor\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Attestor\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Attestor:\n title: Attestor\n x-dcl-id: projects/{{project}}/attestors/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A descriptive comment. This field may be updated.\n The field may be displayed in chooser dialogs.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. The resource name, in the format: `projects/*/attestors/*`.\n This field may not be updated.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time when the attestor was last updated.\n x-kubernetes-immutable: true\n userOwnedDrydockNote:\n type: object\n x-dcl-go-name: UserOwnedDrydockNote\n x-dcl-go-type: AttestorUserOwnedDrydockNote\n description: This specifies how an attestation will be read, and how it\n will be used during policy enforcement.\n required:\n - noteReference\n properties:\n delegationServiceAccountEmail:\n type: string\n x-dcl-go-name: DelegationServiceAccountEmail\n readOnly: true\n description: Output only. This field will contain the service account\n email address that this Attestor will use as the principal when querying\n Container Analysis. Attestor administrators must grant this service\n account the IAM role needed to read attestations from the in Container\n Analysis (`containeranalysis.notes.occurrences.viewer`). This email\n address is fixed for the lifetime of the Attestor, but callers should\n not make any other assumptions about the service account email; future\n versions may use an email based on a different naming pattern.\n x-kubernetes-immutable: true\n noteReference:\n type: string\n x-dcl-go-name: NoteReference\n description: 'Required. The Drydock resource name of a Attestation.\n Authority Note, created by the user, in the format: `projects/*/notes/*`.\n This field may not be updated. An attestation by this attestor is\n stored as a Grafeas Attestation. Authority Occurrence that names a\n container image and that links to this Note. Grafeas is an external\n dependency.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Containeranalysis/Note\n field: name\n publicKeys:\n type: array\n x-dcl-go-name: PublicKeys\n description: Optional. Public keys that verify attestations signed by\n this attestor. This field may be updated. If this field is non-empty,\n one of the specified public keys must verify that an attestation was\n signed by this attestor for the image specified in the admission request.\n If this field is empty, this attestor always returns that no valid\n attestations exist.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeys\n properties:\n asciiArmoredPgpPublicKey:\n type: string\n x-dcl-go-name: AsciiArmoredPgpPublicKey\n description: ASCII-armored representation of a PGP public key,\n as the entire output by the command `gpg --export --armor foo@example.com`\n (either LF or CRLF line endings). When using this field, `id`\n should be left blank. The BinAuthz API handlers will calculate\n the ID and fill it in automatically. BinAuthz computes this\n ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case\n hex. If `id` is provided by the caller, it will be overwritten\n by the API-calculated ID.\n comment:\n type: string\n x-dcl-go-name: Comment\n description: Optional. A descriptive comment. This field may be\n updated.\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of this public key. Signatures verified by\n BinAuthz must include the ID of the public key that can be used\n to verify them, and that ID must match the contents of this\n field exactly. Additional restrictions on this field can be\n imposed based on which public key type is encapsulated. See\n the documentation on `public_key` cases below for details.\n pkixPublicKey:\n type: object\n x-dcl-go-name: PkixPublicKey\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeysPkixPublicKey\n description: 'A raw PKIX SubjectPublicKeyInfo format public key.\n NOTE: `id` may be explicitly provided by the caller when using\n this type of public key, but it MUST be a valid RFC3986 URI.\n If `id` is left blank, a default one will be computed based\n on the digest of the DER encoding of the public key.'\n properties:\n publicKeyPem:\n type: string\n x-dcl-go-name: PublicKeyPem\n description: A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13\n signatureAlgorithm:\n type: string\n x-dcl-go-name: SignatureAlgorithm\n x-dcl-go-type: AttestorUserOwnedDrydockNotePublicKeysPkixPublicKeySignatureAlgorithmEnum\n description: 'The signature algorithm used to verify a message\n against a signature using this key. These signature algorithm\n must match the structure and any object identifiers encoded\n in `public_key_pem` (i.e. this algorithm must match that\n of the public key). Possible values: SIGNATURE_ALGORITHM_UNSPECIFIED,\n RSA_PSS_2048_SHA256, RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256,\n RSA_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256, RSA_SIGN_PKCS1_3072_SHA256,\n RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n ECDSA_P256_SHA256, EC_SIGN_P256_SHA256, ECDSA_P384_SHA384,\n EC_SIGN_P384_SHA384, ECDSA_P521_SHA512, EC_SIGN_P521_SHA512'\n enum:\n - SIGNATURE_ALGORITHM_UNSPECIFIED\n - RSA_PSS_2048_SHA256\n - RSA_PSS_3072_SHA256\n - RSA_PSS_4096_SHA256\n - RSA_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - ECDSA_P256_SHA256\n - EC_SIGN_P256_SHA256\n - ECDSA_P384_SHA384\n - EC_SIGN_P384_SHA384\n - ECDSA_P521_SHA512\n - EC_SIGN_P521_SHA512\n") -// 9409 bytes -// MD5: 258af928d70b3a58249e6d524835e5bf +// 9434 bytes +// MD5: eab3e93102648aaf55022559537fbf74 diff --git a/services/google/binaryauthorization/beta/attestor_schema.go b/services/google/binaryauthorization/beta/attestor_schema.go index a758027cb4..8c0a7ab1ed 100755 --- a/services/google/binaryauthorization/beta/attestor_schema.go +++ b/services/google/binaryauthorization/beta/attestor_schema.go @@ -23,6 +23,7 @@ func DCLAttestorSchema() *dcl.Schema { Title: "BinaryAuthorization/Attestor", Description: "The BinaryAuthorization Attestor resource", StructName: "Attestor", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/binaryauthorization/beta/policy.yaml b/services/google/binaryauthorization/beta/policy.yaml index 780644896d..00e7003220 100755 --- a/services/google/binaryauthorization/beta/policy.yaml +++ b/services/google/binaryauthorization/beta/policy.yaml @@ -15,6 +15,7 @@ info: title: BinaryAuthorization/Policy description: The BinaryAuthorization Policy resource x-dcl-struct-name: Policy + x-dcl-has-create: false x-dcl-has-iam: true paths: get: diff --git a/services/google/binaryauthorization/beta/policy_beta_yaml_embed.go b/services/google/binaryauthorization/beta/policy_beta_yaml_embed.go index 98fcc1f232..9c07555953 100755 --- a/services/google/binaryauthorization/beta/policy_beta_yaml_embed.go +++ b/services/google/binaryauthorization/beta/policy_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/binaryauthorization/beta/policy.yaml -var YAML_policy = []byte("info:\n title: BinaryAuthorization/Policy\n description: The BinaryAuthorization Policy resource\n x-dcl-struct-name: Policy\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n apply:\n description: The function used to apply information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\ncomponents:\n schemas:\n Policy:\n title: Policy\n x-dcl-id: projects/{{project}}/policy\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - defaultAdmissionRule\n properties:\n admissionWhitelistPatterns:\n type: array\n x-dcl-go-name: AdmissionWhitelistPatterns\n description: Optional. Admission policy allowlisting. A matching admission\n request will always be permitted. This feature is typically used to exclude\n Google or third-party infrastructure images from Binary Authorization\n policies.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PolicyAdmissionWhitelistPatterns\n properties:\n namePattern:\n type: string\n x-dcl-go-name: NamePattern\n description: An image name pattern to allowlist, in the form `registry/path/to/image`.\n This supports a trailing `*` as a wildcard, but this is allowed\n only in text after the `registry/` part.\n clusterAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyClusterAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyClusterAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyClusterAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: ClusterAdmissionRules\n description: 'Optional. Per-cluster admission rules. Cluster spec format:\n location.clusterId. There can be at most one admission rule per cluster\n spec. A location is either a compute zone (e.g. us-central1-a) or a region\n (e.g. us-central1). For clusterId syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.'\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - kubernetesServiceAccountAdmissionRules\n - istioServiceIdentityAdmissionRules\n defaultAdmissionRule:\n type: object\n x-dcl-go-name: DefaultAdmissionRule\n x-dcl-go-type: PolicyDefaultAdmissionRule\n description: Required. Default admission rule for a cluster without a per-cluster,\n per-kubernetes-service-account, or per-istio-service-identity admission\n rule.\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyDefaultAdmissionRuleEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyDefaultAdmissionRuleEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated. Possible\n values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change request\n must be able to read the attestor resource. Note: this field must\n be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A descriptive comment.\n globalPolicyEvaluationMode:\n type: string\n x-dcl-go-name: GlobalPolicyEvaluationMode\n x-dcl-go-type: PolicyGlobalPolicyEvaluationModeEnum\n description: 'Optional. Controls the evaluation of a Google-maintained global\n admission policy for common system-level images. Images not covered by\n the global policy will be subject to the project admission policy. This\n setting has no effect when specified inside a global admission policy.\n Possible values: GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED, ENABLE, DISABLE'\n enum:\n - GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED\n - ENABLE\n - DISABLE\n istioServiceIdentityAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: IstioServiceIdentityAdmissionRules\n description: 'Optional. Per-istio-service-identity admission rules. Istio\n service identity spec format: spiffe:///ns//sa/ or /ns//sa/ e.g. spiffe://example.com/ns/test-ns/sa/default'\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - kubernetesServiceAccountAdmissionRules\n - clusterAdmissionRules\n kubernetesNamespaceAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: KubernetesNamespaceAdmissionRules\n description: 'Optional. Per-kubernetes-namespace admission rules. K8s namespace\n spec format: [a-z.-]+, e.g. ''some-namespace'''\n x-dcl-conflicts:\n - kubernetesServiceAccountAdmissionRules\n - istioServiceIdentityAdmissionRules\n - clusterAdmissionRules\n kubernetesServiceAccountAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: KubernetesServiceAccountAdmissionRules\n description: 'Optional. Per-kubernetes-service-account admission rules.\n Service account spec format: namespace:serviceaccount. e.g. ''test-ns:default'''\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - istioServiceIdentityAdmissionRules\n - clusterAdmissionRules\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. The resource name, in the format `projects/*/policy`.\n There is at most one policy per project.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time when the policy was last updated.\n x-kubernetes-immutable: true\n") +var YAML_policy = []byte("info:\n title: BinaryAuthorization/Policy\n description: The BinaryAuthorization Policy resource\n x-dcl-struct-name: Policy\n x-dcl-has-create: false\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n apply:\n description: The function used to apply information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\ncomponents:\n schemas:\n Policy:\n title: Policy\n x-dcl-id: projects/{{project}}/policy\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - defaultAdmissionRule\n properties:\n admissionWhitelistPatterns:\n type: array\n x-dcl-go-name: AdmissionWhitelistPatterns\n description: Optional. Admission policy allowlisting. A matching admission\n request will always be permitted. This feature is typically used to exclude\n Google or third-party infrastructure images from Binary Authorization\n policies.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PolicyAdmissionWhitelistPatterns\n properties:\n namePattern:\n type: string\n x-dcl-go-name: NamePattern\n description: An image name pattern to allowlist, in the form `registry/path/to/image`.\n This supports a trailing `*` as a wildcard, but this is allowed\n only in text after the `registry/` part.\n clusterAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyClusterAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyClusterAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyClusterAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: ClusterAdmissionRules\n description: 'Optional. Per-cluster admission rules. Cluster spec format:\n location.clusterId. There can be at most one admission rule per cluster\n spec. A location is either a compute zone (e.g. us-central1-a) or a region\n (e.g. us-central1). For clusterId syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.'\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - kubernetesServiceAccountAdmissionRules\n - istioServiceIdentityAdmissionRules\n defaultAdmissionRule:\n type: object\n x-dcl-go-name: DefaultAdmissionRule\n x-dcl-go-type: PolicyDefaultAdmissionRule\n description: Required. Default admission rule for a cluster without a per-cluster,\n per-kubernetes-service-account, or per-istio-service-identity admission\n rule.\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyDefaultAdmissionRuleEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyDefaultAdmissionRuleEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated. Possible\n values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change request\n must be able to read the attestor resource. Note: this field must\n be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A descriptive comment.\n globalPolicyEvaluationMode:\n type: string\n x-dcl-go-name: GlobalPolicyEvaluationMode\n x-dcl-go-type: PolicyGlobalPolicyEvaluationModeEnum\n description: 'Optional. Controls the evaluation of a Google-maintained global\n admission policy for common system-level images. Images not covered by\n the global policy will be subject to the project admission policy. This\n setting has no effect when specified inside a global admission policy.\n Possible values: GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED, ENABLE, DISABLE'\n enum:\n - GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED\n - ENABLE\n - DISABLE\n istioServiceIdentityAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: IstioServiceIdentityAdmissionRules\n description: 'Optional. Per-istio-service-identity admission rules. Istio\n service identity spec format: spiffe:///ns//sa/ or /ns//sa/ e.g. spiffe://example.com/ns/test-ns/sa/default'\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - kubernetesServiceAccountAdmissionRules\n - clusterAdmissionRules\n kubernetesNamespaceAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: KubernetesNamespaceAdmissionRules\n description: 'Optional. Per-kubernetes-namespace admission rules. K8s namespace\n spec format: [a-z.-]+, e.g. ''some-namespace'''\n x-dcl-conflicts:\n - kubernetesServiceAccountAdmissionRules\n - istioServiceIdentityAdmissionRules\n - clusterAdmissionRules\n kubernetesServiceAccountAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: KubernetesServiceAccountAdmissionRules\n description: 'Optional. Per-kubernetes-service-account admission rules.\n Service account spec format: namespace:serviceaccount. e.g. ''test-ns:default'''\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - istioServiceIdentityAdmissionRules\n - clusterAdmissionRules\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. The resource name, in the format `projects/*/policy`.\n There is at most one policy per project.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time when the policy was last updated.\n x-kubernetes-immutable: true\n") -// 16961 bytes -// MD5: 43dd0b7c1590b834df4dda9997204f18 +// 16987 bytes +// MD5: d1c6033913135cb67dfc3781ee1470be diff --git a/services/google/binaryauthorization/policy.yaml b/services/google/binaryauthorization/policy.yaml index 780644896d..00e7003220 100755 --- a/services/google/binaryauthorization/policy.yaml +++ b/services/google/binaryauthorization/policy.yaml @@ -15,6 +15,7 @@ info: title: BinaryAuthorization/Policy description: The BinaryAuthorization Policy resource x-dcl-struct-name: Policy + x-dcl-has-create: false x-dcl-has-iam: true paths: get: diff --git a/services/google/binaryauthorization/policy_yaml_embed.go b/services/google/binaryauthorization/policy_yaml_embed.go index 10e77afd2d..def61c9349 100755 --- a/services/google/binaryauthorization/policy_yaml_embed.go +++ b/services/google/binaryauthorization/policy_yaml_embed.go @@ -17,7 +17,7 @@ package binaryauthorization // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/binaryauthorization/policy.yaml -var YAML_policy = []byte("info:\n title: BinaryAuthorization/Policy\n description: The BinaryAuthorization Policy resource\n x-dcl-struct-name: Policy\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n apply:\n description: The function used to apply information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\ncomponents:\n schemas:\n Policy:\n title: Policy\n x-dcl-id: projects/{{project}}/policy\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - defaultAdmissionRule\n properties:\n admissionWhitelistPatterns:\n type: array\n x-dcl-go-name: AdmissionWhitelistPatterns\n description: Optional. Admission policy allowlisting. A matching admission\n request will always be permitted. This feature is typically used to exclude\n Google or third-party infrastructure images from Binary Authorization\n policies.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PolicyAdmissionWhitelistPatterns\n properties:\n namePattern:\n type: string\n x-dcl-go-name: NamePattern\n description: An image name pattern to allowlist, in the form `registry/path/to/image`.\n This supports a trailing `*` as a wildcard, but this is allowed\n only in text after the `registry/` part.\n clusterAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyClusterAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyClusterAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyClusterAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: ClusterAdmissionRules\n description: 'Optional. Per-cluster admission rules. Cluster spec format:\n location.clusterId. There can be at most one admission rule per cluster\n spec. A location is either a compute zone (e.g. us-central1-a) or a region\n (e.g. us-central1). For clusterId syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.'\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - kubernetesServiceAccountAdmissionRules\n - istioServiceIdentityAdmissionRules\n defaultAdmissionRule:\n type: object\n x-dcl-go-name: DefaultAdmissionRule\n x-dcl-go-type: PolicyDefaultAdmissionRule\n description: Required. Default admission rule for a cluster without a per-cluster,\n per-kubernetes-service-account, or per-istio-service-identity admission\n rule.\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyDefaultAdmissionRuleEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyDefaultAdmissionRuleEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated. Possible\n values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change request\n must be able to read the attestor resource. Note: this field must\n be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A descriptive comment.\n globalPolicyEvaluationMode:\n type: string\n x-dcl-go-name: GlobalPolicyEvaluationMode\n x-dcl-go-type: PolicyGlobalPolicyEvaluationModeEnum\n description: 'Optional. Controls the evaluation of a Google-maintained global\n admission policy for common system-level images. Images not covered by\n the global policy will be subject to the project admission policy. This\n setting has no effect when specified inside a global admission policy.\n Possible values: GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED, ENABLE, DISABLE'\n enum:\n - GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED\n - ENABLE\n - DISABLE\n istioServiceIdentityAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: IstioServiceIdentityAdmissionRules\n description: 'Optional. Per-istio-service-identity admission rules. Istio\n service identity spec format: spiffe:///ns//sa/ or /ns//sa/ e.g. spiffe://example.com/ns/test-ns/sa/default'\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - kubernetesServiceAccountAdmissionRules\n - clusterAdmissionRules\n kubernetesNamespaceAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: KubernetesNamespaceAdmissionRules\n description: 'Optional. Per-kubernetes-namespace admission rules. K8s namespace\n spec format: [a-z.-]+, e.g. ''some-namespace'''\n x-dcl-conflicts:\n - kubernetesServiceAccountAdmissionRules\n - istioServiceIdentityAdmissionRules\n - clusterAdmissionRules\n kubernetesServiceAccountAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: KubernetesServiceAccountAdmissionRules\n description: 'Optional. Per-kubernetes-service-account admission rules.\n Service account spec format: namespace:serviceaccount. e.g. ''test-ns:default'''\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - istioServiceIdentityAdmissionRules\n - clusterAdmissionRules\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. The resource name, in the format `projects/*/policy`.\n There is at most one policy per project.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time when the policy was last updated.\n x-kubernetes-immutable: true\n") +var YAML_policy = []byte("info:\n title: BinaryAuthorization/Policy\n description: The BinaryAuthorization Policy resource\n x-dcl-struct-name: Policy\n x-dcl-has-create: false\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n apply:\n description: The function used to apply information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\ncomponents:\n schemas:\n Policy:\n title: Policy\n x-dcl-id: projects/{{project}}/policy\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - defaultAdmissionRule\n properties:\n admissionWhitelistPatterns:\n type: array\n x-dcl-go-name: AdmissionWhitelistPatterns\n description: Optional. Admission policy allowlisting. A matching admission\n request will always be permitted. This feature is typically used to exclude\n Google or third-party infrastructure images from Binary Authorization\n policies.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PolicyAdmissionWhitelistPatterns\n properties:\n namePattern:\n type: string\n x-dcl-go-name: NamePattern\n description: An image name pattern to allowlist, in the form `registry/path/to/image`.\n This supports a trailing `*` as a wildcard, but this is allowed\n only in text after the `registry/` part.\n clusterAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyClusterAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyClusterAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyClusterAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: ClusterAdmissionRules\n description: 'Optional. Per-cluster admission rules. Cluster spec format:\n location.clusterId. There can be at most one admission rule per cluster\n spec. A location is either a compute zone (e.g. us-central1-a) or a region\n (e.g. us-central1). For clusterId syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.'\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - kubernetesServiceAccountAdmissionRules\n - istioServiceIdentityAdmissionRules\n defaultAdmissionRule:\n type: object\n x-dcl-go-name: DefaultAdmissionRule\n x-dcl-go-type: PolicyDefaultAdmissionRule\n description: Required. Default admission rule for a cluster without a per-cluster,\n per-kubernetes-service-account, or per-istio-service-identity admission\n rule.\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyDefaultAdmissionRuleEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyDefaultAdmissionRuleEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated. Possible\n values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change request\n must be able to read the attestor resource. Note: this field must\n be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A descriptive comment.\n globalPolicyEvaluationMode:\n type: string\n x-dcl-go-name: GlobalPolicyEvaluationMode\n x-dcl-go-type: PolicyGlobalPolicyEvaluationModeEnum\n description: 'Optional. Controls the evaluation of a Google-maintained global\n admission policy for common system-level images. Images not covered by\n the global policy will be subject to the project admission policy. This\n setting has no effect when specified inside a global admission policy.\n Possible values: GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED, ENABLE, DISABLE'\n enum:\n - GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED\n - ENABLE\n - DISABLE\n istioServiceIdentityAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyIstioServiceIdentityAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: IstioServiceIdentityAdmissionRules\n description: 'Optional. Per-istio-service-identity admission rules. Istio\n service identity spec format: spiffe:///ns//sa/ or /ns//sa/ e.g. spiffe://example.com/ns/test-ns/sa/default'\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - kubernetesServiceAccountAdmissionRules\n - clusterAdmissionRules\n kubernetesNamespaceAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyKubernetesNamespaceAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: KubernetesNamespaceAdmissionRules\n description: 'Optional. Per-kubernetes-namespace admission rules. K8s namespace\n spec format: [a-z.-]+, e.g. ''some-namespace'''\n x-dcl-conflicts:\n - kubernetesServiceAccountAdmissionRules\n - istioServiceIdentityAdmissionRules\n - clusterAdmissionRules\n kubernetesServiceAccountAdmissionRules:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRules\n required:\n - evaluationMode\n - enforcementMode\n properties:\n enforcementMode:\n type: string\n x-dcl-go-name: EnforcementMode\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRulesEnforcementModeEnum\n description: 'Required. The action when a pod creation is denied by\n the admission rule. Possible values: ENFORCEMENT_MODE_UNSPECIFIED,\n ENFORCED_BLOCK_AND_AUDIT_LOG, DRYRUN_AUDIT_LOG_ONLY'\n enum:\n - ENFORCEMENT_MODE_UNSPECIFIED\n - ENFORCED_BLOCK_AND_AUDIT_LOG\n - DRYRUN_AUDIT_LOG_ONLY\n evaluationMode:\n type: string\n x-dcl-go-name: EvaluationMode\n x-dcl-go-type: PolicyKubernetesServiceAccountAdmissionRulesEvaluationModeEnum\n description: 'Required. How this admission rule will be evaluated.\n Possible values: ALWAYS_ALLOW, ALWAYS_DENY, REQUIRE_ATTESTATION'\n enum:\n - ALWAYS_ALLOW\n - ALWAYS_DENY\n - REQUIRE_ATTESTATION\n requireAttestationsBy:\n type: array\n x-dcl-go-name: RequireAttestationsBy\n description: 'Optional. The resource names of the attestors that must\n attest to a container image, in the format `projects/*/attestors/*`.\n Each attestor must exist before a policy can reference it. To add\n an attestor to a policy the principal issuing the policy change\n request must be able to read the attestor resource. Note: this field\n must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION,\n otherwise it must be empty.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Binaryauthorization/Attestor\n field: name\n x-dcl-go-name: KubernetesServiceAccountAdmissionRules\n description: 'Optional. Per-kubernetes-service-account admission rules.\n Service account spec format: namespace:serviceaccount. e.g. ''test-ns:default'''\n x-dcl-conflicts:\n - kubernetesNamespaceAdmissionRules\n - istioServiceIdentityAdmissionRules\n - clusterAdmissionRules\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. The resource name, in the format `projects/*/policy`.\n There is at most one policy per project.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time when the policy was last updated.\n x-kubernetes-immutable: true\n") -// 16961 bytes -// MD5: 43dd0b7c1590b834df4dda9997204f18 +// 16987 bytes +// MD5: d1c6033913135cb67dfc3781ee1470be diff --git a/services/google/cloudbuild/alpha/worker_pool.yaml b/services/google/cloudbuild/alpha/worker_pool.yaml index 18ab0d336f..b0c77797d0 100755 --- a/services/google/cloudbuild/alpha/worker_pool.yaml +++ b/services/google/cloudbuild/alpha/worker_pool.yaml @@ -15,6 +15,7 @@ info: title: CloudBuild/WorkerPool description: The CloudBuild WorkerPool resource x-dcl-struct-name: WorkerPool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudbuild/alpha/worker_pool_alpha_yaml_embed.go b/services/google/cloudbuild/alpha/worker_pool_alpha_yaml_embed.go index 44cb138ac9..c521705970 100755 --- a/services/google/cloudbuild/alpha/worker_pool_alpha_yaml_embed.go +++ b/services/google/cloudbuild/alpha/worker_pool_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudbuild/alpha/worker_pool.yaml -var YAML_worker_pool = []byte("info:\n title: CloudBuild/WorkerPool\n description: The CloudBuild WorkerPool resource\n x-dcl-struct-name: WorkerPool\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n apply:\n description: The function used to apply information about a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n delete:\n description: The function used to delete a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n deleteAll:\n description: The function used to delete all WorkerPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkerPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkerPool:\n title: WorkerPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/workerPools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: User specified annotations. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the request to create the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Time at which the request to delete the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A user-specified, human-readable name for the `WorkerPool`.\n If provided, this value must be 1-63 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. Checksum computed by the server. May be sent on\n update and delete requests to ensure that the client has an up-to-date\n value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: User-defined name of the `WorkerPool`.\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: WorkerPoolNetworkConfig\n description: Network configuration for the `WorkerPool`.\n x-kubernetes-immutable: true\n required:\n - peeredNetwork\n properties:\n peeredNetwork:\n type: string\n x-dcl-go-name: PeeredNetwork\n description: Required. Immutable. The network definition that the workers\n are peered to. If this section is left empty, the workers will be\n peered to `WorkerPool.project_id` on the service producer network.\n Must be in the format `projects/{project}/global/networks/{network}`,\n where `{project}` is a project number, such as `12345`, and `{network}`\n is the name of a VPC network in the project. See [Understanding network\n configuration options](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkerPoolStateEnum\n readOnly: true\n description: 'Output only. `WorkerPool` state. Possible values: STATE_UNSPECIFIED,\n PENDING, APPROVED, REJECTED, CANCELLED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - APPROVED\n - REJECTED\n - CANCELLED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A unique identifier for the `WorkerPool`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time at which the request to update the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: WorkerPoolWorkerConfig\n description: Configuration to be used for a creating workers in the `WorkerPool`.\n x-dcl-server-default: true\n properties:\n diskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: DiskSizeGb\n description: Size of the disk attached to the worker, in GB. See [Worker\n pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file).\n Specify a value of up to 1000. If `0` is specified, Cloud Build will\n use a standard disk size.\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Machine type of a worker, such as `n1-standard-1`. See\n [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file).\n If left blank, Cloud Build will use `n1-standard-1`.\n noExternalIP:\n type: boolean\n x-dcl-go-name: NoExternalIP\n description: If true, workers are created without any public address,\n which prevents network egress to public IPs.\n x-dcl-server-default: true\n") +var YAML_worker_pool = []byte("info:\n title: CloudBuild/WorkerPool\n description: The CloudBuild WorkerPool resource\n x-dcl-struct-name: WorkerPool\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n apply:\n description: The function used to apply information about a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n delete:\n description: The function used to delete a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n deleteAll:\n description: The function used to delete all WorkerPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkerPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkerPool:\n title: WorkerPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/workerPools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: User specified annotations. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the request to create the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Time at which the request to delete the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A user-specified, human-readable name for the `WorkerPool`.\n If provided, this value must be 1-63 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. Checksum computed by the server. May be sent on\n update and delete requests to ensure that the client has an up-to-date\n value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: User-defined name of the `WorkerPool`.\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: WorkerPoolNetworkConfig\n description: Network configuration for the `WorkerPool`.\n x-kubernetes-immutable: true\n required:\n - peeredNetwork\n properties:\n peeredNetwork:\n type: string\n x-dcl-go-name: PeeredNetwork\n description: Required. Immutable. The network definition that the workers\n are peered to. If this section is left empty, the workers will be\n peered to `WorkerPool.project_id` on the service producer network.\n Must be in the format `projects/{project}/global/networks/{network}`,\n where `{project}` is a project number, such as `12345`, and `{network}`\n is the name of a VPC network in the project. See [Understanding network\n configuration options](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkerPoolStateEnum\n readOnly: true\n description: 'Output only. `WorkerPool` state. Possible values: STATE_UNSPECIFIED,\n PENDING, APPROVED, REJECTED, CANCELLED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - APPROVED\n - REJECTED\n - CANCELLED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A unique identifier for the `WorkerPool`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time at which the request to update the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: WorkerPoolWorkerConfig\n description: Configuration to be used for a creating workers in the `WorkerPool`.\n x-dcl-server-default: true\n properties:\n diskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: DiskSizeGb\n description: Size of the disk attached to the worker, in GB. See [Worker\n pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file).\n Specify a value of up to 1000. If `0` is specified, Cloud Build will\n use a standard disk size.\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Machine type of a worker, such as `n1-standard-1`. See\n [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file).\n If left blank, Cloud Build will use `n1-standard-1`.\n noExternalIP:\n type: boolean\n x-dcl-go-name: NoExternalIP\n description: If true, workers are created without any public address,\n which prevents network egress to public IPs.\n x-dcl-server-default: true\n") -// 7157 bytes -// MD5: 8b2eec2380168e587584833f094c7534 +// 7182 bytes +// MD5: 5e7b14db808ad53b4b867e031ff8f9fe diff --git a/services/google/cloudbuild/alpha/worker_pool_schema.go b/services/google/cloudbuild/alpha/worker_pool_schema.go index fecbe6cf36..66b2d62850 100755 --- a/services/google/cloudbuild/alpha/worker_pool_schema.go +++ b/services/google/cloudbuild/alpha/worker_pool_schema.go @@ -23,6 +23,7 @@ func DCLWorkerPoolSchema() *dcl.Schema { Title: "CloudBuild/WorkerPool", Description: "The CloudBuild WorkerPool resource", StructName: "WorkerPool", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudbuild/beta/worker_pool.yaml b/services/google/cloudbuild/beta/worker_pool.yaml index 18ab0d336f..b0c77797d0 100755 --- a/services/google/cloudbuild/beta/worker_pool.yaml +++ b/services/google/cloudbuild/beta/worker_pool.yaml @@ -15,6 +15,7 @@ info: title: CloudBuild/WorkerPool description: The CloudBuild WorkerPool resource x-dcl-struct-name: WorkerPool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudbuild/beta/worker_pool_beta_yaml_embed.go b/services/google/cloudbuild/beta/worker_pool_beta_yaml_embed.go index c3a3f675e3..be0b2e1d59 100755 --- a/services/google/cloudbuild/beta/worker_pool_beta_yaml_embed.go +++ b/services/google/cloudbuild/beta/worker_pool_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudbuild/beta/worker_pool.yaml -var YAML_worker_pool = []byte("info:\n title: CloudBuild/WorkerPool\n description: The CloudBuild WorkerPool resource\n x-dcl-struct-name: WorkerPool\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n apply:\n description: The function used to apply information about a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n delete:\n description: The function used to delete a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n deleteAll:\n description: The function used to delete all WorkerPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkerPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkerPool:\n title: WorkerPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/workerPools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: User specified annotations. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the request to create the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Time at which the request to delete the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A user-specified, human-readable name for the `WorkerPool`.\n If provided, this value must be 1-63 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. Checksum computed by the server. May be sent on\n update and delete requests to ensure that the client has an up-to-date\n value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: User-defined name of the `WorkerPool`.\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: WorkerPoolNetworkConfig\n description: Network configuration for the `WorkerPool`.\n x-kubernetes-immutable: true\n required:\n - peeredNetwork\n properties:\n peeredNetwork:\n type: string\n x-dcl-go-name: PeeredNetwork\n description: Required. Immutable. The network definition that the workers\n are peered to. If this section is left empty, the workers will be\n peered to `WorkerPool.project_id` on the service producer network.\n Must be in the format `projects/{project}/global/networks/{network}`,\n where `{project}` is a project number, such as `12345`, and `{network}`\n is the name of a VPC network in the project. See [Understanding network\n configuration options](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkerPoolStateEnum\n readOnly: true\n description: 'Output only. `WorkerPool` state. Possible values: STATE_UNSPECIFIED,\n PENDING, APPROVED, REJECTED, CANCELLED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - APPROVED\n - REJECTED\n - CANCELLED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A unique identifier for the `WorkerPool`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time at which the request to update the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: WorkerPoolWorkerConfig\n description: Configuration to be used for a creating workers in the `WorkerPool`.\n x-dcl-server-default: true\n properties:\n diskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: DiskSizeGb\n description: Size of the disk attached to the worker, in GB. See [Worker\n pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file).\n Specify a value of up to 1000. If `0` is specified, Cloud Build will\n use a standard disk size.\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Machine type of a worker, such as `n1-standard-1`. See\n [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file).\n If left blank, Cloud Build will use `n1-standard-1`.\n noExternalIP:\n type: boolean\n x-dcl-go-name: NoExternalIP\n description: If true, workers are created without any public address,\n which prevents network egress to public IPs.\n x-dcl-server-default: true\n") +var YAML_worker_pool = []byte("info:\n title: CloudBuild/WorkerPool\n description: The CloudBuild WorkerPool resource\n x-dcl-struct-name: WorkerPool\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n apply:\n description: The function used to apply information about a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n delete:\n description: The function used to delete a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n deleteAll:\n description: The function used to delete all WorkerPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkerPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkerPool:\n title: WorkerPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/workerPools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: User specified annotations. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the request to create the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Time at which the request to delete the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A user-specified, human-readable name for the `WorkerPool`.\n If provided, this value must be 1-63 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. Checksum computed by the server. May be sent on\n update and delete requests to ensure that the client has an up-to-date\n value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: User-defined name of the `WorkerPool`.\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: WorkerPoolNetworkConfig\n description: Network configuration for the `WorkerPool`.\n x-kubernetes-immutable: true\n required:\n - peeredNetwork\n properties:\n peeredNetwork:\n type: string\n x-dcl-go-name: PeeredNetwork\n description: Required. Immutable. The network definition that the workers\n are peered to. If this section is left empty, the workers will be\n peered to `WorkerPool.project_id` on the service producer network.\n Must be in the format `projects/{project}/global/networks/{network}`,\n where `{project}` is a project number, such as `12345`, and `{network}`\n is the name of a VPC network in the project. See [Understanding network\n configuration options](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkerPoolStateEnum\n readOnly: true\n description: 'Output only. `WorkerPool` state. Possible values: STATE_UNSPECIFIED,\n PENDING, APPROVED, REJECTED, CANCELLED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - APPROVED\n - REJECTED\n - CANCELLED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A unique identifier for the `WorkerPool`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time at which the request to update the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: WorkerPoolWorkerConfig\n description: Configuration to be used for a creating workers in the `WorkerPool`.\n x-dcl-server-default: true\n properties:\n diskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: DiskSizeGb\n description: Size of the disk attached to the worker, in GB. See [Worker\n pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file).\n Specify a value of up to 1000. If `0` is specified, Cloud Build will\n use a standard disk size.\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Machine type of a worker, such as `n1-standard-1`. See\n [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file).\n If left blank, Cloud Build will use `n1-standard-1`.\n noExternalIP:\n type: boolean\n x-dcl-go-name: NoExternalIP\n description: If true, workers are created without any public address,\n which prevents network egress to public IPs.\n x-dcl-server-default: true\n") -// 7157 bytes -// MD5: 8b2eec2380168e587584833f094c7534 +// 7182 bytes +// MD5: 5e7b14db808ad53b4b867e031ff8f9fe diff --git a/services/google/cloudbuild/beta/worker_pool_schema.go b/services/google/cloudbuild/beta/worker_pool_schema.go index c872f0df34..dba74d8d9a 100755 --- a/services/google/cloudbuild/beta/worker_pool_schema.go +++ b/services/google/cloudbuild/beta/worker_pool_schema.go @@ -23,6 +23,7 @@ func DCLWorkerPoolSchema() *dcl.Schema { Title: "CloudBuild/WorkerPool", Description: "The CloudBuild WorkerPool resource", StructName: "WorkerPool", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudbuild/worker_pool.yaml b/services/google/cloudbuild/worker_pool.yaml index 18ab0d336f..b0c77797d0 100755 --- a/services/google/cloudbuild/worker_pool.yaml +++ b/services/google/cloudbuild/worker_pool.yaml @@ -15,6 +15,7 @@ info: title: CloudBuild/WorkerPool description: The CloudBuild WorkerPool resource x-dcl-struct-name: WorkerPool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudbuild/worker_pool_schema.go b/services/google/cloudbuild/worker_pool_schema.go index e2cd7f018a..7b862be518 100755 --- a/services/google/cloudbuild/worker_pool_schema.go +++ b/services/google/cloudbuild/worker_pool_schema.go @@ -23,6 +23,7 @@ func DCLWorkerPoolSchema() *dcl.Schema { Title: "CloudBuild/WorkerPool", Description: "The CloudBuild WorkerPool resource", StructName: "WorkerPool", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudbuild/worker_pool_yaml_embed.go b/services/google/cloudbuild/worker_pool_yaml_embed.go index 65c6e8985d..3284517480 100755 --- a/services/google/cloudbuild/worker_pool_yaml_embed.go +++ b/services/google/cloudbuild/worker_pool_yaml_embed.go @@ -17,7 +17,7 @@ package cloudbuild // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudbuild/worker_pool.yaml -var YAML_worker_pool = []byte("info:\n title: CloudBuild/WorkerPool\n description: The CloudBuild WorkerPool resource\n x-dcl-struct-name: WorkerPool\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n apply:\n description: The function used to apply information about a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n delete:\n description: The function used to delete a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n deleteAll:\n description: The function used to delete all WorkerPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkerPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkerPool:\n title: WorkerPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/workerPools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: User specified annotations. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the request to create the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Time at which the request to delete the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A user-specified, human-readable name for the `WorkerPool`.\n If provided, this value must be 1-63 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. Checksum computed by the server. May be sent on\n update and delete requests to ensure that the client has an up-to-date\n value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: User-defined name of the `WorkerPool`.\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: WorkerPoolNetworkConfig\n description: Network configuration for the `WorkerPool`.\n x-kubernetes-immutable: true\n required:\n - peeredNetwork\n properties:\n peeredNetwork:\n type: string\n x-dcl-go-name: PeeredNetwork\n description: Required. Immutable. The network definition that the workers\n are peered to. If this section is left empty, the workers will be\n peered to `WorkerPool.project_id` on the service producer network.\n Must be in the format `projects/{project}/global/networks/{network}`,\n where `{project}` is a project number, such as `12345`, and `{network}`\n is the name of a VPC network in the project. See [Understanding network\n configuration options](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkerPoolStateEnum\n readOnly: true\n description: 'Output only. `WorkerPool` state. Possible values: STATE_UNSPECIFIED,\n PENDING, APPROVED, REJECTED, CANCELLED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - APPROVED\n - REJECTED\n - CANCELLED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A unique identifier for the `WorkerPool`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time at which the request to update the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: WorkerPoolWorkerConfig\n description: Configuration to be used for a creating workers in the `WorkerPool`.\n x-dcl-server-default: true\n properties:\n diskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: DiskSizeGb\n description: Size of the disk attached to the worker, in GB. See [Worker\n pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file).\n Specify a value of up to 1000. If `0` is specified, Cloud Build will\n use a standard disk size.\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Machine type of a worker, such as `n1-standard-1`. See\n [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file).\n If left blank, Cloud Build will use `n1-standard-1`.\n noExternalIP:\n type: boolean\n x-dcl-go-name: NoExternalIP\n description: If true, workers are created without any public address,\n which prevents network egress to public IPs.\n x-dcl-server-default: true\n") +var YAML_worker_pool = []byte("info:\n title: CloudBuild/WorkerPool\n description: The CloudBuild WorkerPool resource\n x-dcl-struct-name: WorkerPool\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n apply:\n description: The function used to apply information about a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n delete:\n description: The function used to delete a WorkerPool\n parameters:\n - name: WorkerPool\n required: true\n description: A full instance of a WorkerPool\n deleteAll:\n description: The function used to delete all WorkerPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkerPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkerPool:\n title: WorkerPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/workerPools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: User specified annotations. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the request to create the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Time at which the request to delete the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A user-specified, human-readable name for the `WorkerPool`.\n If provided, this value must be 1-63 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. Checksum computed by the server. May be sent on\n update and delete requests to ensure that the client has an up-to-date\n value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: User-defined name of the `WorkerPool`.\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: WorkerPoolNetworkConfig\n description: Network configuration for the `WorkerPool`.\n x-kubernetes-immutable: true\n required:\n - peeredNetwork\n properties:\n peeredNetwork:\n type: string\n x-dcl-go-name: PeeredNetwork\n description: Required. Immutable. The network definition that the workers\n are peered to. If this section is left empty, the workers will be\n peered to `WorkerPool.project_id` on the service producer network.\n Must be in the format `projects/{project}/global/networks/{network}`,\n where `{project}` is a project number, such as `12345`, and `{network}`\n is the name of a VPC network in the project. See [Understanding network\n configuration options](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkerPoolStateEnum\n readOnly: true\n description: 'Output only. `WorkerPool` state. Possible values: STATE_UNSPECIFIED,\n PENDING, APPROVED, REJECTED, CANCELLED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - APPROVED\n - REJECTED\n - CANCELLED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A unique identifier for the `WorkerPool`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time at which the request to update the `WorkerPool`\n was received.\n x-kubernetes-immutable: true\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: WorkerPoolWorkerConfig\n description: Configuration to be used for a creating workers in the `WorkerPool`.\n x-dcl-server-default: true\n properties:\n diskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: DiskSizeGb\n description: Size of the disk attached to the worker, in GB. See [Worker\n pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file).\n Specify a value of up to 1000. If `0` is specified, Cloud Build will\n use a standard disk size.\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Machine type of a worker, such as `n1-standard-1`. See\n [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file).\n If left blank, Cloud Build will use `n1-standard-1`.\n noExternalIP:\n type: boolean\n x-dcl-go-name: NoExternalIP\n description: If true, workers are created without any public address,\n which prevents network egress to public IPs.\n x-dcl-server-default: true\n") -// 7157 bytes -// MD5: 8b2eec2380168e587584833f094c7534 +// 7182 bytes +// MD5: 5e7b14db808ad53b4b867e031ff8f9fe diff --git a/services/google/clouddeploy/alpha/delivery_pipeline.yaml b/services/google/clouddeploy/alpha/delivery_pipeline.yaml index 6761a9b342..81e8db2b42 100755 --- a/services/google/clouddeploy/alpha/delivery_pipeline.yaml +++ b/services/google/clouddeploy/alpha/delivery_pipeline.yaml @@ -15,6 +15,7 @@ info: title: Clouddeploy/DeliveryPipeline description: The Cloud Deploy `DeliveryPipeline` resource x-dcl-struct-name: DeliveryPipeline + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/clouddeploy/alpha/delivery_pipeline_alpha_yaml_embed.go b/services/google/clouddeploy/alpha/delivery_pipeline_alpha_yaml_embed.go index 4bf8791e86..5e574445dd 100755 --- a/services/google/clouddeploy/alpha/delivery_pipeline_alpha_yaml_embed.go +++ b/services/google/clouddeploy/alpha/delivery_pipeline_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/clouddeploy/alpha/delivery_pipeline.yaml -var YAML_delivery_pipeline = []byte("info:\n title: Clouddeploy/DeliveryPipeline\n description: The Cloud Deploy `DeliveryPipeline` resource\n x-dcl-struct-name: DeliveryPipeline\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.deliveryPipelines\npaths:\n get:\n description: The function used to get information about a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n apply:\n description: The function used to apply information about a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n delete:\n description: The function used to delete a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n deleteAll:\n description: The function used to delete all DeliveryPipeline\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many DeliveryPipeline\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n DeliveryPipeline:\n title: DeliveryPipeline\n x-dcl-id: projects/{{project}}/locations/{{location}}/deliveryPipelines/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: User annotations. These attributes can only be set and used\n by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeliveryPipelineCondition\n readOnly: true\n description: Output only. Information around the state of the Delivery Pipeline.\n properties:\n pipelineReadyCondition:\n type: object\n x-dcl-go-name: PipelineReadyCondition\n x-dcl-go-type: DeliveryPipelineConditionPipelineReadyCondition\n description: Details around the Pipeline's overall status.\n properties:\n status:\n type: boolean\n x-dcl-go-name: Status\n description: True if the Pipeline is in a valid state. Otherwise\n at least one condition in `PipelineCondition` is in an invalid\n state. Iterate over those conditions and see which condition(s)\n has status = false to find out what is wrong with the Pipeline.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last time the condition was updated.\n targetsPresentCondition:\n type: object\n x-dcl-go-name: TargetsPresentCondition\n x-dcl-go-type: DeliveryPipelineConditionTargetsPresentCondition\n description: Detalis around targets enumerated in the pipeline.\n properties:\n missingTargets:\n type: array\n x-dcl-go-name: MissingTargets\n description: The list of Target names that are missing. For example,\n projects/{project_id}/locations/{location_name}/targets/{target_name}.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Clouddeploy/Target\n field: selfLink\n status:\n type: boolean\n x-dcl-go-name: Status\n description: True if there aren't any missing Targets.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last time the condition was updated.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the pipeline was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the `DeliveryPipeline`. Max length is 255 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: This checksum is computed by the server based on the value\n of other fields, and may be sent on update and delete requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Labels are attributes that can be set and used by both the\n user and by Google Cloud Deploy. Labels must meet the following constraints:\n * Keys and values can contain only lowercase letters, numeric characters,\n underscores, and dashes. * All characters must use UTF-8 encoding, and\n international characters are allowed. * Keys must start with a lowercase\n letter or international character. * Each resource is limited to a maximum\n of 64 labels. Both keys and values are additionally constrained to be\n <= 128 bytes.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the `DeliveryPipeline`. Format is [a-z][a-z0-9\\-]{0,62}.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serialPipeline:\n type: object\n x-dcl-go-name: SerialPipeline\n x-dcl-go-type: DeliveryPipelineSerialPipeline\n description: SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.\n properties:\n stages:\n type: array\n x-dcl-go-name: Stages\n description: Each stage specifies configuration for a `Target`. The\n ordering of this list defines the promotion flow.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeliveryPipelineSerialPipelineStages\n properties:\n profiles:\n type: array\n x-dcl-go-name: Profiles\n description: Skaffold profiles to use when rendering the manifest\n for this stage's `Target`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n targetId:\n type: string\n x-dcl-go-name: TargetId\n description: The target_id to which this stage points. This field\n refers exclusively to the last segment of a target name. For\n example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`).\n The location of the `Target` is inferred to be the same as the\n location of the `DeliveryPipeline` that contains this `Stage`.\n suspended:\n type: boolean\n x-dcl-go-name: Suspended\n description: When suspended, no new releases or rollouts can be created,\n but in-progress ones will complete.\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Unique identifier of the `DeliveryPipeline`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Most recent time at which the pipeline was updated.\n x-kubernetes-immutable: true\n") +var YAML_delivery_pipeline = []byte("info:\n title: Clouddeploy/DeliveryPipeline\n description: The Cloud Deploy `DeliveryPipeline` resource\n x-dcl-struct-name: DeliveryPipeline\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.deliveryPipelines\npaths:\n get:\n description: The function used to get information about a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n apply:\n description: The function used to apply information about a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n delete:\n description: The function used to delete a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n deleteAll:\n description: The function used to delete all DeliveryPipeline\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many DeliveryPipeline\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n DeliveryPipeline:\n title: DeliveryPipeline\n x-dcl-id: projects/{{project}}/locations/{{location}}/deliveryPipelines/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: User annotations. These attributes can only be set and used\n by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeliveryPipelineCondition\n readOnly: true\n description: Output only. Information around the state of the Delivery Pipeline.\n properties:\n pipelineReadyCondition:\n type: object\n x-dcl-go-name: PipelineReadyCondition\n x-dcl-go-type: DeliveryPipelineConditionPipelineReadyCondition\n description: Details around the Pipeline's overall status.\n properties:\n status:\n type: boolean\n x-dcl-go-name: Status\n description: True if the Pipeline is in a valid state. Otherwise\n at least one condition in `PipelineCondition` is in an invalid\n state. Iterate over those conditions and see which condition(s)\n has status = false to find out what is wrong with the Pipeline.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last time the condition was updated.\n targetsPresentCondition:\n type: object\n x-dcl-go-name: TargetsPresentCondition\n x-dcl-go-type: DeliveryPipelineConditionTargetsPresentCondition\n description: Detalis around targets enumerated in the pipeline.\n properties:\n missingTargets:\n type: array\n x-dcl-go-name: MissingTargets\n description: The list of Target names that are missing. For example,\n projects/{project_id}/locations/{location_name}/targets/{target_name}.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Clouddeploy/Target\n field: selfLink\n status:\n type: boolean\n x-dcl-go-name: Status\n description: True if there aren't any missing Targets.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last time the condition was updated.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the pipeline was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the `DeliveryPipeline`. Max length is 255 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: This checksum is computed by the server based on the value\n of other fields, and may be sent on update and delete requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Labels are attributes that can be set and used by both the\n user and by Google Cloud Deploy. Labels must meet the following constraints:\n * Keys and values can contain only lowercase letters, numeric characters,\n underscores, and dashes. * All characters must use UTF-8 encoding, and\n international characters are allowed. * Keys must start with a lowercase\n letter or international character. * Each resource is limited to a maximum\n of 64 labels. Both keys and values are additionally constrained to be\n <= 128 bytes.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the `DeliveryPipeline`. Format is [a-z][a-z0-9\\-]{0,62}.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serialPipeline:\n type: object\n x-dcl-go-name: SerialPipeline\n x-dcl-go-type: DeliveryPipelineSerialPipeline\n description: SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.\n properties:\n stages:\n type: array\n x-dcl-go-name: Stages\n description: Each stage specifies configuration for a `Target`. The\n ordering of this list defines the promotion flow.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeliveryPipelineSerialPipelineStages\n properties:\n profiles:\n type: array\n x-dcl-go-name: Profiles\n description: Skaffold profiles to use when rendering the manifest\n for this stage's `Target`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n targetId:\n type: string\n x-dcl-go-name: TargetId\n description: The target_id to which this stage points. This field\n refers exclusively to the last segment of a target name. For\n example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`).\n The location of the `Target` is inferred to be the same as the\n location of the `DeliveryPipeline` that contains this `Stage`.\n suspended:\n type: boolean\n x-dcl-go-name: Suspended\n description: When suspended, no new releases or rollouts can be created,\n but in-progress ones will complete.\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Unique identifier of the `DeliveryPipeline`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Most recent time at which the pipeline was updated.\n x-kubernetes-immutable: true\n") -// 9205 bytes -// MD5: 333fe6e4bfe4db98969f2549414a2be2 +// 9230 bytes +// MD5: 3ae43691c39b68a3b001dc886e228a45 diff --git a/services/google/clouddeploy/alpha/delivery_pipeline_schema.go b/services/google/clouddeploy/alpha/delivery_pipeline_schema.go index 6e4905de1b..4c2638649d 100755 --- a/services/google/clouddeploy/alpha/delivery_pipeline_schema.go +++ b/services/google/clouddeploy/alpha/delivery_pipeline_schema.go @@ -23,6 +23,7 @@ func DCLDeliveryPipelineSchema() *dcl.Schema { Title: "Clouddeploy/DeliveryPipeline", Description: "The Cloud Deploy `DeliveryPipeline` resource", StructName: "DeliveryPipeline", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.deliveryPipelines", diff --git a/services/google/clouddeploy/alpha/target.yaml b/services/google/clouddeploy/alpha/target.yaml index 0d9b47a3cb..70cfc50777 100755 --- a/services/google/clouddeploy/alpha/target.yaml +++ b/services/google/clouddeploy/alpha/target.yaml @@ -15,6 +15,7 @@ info: title: Clouddeploy/Target description: The Cloud Deploy `Target` resource x-dcl-struct-name: Target + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/clouddeploy/alpha/target_alpha_yaml_embed.go b/services/google/clouddeploy/alpha/target_alpha_yaml_embed.go index b1d11ed814..8e3ab7aebe 100755 --- a/services/google/clouddeploy/alpha/target_alpha_yaml_embed.go +++ b/services/google/clouddeploy/alpha/target_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/clouddeploy/alpha/target.yaml -var YAML_target = []byte("info:\n title: Clouddeploy/Target\n description: The Cloud Deploy `Target` resource\n x-dcl-struct-name: Target\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.targets\npaths:\n get:\n description: The function used to get information about a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n apply:\n description: The function used to apply information about a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n delete:\n description: The function used to delete a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n deleteAll:\n description: The function used to delete all Target\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Target\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Target:\n title: Target\n x-dcl-id: projects/{{project}}/locations/{{location}}/targets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: Optional. User annotations. These attributes can only be set\n and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n anthosCluster:\n type: object\n x-dcl-go-name: AnthosCluster\n x-dcl-go-type: TargetAnthosCluster\n description: Information specifying an Anthos Cluster.\n x-dcl-conflicts:\n - gke\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n description: Membership of the GKE Hub-registered cluster to which to\n apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`.\n x-dcl-references:\n - resource: Gkehub/Membership\n field: selfLink\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the `Target` was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the `Target`. Max length is 255 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. This checksum is computed by the server based on\n the value of other fields, and may be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n executionConfigs:\n type: array\n x-dcl-go-name: ExecutionConfigs\n description: Configurations for all execution that relates to this `Target`.\n Each `ExecutionEnvironmentUsage` value may only be used in a single configuration;\n using the same value multiple times is an error. When one or more configurations\n are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage`\n values. When no configurations are specified, execution will use the default\n specified in `DefaultPool`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TargetExecutionConfigs\n required:\n - usages\n properties:\n artifactStorage:\n type: string\n x-dcl-go-name: ArtifactStorage\n description: Optional. Cloud Storage location in which to store execution\n outputs. This can either be a bucket (\"gs://my-bucket\") or a path\n within a bucket (\"gs://my-bucket/my-dir\"). If unspecified, a default\n bucket located in the same region will be used.\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. Google service account to use for execution.\n If unspecified, the project execution service account (-compute@developer.gserviceaccount.com)\n is used.\n usages:\n type: array\n x-dcl-go-name: Usages\n description: Required. Usages when this configuration should be applied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TargetExecutionConfigsUsagesEnum\n enum:\n - EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED\n - RENDER\n - DEPLOY\n workerPool:\n type: string\n x-dcl-go-name: WorkerPool\n description: Optional. The resource name of the `WorkerPool`, with\n the format `projects/{project}/locations/{location}/workerPools/{worker_pool}`.\n If this optional field is unspecified, the default Cloud Build pool\n will be used.\n x-dcl-references:\n - resource: Cloudbuild/WorkerPool\n field: selfLink\n gke:\n type: object\n x-dcl-go-name: Gke\n x-dcl-go-type: TargetGke\n description: Information specifying a GKE Cluster.\n x-dcl-conflicts:\n - anthosCluster\n properties:\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n internalIP:\n type: boolean\n x-dcl-go-name: InternalIP\n description: Optional. If true, `cluster` is accessed using the private\n IP address of the control plane endpoint. Otherwise, the default IP\n address of the control plane endpoint is used. The default IP address\n is the private IP address for clusters with private control-plane\n endpoints and the public IP address otherwise. Only specify this option\n when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. Labels are attributes that can be set and used by\n both the user and by Google Cloud Deploy. Labels must meet the following\n constraints: * Keys and values can contain only lowercase letters, numeric\n characters, underscores, and dashes. * All characters must use UTF-8 encoding,\n and international characters are allowed. * Keys must start with a lowercase\n letter or international character. * Each resource is limited to a maximum\n of 64 labels. Both keys and values are additionally constrained to be\n <= 128 bytes.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the `Target`. Format is [a-z][a-z0-9\\-]{0,62}.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n requireApproval:\n type: boolean\n x-dcl-go-name: RequireApproval\n description: Optional. Whether or not the `Target` requires approval.\n targetId:\n type: string\n x-dcl-go-name: TargetId\n readOnly: true\n description: Output only. Resource id of the `Target`.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Unique identifier of the `Target`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Most recent time at which the `Target` was updated.\n x-kubernetes-immutable: true\n") +var YAML_target = []byte("info:\n title: Clouddeploy/Target\n description: The Cloud Deploy `Target` resource\n x-dcl-struct-name: Target\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.targets\npaths:\n get:\n description: The function used to get information about a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n apply:\n description: The function used to apply information about a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n delete:\n description: The function used to delete a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n deleteAll:\n description: The function used to delete all Target\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Target\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Target:\n title: Target\n x-dcl-id: projects/{{project}}/locations/{{location}}/targets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: Optional. User annotations. These attributes can only be set\n and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n anthosCluster:\n type: object\n x-dcl-go-name: AnthosCluster\n x-dcl-go-type: TargetAnthosCluster\n description: Information specifying an Anthos Cluster.\n x-dcl-conflicts:\n - gke\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n description: Membership of the GKE Hub-registered cluster to which to\n apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`.\n x-dcl-references:\n - resource: Gkehub/Membership\n field: selfLink\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the `Target` was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the `Target`. Max length is 255 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. This checksum is computed by the server based on\n the value of other fields, and may be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n executionConfigs:\n type: array\n x-dcl-go-name: ExecutionConfigs\n description: Configurations for all execution that relates to this `Target`.\n Each `ExecutionEnvironmentUsage` value may only be used in a single configuration;\n using the same value multiple times is an error. When one or more configurations\n are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage`\n values. When no configurations are specified, execution will use the default\n specified in `DefaultPool`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TargetExecutionConfigs\n required:\n - usages\n properties:\n artifactStorage:\n type: string\n x-dcl-go-name: ArtifactStorage\n description: Optional. Cloud Storage location in which to store execution\n outputs. This can either be a bucket (\"gs://my-bucket\") or a path\n within a bucket (\"gs://my-bucket/my-dir\"). If unspecified, a default\n bucket located in the same region will be used.\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. Google service account to use for execution.\n If unspecified, the project execution service account (-compute@developer.gserviceaccount.com)\n is used.\n usages:\n type: array\n x-dcl-go-name: Usages\n description: Required. Usages when this configuration should be applied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TargetExecutionConfigsUsagesEnum\n enum:\n - EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED\n - RENDER\n - DEPLOY\n workerPool:\n type: string\n x-dcl-go-name: WorkerPool\n description: Optional. The resource name of the `WorkerPool`, with\n the format `projects/{project}/locations/{location}/workerPools/{worker_pool}`.\n If this optional field is unspecified, the default Cloud Build pool\n will be used.\n x-dcl-references:\n - resource: Cloudbuild/WorkerPool\n field: selfLink\n gke:\n type: object\n x-dcl-go-name: Gke\n x-dcl-go-type: TargetGke\n description: Information specifying a GKE Cluster.\n x-dcl-conflicts:\n - anthosCluster\n properties:\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n internalIP:\n type: boolean\n x-dcl-go-name: InternalIP\n description: Optional. If true, `cluster` is accessed using the private\n IP address of the control plane endpoint. Otherwise, the default IP\n address of the control plane endpoint is used. The default IP address\n is the private IP address for clusters with private control-plane\n endpoints and the public IP address otherwise. Only specify this option\n when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. Labels are attributes that can be set and used by\n both the user and by Google Cloud Deploy. Labels must meet the following\n constraints: * Keys and values can contain only lowercase letters, numeric\n characters, underscores, and dashes. * All characters must use UTF-8 encoding,\n and international characters are allowed. * Keys must start with a lowercase\n letter or international character. * Each resource is limited to a maximum\n of 64 labels. Both keys and values are additionally constrained to be\n <= 128 bytes.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the `Target`. Format is [a-z][a-z0-9\\-]{0,62}.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n requireApproval:\n type: boolean\n x-dcl-go-name: RequireApproval\n description: Optional. Whether or not the `Target` requires approval.\n targetId:\n type: string\n x-dcl-go-name: TargetId\n readOnly: true\n description: Output only. Resource id of the `Target`.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Unique identifier of the `Target`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Most recent time at which the `Target` was updated.\n x-kubernetes-immutable: true\n") -// 9524 bytes -// MD5: d2e062345af1de93fb457290c298b220 +// 9549 bytes +// MD5: 0df60ed4b5b40e6252f653857f664e15 diff --git a/services/google/clouddeploy/alpha/target_schema.go b/services/google/clouddeploy/alpha/target_schema.go index 0371e735fd..38f9a8f0f6 100755 --- a/services/google/clouddeploy/alpha/target_schema.go +++ b/services/google/clouddeploy/alpha/target_schema.go @@ -23,6 +23,7 @@ func DCLTargetSchema() *dcl.Schema { Title: "Clouddeploy/Target", Description: "The Cloud Deploy `Target` resource", StructName: "Target", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.targets", diff --git a/services/google/clouddeploy/beta/delivery_pipeline.yaml b/services/google/clouddeploy/beta/delivery_pipeline.yaml index 6761a9b342..81e8db2b42 100755 --- a/services/google/clouddeploy/beta/delivery_pipeline.yaml +++ b/services/google/clouddeploy/beta/delivery_pipeline.yaml @@ -15,6 +15,7 @@ info: title: Clouddeploy/DeliveryPipeline description: The Cloud Deploy `DeliveryPipeline` resource x-dcl-struct-name: DeliveryPipeline + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/clouddeploy/beta/delivery_pipeline_beta_yaml_embed.go b/services/google/clouddeploy/beta/delivery_pipeline_beta_yaml_embed.go index f28c9bd226..643f780a67 100755 --- a/services/google/clouddeploy/beta/delivery_pipeline_beta_yaml_embed.go +++ b/services/google/clouddeploy/beta/delivery_pipeline_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/clouddeploy/beta/delivery_pipeline.yaml -var YAML_delivery_pipeline = []byte("info:\n title: Clouddeploy/DeliveryPipeline\n description: The Cloud Deploy `DeliveryPipeline` resource\n x-dcl-struct-name: DeliveryPipeline\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.deliveryPipelines\npaths:\n get:\n description: The function used to get information about a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n apply:\n description: The function used to apply information about a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n delete:\n description: The function used to delete a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n deleteAll:\n description: The function used to delete all DeliveryPipeline\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many DeliveryPipeline\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n DeliveryPipeline:\n title: DeliveryPipeline\n x-dcl-id: projects/{{project}}/locations/{{location}}/deliveryPipelines/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: User annotations. These attributes can only be set and used\n by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeliveryPipelineCondition\n readOnly: true\n description: Output only. Information around the state of the Delivery Pipeline.\n properties:\n pipelineReadyCondition:\n type: object\n x-dcl-go-name: PipelineReadyCondition\n x-dcl-go-type: DeliveryPipelineConditionPipelineReadyCondition\n description: Details around the Pipeline's overall status.\n properties:\n status:\n type: boolean\n x-dcl-go-name: Status\n description: True if the Pipeline is in a valid state. Otherwise\n at least one condition in `PipelineCondition` is in an invalid\n state. Iterate over those conditions and see which condition(s)\n has status = false to find out what is wrong with the Pipeline.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last time the condition was updated.\n targetsPresentCondition:\n type: object\n x-dcl-go-name: TargetsPresentCondition\n x-dcl-go-type: DeliveryPipelineConditionTargetsPresentCondition\n description: Detalis around targets enumerated in the pipeline.\n properties:\n missingTargets:\n type: array\n x-dcl-go-name: MissingTargets\n description: The list of Target names that are missing. For example,\n projects/{project_id}/locations/{location_name}/targets/{target_name}.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Clouddeploy/Target\n field: selfLink\n status:\n type: boolean\n x-dcl-go-name: Status\n description: True if there aren't any missing Targets.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last time the condition was updated.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the pipeline was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the `DeliveryPipeline`. Max length is 255 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: This checksum is computed by the server based on the value\n of other fields, and may be sent on update and delete requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Labels are attributes that can be set and used by both the\n user and by Google Cloud Deploy. Labels must meet the following constraints:\n * Keys and values can contain only lowercase letters, numeric characters,\n underscores, and dashes. * All characters must use UTF-8 encoding, and\n international characters are allowed. * Keys must start with a lowercase\n letter or international character. * Each resource is limited to a maximum\n of 64 labels. Both keys and values are additionally constrained to be\n <= 128 bytes.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the `DeliveryPipeline`. Format is [a-z][a-z0-9\\-]{0,62}.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serialPipeline:\n type: object\n x-dcl-go-name: SerialPipeline\n x-dcl-go-type: DeliveryPipelineSerialPipeline\n description: SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.\n properties:\n stages:\n type: array\n x-dcl-go-name: Stages\n description: Each stage specifies configuration for a `Target`. The\n ordering of this list defines the promotion flow.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeliveryPipelineSerialPipelineStages\n properties:\n profiles:\n type: array\n x-dcl-go-name: Profiles\n description: Skaffold profiles to use when rendering the manifest\n for this stage's `Target`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n targetId:\n type: string\n x-dcl-go-name: TargetId\n description: The target_id to which this stage points. This field\n refers exclusively to the last segment of a target name. For\n example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`).\n The location of the `Target` is inferred to be the same as the\n location of the `DeliveryPipeline` that contains this `Stage`.\n suspended:\n type: boolean\n x-dcl-go-name: Suspended\n description: When suspended, no new releases or rollouts can be created,\n but in-progress ones will complete.\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Unique identifier of the `DeliveryPipeline`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Most recent time at which the pipeline was updated.\n x-kubernetes-immutable: true\n") +var YAML_delivery_pipeline = []byte("info:\n title: Clouddeploy/DeliveryPipeline\n description: The Cloud Deploy `DeliveryPipeline` resource\n x-dcl-struct-name: DeliveryPipeline\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.deliveryPipelines\npaths:\n get:\n description: The function used to get information about a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n apply:\n description: The function used to apply information about a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n delete:\n description: The function used to delete a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n deleteAll:\n description: The function used to delete all DeliveryPipeline\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many DeliveryPipeline\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n DeliveryPipeline:\n title: DeliveryPipeline\n x-dcl-id: projects/{{project}}/locations/{{location}}/deliveryPipelines/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: User annotations. These attributes can only be set and used\n by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeliveryPipelineCondition\n readOnly: true\n description: Output only. Information around the state of the Delivery Pipeline.\n properties:\n pipelineReadyCondition:\n type: object\n x-dcl-go-name: PipelineReadyCondition\n x-dcl-go-type: DeliveryPipelineConditionPipelineReadyCondition\n description: Details around the Pipeline's overall status.\n properties:\n status:\n type: boolean\n x-dcl-go-name: Status\n description: True if the Pipeline is in a valid state. Otherwise\n at least one condition in `PipelineCondition` is in an invalid\n state. Iterate over those conditions and see which condition(s)\n has status = false to find out what is wrong with the Pipeline.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last time the condition was updated.\n targetsPresentCondition:\n type: object\n x-dcl-go-name: TargetsPresentCondition\n x-dcl-go-type: DeliveryPipelineConditionTargetsPresentCondition\n description: Detalis around targets enumerated in the pipeline.\n properties:\n missingTargets:\n type: array\n x-dcl-go-name: MissingTargets\n description: The list of Target names that are missing. For example,\n projects/{project_id}/locations/{location_name}/targets/{target_name}.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Clouddeploy/Target\n field: selfLink\n status:\n type: boolean\n x-dcl-go-name: Status\n description: True if there aren't any missing Targets.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last time the condition was updated.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the pipeline was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the `DeliveryPipeline`. Max length is 255 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: This checksum is computed by the server based on the value\n of other fields, and may be sent on update and delete requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Labels are attributes that can be set and used by both the\n user and by Google Cloud Deploy. Labels must meet the following constraints:\n * Keys and values can contain only lowercase letters, numeric characters,\n underscores, and dashes. * All characters must use UTF-8 encoding, and\n international characters are allowed. * Keys must start with a lowercase\n letter or international character. * Each resource is limited to a maximum\n of 64 labels. Both keys and values are additionally constrained to be\n <= 128 bytes.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the `DeliveryPipeline`. Format is [a-z][a-z0-9\\-]{0,62}.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serialPipeline:\n type: object\n x-dcl-go-name: SerialPipeline\n x-dcl-go-type: DeliveryPipelineSerialPipeline\n description: SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.\n properties:\n stages:\n type: array\n x-dcl-go-name: Stages\n description: Each stage specifies configuration for a `Target`. The\n ordering of this list defines the promotion flow.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeliveryPipelineSerialPipelineStages\n properties:\n profiles:\n type: array\n x-dcl-go-name: Profiles\n description: Skaffold profiles to use when rendering the manifest\n for this stage's `Target`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n targetId:\n type: string\n x-dcl-go-name: TargetId\n description: The target_id to which this stage points. This field\n refers exclusively to the last segment of a target name. For\n example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`).\n The location of the `Target` is inferred to be the same as the\n location of the `DeliveryPipeline` that contains this `Stage`.\n suspended:\n type: boolean\n x-dcl-go-name: Suspended\n description: When suspended, no new releases or rollouts can be created,\n but in-progress ones will complete.\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Unique identifier of the `DeliveryPipeline`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Most recent time at which the pipeline was updated.\n x-kubernetes-immutable: true\n") -// 9205 bytes -// MD5: 333fe6e4bfe4db98969f2549414a2be2 +// 9230 bytes +// MD5: 3ae43691c39b68a3b001dc886e228a45 diff --git a/services/google/clouddeploy/beta/delivery_pipeline_schema.go b/services/google/clouddeploy/beta/delivery_pipeline_schema.go index f29ab344e3..f9dad2523c 100755 --- a/services/google/clouddeploy/beta/delivery_pipeline_schema.go +++ b/services/google/clouddeploy/beta/delivery_pipeline_schema.go @@ -23,6 +23,7 @@ func DCLDeliveryPipelineSchema() *dcl.Schema { Title: "Clouddeploy/DeliveryPipeline", Description: "The Cloud Deploy `DeliveryPipeline` resource", StructName: "DeliveryPipeline", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.deliveryPipelines", diff --git a/services/google/clouddeploy/beta/target.yaml b/services/google/clouddeploy/beta/target.yaml index 0d9b47a3cb..70cfc50777 100755 --- a/services/google/clouddeploy/beta/target.yaml +++ b/services/google/clouddeploy/beta/target.yaml @@ -15,6 +15,7 @@ info: title: Clouddeploy/Target description: The Cloud Deploy `Target` resource x-dcl-struct-name: Target + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/clouddeploy/beta/target_beta_yaml_embed.go b/services/google/clouddeploy/beta/target_beta_yaml_embed.go index 36b215f4ca..ea27c465b8 100755 --- a/services/google/clouddeploy/beta/target_beta_yaml_embed.go +++ b/services/google/clouddeploy/beta/target_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/clouddeploy/beta/target.yaml -var YAML_target = []byte("info:\n title: Clouddeploy/Target\n description: The Cloud Deploy `Target` resource\n x-dcl-struct-name: Target\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.targets\npaths:\n get:\n description: The function used to get information about a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n apply:\n description: The function used to apply information about a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n delete:\n description: The function used to delete a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n deleteAll:\n description: The function used to delete all Target\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Target\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Target:\n title: Target\n x-dcl-id: projects/{{project}}/locations/{{location}}/targets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: Optional. User annotations. These attributes can only be set\n and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n anthosCluster:\n type: object\n x-dcl-go-name: AnthosCluster\n x-dcl-go-type: TargetAnthosCluster\n description: Information specifying an Anthos Cluster.\n x-dcl-conflicts:\n - gke\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n description: Membership of the GKE Hub-registered cluster to which to\n apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`.\n x-dcl-references:\n - resource: Gkehub/Membership\n field: selfLink\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the `Target` was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the `Target`. Max length is 255 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. This checksum is computed by the server based on\n the value of other fields, and may be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n executionConfigs:\n type: array\n x-dcl-go-name: ExecutionConfigs\n description: Configurations for all execution that relates to this `Target`.\n Each `ExecutionEnvironmentUsage` value may only be used in a single configuration;\n using the same value multiple times is an error. When one or more configurations\n are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage`\n values. When no configurations are specified, execution will use the default\n specified in `DefaultPool`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TargetExecutionConfigs\n required:\n - usages\n properties:\n artifactStorage:\n type: string\n x-dcl-go-name: ArtifactStorage\n description: Optional. Cloud Storage location in which to store execution\n outputs. This can either be a bucket (\"gs://my-bucket\") or a path\n within a bucket (\"gs://my-bucket/my-dir\"). If unspecified, a default\n bucket located in the same region will be used.\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. Google service account to use for execution.\n If unspecified, the project execution service account (-compute@developer.gserviceaccount.com)\n is used.\n usages:\n type: array\n x-dcl-go-name: Usages\n description: Required. Usages when this configuration should be applied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TargetExecutionConfigsUsagesEnum\n enum:\n - EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED\n - RENDER\n - DEPLOY\n workerPool:\n type: string\n x-dcl-go-name: WorkerPool\n description: Optional. The resource name of the `WorkerPool`, with\n the format `projects/{project}/locations/{location}/workerPools/{worker_pool}`.\n If this optional field is unspecified, the default Cloud Build pool\n will be used.\n x-dcl-references:\n - resource: Cloudbuild/WorkerPool\n field: selfLink\n gke:\n type: object\n x-dcl-go-name: Gke\n x-dcl-go-type: TargetGke\n description: Information specifying a GKE Cluster.\n x-dcl-conflicts:\n - anthosCluster\n properties:\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n internalIP:\n type: boolean\n x-dcl-go-name: InternalIP\n description: Optional. If true, `cluster` is accessed using the private\n IP address of the control plane endpoint. Otherwise, the default IP\n address of the control plane endpoint is used. The default IP address\n is the private IP address for clusters with private control-plane\n endpoints and the public IP address otherwise. Only specify this option\n when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. Labels are attributes that can be set and used by\n both the user and by Google Cloud Deploy. Labels must meet the following\n constraints: * Keys and values can contain only lowercase letters, numeric\n characters, underscores, and dashes. * All characters must use UTF-8 encoding,\n and international characters are allowed. * Keys must start with a lowercase\n letter or international character. * Each resource is limited to a maximum\n of 64 labels. Both keys and values are additionally constrained to be\n <= 128 bytes.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the `Target`. Format is [a-z][a-z0-9\\-]{0,62}.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n requireApproval:\n type: boolean\n x-dcl-go-name: RequireApproval\n description: Optional. Whether or not the `Target` requires approval.\n targetId:\n type: string\n x-dcl-go-name: TargetId\n readOnly: true\n description: Output only. Resource id of the `Target`.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Unique identifier of the `Target`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Most recent time at which the `Target` was updated.\n x-kubernetes-immutable: true\n") +var YAML_target = []byte("info:\n title: Clouddeploy/Target\n description: The Cloud Deploy `Target` resource\n x-dcl-struct-name: Target\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.targets\npaths:\n get:\n description: The function used to get information about a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n apply:\n description: The function used to apply information about a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n delete:\n description: The function used to delete a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n deleteAll:\n description: The function used to delete all Target\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Target\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Target:\n title: Target\n x-dcl-id: projects/{{project}}/locations/{{location}}/targets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: Optional. User annotations. These attributes can only be set\n and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n anthosCluster:\n type: object\n x-dcl-go-name: AnthosCluster\n x-dcl-go-type: TargetAnthosCluster\n description: Information specifying an Anthos Cluster.\n x-dcl-conflicts:\n - gke\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n description: Membership of the GKE Hub-registered cluster to which to\n apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`.\n x-dcl-references:\n - resource: Gkehub/Membership\n field: selfLink\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the `Target` was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the `Target`. Max length is 255 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. This checksum is computed by the server based on\n the value of other fields, and may be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n executionConfigs:\n type: array\n x-dcl-go-name: ExecutionConfigs\n description: Configurations for all execution that relates to this `Target`.\n Each `ExecutionEnvironmentUsage` value may only be used in a single configuration;\n using the same value multiple times is an error. When one or more configurations\n are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage`\n values. When no configurations are specified, execution will use the default\n specified in `DefaultPool`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TargetExecutionConfigs\n required:\n - usages\n properties:\n artifactStorage:\n type: string\n x-dcl-go-name: ArtifactStorage\n description: Optional. Cloud Storage location in which to store execution\n outputs. This can either be a bucket (\"gs://my-bucket\") or a path\n within a bucket (\"gs://my-bucket/my-dir\"). If unspecified, a default\n bucket located in the same region will be used.\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. Google service account to use for execution.\n If unspecified, the project execution service account (-compute@developer.gserviceaccount.com)\n is used.\n usages:\n type: array\n x-dcl-go-name: Usages\n description: Required. Usages when this configuration should be applied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TargetExecutionConfigsUsagesEnum\n enum:\n - EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED\n - RENDER\n - DEPLOY\n workerPool:\n type: string\n x-dcl-go-name: WorkerPool\n description: Optional. The resource name of the `WorkerPool`, with\n the format `projects/{project}/locations/{location}/workerPools/{worker_pool}`.\n If this optional field is unspecified, the default Cloud Build pool\n will be used.\n x-dcl-references:\n - resource: Cloudbuild/WorkerPool\n field: selfLink\n gke:\n type: object\n x-dcl-go-name: Gke\n x-dcl-go-type: TargetGke\n description: Information specifying a GKE Cluster.\n x-dcl-conflicts:\n - anthosCluster\n properties:\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n internalIP:\n type: boolean\n x-dcl-go-name: InternalIP\n description: Optional. If true, `cluster` is accessed using the private\n IP address of the control plane endpoint. Otherwise, the default IP\n address of the control plane endpoint is used. The default IP address\n is the private IP address for clusters with private control-plane\n endpoints and the public IP address otherwise. Only specify this option\n when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. Labels are attributes that can be set and used by\n both the user and by Google Cloud Deploy. Labels must meet the following\n constraints: * Keys and values can contain only lowercase letters, numeric\n characters, underscores, and dashes. * All characters must use UTF-8 encoding,\n and international characters are allowed. * Keys must start with a lowercase\n letter or international character. * Each resource is limited to a maximum\n of 64 labels. Both keys and values are additionally constrained to be\n <= 128 bytes.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the `Target`. Format is [a-z][a-z0-9\\-]{0,62}.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n requireApproval:\n type: boolean\n x-dcl-go-name: RequireApproval\n description: Optional. Whether or not the `Target` requires approval.\n targetId:\n type: string\n x-dcl-go-name: TargetId\n readOnly: true\n description: Output only. Resource id of the `Target`.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Unique identifier of the `Target`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Most recent time at which the `Target` was updated.\n x-kubernetes-immutable: true\n") -// 9524 bytes -// MD5: d2e062345af1de93fb457290c298b220 +// 9549 bytes +// MD5: 0df60ed4b5b40e6252f653857f664e15 diff --git a/services/google/clouddeploy/beta/target_schema.go b/services/google/clouddeploy/beta/target_schema.go index 0c3c382e00..fe1ba217a9 100755 --- a/services/google/clouddeploy/beta/target_schema.go +++ b/services/google/clouddeploy/beta/target_schema.go @@ -23,6 +23,7 @@ func DCLTargetSchema() *dcl.Schema { Title: "Clouddeploy/Target", Description: "The Cloud Deploy `Target` resource", StructName: "Target", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.targets", diff --git a/services/google/clouddeploy/delivery_pipeline.yaml b/services/google/clouddeploy/delivery_pipeline.yaml index 6761a9b342..81e8db2b42 100755 --- a/services/google/clouddeploy/delivery_pipeline.yaml +++ b/services/google/clouddeploy/delivery_pipeline.yaml @@ -15,6 +15,7 @@ info: title: Clouddeploy/DeliveryPipeline description: The Cloud Deploy `DeliveryPipeline` resource x-dcl-struct-name: DeliveryPipeline + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/clouddeploy/delivery_pipeline_schema.go b/services/google/clouddeploy/delivery_pipeline_schema.go index 5dbf6720a9..d6b5524bee 100755 --- a/services/google/clouddeploy/delivery_pipeline_schema.go +++ b/services/google/clouddeploy/delivery_pipeline_schema.go @@ -23,6 +23,7 @@ func DCLDeliveryPipelineSchema() *dcl.Schema { Title: "Clouddeploy/DeliveryPipeline", Description: "The Cloud Deploy `DeliveryPipeline` resource", StructName: "DeliveryPipeline", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.deliveryPipelines", diff --git a/services/google/clouddeploy/delivery_pipeline_yaml_embed.go b/services/google/clouddeploy/delivery_pipeline_yaml_embed.go index 32c590471c..99d797212c 100755 --- a/services/google/clouddeploy/delivery_pipeline_yaml_embed.go +++ b/services/google/clouddeploy/delivery_pipeline_yaml_embed.go @@ -17,7 +17,7 @@ package clouddeploy // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/clouddeploy/delivery_pipeline.yaml -var YAML_delivery_pipeline = []byte("info:\n title: Clouddeploy/DeliveryPipeline\n description: The Cloud Deploy `DeliveryPipeline` resource\n x-dcl-struct-name: DeliveryPipeline\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.deliveryPipelines\npaths:\n get:\n description: The function used to get information about a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n apply:\n description: The function used to apply information about a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n delete:\n description: The function used to delete a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n deleteAll:\n description: The function used to delete all DeliveryPipeline\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many DeliveryPipeline\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n DeliveryPipeline:\n title: DeliveryPipeline\n x-dcl-id: projects/{{project}}/locations/{{location}}/deliveryPipelines/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: User annotations. These attributes can only be set and used\n by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeliveryPipelineCondition\n readOnly: true\n description: Output only. Information around the state of the Delivery Pipeline.\n properties:\n pipelineReadyCondition:\n type: object\n x-dcl-go-name: PipelineReadyCondition\n x-dcl-go-type: DeliveryPipelineConditionPipelineReadyCondition\n description: Details around the Pipeline's overall status.\n properties:\n status:\n type: boolean\n x-dcl-go-name: Status\n description: True if the Pipeline is in a valid state. Otherwise\n at least one condition in `PipelineCondition` is in an invalid\n state. Iterate over those conditions and see which condition(s)\n has status = false to find out what is wrong with the Pipeline.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last time the condition was updated.\n targetsPresentCondition:\n type: object\n x-dcl-go-name: TargetsPresentCondition\n x-dcl-go-type: DeliveryPipelineConditionTargetsPresentCondition\n description: Detalis around targets enumerated in the pipeline.\n properties:\n missingTargets:\n type: array\n x-dcl-go-name: MissingTargets\n description: The list of Target names that are missing. For example,\n projects/{project_id}/locations/{location_name}/targets/{target_name}.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Clouddeploy/Target\n field: selfLink\n status:\n type: boolean\n x-dcl-go-name: Status\n description: True if there aren't any missing Targets.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last time the condition was updated.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the pipeline was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the `DeliveryPipeline`. Max length is 255 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: This checksum is computed by the server based on the value\n of other fields, and may be sent on update and delete requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Labels are attributes that can be set and used by both the\n user and by Google Cloud Deploy. Labels must meet the following constraints:\n * Keys and values can contain only lowercase letters, numeric characters,\n underscores, and dashes. * All characters must use UTF-8 encoding, and\n international characters are allowed. * Keys must start with a lowercase\n letter or international character. * Each resource is limited to a maximum\n of 64 labels. Both keys and values are additionally constrained to be\n <= 128 bytes.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the `DeliveryPipeline`. Format is [a-z][a-z0-9\\-]{0,62}.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serialPipeline:\n type: object\n x-dcl-go-name: SerialPipeline\n x-dcl-go-type: DeliveryPipelineSerialPipeline\n description: SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.\n properties:\n stages:\n type: array\n x-dcl-go-name: Stages\n description: Each stage specifies configuration for a `Target`. The\n ordering of this list defines the promotion flow.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeliveryPipelineSerialPipelineStages\n properties:\n profiles:\n type: array\n x-dcl-go-name: Profiles\n description: Skaffold profiles to use when rendering the manifest\n for this stage's `Target`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n targetId:\n type: string\n x-dcl-go-name: TargetId\n description: The target_id to which this stage points. This field\n refers exclusively to the last segment of a target name. For\n example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`).\n The location of the `Target` is inferred to be the same as the\n location of the `DeliveryPipeline` that contains this `Stage`.\n suspended:\n type: boolean\n x-dcl-go-name: Suspended\n description: When suspended, no new releases or rollouts can be created,\n but in-progress ones will complete.\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Unique identifier of the `DeliveryPipeline`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Most recent time at which the pipeline was updated.\n x-kubernetes-immutable: true\n") +var YAML_delivery_pipeline = []byte("info:\n title: Clouddeploy/DeliveryPipeline\n description: The Cloud Deploy `DeliveryPipeline` resource\n x-dcl-struct-name: DeliveryPipeline\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.deliveryPipelines\npaths:\n get:\n description: The function used to get information about a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n apply:\n description: The function used to apply information about a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n delete:\n description: The function used to delete a DeliveryPipeline\n parameters:\n - name: DeliveryPipeline\n required: true\n description: A full instance of a DeliveryPipeline\n deleteAll:\n description: The function used to delete all DeliveryPipeline\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many DeliveryPipeline\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n DeliveryPipeline:\n title: DeliveryPipeline\n x-dcl-id: projects/{{project}}/locations/{{location}}/deliveryPipelines/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: User annotations. These attributes can only be set and used\n by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeliveryPipelineCondition\n readOnly: true\n description: Output only. Information around the state of the Delivery Pipeline.\n properties:\n pipelineReadyCondition:\n type: object\n x-dcl-go-name: PipelineReadyCondition\n x-dcl-go-type: DeliveryPipelineConditionPipelineReadyCondition\n description: Details around the Pipeline's overall status.\n properties:\n status:\n type: boolean\n x-dcl-go-name: Status\n description: True if the Pipeline is in a valid state. Otherwise\n at least one condition in `PipelineCondition` is in an invalid\n state. Iterate over those conditions and see which condition(s)\n has status = false to find out what is wrong with the Pipeline.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last time the condition was updated.\n targetsPresentCondition:\n type: object\n x-dcl-go-name: TargetsPresentCondition\n x-dcl-go-type: DeliveryPipelineConditionTargetsPresentCondition\n description: Detalis around targets enumerated in the pipeline.\n properties:\n missingTargets:\n type: array\n x-dcl-go-name: MissingTargets\n description: The list of Target names that are missing. For example,\n projects/{project_id}/locations/{location_name}/targets/{target_name}.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Clouddeploy/Target\n field: selfLink\n status:\n type: boolean\n x-dcl-go-name: Status\n description: True if there aren't any missing Targets.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last time the condition was updated.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the pipeline was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the `DeliveryPipeline`. Max length is 255 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: This checksum is computed by the server based on the value\n of other fields, and may be sent on update and delete requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Labels are attributes that can be set and used by both the\n user and by Google Cloud Deploy. Labels must meet the following constraints:\n * Keys and values can contain only lowercase letters, numeric characters,\n underscores, and dashes. * All characters must use UTF-8 encoding, and\n international characters are allowed. * Keys must start with a lowercase\n letter or international character. * Each resource is limited to a maximum\n of 64 labels. Both keys and values are additionally constrained to be\n <= 128 bytes.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the `DeliveryPipeline`. Format is [a-z][a-z0-9\\-]{0,62}.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serialPipeline:\n type: object\n x-dcl-go-name: SerialPipeline\n x-dcl-go-type: DeliveryPipelineSerialPipeline\n description: SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.\n properties:\n stages:\n type: array\n x-dcl-go-name: Stages\n description: Each stage specifies configuration for a `Target`. The\n ordering of this list defines the promotion flow.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeliveryPipelineSerialPipelineStages\n properties:\n profiles:\n type: array\n x-dcl-go-name: Profiles\n description: Skaffold profiles to use when rendering the manifest\n for this stage's `Target`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n targetId:\n type: string\n x-dcl-go-name: TargetId\n description: The target_id to which this stage points. This field\n refers exclusively to the last segment of a target name. For\n example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`).\n The location of the `Target` is inferred to be the same as the\n location of the `DeliveryPipeline` that contains this `Stage`.\n suspended:\n type: boolean\n x-dcl-go-name: Suspended\n description: When suspended, no new releases or rollouts can be created,\n but in-progress ones will complete.\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Unique identifier of the `DeliveryPipeline`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Most recent time at which the pipeline was updated.\n x-kubernetes-immutable: true\n") -// 9205 bytes -// MD5: 333fe6e4bfe4db98969f2549414a2be2 +// 9230 bytes +// MD5: 3ae43691c39b68a3b001dc886e228a45 diff --git a/services/google/clouddeploy/target.yaml b/services/google/clouddeploy/target.yaml index 0d9b47a3cb..70cfc50777 100755 --- a/services/google/clouddeploy/target.yaml +++ b/services/google/clouddeploy/target.yaml @@ -15,6 +15,7 @@ info: title: Clouddeploy/Target description: The Cloud Deploy `Target` resource x-dcl-struct-name: Target + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/clouddeploy/target_schema.go b/services/google/clouddeploy/target_schema.go index 2e9dcf0286..2e0e98aba0 100755 --- a/services/google/clouddeploy/target_schema.go +++ b/services/google/clouddeploy/target_schema.go @@ -23,6 +23,7 @@ func DCLTargetSchema() *dcl.Schema { Title: "Clouddeploy/Target", Description: "The Cloud Deploy `Target` resource", StructName: "Target", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.targets", diff --git a/services/google/clouddeploy/target_yaml_embed.go b/services/google/clouddeploy/target_yaml_embed.go index 6a5b145423..b9a51580db 100755 --- a/services/google/clouddeploy/target_yaml_embed.go +++ b/services/google/clouddeploy/target_yaml_embed.go @@ -17,7 +17,7 @@ package clouddeploy // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/clouddeploy/target.yaml -var YAML_target = []byte("info:\n title: Clouddeploy/Target\n description: The Cloud Deploy `Target` resource\n x-dcl-struct-name: Target\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.targets\npaths:\n get:\n description: The function used to get information about a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n apply:\n description: The function used to apply information about a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n delete:\n description: The function used to delete a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n deleteAll:\n description: The function used to delete all Target\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Target\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Target:\n title: Target\n x-dcl-id: projects/{{project}}/locations/{{location}}/targets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: Optional. User annotations. These attributes can only be set\n and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n anthosCluster:\n type: object\n x-dcl-go-name: AnthosCluster\n x-dcl-go-type: TargetAnthosCluster\n description: Information specifying an Anthos Cluster.\n x-dcl-conflicts:\n - gke\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n description: Membership of the GKE Hub-registered cluster to which to\n apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`.\n x-dcl-references:\n - resource: Gkehub/Membership\n field: selfLink\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the `Target` was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the `Target`. Max length is 255 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. This checksum is computed by the server based on\n the value of other fields, and may be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n executionConfigs:\n type: array\n x-dcl-go-name: ExecutionConfigs\n description: Configurations for all execution that relates to this `Target`.\n Each `ExecutionEnvironmentUsage` value may only be used in a single configuration;\n using the same value multiple times is an error. When one or more configurations\n are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage`\n values. When no configurations are specified, execution will use the default\n specified in `DefaultPool`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TargetExecutionConfigs\n required:\n - usages\n properties:\n artifactStorage:\n type: string\n x-dcl-go-name: ArtifactStorage\n description: Optional. Cloud Storage location in which to store execution\n outputs. This can either be a bucket (\"gs://my-bucket\") or a path\n within a bucket (\"gs://my-bucket/my-dir\"). If unspecified, a default\n bucket located in the same region will be used.\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. Google service account to use for execution.\n If unspecified, the project execution service account (-compute@developer.gserviceaccount.com)\n is used.\n usages:\n type: array\n x-dcl-go-name: Usages\n description: Required. Usages when this configuration should be applied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TargetExecutionConfigsUsagesEnum\n enum:\n - EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED\n - RENDER\n - DEPLOY\n workerPool:\n type: string\n x-dcl-go-name: WorkerPool\n description: Optional. The resource name of the `WorkerPool`, with\n the format `projects/{project}/locations/{location}/workerPools/{worker_pool}`.\n If this optional field is unspecified, the default Cloud Build pool\n will be used.\n x-dcl-references:\n - resource: Cloudbuild/WorkerPool\n field: selfLink\n gke:\n type: object\n x-dcl-go-name: Gke\n x-dcl-go-type: TargetGke\n description: Information specifying a GKE Cluster.\n x-dcl-conflicts:\n - anthosCluster\n properties:\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n internalIP:\n type: boolean\n x-dcl-go-name: InternalIP\n description: Optional. If true, `cluster` is accessed using the private\n IP address of the control plane endpoint. Otherwise, the default IP\n address of the control plane endpoint is used. The default IP address\n is the private IP address for clusters with private control-plane\n endpoints and the public IP address otherwise. Only specify this option\n when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. Labels are attributes that can be set and used by\n both the user and by Google Cloud Deploy. Labels must meet the following\n constraints: * Keys and values can contain only lowercase letters, numeric\n characters, underscores, and dashes. * All characters must use UTF-8 encoding,\n and international characters are allowed. * Keys must start with a lowercase\n letter or international character. * Each resource is limited to a maximum\n of 64 labels. Both keys and values are additionally constrained to be\n <= 128 bytes.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the `Target`. Format is [a-z][a-z0-9\\-]{0,62}.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n requireApproval:\n type: boolean\n x-dcl-go-name: RequireApproval\n description: Optional. Whether or not the `Target` requires approval.\n targetId:\n type: string\n x-dcl-go-name: TargetId\n readOnly: true\n description: Output only. Resource id of the `Target`.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Unique identifier of the `Target`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Most recent time at which the `Target` was updated.\n x-kubernetes-immutable: true\n") +var YAML_target = []byte("info:\n title: Clouddeploy/Target\n description: The Cloud Deploy `Target` resource\n x-dcl-struct-name: Target\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.targets\npaths:\n get:\n description: The function used to get information about a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n apply:\n description: The function used to apply information about a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n delete:\n description: The function used to delete a Target\n parameters:\n - name: Target\n required: true\n description: A full instance of a Target\n deleteAll:\n description: The function used to delete all Target\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Target\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Target:\n title: Target\n x-dcl-id: projects/{{project}}/locations/{{location}}/targets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: Optional. User annotations. These attributes can only be set\n and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations\n for more details such as format and size limitations.\n anthosCluster:\n type: object\n x-dcl-go-name: AnthosCluster\n x-dcl-go-type: TargetAnthosCluster\n description: Information specifying an Anthos Cluster.\n x-dcl-conflicts:\n - gke\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n description: Membership of the GKE Hub-registered cluster to which to\n apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`.\n x-dcl-references:\n - resource: Gkehub/Membership\n field: selfLink\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time at which the `Target` was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the `Target`. Max length is 255 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. This checksum is computed by the server based on\n the value of other fields, and may be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n executionConfigs:\n type: array\n x-dcl-go-name: ExecutionConfigs\n description: Configurations for all execution that relates to this `Target`.\n Each `ExecutionEnvironmentUsage` value may only be used in a single configuration;\n using the same value multiple times is an error. When one or more configurations\n are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage`\n values. When no configurations are specified, execution will use the default\n specified in `DefaultPool`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TargetExecutionConfigs\n required:\n - usages\n properties:\n artifactStorage:\n type: string\n x-dcl-go-name: ArtifactStorage\n description: Optional. Cloud Storage location in which to store execution\n outputs. This can either be a bucket (\"gs://my-bucket\") or a path\n within a bucket (\"gs://my-bucket/my-dir\"). If unspecified, a default\n bucket located in the same region will be used.\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. Google service account to use for execution.\n If unspecified, the project execution service account (-compute@developer.gserviceaccount.com)\n is used.\n usages:\n type: array\n x-dcl-go-name: Usages\n description: Required. Usages when this configuration should be applied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TargetExecutionConfigsUsagesEnum\n enum:\n - EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED\n - RENDER\n - DEPLOY\n workerPool:\n type: string\n x-dcl-go-name: WorkerPool\n description: Optional. The resource name of the `WorkerPool`, with\n the format `projects/{project}/locations/{location}/workerPools/{worker_pool}`.\n If this optional field is unspecified, the default Cloud Build pool\n will be used.\n x-dcl-references:\n - resource: Cloudbuild/WorkerPool\n field: selfLink\n gke:\n type: object\n x-dcl-go-name: Gke\n x-dcl-go-type: TargetGke\n description: Information specifying a GKE Cluster.\n x-dcl-conflicts:\n - anthosCluster\n properties:\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n internalIP:\n type: boolean\n x-dcl-go-name: InternalIP\n description: Optional. If true, `cluster` is accessed using the private\n IP address of the control plane endpoint. Otherwise, the default IP\n address of the control plane endpoint is used. The default IP address\n is the private IP address for clusters with private control-plane\n endpoints and the public IP address otherwise. Only specify this option\n when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. Labels are attributes that can be set and used by\n both the user and by Google Cloud Deploy. Labels must meet the following\n constraints: * Keys and values can contain only lowercase letters, numeric\n characters, underscores, and dashes. * All characters must use UTF-8 encoding,\n and international characters are allowed. * Keys must start with a lowercase\n letter or international character. * Each resource is limited to a maximum\n of 64 labels. Both keys and values are additionally constrained to be\n <= 128 bytes.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the `Target`. Format is [a-z][a-z0-9\\-]{0,62}.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n requireApproval:\n type: boolean\n x-dcl-go-name: RequireApproval\n description: Optional. Whether or not the `Target` requires approval.\n targetId:\n type: string\n x-dcl-go-name: TargetId\n readOnly: true\n description: Output only. Resource id of the `Target`.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Unique identifier of the `Target`.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Most recent time at which the `Target` was updated.\n x-kubernetes-immutable: true\n") -// 9524 bytes -// MD5: d2e062345af1de93fb457290c298b220 +// 9549 bytes +// MD5: 0df60ed4b5b40e6252f653857f664e15 diff --git a/services/google/cloudfunctions/alpha/function.yaml b/services/google/cloudfunctions/alpha/function.yaml index 91e123ae46..eefd79bb63 100755 --- a/services/google/cloudfunctions/alpha/function.yaml +++ b/services/google/cloudfunctions/alpha/function.yaml @@ -15,6 +15,7 @@ info: title: CloudFunctions/Function description: The CloudFunctions Function resource x-dcl-struct-name: Function + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudfunctions/alpha/function_alpha_yaml_embed.go b/services/google/cloudfunctions/alpha/function_alpha_yaml_embed.go index 61441aa685..b5b83366d9 100755 --- a/services/google/cloudfunctions/alpha/function_alpha_yaml_embed.go +++ b/services/google/cloudfunctions/alpha/function_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudfunctions/alpha/function.yaml -var YAML_function = []byte("info:\n title: CloudFunctions/Function\n description: The CloudFunctions Function resource\n x-dcl-struct-name: Function\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n apply:\n description: The function used to apply information about a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n delete:\n description: The function used to delete a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n deleteAll:\n description: The function used to delete all Function\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Function\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Function:\n title: Function\n x-dcl-id: projects/{{project}}/locations/{{region}}/functions/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - runtime\n - region\n - project\n properties:\n availableMemoryMb:\n type: integer\n format: int64\n x-dcl-go-name: AvailableMemoryMb\n description: 'Memory (in MB), available to the function. Default value is\n 256MB. Allowed values are: 128MB, 256MB, 512MB, 1024MB, and 2048MB.'\n description:\n type: string\n x-dcl-go-name: Description\n description: User-provided description of a function.\n entryPoint:\n type: string\n x-dcl-go-name: EntryPoint\n description: |-\n The name of the function (as defined in source code) that will be\n executed. Defaults to the resource name suffix, if not specified. For\n backward compatibility, if function with given name is not found, then the\n system will try to use function named \"function\".\n For Node.js this is name of a function exported by the module specified\n in `source_location`.\n x-kubernetes-immutable: true\n environmentVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: EnvironmentVariables\n description: Environment variables that shall be available during function\n execution.\n eventTrigger:\n type: object\n x-dcl-go-name: EventTrigger\n x-dcl-go-type: FunctionEventTrigger\n description: A source that fires events in response to a condition in another\n service.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - httpsTrigger\n required:\n - eventType\n - resource\n properties:\n eventType:\n type: string\n x-dcl-go-name: EventType\n description: |-\n Required. The type of event to observe. For example:\n `providers/cloud.storage/eventTypes/object.change` and\n `providers/cloud.pubsub/eventTypes/topic.publish`.\n\n Event types match pattern `providers/*/eventTypes/*.*`.\n The pattern contains:\n\n 1. namespace: For example, `cloud.storage` and\n `google.firebase.analytics`.\n 2. resource type: The type of resource on which event occurs. For\n example, the Google Cloud Storage API includes the type `object`.\n 3. action: The action that generates the event. For example, action for\n a Google Cloud Storage Object is 'change'.\n These parts are lower case.\n x-kubernetes-immutable: true\n failurePolicy:\n type: boolean\n x-dcl-go-name: FailurePolicy\n description: Specifies policy for failed executions.\n x-kubernetes-immutable: true\n resource:\n type: string\n x-dcl-go-name: Resource\n description: |-\n Required. The resource(s) from which to observe events, for example,\n `projects/_/buckets/myBucket`.\n\n Not all syntactically correct values are accepted by all services. For\n example:\n\n 1. The authorization model must support it. Google Cloud Functions\n only allows EventTriggers to be deployed that observe resources in the\n same project as the `Function`.\n 2. The resource type must match the pattern expected for an\n `event_type`. For example, an `EventTrigger` that has an\n `event_type` of \"google.pubsub.topic.publish\" should have a resource\n that matches Google Cloud Pub/Sub topics.\n\n Additionally, some services may support short names when creating an\n `EventTrigger`. These will always be returned in the normalized \"long\"\n format.\n\n See each *service's* documentation for supported formats.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n format: projects/{{project}}/buckets/{{name}}\n - resource: Pubsub/Topic\n field: name\n service:\n type: string\n x-dcl-go-name: Service\n description: |\n The hostname of the service that should be observed.\n\n If no string is provided, the default service implementing the API will\n be used. For example, `storage.googleapis.com` is the default for all\n event types in the `google.storage` namespace.\n x-kubernetes-immutable: true\n httpsTrigger:\n type: object\n x-dcl-go-name: HttpsTrigger\n x-dcl-go-type: FunctionHttpsTrigger\n description: An HTTPS endpoint type of source that can be triggered via\n URL.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - eventTrigger\n properties:\n securityLevel:\n type: string\n x-dcl-go-name: SecurityLevel\n x-dcl-go-type: FunctionHttpsTriggerSecurityLevelEnum\n description: 'Both HTTP and HTTPS requests with URLs that match the\n handler succeed without redirects. The application can examine the\n request to determine which protocol was used and respond accordingly.\n Possible values: SECURITY_LEVEL_UNSPECIFIED, SECURE_ALWAYS, SECURE_OPTIONAL'\n x-kubernetes-immutable: true\n enum:\n - SECURITY_LEVEL_UNSPECIFIED\n - SECURE_ALWAYS\n - SECURE_OPTIONAL\n url:\n type: string\n x-dcl-go-name: Url\n readOnly: true\n description: Output only. The deployed url for the function.\n x-kubernetes-immutable: true\n ingressSettings:\n type: string\n x-dcl-go-name: IngressSettings\n x-dcl-go-type: FunctionIngressSettingsEnum\n description: |-\n The ingress settings for the function, controlling what traffic can reach\n it. Possible values: INGRESS_SETTINGS_UNSPECIFIED, ALLOW_ALL, ALLOW_INTERNAL_ONLY, ALLOW_INTERNAL_AND_GCLB\n enum:\n - INGRESS_SETTINGS_UNSPECIFIED\n - ALLOW_ALL\n - ALLOW_INTERNAL_ONLY\n - ALLOW_INTERNAL_AND_GCLB\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels associated with this Cloud Function.\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: |-\n The limit on the maximum number of function instances that may coexist at a\n given time.\n name:\n type: string\n x-dcl-go-name: Name\n description: A user-defined name of the function. Function names must be\n unique globally.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the function.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: The name of the Cloud Functions region of the function.\n x-kubernetes-immutable: true\n runtime:\n type: string\n x-dcl-go-name: Runtime\n description: |\n The runtime in which to run the function. Required when deploying a new\n function, optional when updating an existing function. For a complete\n list of possible choices, see the\n [`gcloud` command\n reference](/sdk/gcloud/reference/functions/deploy#--runtime).\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: |-\n The email of the function's service account. If empty, defaults to\n `{project_id}@appspot.gserviceaccount.com`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n sourceArchiveUrl:\n type: string\n x-dcl-go-name: SourceArchiveUrl\n description: The Google Cloud Storage URL, starting with gs://, pointing\n to the zip archive which contains the function.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - sourceRepository\n sourceRepository:\n type: object\n x-dcl-go-name: SourceRepository\n x-dcl-go-type: FunctionSourceRepository\n description: Represents parameters related to source repository where a\n function is hosted.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - sourceArchiveUrl\n required:\n - url\n properties:\n deployedUrl:\n type: string\n x-dcl-go-name: DeployedUrl\n readOnly: true\n description: |-\n Output only. The URL pointing to the hosted repository where the function\n were defined at the time of deployment. It always points to a specific\n commit in the format described above.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: |-\n The URL pointing to the hosted repository where the function is defined.\n There are supported Cloud Source Repository URLs in the following\n formats:\n\n To refer to a specific commit:\n `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`\n To refer to a moveable alias (branch):\n `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`\n In particular, to refer to HEAD use `master` moveable alias.\n To refer to a specific fixed alias (tag):\n `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`\n\n You may omit `paths/*` if you want to use the main directory.\n x-kubernetes-immutable: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: FunctionStatusEnum\n readOnly: true\n description: 'Output only. Status of the function deployment. Possible values:\n CLOUD_FUNCTION_STATUS_UNSPECIFIED, ACTIVE, OFFLINE, DEPLOY_IN_PROGRESS,\n DELETE_IN_PROGRESS, UNKNOWN'\n x-kubernetes-immutable: true\n enum:\n - CLOUD_FUNCTION_STATUS_UNSPECIFIED\n - ACTIVE\n - OFFLINE\n - DEPLOY_IN_PROGRESS\n - DELETE_IN_PROGRESS\n - UNKNOWN\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: |-\n The function execution timeout. Execution is considered failed and\n can be terminated if the function is not completed at the end of the\n timeout period. Defaults to 60 seconds.\n updateTime:\n type: string\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of a Cloud Function\n in RFC3339 UTC 'Zulu' format, with nanosecond resolution and up to nine\n fractional digits.\n x-kubernetes-immutable: true\n versionId:\n type: integer\n format: int64\n x-dcl-go-name: VersionId\n readOnly: true\n description: |-\n Output only. The version identifier of the Cloud Function. Each deployment attempt\n results in a new version of a function being created.\n x-kubernetes-immutable: true\n vpcConnector:\n type: string\n x-dcl-go-name: VPCConnector\n description: |-\n The VPC Network Connector that this cloud function can connect to. It can\n be either the fully-qualified URI, or the short name of the network\n connector resource. The format of this field is\n `projects/*/locations/*/connectors/*`\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Vpcaccess/Connector\n field: name\n vpcConnectorEgressSettings:\n type: string\n x-dcl-go-name: VPCConnectorEgressSettings\n x-dcl-go-type: FunctionVPCConnectorEgressSettingsEnum\n description: |-\n The egress settings for the connector, controlling what traffic is diverted\n through it. Possible values: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED, PRIVATE_RANGES_ONLY, ALL_TRAFFIC\n enum:\n - VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\n - PRIVATE_RANGES_ONLY\n - ALL_TRAFFIC\n") +var YAML_function = []byte("info:\n title: CloudFunctions/Function\n description: The CloudFunctions Function resource\n x-dcl-struct-name: Function\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n apply:\n description: The function used to apply information about a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n delete:\n description: The function used to delete a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n deleteAll:\n description: The function used to delete all Function\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Function\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Function:\n title: Function\n x-dcl-id: projects/{{project}}/locations/{{region}}/functions/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - runtime\n - region\n - project\n properties:\n availableMemoryMb:\n type: integer\n format: int64\n x-dcl-go-name: AvailableMemoryMb\n description: 'Memory (in MB), available to the function. Default value is\n 256MB. Allowed values are: 128MB, 256MB, 512MB, 1024MB, and 2048MB.'\n description:\n type: string\n x-dcl-go-name: Description\n description: User-provided description of a function.\n entryPoint:\n type: string\n x-dcl-go-name: EntryPoint\n description: |-\n The name of the function (as defined in source code) that will be\n executed. Defaults to the resource name suffix, if not specified. For\n backward compatibility, if function with given name is not found, then the\n system will try to use function named \"function\".\n For Node.js this is name of a function exported by the module specified\n in `source_location`.\n x-kubernetes-immutable: true\n environmentVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: EnvironmentVariables\n description: Environment variables that shall be available during function\n execution.\n eventTrigger:\n type: object\n x-dcl-go-name: EventTrigger\n x-dcl-go-type: FunctionEventTrigger\n description: A source that fires events in response to a condition in another\n service.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - httpsTrigger\n required:\n - eventType\n - resource\n properties:\n eventType:\n type: string\n x-dcl-go-name: EventType\n description: |-\n Required. The type of event to observe. For example:\n `providers/cloud.storage/eventTypes/object.change` and\n `providers/cloud.pubsub/eventTypes/topic.publish`.\n\n Event types match pattern `providers/*/eventTypes/*.*`.\n The pattern contains:\n\n 1. namespace: For example, `cloud.storage` and\n `google.firebase.analytics`.\n 2. resource type: The type of resource on which event occurs. For\n example, the Google Cloud Storage API includes the type `object`.\n 3. action: The action that generates the event. For example, action for\n a Google Cloud Storage Object is 'change'.\n These parts are lower case.\n x-kubernetes-immutable: true\n failurePolicy:\n type: boolean\n x-dcl-go-name: FailurePolicy\n description: Specifies policy for failed executions.\n x-kubernetes-immutable: true\n resource:\n type: string\n x-dcl-go-name: Resource\n description: |-\n Required. The resource(s) from which to observe events, for example,\n `projects/_/buckets/myBucket`.\n\n Not all syntactically correct values are accepted by all services. For\n example:\n\n 1. The authorization model must support it. Google Cloud Functions\n only allows EventTriggers to be deployed that observe resources in the\n same project as the `Function`.\n 2. The resource type must match the pattern expected for an\n `event_type`. For example, an `EventTrigger` that has an\n `event_type` of \"google.pubsub.topic.publish\" should have a resource\n that matches Google Cloud Pub/Sub topics.\n\n Additionally, some services may support short names when creating an\n `EventTrigger`. These will always be returned in the normalized \"long\"\n format.\n\n See each *service's* documentation for supported formats.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n format: projects/{{project}}/buckets/{{name}}\n - resource: Pubsub/Topic\n field: name\n service:\n type: string\n x-dcl-go-name: Service\n description: |\n The hostname of the service that should be observed.\n\n If no string is provided, the default service implementing the API will\n be used. For example, `storage.googleapis.com` is the default for all\n event types in the `google.storage` namespace.\n x-kubernetes-immutable: true\n httpsTrigger:\n type: object\n x-dcl-go-name: HttpsTrigger\n x-dcl-go-type: FunctionHttpsTrigger\n description: An HTTPS endpoint type of source that can be triggered via\n URL.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - eventTrigger\n properties:\n securityLevel:\n type: string\n x-dcl-go-name: SecurityLevel\n x-dcl-go-type: FunctionHttpsTriggerSecurityLevelEnum\n description: 'Both HTTP and HTTPS requests with URLs that match the\n handler succeed without redirects. The application can examine the\n request to determine which protocol was used and respond accordingly.\n Possible values: SECURITY_LEVEL_UNSPECIFIED, SECURE_ALWAYS, SECURE_OPTIONAL'\n x-kubernetes-immutable: true\n enum:\n - SECURITY_LEVEL_UNSPECIFIED\n - SECURE_ALWAYS\n - SECURE_OPTIONAL\n url:\n type: string\n x-dcl-go-name: Url\n readOnly: true\n description: Output only. The deployed url for the function.\n x-kubernetes-immutable: true\n ingressSettings:\n type: string\n x-dcl-go-name: IngressSettings\n x-dcl-go-type: FunctionIngressSettingsEnum\n description: |-\n The ingress settings for the function, controlling what traffic can reach\n it. Possible values: INGRESS_SETTINGS_UNSPECIFIED, ALLOW_ALL, ALLOW_INTERNAL_ONLY, ALLOW_INTERNAL_AND_GCLB\n enum:\n - INGRESS_SETTINGS_UNSPECIFIED\n - ALLOW_ALL\n - ALLOW_INTERNAL_ONLY\n - ALLOW_INTERNAL_AND_GCLB\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels associated with this Cloud Function.\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: |-\n The limit on the maximum number of function instances that may coexist at a\n given time.\n name:\n type: string\n x-dcl-go-name: Name\n description: A user-defined name of the function. Function names must be\n unique globally.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the function.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: The name of the Cloud Functions region of the function.\n x-kubernetes-immutable: true\n runtime:\n type: string\n x-dcl-go-name: Runtime\n description: |\n The runtime in which to run the function. Required when deploying a new\n function, optional when updating an existing function. For a complete\n list of possible choices, see the\n [`gcloud` command\n reference](/sdk/gcloud/reference/functions/deploy#--runtime).\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: |-\n The email of the function's service account. If empty, defaults to\n `{project_id}@appspot.gserviceaccount.com`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n sourceArchiveUrl:\n type: string\n x-dcl-go-name: SourceArchiveUrl\n description: The Google Cloud Storage URL, starting with gs://, pointing\n to the zip archive which contains the function.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - sourceRepository\n sourceRepository:\n type: object\n x-dcl-go-name: SourceRepository\n x-dcl-go-type: FunctionSourceRepository\n description: Represents parameters related to source repository where a\n function is hosted.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - sourceArchiveUrl\n required:\n - url\n properties:\n deployedUrl:\n type: string\n x-dcl-go-name: DeployedUrl\n readOnly: true\n description: |-\n Output only. The URL pointing to the hosted repository where the function\n were defined at the time of deployment. It always points to a specific\n commit in the format described above.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: |-\n The URL pointing to the hosted repository where the function is defined.\n There are supported Cloud Source Repository URLs in the following\n formats:\n\n To refer to a specific commit:\n `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`\n To refer to a moveable alias (branch):\n `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`\n In particular, to refer to HEAD use `master` moveable alias.\n To refer to a specific fixed alias (tag):\n `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`\n\n You may omit `paths/*` if you want to use the main directory.\n x-kubernetes-immutable: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: FunctionStatusEnum\n readOnly: true\n description: 'Output only. Status of the function deployment. Possible values:\n CLOUD_FUNCTION_STATUS_UNSPECIFIED, ACTIVE, OFFLINE, DEPLOY_IN_PROGRESS,\n DELETE_IN_PROGRESS, UNKNOWN'\n x-kubernetes-immutable: true\n enum:\n - CLOUD_FUNCTION_STATUS_UNSPECIFIED\n - ACTIVE\n - OFFLINE\n - DEPLOY_IN_PROGRESS\n - DELETE_IN_PROGRESS\n - UNKNOWN\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: |-\n The function execution timeout. Execution is considered failed and\n can be terminated if the function is not completed at the end of the\n timeout period. Defaults to 60 seconds.\n updateTime:\n type: string\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of a Cloud Function\n in RFC3339 UTC 'Zulu' format, with nanosecond resolution and up to nine\n fractional digits.\n x-kubernetes-immutable: true\n versionId:\n type: integer\n format: int64\n x-dcl-go-name: VersionId\n readOnly: true\n description: |-\n Output only. The version identifier of the Cloud Function. Each deployment attempt\n results in a new version of a function being created.\n x-kubernetes-immutable: true\n vpcConnector:\n type: string\n x-dcl-go-name: VPCConnector\n description: |-\n The VPC Network Connector that this cloud function can connect to. It can\n be either the fully-qualified URI, or the short name of the network\n connector resource. The format of this field is\n `projects/*/locations/*/connectors/*`\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Vpcaccess/Connector\n field: name\n vpcConnectorEgressSettings:\n type: string\n x-dcl-go-name: VPCConnectorEgressSettings\n x-dcl-go-type: FunctionVPCConnectorEgressSettingsEnum\n description: |-\n The egress settings for the connector, controlling what traffic is diverted\n through it. Possible values: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED, PRIVATE_RANGES_ONLY, ALL_TRAFFIC\n enum:\n - VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\n - PRIVATE_RANGES_ONLY\n - ALL_TRAFFIC\n") -// 14754 bytes -// MD5: eabfb011aa655758ee0e39864b035504 +// 14779 bytes +// MD5: 51690e1a8575972a2a736780aa44e8e2 diff --git a/services/google/cloudfunctions/alpha/function_schema.go b/services/google/cloudfunctions/alpha/function_schema.go index 8f595dc301..0a722caec6 100755 --- a/services/google/cloudfunctions/alpha/function_schema.go +++ b/services/google/cloudfunctions/alpha/function_schema.go @@ -23,6 +23,7 @@ func DCLFunctionSchema() *dcl.Schema { Title: "CloudFunctions/Function", Description: "The CloudFunctions Function resource", StructName: "Function", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudfunctions/beta/function.yaml b/services/google/cloudfunctions/beta/function.yaml index 91e123ae46..eefd79bb63 100755 --- a/services/google/cloudfunctions/beta/function.yaml +++ b/services/google/cloudfunctions/beta/function.yaml @@ -15,6 +15,7 @@ info: title: CloudFunctions/Function description: The CloudFunctions Function resource x-dcl-struct-name: Function + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudfunctions/beta/function_beta_yaml_embed.go b/services/google/cloudfunctions/beta/function_beta_yaml_embed.go index 9d77a1fc51..5efb9b95f6 100755 --- a/services/google/cloudfunctions/beta/function_beta_yaml_embed.go +++ b/services/google/cloudfunctions/beta/function_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudfunctions/beta/function.yaml -var YAML_function = []byte("info:\n title: CloudFunctions/Function\n description: The CloudFunctions Function resource\n x-dcl-struct-name: Function\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n apply:\n description: The function used to apply information about a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n delete:\n description: The function used to delete a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n deleteAll:\n description: The function used to delete all Function\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Function\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Function:\n title: Function\n x-dcl-id: projects/{{project}}/locations/{{region}}/functions/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - runtime\n - region\n - project\n properties:\n availableMemoryMb:\n type: integer\n format: int64\n x-dcl-go-name: AvailableMemoryMb\n description: 'Memory (in MB), available to the function. Default value is\n 256MB. Allowed values are: 128MB, 256MB, 512MB, 1024MB, and 2048MB.'\n description:\n type: string\n x-dcl-go-name: Description\n description: User-provided description of a function.\n entryPoint:\n type: string\n x-dcl-go-name: EntryPoint\n description: |-\n The name of the function (as defined in source code) that will be\n executed. Defaults to the resource name suffix, if not specified. For\n backward compatibility, if function with given name is not found, then the\n system will try to use function named \"function\".\n For Node.js this is name of a function exported by the module specified\n in `source_location`.\n x-kubernetes-immutable: true\n environmentVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: EnvironmentVariables\n description: Environment variables that shall be available during function\n execution.\n eventTrigger:\n type: object\n x-dcl-go-name: EventTrigger\n x-dcl-go-type: FunctionEventTrigger\n description: A source that fires events in response to a condition in another\n service.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - httpsTrigger\n required:\n - eventType\n - resource\n properties:\n eventType:\n type: string\n x-dcl-go-name: EventType\n description: |-\n Required. The type of event to observe. For example:\n `providers/cloud.storage/eventTypes/object.change` and\n `providers/cloud.pubsub/eventTypes/topic.publish`.\n\n Event types match pattern `providers/*/eventTypes/*.*`.\n The pattern contains:\n\n 1. namespace: For example, `cloud.storage` and\n `google.firebase.analytics`.\n 2. resource type: The type of resource on which event occurs. For\n example, the Google Cloud Storage API includes the type `object`.\n 3. action: The action that generates the event. For example, action for\n a Google Cloud Storage Object is 'change'.\n These parts are lower case.\n x-kubernetes-immutable: true\n failurePolicy:\n type: boolean\n x-dcl-go-name: FailurePolicy\n description: Specifies policy for failed executions.\n x-kubernetes-immutable: true\n resource:\n type: string\n x-dcl-go-name: Resource\n description: |-\n Required. The resource(s) from which to observe events, for example,\n `projects/_/buckets/myBucket`.\n\n Not all syntactically correct values are accepted by all services. For\n example:\n\n 1. The authorization model must support it. Google Cloud Functions\n only allows EventTriggers to be deployed that observe resources in the\n same project as the `Function`.\n 2. The resource type must match the pattern expected for an\n `event_type`. For example, an `EventTrigger` that has an\n `event_type` of \"google.pubsub.topic.publish\" should have a resource\n that matches Google Cloud Pub/Sub topics.\n\n Additionally, some services may support short names when creating an\n `EventTrigger`. These will always be returned in the normalized \"long\"\n format.\n\n See each *service's* documentation for supported formats.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n format: projects/{{project}}/buckets/{{name}}\n - resource: Pubsub/Topic\n field: name\n service:\n type: string\n x-dcl-go-name: Service\n description: |\n The hostname of the service that should be observed.\n\n If no string is provided, the default service implementing the API will\n be used. For example, `storage.googleapis.com` is the default for all\n event types in the `google.storage` namespace.\n x-kubernetes-immutable: true\n httpsTrigger:\n type: object\n x-dcl-go-name: HttpsTrigger\n x-dcl-go-type: FunctionHttpsTrigger\n description: An HTTPS endpoint type of source that can be triggered via\n URL.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - eventTrigger\n properties:\n securityLevel:\n type: string\n x-dcl-go-name: SecurityLevel\n x-dcl-go-type: FunctionHttpsTriggerSecurityLevelEnum\n description: 'Both HTTP and HTTPS requests with URLs that match the\n handler succeed without redirects. The application can examine the\n request to determine which protocol was used and respond accordingly.\n Possible values: SECURITY_LEVEL_UNSPECIFIED, SECURE_ALWAYS, SECURE_OPTIONAL'\n x-kubernetes-immutable: true\n enum:\n - SECURITY_LEVEL_UNSPECIFIED\n - SECURE_ALWAYS\n - SECURE_OPTIONAL\n url:\n type: string\n x-dcl-go-name: Url\n readOnly: true\n description: Output only. The deployed url for the function.\n x-kubernetes-immutable: true\n ingressSettings:\n type: string\n x-dcl-go-name: IngressSettings\n x-dcl-go-type: FunctionIngressSettingsEnum\n description: |-\n The ingress settings for the function, controlling what traffic can reach\n it. Possible values: INGRESS_SETTINGS_UNSPECIFIED, ALLOW_ALL, ALLOW_INTERNAL_ONLY, ALLOW_INTERNAL_AND_GCLB\n enum:\n - INGRESS_SETTINGS_UNSPECIFIED\n - ALLOW_ALL\n - ALLOW_INTERNAL_ONLY\n - ALLOW_INTERNAL_AND_GCLB\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels associated with this Cloud Function.\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: |-\n The limit on the maximum number of function instances that may coexist at a\n given time.\n name:\n type: string\n x-dcl-go-name: Name\n description: A user-defined name of the function. Function names must be\n unique globally.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the function.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: The name of the Cloud Functions region of the function.\n x-kubernetes-immutable: true\n runtime:\n type: string\n x-dcl-go-name: Runtime\n description: |\n The runtime in which to run the function. Required when deploying a new\n function, optional when updating an existing function. For a complete\n list of possible choices, see the\n [`gcloud` command\n reference](/sdk/gcloud/reference/functions/deploy#--runtime).\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: |-\n The email of the function's service account. If empty, defaults to\n `{project_id}@appspot.gserviceaccount.com`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n sourceArchiveUrl:\n type: string\n x-dcl-go-name: SourceArchiveUrl\n description: The Google Cloud Storage URL, starting with gs://, pointing\n to the zip archive which contains the function.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - sourceRepository\n sourceRepository:\n type: object\n x-dcl-go-name: SourceRepository\n x-dcl-go-type: FunctionSourceRepository\n description: Represents parameters related to source repository where a\n function is hosted.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - sourceArchiveUrl\n required:\n - url\n properties:\n deployedUrl:\n type: string\n x-dcl-go-name: DeployedUrl\n readOnly: true\n description: |-\n Output only. The URL pointing to the hosted repository where the function\n were defined at the time of deployment. It always points to a specific\n commit in the format described above.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: |-\n The URL pointing to the hosted repository where the function is defined.\n There are supported Cloud Source Repository URLs in the following\n formats:\n\n To refer to a specific commit:\n `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`\n To refer to a moveable alias (branch):\n `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`\n In particular, to refer to HEAD use `master` moveable alias.\n To refer to a specific fixed alias (tag):\n `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`\n\n You may omit `paths/*` if you want to use the main directory.\n x-kubernetes-immutable: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: FunctionStatusEnum\n readOnly: true\n description: 'Output only. Status of the function deployment. Possible values:\n CLOUD_FUNCTION_STATUS_UNSPECIFIED, ACTIVE, OFFLINE, DEPLOY_IN_PROGRESS,\n DELETE_IN_PROGRESS, UNKNOWN'\n x-kubernetes-immutable: true\n enum:\n - CLOUD_FUNCTION_STATUS_UNSPECIFIED\n - ACTIVE\n - OFFLINE\n - DEPLOY_IN_PROGRESS\n - DELETE_IN_PROGRESS\n - UNKNOWN\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: |-\n The function execution timeout. Execution is considered failed and\n can be terminated if the function is not completed at the end of the\n timeout period. Defaults to 60 seconds.\n updateTime:\n type: string\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of a Cloud Function\n in RFC3339 UTC 'Zulu' format, with nanosecond resolution and up to nine\n fractional digits.\n x-kubernetes-immutable: true\n versionId:\n type: integer\n format: int64\n x-dcl-go-name: VersionId\n readOnly: true\n description: |-\n Output only. The version identifier of the Cloud Function. Each deployment attempt\n results in a new version of a function being created.\n x-kubernetes-immutable: true\n vpcConnector:\n type: string\n x-dcl-go-name: VPCConnector\n description: |-\n The VPC Network Connector that this cloud function can connect to. It can\n be either the fully-qualified URI, or the short name of the network\n connector resource. The format of this field is\n `projects/*/locations/*/connectors/*`\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Vpcaccess/Connector\n field: name\n vpcConnectorEgressSettings:\n type: string\n x-dcl-go-name: VPCConnectorEgressSettings\n x-dcl-go-type: FunctionVPCConnectorEgressSettingsEnum\n description: |-\n The egress settings for the connector, controlling what traffic is diverted\n through it. Possible values: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED, PRIVATE_RANGES_ONLY, ALL_TRAFFIC\n enum:\n - VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\n - PRIVATE_RANGES_ONLY\n - ALL_TRAFFIC\n") +var YAML_function = []byte("info:\n title: CloudFunctions/Function\n description: The CloudFunctions Function resource\n x-dcl-struct-name: Function\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n apply:\n description: The function used to apply information about a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n delete:\n description: The function used to delete a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n deleteAll:\n description: The function used to delete all Function\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Function\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Function:\n title: Function\n x-dcl-id: projects/{{project}}/locations/{{region}}/functions/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - runtime\n - region\n - project\n properties:\n availableMemoryMb:\n type: integer\n format: int64\n x-dcl-go-name: AvailableMemoryMb\n description: 'Memory (in MB), available to the function. Default value is\n 256MB. Allowed values are: 128MB, 256MB, 512MB, 1024MB, and 2048MB.'\n description:\n type: string\n x-dcl-go-name: Description\n description: User-provided description of a function.\n entryPoint:\n type: string\n x-dcl-go-name: EntryPoint\n description: |-\n The name of the function (as defined in source code) that will be\n executed. Defaults to the resource name suffix, if not specified. For\n backward compatibility, if function with given name is not found, then the\n system will try to use function named \"function\".\n For Node.js this is name of a function exported by the module specified\n in `source_location`.\n x-kubernetes-immutable: true\n environmentVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: EnvironmentVariables\n description: Environment variables that shall be available during function\n execution.\n eventTrigger:\n type: object\n x-dcl-go-name: EventTrigger\n x-dcl-go-type: FunctionEventTrigger\n description: A source that fires events in response to a condition in another\n service.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - httpsTrigger\n required:\n - eventType\n - resource\n properties:\n eventType:\n type: string\n x-dcl-go-name: EventType\n description: |-\n Required. The type of event to observe. For example:\n `providers/cloud.storage/eventTypes/object.change` and\n `providers/cloud.pubsub/eventTypes/topic.publish`.\n\n Event types match pattern `providers/*/eventTypes/*.*`.\n The pattern contains:\n\n 1. namespace: For example, `cloud.storage` and\n `google.firebase.analytics`.\n 2. resource type: The type of resource on which event occurs. For\n example, the Google Cloud Storage API includes the type `object`.\n 3. action: The action that generates the event. For example, action for\n a Google Cloud Storage Object is 'change'.\n These parts are lower case.\n x-kubernetes-immutable: true\n failurePolicy:\n type: boolean\n x-dcl-go-name: FailurePolicy\n description: Specifies policy for failed executions.\n x-kubernetes-immutable: true\n resource:\n type: string\n x-dcl-go-name: Resource\n description: |-\n Required. The resource(s) from which to observe events, for example,\n `projects/_/buckets/myBucket`.\n\n Not all syntactically correct values are accepted by all services. For\n example:\n\n 1. The authorization model must support it. Google Cloud Functions\n only allows EventTriggers to be deployed that observe resources in the\n same project as the `Function`.\n 2. The resource type must match the pattern expected for an\n `event_type`. For example, an `EventTrigger` that has an\n `event_type` of \"google.pubsub.topic.publish\" should have a resource\n that matches Google Cloud Pub/Sub topics.\n\n Additionally, some services may support short names when creating an\n `EventTrigger`. These will always be returned in the normalized \"long\"\n format.\n\n See each *service's* documentation for supported formats.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n format: projects/{{project}}/buckets/{{name}}\n - resource: Pubsub/Topic\n field: name\n service:\n type: string\n x-dcl-go-name: Service\n description: |\n The hostname of the service that should be observed.\n\n If no string is provided, the default service implementing the API will\n be used. For example, `storage.googleapis.com` is the default for all\n event types in the `google.storage` namespace.\n x-kubernetes-immutable: true\n httpsTrigger:\n type: object\n x-dcl-go-name: HttpsTrigger\n x-dcl-go-type: FunctionHttpsTrigger\n description: An HTTPS endpoint type of source that can be triggered via\n URL.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - eventTrigger\n properties:\n securityLevel:\n type: string\n x-dcl-go-name: SecurityLevel\n x-dcl-go-type: FunctionHttpsTriggerSecurityLevelEnum\n description: 'Both HTTP and HTTPS requests with URLs that match the\n handler succeed without redirects. The application can examine the\n request to determine which protocol was used and respond accordingly.\n Possible values: SECURITY_LEVEL_UNSPECIFIED, SECURE_ALWAYS, SECURE_OPTIONAL'\n x-kubernetes-immutable: true\n enum:\n - SECURITY_LEVEL_UNSPECIFIED\n - SECURE_ALWAYS\n - SECURE_OPTIONAL\n url:\n type: string\n x-dcl-go-name: Url\n readOnly: true\n description: Output only. The deployed url for the function.\n x-kubernetes-immutable: true\n ingressSettings:\n type: string\n x-dcl-go-name: IngressSettings\n x-dcl-go-type: FunctionIngressSettingsEnum\n description: |-\n The ingress settings for the function, controlling what traffic can reach\n it. Possible values: INGRESS_SETTINGS_UNSPECIFIED, ALLOW_ALL, ALLOW_INTERNAL_ONLY, ALLOW_INTERNAL_AND_GCLB\n enum:\n - INGRESS_SETTINGS_UNSPECIFIED\n - ALLOW_ALL\n - ALLOW_INTERNAL_ONLY\n - ALLOW_INTERNAL_AND_GCLB\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels associated with this Cloud Function.\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: |-\n The limit on the maximum number of function instances that may coexist at a\n given time.\n name:\n type: string\n x-dcl-go-name: Name\n description: A user-defined name of the function. Function names must be\n unique globally.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the function.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: The name of the Cloud Functions region of the function.\n x-kubernetes-immutable: true\n runtime:\n type: string\n x-dcl-go-name: Runtime\n description: |\n The runtime in which to run the function. Required when deploying a new\n function, optional when updating an existing function. For a complete\n list of possible choices, see the\n [`gcloud` command\n reference](/sdk/gcloud/reference/functions/deploy#--runtime).\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: |-\n The email of the function's service account. If empty, defaults to\n `{project_id}@appspot.gserviceaccount.com`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n sourceArchiveUrl:\n type: string\n x-dcl-go-name: SourceArchiveUrl\n description: The Google Cloud Storage URL, starting with gs://, pointing\n to the zip archive which contains the function.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - sourceRepository\n sourceRepository:\n type: object\n x-dcl-go-name: SourceRepository\n x-dcl-go-type: FunctionSourceRepository\n description: Represents parameters related to source repository where a\n function is hosted.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - sourceArchiveUrl\n required:\n - url\n properties:\n deployedUrl:\n type: string\n x-dcl-go-name: DeployedUrl\n readOnly: true\n description: |-\n Output only. The URL pointing to the hosted repository where the function\n were defined at the time of deployment. It always points to a specific\n commit in the format described above.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: |-\n The URL pointing to the hosted repository where the function is defined.\n There are supported Cloud Source Repository URLs in the following\n formats:\n\n To refer to a specific commit:\n `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`\n To refer to a moveable alias (branch):\n `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`\n In particular, to refer to HEAD use `master` moveable alias.\n To refer to a specific fixed alias (tag):\n `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`\n\n You may omit `paths/*` if you want to use the main directory.\n x-kubernetes-immutable: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: FunctionStatusEnum\n readOnly: true\n description: 'Output only. Status of the function deployment. Possible values:\n CLOUD_FUNCTION_STATUS_UNSPECIFIED, ACTIVE, OFFLINE, DEPLOY_IN_PROGRESS,\n DELETE_IN_PROGRESS, UNKNOWN'\n x-kubernetes-immutable: true\n enum:\n - CLOUD_FUNCTION_STATUS_UNSPECIFIED\n - ACTIVE\n - OFFLINE\n - DEPLOY_IN_PROGRESS\n - DELETE_IN_PROGRESS\n - UNKNOWN\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: |-\n The function execution timeout. Execution is considered failed and\n can be terminated if the function is not completed at the end of the\n timeout period. Defaults to 60 seconds.\n updateTime:\n type: string\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of a Cloud Function\n in RFC3339 UTC 'Zulu' format, with nanosecond resolution and up to nine\n fractional digits.\n x-kubernetes-immutable: true\n versionId:\n type: integer\n format: int64\n x-dcl-go-name: VersionId\n readOnly: true\n description: |-\n Output only. The version identifier of the Cloud Function. Each deployment attempt\n results in a new version of a function being created.\n x-kubernetes-immutable: true\n vpcConnector:\n type: string\n x-dcl-go-name: VPCConnector\n description: |-\n The VPC Network Connector that this cloud function can connect to. It can\n be either the fully-qualified URI, or the short name of the network\n connector resource. The format of this field is\n `projects/*/locations/*/connectors/*`\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Vpcaccess/Connector\n field: name\n vpcConnectorEgressSettings:\n type: string\n x-dcl-go-name: VPCConnectorEgressSettings\n x-dcl-go-type: FunctionVPCConnectorEgressSettingsEnum\n description: |-\n The egress settings for the connector, controlling what traffic is diverted\n through it. Possible values: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED, PRIVATE_RANGES_ONLY, ALL_TRAFFIC\n enum:\n - VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\n - PRIVATE_RANGES_ONLY\n - ALL_TRAFFIC\n") -// 14754 bytes -// MD5: eabfb011aa655758ee0e39864b035504 +// 14779 bytes +// MD5: 51690e1a8575972a2a736780aa44e8e2 diff --git a/services/google/cloudfunctions/beta/function_schema.go b/services/google/cloudfunctions/beta/function_schema.go index 53b77f9af9..cf07b84fd2 100755 --- a/services/google/cloudfunctions/beta/function_schema.go +++ b/services/google/cloudfunctions/beta/function_schema.go @@ -23,6 +23,7 @@ func DCLFunctionSchema() *dcl.Schema { Title: "CloudFunctions/Function", Description: "The CloudFunctions Function resource", StructName: "Function", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudfunctions/function.yaml b/services/google/cloudfunctions/function.yaml index 91e123ae46..eefd79bb63 100755 --- a/services/google/cloudfunctions/function.yaml +++ b/services/google/cloudfunctions/function.yaml @@ -15,6 +15,7 @@ info: title: CloudFunctions/Function description: The CloudFunctions Function resource x-dcl-struct-name: Function + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudfunctions/function_schema.go b/services/google/cloudfunctions/function_schema.go index 92f20d3593..f149388067 100755 --- a/services/google/cloudfunctions/function_schema.go +++ b/services/google/cloudfunctions/function_schema.go @@ -23,6 +23,7 @@ func DCLFunctionSchema() *dcl.Schema { Title: "CloudFunctions/Function", Description: "The CloudFunctions Function resource", StructName: "Function", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudfunctions/function_yaml_embed.go b/services/google/cloudfunctions/function_yaml_embed.go index d6324c71ac..bbd9331390 100755 --- a/services/google/cloudfunctions/function_yaml_embed.go +++ b/services/google/cloudfunctions/function_yaml_embed.go @@ -17,7 +17,7 @@ package cloudfunctions // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudfunctions/function.yaml -var YAML_function = []byte("info:\n title: CloudFunctions/Function\n description: The CloudFunctions Function resource\n x-dcl-struct-name: Function\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n apply:\n description: The function used to apply information about a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n delete:\n description: The function used to delete a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n deleteAll:\n description: The function used to delete all Function\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Function\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Function:\n title: Function\n x-dcl-id: projects/{{project}}/locations/{{region}}/functions/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - runtime\n - region\n - project\n properties:\n availableMemoryMb:\n type: integer\n format: int64\n x-dcl-go-name: AvailableMemoryMb\n description: 'Memory (in MB), available to the function. Default value is\n 256MB. Allowed values are: 128MB, 256MB, 512MB, 1024MB, and 2048MB.'\n description:\n type: string\n x-dcl-go-name: Description\n description: User-provided description of a function.\n entryPoint:\n type: string\n x-dcl-go-name: EntryPoint\n description: |-\n The name of the function (as defined in source code) that will be\n executed. Defaults to the resource name suffix, if not specified. For\n backward compatibility, if function with given name is not found, then the\n system will try to use function named \"function\".\n For Node.js this is name of a function exported by the module specified\n in `source_location`.\n x-kubernetes-immutable: true\n environmentVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: EnvironmentVariables\n description: Environment variables that shall be available during function\n execution.\n eventTrigger:\n type: object\n x-dcl-go-name: EventTrigger\n x-dcl-go-type: FunctionEventTrigger\n description: A source that fires events in response to a condition in another\n service.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - httpsTrigger\n required:\n - eventType\n - resource\n properties:\n eventType:\n type: string\n x-dcl-go-name: EventType\n description: |-\n Required. The type of event to observe. For example:\n `providers/cloud.storage/eventTypes/object.change` and\n `providers/cloud.pubsub/eventTypes/topic.publish`.\n\n Event types match pattern `providers/*/eventTypes/*.*`.\n The pattern contains:\n\n 1. namespace: For example, `cloud.storage` and\n `google.firebase.analytics`.\n 2. resource type: The type of resource on which event occurs. For\n example, the Google Cloud Storage API includes the type `object`.\n 3. action: The action that generates the event. For example, action for\n a Google Cloud Storage Object is 'change'.\n These parts are lower case.\n x-kubernetes-immutable: true\n failurePolicy:\n type: boolean\n x-dcl-go-name: FailurePolicy\n description: Specifies policy for failed executions.\n x-kubernetes-immutable: true\n resource:\n type: string\n x-dcl-go-name: Resource\n description: |-\n Required. The resource(s) from which to observe events, for example,\n `projects/_/buckets/myBucket`.\n\n Not all syntactically correct values are accepted by all services. For\n example:\n\n 1. The authorization model must support it. Google Cloud Functions\n only allows EventTriggers to be deployed that observe resources in the\n same project as the `Function`.\n 2. The resource type must match the pattern expected for an\n `event_type`. For example, an `EventTrigger` that has an\n `event_type` of \"google.pubsub.topic.publish\" should have a resource\n that matches Google Cloud Pub/Sub topics.\n\n Additionally, some services may support short names when creating an\n `EventTrigger`. These will always be returned in the normalized \"long\"\n format.\n\n See each *service's* documentation for supported formats.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n format: projects/{{project}}/buckets/{{name}}\n - resource: Pubsub/Topic\n field: name\n service:\n type: string\n x-dcl-go-name: Service\n description: |\n The hostname of the service that should be observed.\n\n If no string is provided, the default service implementing the API will\n be used. For example, `storage.googleapis.com` is the default for all\n event types in the `google.storage` namespace.\n x-kubernetes-immutable: true\n httpsTrigger:\n type: object\n x-dcl-go-name: HttpsTrigger\n x-dcl-go-type: FunctionHttpsTrigger\n description: An HTTPS endpoint type of source that can be triggered via\n URL.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - eventTrigger\n properties:\n securityLevel:\n type: string\n x-dcl-go-name: SecurityLevel\n x-dcl-go-type: FunctionHttpsTriggerSecurityLevelEnum\n description: 'Both HTTP and HTTPS requests with URLs that match the\n handler succeed without redirects. The application can examine the\n request to determine which protocol was used and respond accordingly.\n Possible values: SECURITY_LEVEL_UNSPECIFIED, SECURE_ALWAYS, SECURE_OPTIONAL'\n x-kubernetes-immutable: true\n enum:\n - SECURITY_LEVEL_UNSPECIFIED\n - SECURE_ALWAYS\n - SECURE_OPTIONAL\n url:\n type: string\n x-dcl-go-name: Url\n readOnly: true\n description: Output only. The deployed url for the function.\n x-kubernetes-immutable: true\n ingressSettings:\n type: string\n x-dcl-go-name: IngressSettings\n x-dcl-go-type: FunctionIngressSettingsEnum\n description: |-\n The ingress settings for the function, controlling what traffic can reach\n it. Possible values: INGRESS_SETTINGS_UNSPECIFIED, ALLOW_ALL, ALLOW_INTERNAL_ONLY, ALLOW_INTERNAL_AND_GCLB\n enum:\n - INGRESS_SETTINGS_UNSPECIFIED\n - ALLOW_ALL\n - ALLOW_INTERNAL_ONLY\n - ALLOW_INTERNAL_AND_GCLB\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels associated with this Cloud Function.\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: |-\n The limit on the maximum number of function instances that may coexist at a\n given time.\n name:\n type: string\n x-dcl-go-name: Name\n description: A user-defined name of the function. Function names must be\n unique globally.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the function.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: The name of the Cloud Functions region of the function.\n x-kubernetes-immutable: true\n runtime:\n type: string\n x-dcl-go-name: Runtime\n description: |\n The runtime in which to run the function. Required when deploying a new\n function, optional when updating an existing function. For a complete\n list of possible choices, see the\n [`gcloud` command\n reference](/sdk/gcloud/reference/functions/deploy#--runtime).\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: |-\n The email of the function's service account. If empty, defaults to\n `{project_id}@appspot.gserviceaccount.com`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n sourceArchiveUrl:\n type: string\n x-dcl-go-name: SourceArchiveUrl\n description: The Google Cloud Storage URL, starting with gs://, pointing\n to the zip archive which contains the function.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - sourceRepository\n sourceRepository:\n type: object\n x-dcl-go-name: SourceRepository\n x-dcl-go-type: FunctionSourceRepository\n description: Represents parameters related to source repository where a\n function is hosted.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - sourceArchiveUrl\n required:\n - url\n properties:\n deployedUrl:\n type: string\n x-dcl-go-name: DeployedUrl\n readOnly: true\n description: |-\n Output only. The URL pointing to the hosted repository where the function\n were defined at the time of deployment. It always points to a specific\n commit in the format described above.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: |-\n The URL pointing to the hosted repository where the function is defined.\n There are supported Cloud Source Repository URLs in the following\n formats:\n\n To refer to a specific commit:\n `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`\n To refer to a moveable alias (branch):\n `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`\n In particular, to refer to HEAD use `master` moveable alias.\n To refer to a specific fixed alias (tag):\n `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`\n\n You may omit `paths/*` if you want to use the main directory.\n x-kubernetes-immutable: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: FunctionStatusEnum\n readOnly: true\n description: 'Output only. Status of the function deployment. Possible values:\n CLOUD_FUNCTION_STATUS_UNSPECIFIED, ACTIVE, OFFLINE, DEPLOY_IN_PROGRESS,\n DELETE_IN_PROGRESS, UNKNOWN'\n x-kubernetes-immutable: true\n enum:\n - CLOUD_FUNCTION_STATUS_UNSPECIFIED\n - ACTIVE\n - OFFLINE\n - DEPLOY_IN_PROGRESS\n - DELETE_IN_PROGRESS\n - UNKNOWN\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: |-\n The function execution timeout. Execution is considered failed and\n can be terminated if the function is not completed at the end of the\n timeout period. Defaults to 60 seconds.\n updateTime:\n type: string\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of a Cloud Function\n in RFC3339 UTC 'Zulu' format, with nanosecond resolution and up to nine\n fractional digits.\n x-kubernetes-immutable: true\n versionId:\n type: integer\n format: int64\n x-dcl-go-name: VersionId\n readOnly: true\n description: |-\n Output only. The version identifier of the Cloud Function. Each deployment attempt\n results in a new version of a function being created.\n x-kubernetes-immutable: true\n vpcConnector:\n type: string\n x-dcl-go-name: VPCConnector\n description: |-\n The VPC Network Connector that this cloud function can connect to. It can\n be either the fully-qualified URI, or the short name of the network\n connector resource. The format of this field is\n `projects/*/locations/*/connectors/*`\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Vpcaccess/Connector\n field: name\n vpcConnectorEgressSettings:\n type: string\n x-dcl-go-name: VPCConnectorEgressSettings\n x-dcl-go-type: FunctionVPCConnectorEgressSettingsEnum\n description: |-\n The egress settings for the connector, controlling what traffic is diverted\n through it. Possible values: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED, PRIVATE_RANGES_ONLY, ALL_TRAFFIC\n enum:\n - VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\n - PRIVATE_RANGES_ONLY\n - ALL_TRAFFIC\n") +var YAML_function = []byte("info:\n title: CloudFunctions/Function\n description: The CloudFunctions Function resource\n x-dcl-struct-name: Function\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n apply:\n description: The function used to apply information about a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n delete:\n description: The function used to delete a Function\n parameters:\n - name: Function\n required: true\n description: A full instance of a Function\n deleteAll:\n description: The function used to delete all Function\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Function\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Function:\n title: Function\n x-dcl-id: projects/{{project}}/locations/{{region}}/functions/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - runtime\n - region\n - project\n properties:\n availableMemoryMb:\n type: integer\n format: int64\n x-dcl-go-name: AvailableMemoryMb\n description: 'Memory (in MB), available to the function. Default value is\n 256MB. Allowed values are: 128MB, 256MB, 512MB, 1024MB, and 2048MB.'\n description:\n type: string\n x-dcl-go-name: Description\n description: User-provided description of a function.\n entryPoint:\n type: string\n x-dcl-go-name: EntryPoint\n description: |-\n The name of the function (as defined in source code) that will be\n executed. Defaults to the resource name suffix, if not specified. For\n backward compatibility, if function with given name is not found, then the\n system will try to use function named \"function\".\n For Node.js this is name of a function exported by the module specified\n in `source_location`.\n x-kubernetes-immutable: true\n environmentVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: EnvironmentVariables\n description: Environment variables that shall be available during function\n execution.\n eventTrigger:\n type: object\n x-dcl-go-name: EventTrigger\n x-dcl-go-type: FunctionEventTrigger\n description: A source that fires events in response to a condition in another\n service.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - httpsTrigger\n required:\n - eventType\n - resource\n properties:\n eventType:\n type: string\n x-dcl-go-name: EventType\n description: |-\n Required. The type of event to observe. For example:\n `providers/cloud.storage/eventTypes/object.change` and\n `providers/cloud.pubsub/eventTypes/topic.publish`.\n\n Event types match pattern `providers/*/eventTypes/*.*`.\n The pattern contains:\n\n 1. namespace: For example, `cloud.storage` and\n `google.firebase.analytics`.\n 2. resource type: The type of resource on which event occurs. For\n example, the Google Cloud Storage API includes the type `object`.\n 3. action: The action that generates the event. For example, action for\n a Google Cloud Storage Object is 'change'.\n These parts are lower case.\n x-kubernetes-immutable: true\n failurePolicy:\n type: boolean\n x-dcl-go-name: FailurePolicy\n description: Specifies policy for failed executions.\n x-kubernetes-immutable: true\n resource:\n type: string\n x-dcl-go-name: Resource\n description: |-\n Required. The resource(s) from which to observe events, for example,\n `projects/_/buckets/myBucket`.\n\n Not all syntactically correct values are accepted by all services. For\n example:\n\n 1. The authorization model must support it. Google Cloud Functions\n only allows EventTriggers to be deployed that observe resources in the\n same project as the `Function`.\n 2. The resource type must match the pattern expected for an\n `event_type`. For example, an `EventTrigger` that has an\n `event_type` of \"google.pubsub.topic.publish\" should have a resource\n that matches Google Cloud Pub/Sub topics.\n\n Additionally, some services may support short names when creating an\n `EventTrigger`. These will always be returned in the normalized \"long\"\n format.\n\n See each *service's* documentation for supported formats.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n format: projects/{{project}}/buckets/{{name}}\n - resource: Pubsub/Topic\n field: name\n service:\n type: string\n x-dcl-go-name: Service\n description: |\n The hostname of the service that should be observed.\n\n If no string is provided, the default service implementing the API will\n be used. For example, `storage.googleapis.com` is the default for all\n event types in the `google.storage` namespace.\n x-kubernetes-immutable: true\n httpsTrigger:\n type: object\n x-dcl-go-name: HttpsTrigger\n x-dcl-go-type: FunctionHttpsTrigger\n description: An HTTPS endpoint type of source that can be triggered via\n URL.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - eventTrigger\n properties:\n securityLevel:\n type: string\n x-dcl-go-name: SecurityLevel\n x-dcl-go-type: FunctionHttpsTriggerSecurityLevelEnum\n description: 'Both HTTP and HTTPS requests with URLs that match the\n handler succeed without redirects. The application can examine the\n request to determine which protocol was used and respond accordingly.\n Possible values: SECURITY_LEVEL_UNSPECIFIED, SECURE_ALWAYS, SECURE_OPTIONAL'\n x-kubernetes-immutable: true\n enum:\n - SECURITY_LEVEL_UNSPECIFIED\n - SECURE_ALWAYS\n - SECURE_OPTIONAL\n url:\n type: string\n x-dcl-go-name: Url\n readOnly: true\n description: Output only. The deployed url for the function.\n x-kubernetes-immutable: true\n ingressSettings:\n type: string\n x-dcl-go-name: IngressSettings\n x-dcl-go-type: FunctionIngressSettingsEnum\n description: |-\n The ingress settings for the function, controlling what traffic can reach\n it. Possible values: INGRESS_SETTINGS_UNSPECIFIED, ALLOW_ALL, ALLOW_INTERNAL_ONLY, ALLOW_INTERNAL_AND_GCLB\n enum:\n - INGRESS_SETTINGS_UNSPECIFIED\n - ALLOW_ALL\n - ALLOW_INTERNAL_ONLY\n - ALLOW_INTERNAL_AND_GCLB\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels associated with this Cloud Function.\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: |-\n The limit on the maximum number of function instances that may coexist at a\n given time.\n name:\n type: string\n x-dcl-go-name: Name\n description: A user-defined name of the function. Function names must be\n unique globally.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the function.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: The name of the Cloud Functions region of the function.\n x-kubernetes-immutable: true\n runtime:\n type: string\n x-dcl-go-name: Runtime\n description: |\n The runtime in which to run the function. Required when deploying a new\n function, optional when updating an existing function. For a complete\n list of possible choices, see the\n [`gcloud` command\n reference](/sdk/gcloud/reference/functions/deploy#--runtime).\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: |-\n The email of the function's service account. If empty, defaults to\n `{project_id}@appspot.gserviceaccount.com`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n sourceArchiveUrl:\n type: string\n x-dcl-go-name: SourceArchiveUrl\n description: The Google Cloud Storage URL, starting with gs://, pointing\n to the zip archive which contains the function.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - sourceRepository\n sourceRepository:\n type: object\n x-dcl-go-name: SourceRepository\n x-dcl-go-type: FunctionSourceRepository\n description: Represents parameters related to source repository where a\n function is hosted.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - sourceArchiveUrl\n required:\n - url\n properties:\n deployedUrl:\n type: string\n x-dcl-go-name: DeployedUrl\n readOnly: true\n description: |-\n Output only. The URL pointing to the hosted repository where the function\n were defined at the time of deployment. It always points to a specific\n commit in the format described above.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: |-\n The URL pointing to the hosted repository where the function is defined.\n There are supported Cloud Source Repository URLs in the following\n formats:\n\n To refer to a specific commit:\n `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`\n To refer to a moveable alias (branch):\n `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`\n In particular, to refer to HEAD use `master` moveable alias.\n To refer to a specific fixed alias (tag):\n `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`\n\n You may omit `paths/*` if you want to use the main directory.\n x-kubernetes-immutable: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: FunctionStatusEnum\n readOnly: true\n description: 'Output only. Status of the function deployment. Possible values:\n CLOUD_FUNCTION_STATUS_UNSPECIFIED, ACTIVE, OFFLINE, DEPLOY_IN_PROGRESS,\n DELETE_IN_PROGRESS, UNKNOWN'\n x-kubernetes-immutable: true\n enum:\n - CLOUD_FUNCTION_STATUS_UNSPECIFIED\n - ACTIVE\n - OFFLINE\n - DEPLOY_IN_PROGRESS\n - DELETE_IN_PROGRESS\n - UNKNOWN\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: |-\n The function execution timeout. Execution is considered failed and\n can be terminated if the function is not completed at the end of the\n timeout period. Defaults to 60 seconds.\n updateTime:\n type: string\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of a Cloud Function\n in RFC3339 UTC 'Zulu' format, with nanosecond resolution and up to nine\n fractional digits.\n x-kubernetes-immutable: true\n versionId:\n type: integer\n format: int64\n x-dcl-go-name: VersionId\n readOnly: true\n description: |-\n Output only. The version identifier of the Cloud Function. Each deployment attempt\n results in a new version of a function being created.\n x-kubernetes-immutable: true\n vpcConnector:\n type: string\n x-dcl-go-name: VPCConnector\n description: |-\n The VPC Network Connector that this cloud function can connect to. It can\n be either the fully-qualified URI, or the short name of the network\n connector resource. The format of this field is\n `projects/*/locations/*/connectors/*`\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Vpcaccess/Connector\n field: name\n vpcConnectorEgressSettings:\n type: string\n x-dcl-go-name: VPCConnectorEgressSettings\n x-dcl-go-type: FunctionVPCConnectorEgressSettingsEnum\n description: |-\n The egress settings for the connector, controlling what traffic is diverted\n through it. Possible values: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED, PRIVATE_RANGES_ONLY, ALL_TRAFFIC\n enum:\n - VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\n - PRIVATE_RANGES_ONLY\n - ALL_TRAFFIC\n") -// 14754 bytes -// MD5: eabfb011aa655758ee0e39864b035504 +// 14779 bytes +// MD5: 51690e1a8575972a2a736780aa44e8e2 diff --git a/services/google/cloudidentity/alpha/group.yaml b/services/google/cloudidentity/alpha/group.yaml index b39e8fc55d..98f4664ec8 100755 --- a/services/google/cloudidentity/alpha/group.yaml +++ b/services/google/cloudidentity/alpha/group.yaml @@ -15,6 +15,7 @@ info: title: Cloudidentity/Group description: The Cloudidentity Group resource x-dcl-struct-name: Group + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudidentity/alpha/group_alpha_yaml_embed.go b/services/google/cloudidentity/alpha/group_alpha_yaml_embed.go index deaa6c7deb..c8f21f8588 100755 --- a/services/google/cloudidentity/alpha/group_alpha_yaml_embed.go +++ b/services/google/cloudidentity/alpha/group_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudidentity/alpha/group.yaml -var YAML_group = []byte("info:\n title: Cloudidentity/Group\n description: The Cloudidentity Group resource\n x-dcl-struct-name: Group\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n apply:\n description: The function used to apply information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n delete:\n description: The function used to delete a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n deleteAll:\n description: The function used to delete all Group\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Group\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Group:\n title: Group\n x-dcl-id: groups/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-has-iam: false\n type: object\n required:\n - groupKey\n - parent\n - labels\n properties:\n additionalGroupKeys:\n type: array\n x-dcl-go-name: AdditionalGroupKeys\n description: Optional. Additional entity key aliases for a Group.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupAdditionalGroupKeys\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents\n an external-identity-mapped group. The namespace must correspond\n to an identity source created in Admin Console and must be in the\n form of `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the `Group` was created.\n x-kubernetes-immutable: true\n derivedAliases:\n type: array\n x-dcl-go-name: DerivedAliases\n readOnly: true\n description: Output only. Aliases for groups derived from domain aliases.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupDerivedAliases\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents\n an external-identity-mapped group. The namespace must correspond\n to an identity source created in Admin Console and must be in the\n form of `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An extended description to help users determine the purpose\n of a `Group`. Must not be longer than 4,096 characters.\n directMemberCount:\n type: integer\n format: int64\n x-dcl-go-name: DirectMemberCount\n readOnly: true\n description: 'Output only. The number of all direct members. Including groups\n and users, The special member: all-user-in-domain will be counted as one\n member. Output only.'\n x-kubernetes-immutable: true\n directMemberCountPerType:\n type: object\n x-dcl-go-name: DirectMemberCountPerType\n x-dcl-go-type: GroupDirectMemberCountPerType\n readOnly: true\n description: Output only. Direct membership counts grouped by user/group\n type\n x-kubernetes-immutable: true\n properties:\n groupCount:\n type: integer\n format: int64\n x-dcl-go-name: GroupCount\n readOnly: true\n description: Output only. Direct group type membership count\n x-kubernetes-immutable: true\n userCount:\n type: integer\n format: int64\n x-dcl-go-name: UserCount\n readOnly: true\n description: Output only. Direct user type membership count\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the `Group`.\n dynamicGroupMetadata:\n type: object\n x-dcl-go-name: DynamicGroupMetadata\n x-dcl-go-type: GroupDynamicGroupMetadata\n description: Optional. Dynamic group metadata like queries and status.\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: Only one entry is supported for now. Memberships will be\n the union of all queries. Customers can create up to 100 dynamic groups.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupDynamicGroupMetadataQueries\n properties:\n query:\n type: string\n x-dcl-go-name: Query\n description: Query that determines the memberships of the dynamic\n group.\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: GroupDynamicGroupMetadataQueriesResourceTypeEnum\n description: ' Possible values: RESOURCE_TYPE_UNSPECIFIED, USER'\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - USER\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: GroupDynamicGroupMetadataStatus\n readOnly: true\n description: Status of the dynamic group. Output only.\n properties:\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: GroupDynamicGroupMetadataStatusStatusEnum\n description: 'Status of the dynamic group. Possible values: STATUS_UNSPECIFIED,\n UP_TO_DATE, UPDATING_MEMBERSHIPS, INVALID_QUERY'\n enum:\n - STATUS_UNSPECIFIED\n - UP_TO_DATE\n - UPDATING_MEMBERSHIPS\n - INVALID_QUERY\n statusTime:\n type: string\n format: date-time\n x-dcl-go-name: StatusTime\n description: 'The latest time at which the dynamic group is guaranteed\n to be in the given status. For example, if status is: UP_TO_DATE\n - The latest time at which this dynamic group was confirmed to\n be up to date. UPDATING_MEMBERSHIPS - The time at which dynamic\n group was created.'\n groupKey:\n type: object\n x-dcl-go-name: GroupKey\n x-dcl-go-type: GroupGroupKey\n description: Required. Immutable. The `EntityKey` of the `Group`.\n x-kubernetes-immutable: true\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n initialGroupConfig:\n type: string\n x-dcl-go-name: InitialGroupConfig\n x-dcl-go-type: GroupInitialGroupConfigEnum\n description: 'The initial configuration option for the `Group`. Possible\n values: INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, EMPTY'\n x-kubernetes-immutable: true\n enum:\n - INITIAL_GROUP_CONFIG_UNSPECIFIED\n - WITH_INITIAL_OWNER\n - EMPTY\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Required. One or more label entries that apply to the Group.\n Currently supported labels contain a key with an empty value. Google Groups\n are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum`\n and an empty value. Existing Google Groups can have an additional label\n with a key of `cloudidentity.googleapis.com/groups.security` and an empty\n value added to them. **This is an immutable change and the security label\n cannot be removed once added.** Dynamic groups have a label with a key\n of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups\n for Cloud Search have a label with a key of `system/groups/external` and\n an empty value.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The [resource name](https://cloud.google.com/apis/design/resource_names)\n of the `Group`. Shall be of the form `groups/{group}`.\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Required. Immutable. The resource name of the entity under\n which this `Group` resides in the Cloud Identity resource hierarchy. Must\n be of the form `identitysources/{identity_source}` for external- identity-mapped\n groups or `customers/{customer}` for Google Groups. The `customer` must\n begin with \"C\" (for example, 'C046psxkn').\n x-kubernetes-immutable: true\n posixGroups:\n type: array\n x-dcl-go-name: PosixGroups\n description: The POSIX groups associated with the `Group`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupPosixGroups\n properties:\n gid:\n type: string\n x-dcl-go-name: Gid\n description: GID of the POSIX group.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the POSIX group.\n systemId:\n type: string\n x-dcl-go-name: SystemId\n description: System identifier for which group name and gid apply\n to. If not specified it will default to empty value.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the `Group` was last updated.\n x-kubernetes-immutable: true\n") +var YAML_group = []byte("info:\n title: Cloudidentity/Group\n description: The Cloudidentity Group resource\n x-dcl-struct-name: Group\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n apply:\n description: The function used to apply information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n delete:\n description: The function used to delete a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n deleteAll:\n description: The function used to delete all Group\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Group\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Group:\n title: Group\n x-dcl-id: groups/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-has-iam: false\n type: object\n required:\n - groupKey\n - parent\n - labels\n properties:\n additionalGroupKeys:\n type: array\n x-dcl-go-name: AdditionalGroupKeys\n description: Optional. Additional entity key aliases for a Group.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupAdditionalGroupKeys\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents\n an external-identity-mapped group. The namespace must correspond\n to an identity source created in Admin Console and must be in the\n form of `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the `Group` was created.\n x-kubernetes-immutable: true\n derivedAliases:\n type: array\n x-dcl-go-name: DerivedAliases\n readOnly: true\n description: Output only. Aliases for groups derived from domain aliases.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupDerivedAliases\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents\n an external-identity-mapped group. The namespace must correspond\n to an identity source created in Admin Console and must be in the\n form of `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An extended description to help users determine the purpose\n of a `Group`. Must not be longer than 4,096 characters.\n directMemberCount:\n type: integer\n format: int64\n x-dcl-go-name: DirectMemberCount\n readOnly: true\n description: 'Output only. The number of all direct members. Including groups\n and users, The special member: all-user-in-domain will be counted as one\n member. Output only.'\n x-kubernetes-immutable: true\n directMemberCountPerType:\n type: object\n x-dcl-go-name: DirectMemberCountPerType\n x-dcl-go-type: GroupDirectMemberCountPerType\n readOnly: true\n description: Output only. Direct membership counts grouped by user/group\n type\n x-kubernetes-immutable: true\n properties:\n groupCount:\n type: integer\n format: int64\n x-dcl-go-name: GroupCount\n readOnly: true\n description: Output only. Direct group type membership count\n x-kubernetes-immutable: true\n userCount:\n type: integer\n format: int64\n x-dcl-go-name: UserCount\n readOnly: true\n description: Output only. Direct user type membership count\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the `Group`.\n dynamicGroupMetadata:\n type: object\n x-dcl-go-name: DynamicGroupMetadata\n x-dcl-go-type: GroupDynamicGroupMetadata\n description: Optional. Dynamic group metadata like queries and status.\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: Only one entry is supported for now. Memberships will be\n the union of all queries. Customers can create up to 100 dynamic groups.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupDynamicGroupMetadataQueries\n properties:\n query:\n type: string\n x-dcl-go-name: Query\n description: Query that determines the memberships of the dynamic\n group.\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: GroupDynamicGroupMetadataQueriesResourceTypeEnum\n description: ' Possible values: RESOURCE_TYPE_UNSPECIFIED, USER'\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - USER\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: GroupDynamicGroupMetadataStatus\n readOnly: true\n description: Status of the dynamic group. Output only.\n properties:\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: GroupDynamicGroupMetadataStatusStatusEnum\n description: 'Status of the dynamic group. Possible values: STATUS_UNSPECIFIED,\n UP_TO_DATE, UPDATING_MEMBERSHIPS, INVALID_QUERY'\n enum:\n - STATUS_UNSPECIFIED\n - UP_TO_DATE\n - UPDATING_MEMBERSHIPS\n - INVALID_QUERY\n statusTime:\n type: string\n format: date-time\n x-dcl-go-name: StatusTime\n description: 'The latest time at which the dynamic group is guaranteed\n to be in the given status. For example, if status is: UP_TO_DATE\n - The latest time at which this dynamic group was confirmed to\n be up to date. UPDATING_MEMBERSHIPS - The time at which dynamic\n group was created.'\n groupKey:\n type: object\n x-dcl-go-name: GroupKey\n x-dcl-go-type: GroupGroupKey\n description: Required. Immutable. The `EntityKey` of the `Group`.\n x-kubernetes-immutable: true\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n initialGroupConfig:\n type: string\n x-dcl-go-name: InitialGroupConfig\n x-dcl-go-type: GroupInitialGroupConfigEnum\n description: 'The initial configuration option for the `Group`. Possible\n values: INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, EMPTY'\n x-kubernetes-immutable: true\n enum:\n - INITIAL_GROUP_CONFIG_UNSPECIFIED\n - WITH_INITIAL_OWNER\n - EMPTY\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Required. One or more label entries that apply to the Group.\n Currently supported labels contain a key with an empty value. Google Groups\n are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum`\n and an empty value. Existing Google Groups can have an additional label\n with a key of `cloudidentity.googleapis.com/groups.security` and an empty\n value added to them. **This is an immutable change and the security label\n cannot be removed once added.** Dynamic groups have a label with a key\n of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups\n for Cloud Search have a label with a key of `system/groups/external` and\n an empty value.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The [resource name](https://cloud.google.com/apis/design/resource_names)\n of the `Group`. Shall be of the form `groups/{group}`.\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Required. Immutable. The resource name of the entity under\n which this `Group` resides in the Cloud Identity resource hierarchy. Must\n be of the form `identitysources/{identity_source}` for external- identity-mapped\n groups or `customers/{customer}` for Google Groups. The `customer` must\n begin with \"C\" (for example, 'C046psxkn').\n x-kubernetes-immutable: true\n posixGroups:\n type: array\n x-dcl-go-name: PosixGroups\n description: The POSIX groups associated with the `Group`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupPosixGroups\n properties:\n gid:\n type: string\n x-dcl-go-name: Gid\n description: GID of the POSIX group.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the POSIX group.\n systemId:\n type: string\n x-dcl-go-name: SystemId\n description: System identifier for which group name and gid apply\n to. If not specified it will default to empty value.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the `Group` was last updated.\n x-kubernetes-immutable: true\n") -// 13495 bytes -// MD5: 0b913b5a6932889399e266d3b8aedd42 +// 13520 bytes +// MD5: 1ad8c0f5e2703d9722e221423916019f diff --git a/services/google/cloudidentity/alpha/group_schema.go b/services/google/cloudidentity/alpha/group_schema.go index 003c9b08d3..cb5d87e34c 100755 --- a/services/google/cloudidentity/alpha/group_schema.go +++ b/services/google/cloudidentity/alpha/group_schema.go @@ -23,6 +23,7 @@ func DCLGroupSchema() *dcl.Schema { Title: "Cloudidentity/Group", Description: "The Cloudidentity Group resource", StructName: "Group", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudidentity/alpha/membership.yaml b/services/google/cloudidentity/alpha/membership.yaml index 5eb3441eeb..a3b2e50191 100755 --- a/services/google/cloudidentity/alpha/membership.yaml +++ b/services/google/cloudidentity/alpha/membership.yaml @@ -15,6 +15,7 @@ info: title: Cloudidentity/Membership description: The Cloudidentity Membership resource x-dcl-struct-name: Membership + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudidentity/alpha/membership_alpha_yaml_embed.go b/services/google/cloudidentity/alpha/membership_alpha_yaml_embed.go index 7a31918fa8..c8b98ba685 100755 --- a/services/google/cloudidentity/alpha/membership_alpha_yaml_embed.go +++ b/services/google/cloudidentity/alpha/membership_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudidentity/alpha/membership.yaml -var YAML_membership = []byte("info:\n title: Cloudidentity/Membership\n description: The Cloudidentity Membership resource\n x-dcl-struct-name: Membership\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n apply:\n description: The function used to apply information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n delete:\n description: The function used to delete a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n deleteAll:\n description: The function used to delete all Membership\n parameters:\n - name: group\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Membership\n parameters:\n - name: group\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Membership:\n title: Membership\n x-dcl-id: groups/{{group}}/memberships/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - preferredMemberKey\n - roles\n - group\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the `Membership` was created.\n x-kubernetes-immutable: true\n deliverySetting:\n type: string\n x-dcl-go-name: DeliverySetting\n x-dcl-go-type: MembershipDeliverySettingEnum\n readOnly: true\n description: 'Output only. Delivery setting associated with the membership.\n Possible values: DELIVERY_SETTING_UNSPECIFIED, ALL_MAIL, DIGEST, DAILY,\n NONE, DISABLED'\n x-kubernetes-immutable: true\n enum:\n - DELIVERY_SETTING_UNSPECIFIED\n - ALL_MAIL\n - DIGEST\n - DAILY\n - NONE\n - DISABLED\n displayName:\n type: object\n x-dcl-go-name: DisplayName\n x-dcl-go-type: MembershipDisplayName\n readOnly: true\n description: Output only. The display name of this member, if available\n x-kubernetes-immutable: true\n properties:\n familyName:\n type: string\n x-dcl-go-name: FamilyName\n readOnly: true\n description: Output only. Member's family name\n x-kubernetes-immutable: true\n fullName:\n type: string\n x-dcl-go-name: FullName\n readOnly: true\n description: Output only. Localized UTF-16 full name for the member.\n Localization is done based on the language in the request and the\n language of the stored display name.\n x-kubernetes-immutable: true\n givenName:\n type: string\n x-dcl-go-name: GivenName\n readOnly: true\n description: Output only. Member's given name\n x-kubernetes-immutable: true\n group:\n type: string\n x-dcl-go-name: Group\n description: The group for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudidentity/Group\n field: name\n parent: true\n memberKey:\n type: object\n x-dcl-go-name: MemberKey\n x-dcl-go-type: MembershipMemberKey\n description: Immutable. The `EntityKey` of the member. Either `member_key`\n or `preferred_member_key` must be set when calling MembershipsService.CreateMembership\n but not both; both shall be set when returned.\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of an existing group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The [resource name](https://cloud.google.com/apis/design/resource_names)\n of the `Membership`. Shall be of the form `groups/{group}/memberships/{membership}`.\n x-dcl-server-generated-parameter: true\n preferredMemberKey:\n type: object\n x-dcl-go-name: PreferredMemberKey\n x-dcl-go-type: MembershipPreferredMemberKey\n description: Required. Immutable. The `EntityKey` of the member.\n x-kubernetes-immutable: true\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n roles:\n type: array\n x-dcl-go-name: Roles\n description: The `MembershipRole`s that apply to the `Membership`. If unspecified,\n defaults to a single `MembershipRole` with `name` `MEMBER`. Must not contain\n duplicate `MembershipRole`s with the same `name`.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: MembershipRoles\n required:\n - name\n properties:\n expiryDetail:\n type: object\n x-dcl-go-name: ExpiryDetail\n x-dcl-go-type: MembershipRolesExpiryDetail\n description: The expiry details of the `MembershipRole`. Expiry details\n are only supported for `MEMBER` `MembershipRoles`. May be set if\n `name` is `MEMBER`. Must not be set if `name` is any other value.\n x-dcl-send-empty: true\n properties:\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n description: The time at which the `MembershipRole` will expire.\n name:\n type: string\n x-dcl-go-name: Name\n restrictionEvaluations:\n type: object\n x-dcl-go-name: RestrictionEvaluations\n x-dcl-go-type: MembershipRolesRestrictionEvaluations\n description: Evaluations of restrictions applied to parent group on\n this membership.\n properties:\n memberRestrictionEvaluation:\n type: object\n x-dcl-go-name: MemberRestrictionEvaluation\n x-dcl-go-type: MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation\n description: Evaluation of the member restriction applied to this\n membership. Empty if the user lacks permission to view the restriction\n evaluation.\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum\n readOnly: true\n description: 'Output only. The current state of the restriction\n Possible values: ENCRYPTION_STATE_UNSPECIFIED, UNSUPPORTED_BY_DEVICE,\n ENCRYPTED, NOT_ENCRYPTED'\n enum:\n - ENCRYPTION_STATE_UNSPECIFIED\n - UNSUPPORTED_BY_DEVICE\n - ENCRYPTED\n - NOT_ENCRYPTED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: MembershipTypeEnum\n readOnly: true\n description: 'Output only. The type of the membership. Possible values:\n OWNER_TYPE_UNSPECIFIED, OWNER_TYPE_CUSTOMER, OWNER_TYPE_PARTNER'\n x-kubernetes-immutable: true\n enum:\n - OWNER_TYPE_UNSPECIFIED\n - OWNER_TYPE_CUSTOMER\n - OWNER_TYPE_PARTNER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the `Membership` was last updated.\n x-kubernetes-immutable: true\n") +var YAML_membership = []byte("info:\n title: Cloudidentity/Membership\n description: The Cloudidentity Membership resource\n x-dcl-struct-name: Membership\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n apply:\n description: The function used to apply information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n delete:\n description: The function used to delete a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n deleteAll:\n description: The function used to delete all Membership\n parameters:\n - name: group\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Membership\n parameters:\n - name: group\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Membership:\n title: Membership\n x-dcl-id: groups/{{group}}/memberships/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - preferredMemberKey\n - roles\n - group\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the `Membership` was created.\n x-kubernetes-immutable: true\n deliverySetting:\n type: string\n x-dcl-go-name: DeliverySetting\n x-dcl-go-type: MembershipDeliverySettingEnum\n readOnly: true\n description: 'Output only. Delivery setting associated with the membership.\n Possible values: DELIVERY_SETTING_UNSPECIFIED, ALL_MAIL, DIGEST, DAILY,\n NONE, DISABLED'\n x-kubernetes-immutable: true\n enum:\n - DELIVERY_SETTING_UNSPECIFIED\n - ALL_MAIL\n - DIGEST\n - DAILY\n - NONE\n - DISABLED\n displayName:\n type: object\n x-dcl-go-name: DisplayName\n x-dcl-go-type: MembershipDisplayName\n readOnly: true\n description: Output only. The display name of this member, if available\n x-kubernetes-immutable: true\n properties:\n familyName:\n type: string\n x-dcl-go-name: FamilyName\n readOnly: true\n description: Output only. Member's family name\n x-kubernetes-immutable: true\n fullName:\n type: string\n x-dcl-go-name: FullName\n readOnly: true\n description: Output only. Localized UTF-16 full name for the member.\n Localization is done based on the language in the request and the\n language of the stored display name.\n x-kubernetes-immutable: true\n givenName:\n type: string\n x-dcl-go-name: GivenName\n readOnly: true\n description: Output only. Member's given name\n x-kubernetes-immutable: true\n group:\n type: string\n x-dcl-go-name: Group\n description: The group for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudidentity/Group\n field: name\n parent: true\n memberKey:\n type: object\n x-dcl-go-name: MemberKey\n x-dcl-go-type: MembershipMemberKey\n description: Immutable. The `EntityKey` of the member. Either `member_key`\n or `preferred_member_key` must be set when calling MembershipsService.CreateMembership\n but not both; both shall be set when returned.\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of an existing group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The [resource name](https://cloud.google.com/apis/design/resource_names)\n of the `Membership`. Shall be of the form `groups/{group}/memberships/{membership}`.\n x-dcl-server-generated-parameter: true\n preferredMemberKey:\n type: object\n x-dcl-go-name: PreferredMemberKey\n x-dcl-go-type: MembershipPreferredMemberKey\n description: Required. Immutable. The `EntityKey` of the member.\n x-kubernetes-immutable: true\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n roles:\n type: array\n x-dcl-go-name: Roles\n description: The `MembershipRole`s that apply to the `Membership`. If unspecified,\n defaults to a single `MembershipRole` with `name` `MEMBER`. Must not contain\n duplicate `MembershipRole`s with the same `name`.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: MembershipRoles\n required:\n - name\n properties:\n expiryDetail:\n type: object\n x-dcl-go-name: ExpiryDetail\n x-dcl-go-type: MembershipRolesExpiryDetail\n description: The expiry details of the `MembershipRole`. Expiry details\n are only supported for `MEMBER` `MembershipRoles`. May be set if\n `name` is `MEMBER`. Must not be set if `name` is any other value.\n x-dcl-send-empty: true\n properties:\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n description: The time at which the `MembershipRole` will expire.\n name:\n type: string\n x-dcl-go-name: Name\n restrictionEvaluations:\n type: object\n x-dcl-go-name: RestrictionEvaluations\n x-dcl-go-type: MembershipRolesRestrictionEvaluations\n description: Evaluations of restrictions applied to parent group on\n this membership.\n properties:\n memberRestrictionEvaluation:\n type: object\n x-dcl-go-name: MemberRestrictionEvaluation\n x-dcl-go-type: MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation\n description: Evaluation of the member restriction applied to this\n membership. Empty if the user lacks permission to view the restriction\n evaluation.\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum\n readOnly: true\n description: 'Output only. The current state of the restriction\n Possible values: ENCRYPTION_STATE_UNSPECIFIED, UNSUPPORTED_BY_DEVICE,\n ENCRYPTED, NOT_ENCRYPTED'\n enum:\n - ENCRYPTION_STATE_UNSPECIFIED\n - UNSUPPORTED_BY_DEVICE\n - ENCRYPTED\n - NOT_ENCRYPTED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: MembershipTypeEnum\n readOnly: true\n description: 'Output only. The type of the membership. Possible values:\n OWNER_TYPE_UNSPECIFIED, OWNER_TYPE_CUSTOMER, OWNER_TYPE_PARTNER'\n x-kubernetes-immutable: true\n enum:\n - OWNER_TYPE_UNSPECIFIED\n - OWNER_TYPE_CUSTOMER\n - OWNER_TYPE_PARTNER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the `Membership` was last updated.\n x-kubernetes-immutable: true\n") -// 10154 bytes -// MD5: 1993664ccc1c4a0514fd11405b49fd9b +// 10179 bytes +// MD5: db3f0f267b2f9fd6297491c9eea81b31 diff --git a/services/google/cloudidentity/alpha/membership_schema.go b/services/google/cloudidentity/alpha/membership_schema.go index 426f04ee7e..f7ce80243d 100755 --- a/services/google/cloudidentity/alpha/membership_schema.go +++ b/services/google/cloudidentity/alpha/membership_schema.go @@ -23,6 +23,7 @@ func DCLMembershipSchema() *dcl.Schema { Title: "Cloudidentity/Membership", Description: "The Cloudidentity Membership resource", StructName: "Membership", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudidentity/beta/group.yaml b/services/google/cloudidentity/beta/group.yaml index b39e8fc55d..98f4664ec8 100755 --- a/services/google/cloudidentity/beta/group.yaml +++ b/services/google/cloudidentity/beta/group.yaml @@ -15,6 +15,7 @@ info: title: Cloudidentity/Group description: The Cloudidentity Group resource x-dcl-struct-name: Group + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudidentity/beta/group_beta_yaml_embed.go b/services/google/cloudidentity/beta/group_beta_yaml_embed.go index d8aba0c98d..985702c9ec 100755 --- a/services/google/cloudidentity/beta/group_beta_yaml_embed.go +++ b/services/google/cloudidentity/beta/group_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudidentity/beta/group.yaml -var YAML_group = []byte("info:\n title: Cloudidentity/Group\n description: The Cloudidentity Group resource\n x-dcl-struct-name: Group\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n apply:\n description: The function used to apply information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n delete:\n description: The function used to delete a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n deleteAll:\n description: The function used to delete all Group\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Group\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Group:\n title: Group\n x-dcl-id: groups/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-has-iam: false\n type: object\n required:\n - groupKey\n - parent\n - labels\n properties:\n additionalGroupKeys:\n type: array\n x-dcl-go-name: AdditionalGroupKeys\n description: Optional. Additional entity key aliases for a Group.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupAdditionalGroupKeys\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents\n an external-identity-mapped group. The namespace must correspond\n to an identity source created in Admin Console and must be in the\n form of `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the `Group` was created.\n x-kubernetes-immutable: true\n derivedAliases:\n type: array\n x-dcl-go-name: DerivedAliases\n readOnly: true\n description: Output only. Aliases for groups derived from domain aliases.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupDerivedAliases\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents\n an external-identity-mapped group. The namespace must correspond\n to an identity source created in Admin Console and must be in the\n form of `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An extended description to help users determine the purpose\n of a `Group`. Must not be longer than 4,096 characters.\n directMemberCount:\n type: integer\n format: int64\n x-dcl-go-name: DirectMemberCount\n readOnly: true\n description: 'Output only. The number of all direct members. Including groups\n and users, The special member: all-user-in-domain will be counted as one\n member. Output only.'\n x-kubernetes-immutable: true\n directMemberCountPerType:\n type: object\n x-dcl-go-name: DirectMemberCountPerType\n x-dcl-go-type: GroupDirectMemberCountPerType\n readOnly: true\n description: Output only. Direct membership counts grouped by user/group\n type\n x-kubernetes-immutable: true\n properties:\n groupCount:\n type: integer\n format: int64\n x-dcl-go-name: GroupCount\n readOnly: true\n description: Output only. Direct group type membership count\n x-kubernetes-immutable: true\n userCount:\n type: integer\n format: int64\n x-dcl-go-name: UserCount\n readOnly: true\n description: Output only. Direct user type membership count\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the `Group`.\n dynamicGroupMetadata:\n type: object\n x-dcl-go-name: DynamicGroupMetadata\n x-dcl-go-type: GroupDynamicGroupMetadata\n description: Optional. Dynamic group metadata like queries and status.\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: Only one entry is supported for now. Memberships will be\n the union of all queries. Customers can create up to 100 dynamic groups.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupDynamicGroupMetadataQueries\n properties:\n query:\n type: string\n x-dcl-go-name: Query\n description: Query that determines the memberships of the dynamic\n group.\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: GroupDynamicGroupMetadataQueriesResourceTypeEnum\n description: ' Possible values: RESOURCE_TYPE_UNSPECIFIED, USER'\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - USER\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: GroupDynamicGroupMetadataStatus\n readOnly: true\n description: Status of the dynamic group. Output only.\n properties:\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: GroupDynamicGroupMetadataStatusStatusEnum\n description: 'Status of the dynamic group. Possible values: STATUS_UNSPECIFIED,\n UP_TO_DATE, UPDATING_MEMBERSHIPS, INVALID_QUERY'\n enum:\n - STATUS_UNSPECIFIED\n - UP_TO_DATE\n - UPDATING_MEMBERSHIPS\n - INVALID_QUERY\n statusTime:\n type: string\n format: date-time\n x-dcl-go-name: StatusTime\n description: 'The latest time at which the dynamic group is guaranteed\n to be in the given status. For example, if status is: UP_TO_DATE\n - The latest time at which this dynamic group was confirmed to\n be up to date. UPDATING_MEMBERSHIPS - The time at which dynamic\n group was created.'\n groupKey:\n type: object\n x-dcl-go-name: GroupKey\n x-dcl-go-type: GroupGroupKey\n description: Required. Immutable. The `EntityKey` of the `Group`.\n x-kubernetes-immutable: true\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n initialGroupConfig:\n type: string\n x-dcl-go-name: InitialGroupConfig\n x-dcl-go-type: GroupInitialGroupConfigEnum\n description: 'The initial configuration option for the `Group`. Possible\n values: INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, EMPTY'\n x-kubernetes-immutable: true\n enum:\n - INITIAL_GROUP_CONFIG_UNSPECIFIED\n - WITH_INITIAL_OWNER\n - EMPTY\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Required. One or more label entries that apply to the Group.\n Currently supported labels contain a key with an empty value. Google Groups\n are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum`\n and an empty value. Existing Google Groups can have an additional label\n with a key of `cloudidentity.googleapis.com/groups.security` and an empty\n value added to them. **This is an immutable change and the security label\n cannot be removed once added.** Dynamic groups have a label with a key\n of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups\n for Cloud Search have a label with a key of `system/groups/external` and\n an empty value.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The [resource name](https://cloud.google.com/apis/design/resource_names)\n of the `Group`. Shall be of the form `groups/{group}`.\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Required. Immutable. The resource name of the entity under\n which this `Group` resides in the Cloud Identity resource hierarchy. Must\n be of the form `identitysources/{identity_source}` for external- identity-mapped\n groups or `customers/{customer}` for Google Groups. The `customer` must\n begin with \"C\" (for example, 'C046psxkn').\n x-kubernetes-immutable: true\n posixGroups:\n type: array\n x-dcl-go-name: PosixGroups\n description: The POSIX groups associated with the `Group`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupPosixGroups\n properties:\n gid:\n type: string\n x-dcl-go-name: Gid\n description: GID of the POSIX group.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the POSIX group.\n systemId:\n type: string\n x-dcl-go-name: SystemId\n description: System identifier for which group name and gid apply\n to. If not specified it will default to empty value.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the `Group` was last updated.\n x-kubernetes-immutable: true\n") +var YAML_group = []byte("info:\n title: Cloudidentity/Group\n description: The Cloudidentity Group resource\n x-dcl-struct-name: Group\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n apply:\n description: The function used to apply information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n delete:\n description: The function used to delete a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n deleteAll:\n description: The function used to delete all Group\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Group\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Group:\n title: Group\n x-dcl-id: groups/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-has-iam: false\n type: object\n required:\n - groupKey\n - parent\n - labels\n properties:\n additionalGroupKeys:\n type: array\n x-dcl-go-name: AdditionalGroupKeys\n description: Optional. Additional entity key aliases for a Group.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupAdditionalGroupKeys\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents\n an external-identity-mapped group. The namespace must correspond\n to an identity source created in Admin Console and must be in the\n form of `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the `Group` was created.\n x-kubernetes-immutable: true\n derivedAliases:\n type: array\n x-dcl-go-name: DerivedAliases\n readOnly: true\n description: Output only. Aliases for groups derived from domain aliases.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupDerivedAliases\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents\n an external-identity-mapped group. The namespace must correspond\n to an identity source created in Admin Console and must be in the\n form of `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An extended description to help users determine the purpose\n of a `Group`. Must not be longer than 4,096 characters.\n directMemberCount:\n type: integer\n format: int64\n x-dcl-go-name: DirectMemberCount\n readOnly: true\n description: 'Output only. The number of all direct members. Including groups\n and users, The special member: all-user-in-domain will be counted as one\n member. Output only.'\n x-kubernetes-immutable: true\n directMemberCountPerType:\n type: object\n x-dcl-go-name: DirectMemberCountPerType\n x-dcl-go-type: GroupDirectMemberCountPerType\n readOnly: true\n description: Output only. Direct membership counts grouped by user/group\n type\n x-kubernetes-immutable: true\n properties:\n groupCount:\n type: integer\n format: int64\n x-dcl-go-name: GroupCount\n readOnly: true\n description: Output only. Direct group type membership count\n x-kubernetes-immutable: true\n userCount:\n type: integer\n format: int64\n x-dcl-go-name: UserCount\n readOnly: true\n description: Output only. Direct user type membership count\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the `Group`.\n dynamicGroupMetadata:\n type: object\n x-dcl-go-name: DynamicGroupMetadata\n x-dcl-go-type: GroupDynamicGroupMetadata\n description: Optional. Dynamic group metadata like queries and status.\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: Only one entry is supported for now. Memberships will be\n the union of all queries. Customers can create up to 100 dynamic groups.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupDynamicGroupMetadataQueries\n properties:\n query:\n type: string\n x-dcl-go-name: Query\n description: Query that determines the memberships of the dynamic\n group.\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: GroupDynamicGroupMetadataQueriesResourceTypeEnum\n description: ' Possible values: RESOURCE_TYPE_UNSPECIFIED, USER'\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - USER\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: GroupDynamicGroupMetadataStatus\n readOnly: true\n description: Status of the dynamic group. Output only.\n properties:\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: GroupDynamicGroupMetadataStatusStatusEnum\n description: 'Status of the dynamic group. Possible values: STATUS_UNSPECIFIED,\n UP_TO_DATE, UPDATING_MEMBERSHIPS, INVALID_QUERY'\n enum:\n - STATUS_UNSPECIFIED\n - UP_TO_DATE\n - UPDATING_MEMBERSHIPS\n - INVALID_QUERY\n statusTime:\n type: string\n format: date-time\n x-dcl-go-name: StatusTime\n description: 'The latest time at which the dynamic group is guaranteed\n to be in the given status. For example, if status is: UP_TO_DATE\n - The latest time at which this dynamic group was confirmed to\n be up to date. UPDATING_MEMBERSHIPS - The time at which dynamic\n group was created.'\n groupKey:\n type: object\n x-dcl-go-name: GroupKey\n x-dcl-go-type: GroupGroupKey\n description: Required. Immutable. The `EntityKey` of the `Group`.\n x-kubernetes-immutable: true\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n initialGroupConfig:\n type: string\n x-dcl-go-name: InitialGroupConfig\n x-dcl-go-type: GroupInitialGroupConfigEnum\n description: 'The initial configuration option for the `Group`. Possible\n values: INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, EMPTY'\n x-kubernetes-immutable: true\n enum:\n - INITIAL_GROUP_CONFIG_UNSPECIFIED\n - WITH_INITIAL_OWNER\n - EMPTY\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Required. One or more label entries that apply to the Group.\n Currently supported labels contain a key with an empty value. Google Groups\n are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum`\n and an empty value. Existing Google Groups can have an additional label\n with a key of `cloudidentity.googleapis.com/groups.security` and an empty\n value added to them. **This is an immutable change and the security label\n cannot be removed once added.** Dynamic groups have a label with a key\n of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups\n for Cloud Search have a label with a key of `system/groups/external` and\n an empty value.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The [resource name](https://cloud.google.com/apis/design/resource_names)\n of the `Group`. Shall be of the form `groups/{group}`.\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Required. Immutable. The resource name of the entity under\n which this `Group` resides in the Cloud Identity resource hierarchy. Must\n be of the form `identitysources/{identity_source}` for external- identity-mapped\n groups or `customers/{customer}` for Google Groups. The `customer` must\n begin with \"C\" (for example, 'C046psxkn').\n x-kubernetes-immutable: true\n posixGroups:\n type: array\n x-dcl-go-name: PosixGroups\n description: The POSIX groups associated with the `Group`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupPosixGroups\n properties:\n gid:\n type: string\n x-dcl-go-name: Gid\n description: GID of the POSIX group.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the POSIX group.\n systemId:\n type: string\n x-dcl-go-name: SystemId\n description: System identifier for which group name and gid apply\n to. If not specified it will default to empty value.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the `Group` was last updated.\n x-kubernetes-immutable: true\n") -// 13495 bytes -// MD5: 0b913b5a6932889399e266d3b8aedd42 +// 13520 bytes +// MD5: 1ad8c0f5e2703d9722e221423916019f diff --git a/services/google/cloudidentity/beta/group_schema.go b/services/google/cloudidentity/beta/group_schema.go index 20a3e4d21d..ec948c3f5c 100755 --- a/services/google/cloudidentity/beta/group_schema.go +++ b/services/google/cloudidentity/beta/group_schema.go @@ -23,6 +23,7 @@ func DCLGroupSchema() *dcl.Schema { Title: "Cloudidentity/Group", Description: "The Cloudidentity Group resource", StructName: "Group", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudidentity/beta/membership.yaml b/services/google/cloudidentity/beta/membership.yaml index 5eb3441eeb..a3b2e50191 100755 --- a/services/google/cloudidentity/beta/membership.yaml +++ b/services/google/cloudidentity/beta/membership.yaml @@ -15,6 +15,7 @@ info: title: Cloudidentity/Membership description: The Cloudidentity Membership resource x-dcl-struct-name: Membership + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudidentity/beta/membership_beta_yaml_embed.go b/services/google/cloudidentity/beta/membership_beta_yaml_embed.go index 89defea5f0..c9118be532 100755 --- a/services/google/cloudidentity/beta/membership_beta_yaml_embed.go +++ b/services/google/cloudidentity/beta/membership_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudidentity/beta/membership.yaml -var YAML_membership = []byte("info:\n title: Cloudidentity/Membership\n description: The Cloudidentity Membership resource\n x-dcl-struct-name: Membership\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n apply:\n description: The function used to apply information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n delete:\n description: The function used to delete a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n deleteAll:\n description: The function used to delete all Membership\n parameters:\n - name: group\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Membership\n parameters:\n - name: group\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Membership:\n title: Membership\n x-dcl-id: groups/{{group}}/memberships/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - preferredMemberKey\n - roles\n - group\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the `Membership` was created.\n x-kubernetes-immutable: true\n deliverySetting:\n type: string\n x-dcl-go-name: DeliverySetting\n x-dcl-go-type: MembershipDeliverySettingEnum\n readOnly: true\n description: 'Output only. Delivery setting associated with the membership.\n Possible values: DELIVERY_SETTING_UNSPECIFIED, ALL_MAIL, DIGEST, DAILY,\n NONE, DISABLED'\n x-kubernetes-immutable: true\n enum:\n - DELIVERY_SETTING_UNSPECIFIED\n - ALL_MAIL\n - DIGEST\n - DAILY\n - NONE\n - DISABLED\n displayName:\n type: object\n x-dcl-go-name: DisplayName\n x-dcl-go-type: MembershipDisplayName\n readOnly: true\n description: Output only. The display name of this member, if available\n x-kubernetes-immutable: true\n properties:\n familyName:\n type: string\n x-dcl-go-name: FamilyName\n readOnly: true\n description: Output only. Member's family name\n x-kubernetes-immutable: true\n fullName:\n type: string\n x-dcl-go-name: FullName\n readOnly: true\n description: Output only. Localized UTF-16 full name for the member.\n Localization is done based on the language in the request and the\n language of the stored display name.\n x-kubernetes-immutable: true\n givenName:\n type: string\n x-dcl-go-name: GivenName\n readOnly: true\n description: Output only. Member's given name\n x-kubernetes-immutable: true\n group:\n type: string\n x-dcl-go-name: Group\n description: The group for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudidentity/Group\n field: name\n parent: true\n memberKey:\n type: object\n x-dcl-go-name: MemberKey\n x-dcl-go-type: MembershipMemberKey\n description: Immutable. The `EntityKey` of the member. Either `member_key`\n or `preferred_member_key` must be set when calling MembershipsService.CreateMembership\n but not both; both shall be set when returned.\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of an existing group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The [resource name](https://cloud.google.com/apis/design/resource_names)\n of the `Membership`. Shall be of the form `groups/{group}/memberships/{membership}`.\n x-dcl-server-generated-parameter: true\n preferredMemberKey:\n type: object\n x-dcl-go-name: PreferredMemberKey\n x-dcl-go-type: MembershipPreferredMemberKey\n description: Required. Immutable. The `EntityKey` of the member.\n x-kubernetes-immutable: true\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n roles:\n type: array\n x-dcl-go-name: Roles\n description: The `MembershipRole`s that apply to the `Membership`. If unspecified,\n defaults to a single `MembershipRole` with `name` `MEMBER`. Must not contain\n duplicate `MembershipRole`s with the same `name`.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: MembershipRoles\n required:\n - name\n properties:\n expiryDetail:\n type: object\n x-dcl-go-name: ExpiryDetail\n x-dcl-go-type: MembershipRolesExpiryDetail\n description: The expiry details of the `MembershipRole`. Expiry details\n are only supported for `MEMBER` `MembershipRoles`. May be set if\n `name` is `MEMBER`. Must not be set if `name` is any other value.\n x-dcl-send-empty: true\n properties:\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n description: The time at which the `MembershipRole` will expire.\n name:\n type: string\n x-dcl-go-name: Name\n restrictionEvaluations:\n type: object\n x-dcl-go-name: RestrictionEvaluations\n x-dcl-go-type: MembershipRolesRestrictionEvaluations\n description: Evaluations of restrictions applied to parent group on\n this membership.\n properties:\n memberRestrictionEvaluation:\n type: object\n x-dcl-go-name: MemberRestrictionEvaluation\n x-dcl-go-type: MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation\n description: Evaluation of the member restriction applied to this\n membership. Empty if the user lacks permission to view the restriction\n evaluation.\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum\n readOnly: true\n description: 'Output only. The current state of the restriction\n Possible values: ENCRYPTION_STATE_UNSPECIFIED, UNSUPPORTED_BY_DEVICE,\n ENCRYPTED, NOT_ENCRYPTED'\n enum:\n - ENCRYPTION_STATE_UNSPECIFIED\n - UNSUPPORTED_BY_DEVICE\n - ENCRYPTED\n - NOT_ENCRYPTED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: MembershipTypeEnum\n readOnly: true\n description: 'Output only. The type of the membership. Possible values:\n OWNER_TYPE_UNSPECIFIED, OWNER_TYPE_CUSTOMER, OWNER_TYPE_PARTNER'\n x-kubernetes-immutable: true\n enum:\n - OWNER_TYPE_UNSPECIFIED\n - OWNER_TYPE_CUSTOMER\n - OWNER_TYPE_PARTNER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the `Membership` was last updated.\n x-kubernetes-immutable: true\n") +var YAML_membership = []byte("info:\n title: Cloudidentity/Membership\n description: The Cloudidentity Membership resource\n x-dcl-struct-name: Membership\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n apply:\n description: The function used to apply information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n delete:\n description: The function used to delete a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n deleteAll:\n description: The function used to delete all Membership\n parameters:\n - name: group\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Membership\n parameters:\n - name: group\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Membership:\n title: Membership\n x-dcl-id: groups/{{group}}/memberships/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - preferredMemberKey\n - roles\n - group\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the `Membership` was created.\n x-kubernetes-immutable: true\n deliverySetting:\n type: string\n x-dcl-go-name: DeliverySetting\n x-dcl-go-type: MembershipDeliverySettingEnum\n readOnly: true\n description: 'Output only. Delivery setting associated with the membership.\n Possible values: DELIVERY_SETTING_UNSPECIFIED, ALL_MAIL, DIGEST, DAILY,\n NONE, DISABLED'\n x-kubernetes-immutable: true\n enum:\n - DELIVERY_SETTING_UNSPECIFIED\n - ALL_MAIL\n - DIGEST\n - DAILY\n - NONE\n - DISABLED\n displayName:\n type: object\n x-dcl-go-name: DisplayName\n x-dcl-go-type: MembershipDisplayName\n readOnly: true\n description: Output only. The display name of this member, if available\n x-kubernetes-immutable: true\n properties:\n familyName:\n type: string\n x-dcl-go-name: FamilyName\n readOnly: true\n description: Output only. Member's family name\n x-kubernetes-immutable: true\n fullName:\n type: string\n x-dcl-go-name: FullName\n readOnly: true\n description: Output only. Localized UTF-16 full name for the member.\n Localization is done based on the language in the request and the\n language of the stored display name.\n x-kubernetes-immutable: true\n givenName:\n type: string\n x-dcl-go-name: GivenName\n readOnly: true\n description: Output only. Member's given name\n x-kubernetes-immutable: true\n group:\n type: string\n x-dcl-go-name: Group\n description: The group for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudidentity/Group\n field: name\n parent: true\n memberKey:\n type: object\n x-dcl-go-name: MemberKey\n x-dcl-go-type: MembershipMemberKey\n description: Immutable. The `EntityKey` of the member. Either `member_key`\n or `preferred_member_key` must be set when calling MembershipsService.CreateMembership\n but not both; both shall be set when returned.\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of an existing group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The [resource name](https://cloud.google.com/apis/design/resource_names)\n of the `Membership`. Shall be of the form `groups/{group}/memberships/{membership}`.\n x-dcl-server-generated-parameter: true\n preferredMemberKey:\n type: object\n x-dcl-go-name: PreferredMemberKey\n x-dcl-go-type: MembershipPreferredMemberKey\n description: Required. Immutable. The `EntityKey` of the member.\n x-kubernetes-immutable: true\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n roles:\n type: array\n x-dcl-go-name: Roles\n description: The `MembershipRole`s that apply to the `Membership`. If unspecified,\n defaults to a single `MembershipRole` with `name` `MEMBER`. Must not contain\n duplicate `MembershipRole`s with the same `name`.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: MembershipRoles\n required:\n - name\n properties:\n expiryDetail:\n type: object\n x-dcl-go-name: ExpiryDetail\n x-dcl-go-type: MembershipRolesExpiryDetail\n description: The expiry details of the `MembershipRole`. Expiry details\n are only supported for `MEMBER` `MembershipRoles`. May be set if\n `name` is `MEMBER`. Must not be set if `name` is any other value.\n x-dcl-send-empty: true\n properties:\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n description: The time at which the `MembershipRole` will expire.\n name:\n type: string\n x-dcl-go-name: Name\n restrictionEvaluations:\n type: object\n x-dcl-go-name: RestrictionEvaluations\n x-dcl-go-type: MembershipRolesRestrictionEvaluations\n description: Evaluations of restrictions applied to parent group on\n this membership.\n properties:\n memberRestrictionEvaluation:\n type: object\n x-dcl-go-name: MemberRestrictionEvaluation\n x-dcl-go-type: MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation\n description: Evaluation of the member restriction applied to this\n membership. Empty if the user lacks permission to view the restriction\n evaluation.\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum\n readOnly: true\n description: 'Output only. The current state of the restriction\n Possible values: ENCRYPTION_STATE_UNSPECIFIED, UNSUPPORTED_BY_DEVICE,\n ENCRYPTED, NOT_ENCRYPTED'\n enum:\n - ENCRYPTION_STATE_UNSPECIFIED\n - UNSUPPORTED_BY_DEVICE\n - ENCRYPTED\n - NOT_ENCRYPTED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: MembershipTypeEnum\n readOnly: true\n description: 'Output only. The type of the membership. Possible values:\n OWNER_TYPE_UNSPECIFIED, OWNER_TYPE_CUSTOMER, OWNER_TYPE_PARTNER'\n x-kubernetes-immutable: true\n enum:\n - OWNER_TYPE_UNSPECIFIED\n - OWNER_TYPE_CUSTOMER\n - OWNER_TYPE_PARTNER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the `Membership` was last updated.\n x-kubernetes-immutable: true\n") -// 10154 bytes -// MD5: 1993664ccc1c4a0514fd11405b49fd9b +// 10179 bytes +// MD5: db3f0f267b2f9fd6297491c9eea81b31 diff --git a/services/google/cloudidentity/beta/membership_schema.go b/services/google/cloudidentity/beta/membership_schema.go index 46ef816558..2b7fafd411 100755 --- a/services/google/cloudidentity/beta/membership_schema.go +++ b/services/google/cloudidentity/beta/membership_schema.go @@ -23,6 +23,7 @@ func DCLMembershipSchema() *dcl.Schema { Title: "Cloudidentity/Membership", Description: "The Cloudidentity Membership resource", StructName: "Membership", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudidentity/group.yaml b/services/google/cloudidentity/group.yaml index 4ba430b439..c0068c182f 100755 --- a/services/google/cloudidentity/group.yaml +++ b/services/google/cloudidentity/group.yaml @@ -15,6 +15,7 @@ info: title: Cloudidentity/Group description: The Cloudidentity Group resource x-dcl-struct-name: Group + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudidentity/group_schema.go b/services/google/cloudidentity/group_schema.go index 019d099bdb..8178296e29 100755 --- a/services/google/cloudidentity/group_schema.go +++ b/services/google/cloudidentity/group_schema.go @@ -23,6 +23,7 @@ func DCLGroupSchema() *dcl.Schema { Title: "Cloudidentity/Group", Description: "The Cloudidentity Group resource", StructName: "Group", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudidentity/group_yaml_embed.go b/services/google/cloudidentity/group_yaml_embed.go index 416a45e9bf..95f2f11dd7 100755 --- a/services/google/cloudidentity/group_yaml_embed.go +++ b/services/google/cloudidentity/group_yaml_embed.go @@ -17,7 +17,7 @@ package cloudidentity // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudidentity/group.yaml -var YAML_group = []byte("info:\n title: Cloudidentity/Group\n description: The Cloudidentity Group resource\n x-dcl-struct-name: Group\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n apply:\n description: The function used to apply information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n delete:\n description: The function used to delete a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n deleteAll:\n description: The function used to delete all Group\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Group\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Group:\n title: Group\n x-dcl-id: groups/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-has-iam: false\n type: object\n required:\n - groupKey\n - parent\n - labels\n properties:\n additionalGroupKeys:\n type: array\n x-dcl-go-name: AdditionalGroupKeys\n description: Optional. Additional entity key aliases for a Group.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupAdditionalGroupKeys\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents\n an external-identity-mapped group. The namespace must correspond\n to an identity source created in Admin Console and must be in the\n form of `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the `Group` was created.\n x-kubernetes-immutable: true\n derivedAliases:\n type: array\n x-dcl-go-name: DerivedAliases\n readOnly: true\n description: Output only. Aliases for groups derived from domain aliases.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupDerivedAliases\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents\n an external-identity-mapped group. The namespace must correspond\n to an identity source created in Admin Console and must be in the\n form of `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An extended description to help users determine the purpose\n of a `Group`. Must not be longer than 4,096 characters.\n directMemberCount:\n type: integer\n format: int64\n x-dcl-go-name: DirectMemberCount\n readOnly: true\n description: 'Output only. The number of all direct members. Including groups\n and users, The special member: all-user-in-domain will be counted as one\n member. Output only.'\n x-kubernetes-immutable: true\n directMemberCountPerType:\n type: object\n x-dcl-go-name: DirectMemberCountPerType\n x-dcl-go-type: GroupDirectMemberCountPerType\n readOnly: true\n description: Output only. Direct membership counts grouped by user/group\n type\n x-kubernetes-immutable: true\n properties:\n groupCount:\n type: integer\n format: int64\n x-dcl-go-name: GroupCount\n readOnly: true\n description: Output only. Direct group type membership count\n x-kubernetes-immutable: true\n userCount:\n type: integer\n format: int64\n x-dcl-go-name: UserCount\n readOnly: true\n description: Output only. Direct user type membership count\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the `Group`.\n dynamicGroupMetadata:\n type: object\n x-dcl-go-name: DynamicGroupMetadata\n x-dcl-go-type: GroupDynamicGroupMetadata\n description: Optional. Dynamic group metadata like queries and status.\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: Only one entry is supported for now. Memberships will be\n the union of all queries. Customers can create up to 100 dynamic groups.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupDynamicGroupMetadataQueries\n properties:\n query:\n type: string\n x-dcl-go-name: Query\n description: Query that determines the memberships of the dynamic\n group.\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: GroupDynamicGroupMetadataQueriesResourceTypeEnum\n description: ' Possible values: RESOURCE_TYPE_UNSPECIFIED, USER'\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - USER\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: GroupDynamicGroupMetadataStatus\n readOnly: true\n description: Status of the dynamic group. Output only.\n properties:\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: GroupDynamicGroupMetadataStatusStatusEnum\n description: 'Status of the dynamic group. Possible values: STATUS_UNSPECIFIED,\n UP_TO_DATE, UPDATING_MEMBERSHIPS, INVALID_QUERY'\n enum:\n - STATUS_UNSPECIFIED\n - UP_TO_DATE\n - UPDATING_MEMBERSHIPS\n - INVALID_QUERY\n statusTime:\n type: string\n format: date-time\n x-dcl-go-name: StatusTime\n description: 'The latest time at which the dynamic group is guaranteed\n to be in the given status. For example, if status is: UP_TO_DATE\n - The latest time at which this dynamic group was confirmed to\n be up to date. UPDATING_MEMBERSHIPS - The time at which dynamic\n group was created.'\n groupKey:\n type: object\n x-dcl-go-name: GroupKey\n x-dcl-go-type: GroupGroupKey\n description: Required. Immutable. The `EntityKey` of the `Group`.\n x-kubernetes-immutable: true\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n initialGroupConfig:\n type: string\n x-dcl-go-name: InitialGroupConfig\n x-dcl-go-type: GroupInitialGroupConfigEnum\n description: 'The initial configuration option for the `Group`. Possible\n values: INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, EMPTY'\n x-kubernetes-immutable: true\n enum:\n - INITIAL_GROUP_CONFIG_UNSPECIFIED\n - WITH_INITIAL_OWNER\n - EMPTY\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Required. One or more label entries that apply to the Group.\n Currently supported labels contain a key with an empty value. Google Groups\n are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum`\n and an empty value. Existing Google Groups can have an additional label\n with a key of `cloudidentity.googleapis.com/groups.security` and an empty\n value added to them. **This is an immutable change and the security label\n cannot be removed once added.** Dynamic groups have a label with a key\n of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups\n for Cloud Search have a label with a key of `system/groups/external` and\n an empty value.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The [resource name](https://cloud.google.com/apis/design/resource_names)\n of the `Group`. Shall be of the form `groups/{group}`.\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Required. Immutable. The resource name of the entity under\n which this `Group` resides in the Cloud Identity resource hierarchy. Must\n be of the form `identitysources/{identity_source}` for external- identity-mapped\n groups or `customers/{customer}` for Google Groups. The `customer` must\n begin with \"C\" (for example, 'C046psxkn').\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the `Group` was last updated.\n x-kubernetes-immutable: true\n") +var YAML_group = []byte("info:\n title: Cloudidentity/Group\n description: The Cloudidentity Group resource\n x-dcl-struct-name: Group\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n apply:\n description: The function used to apply information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n delete:\n description: The function used to delete a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n deleteAll:\n description: The function used to delete all Group\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Group\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Group:\n title: Group\n x-dcl-id: groups/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-has-iam: false\n type: object\n required:\n - groupKey\n - parent\n - labels\n properties:\n additionalGroupKeys:\n type: array\n x-dcl-go-name: AdditionalGroupKeys\n description: Optional. Additional entity key aliases for a Group.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupAdditionalGroupKeys\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents\n an external-identity-mapped group. The namespace must correspond\n to an identity source created in Admin Console and must be in the\n form of `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the `Group` was created.\n x-kubernetes-immutable: true\n derivedAliases:\n type: array\n x-dcl-go-name: DerivedAliases\n readOnly: true\n description: Output only. Aliases for groups derived from domain aliases.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupDerivedAliases\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents\n an external-identity-mapped group. The namespace must correspond\n to an identity source created in Admin Console and must be in the\n form of `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An extended description to help users determine the purpose\n of a `Group`. Must not be longer than 4,096 characters.\n directMemberCount:\n type: integer\n format: int64\n x-dcl-go-name: DirectMemberCount\n readOnly: true\n description: 'Output only. The number of all direct members. Including groups\n and users, The special member: all-user-in-domain will be counted as one\n member. Output only.'\n x-kubernetes-immutable: true\n directMemberCountPerType:\n type: object\n x-dcl-go-name: DirectMemberCountPerType\n x-dcl-go-type: GroupDirectMemberCountPerType\n readOnly: true\n description: Output only. Direct membership counts grouped by user/group\n type\n x-kubernetes-immutable: true\n properties:\n groupCount:\n type: integer\n format: int64\n x-dcl-go-name: GroupCount\n readOnly: true\n description: Output only. Direct group type membership count\n x-kubernetes-immutable: true\n userCount:\n type: integer\n format: int64\n x-dcl-go-name: UserCount\n readOnly: true\n description: Output only. Direct user type membership count\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the `Group`.\n dynamicGroupMetadata:\n type: object\n x-dcl-go-name: DynamicGroupMetadata\n x-dcl-go-type: GroupDynamicGroupMetadata\n description: Optional. Dynamic group metadata like queries and status.\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: Only one entry is supported for now. Memberships will be\n the union of all queries. Customers can create up to 100 dynamic groups.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GroupDynamicGroupMetadataQueries\n properties:\n query:\n type: string\n x-dcl-go-name: Query\n description: Query that determines the memberships of the dynamic\n group.\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: GroupDynamicGroupMetadataQueriesResourceTypeEnum\n description: ' Possible values: RESOURCE_TYPE_UNSPECIFIED, USER'\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - USER\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: GroupDynamicGroupMetadataStatus\n readOnly: true\n description: Status of the dynamic group. Output only.\n properties:\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: GroupDynamicGroupMetadataStatusStatusEnum\n description: 'Status of the dynamic group. Possible values: STATUS_UNSPECIFIED,\n UP_TO_DATE, UPDATING_MEMBERSHIPS, INVALID_QUERY'\n enum:\n - STATUS_UNSPECIFIED\n - UP_TO_DATE\n - UPDATING_MEMBERSHIPS\n - INVALID_QUERY\n statusTime:\n type: string\n format: date-time\n x-dcl-go-name: StatusTime\n description: 'The latest time at which the dynamic group is guaranteed\n to be in the given status. For example, if status is: UP_TO_DATE\n - The latest time at which this dynamic group was confirmed to\n be up to date. UPDATING_MEMBERSHIPS - The time at which dynamic\n group was created.'\n groupKey:\n type: object\n x-dcl-go-name: GroupKey\n x-dcl-go-type: GroupGroupKey\n description: Required. Immutable. The `EntityKey` of the `Group`.\n x-kubernetes-immutable: true\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n initialGroupConfig:\n type: string\n x-dcl-go-name: InitialGroupConfig\n x-dcl-go-type: GroupInitialGroupConfigEnum\n description: 'The initial configuration option for the `Group`. Possible\n values: INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, EMPTY'\n x-kubernetes-immutable: true\n enum:\n - INITIAL_GROUP_CONFIG_UNSPECIFIED\n - WITH_INITIAL_OWNER\n - EMPTY\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Required. One or more label entries that apply to the Group.\n Currently supported labels contain a key with an empty value. Google Groups\n are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum`\n and an empty value. Existing Google Groups can have an additional label\n with a key of `cloudidentity.googleapis.com/groups.security` and an empty\n value added to them. **This is an immutable change and the security label\n cannot be removed once added.** Dynamic groups have a label with a key\n of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups\n for Cloud Search have a label with a key of `system/groups/external` and\n an empty value.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The [resource name](https://cloud.google.com/apis/design/resource_names)\n of the `Group`. Shall be of the form `groups/{group}`.\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Required. Immutable. The resource name of the entity under\n which this `Group` resides in the Cloud Identity resource hierarchy. Must\n be of the form `identitysources/{identity_source}` for external- identity-mapped\n groups or `customers/{customer}` for Google Groups. The `customer` must\n begin with \"C\" (for example, 'C046psxkn').\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the `Group` was last updated.\n x-kubernetes-immutable: true\n") -// 12650 bytes -// MD5: 70c4dff4da930b99550978ff86da17ea +// 12675 bytes +// MD5: 9e96710bf71ee101e8fbdae2bf0896b7 diff --git a/services/google/cloudidentity/membership.yaml b/services/google/cloudidentity/membership.yaml index 2c54ebcf2f..1c656ae95b 100755 --- a/services/google/cloudidentity/membership.yaml +++ b/services/google/cloudidentity/membership.yaml @@ -15,6 +15,7 @@ info: title: Cloudidentity/Membership description: The Cloudidentity Membership resource x-dcl-struct-name: Membership + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudidentity/membership_schema.go b/services/google/cloudidentity/membership_schema.go index 4e5b7bb7f1..bf7e9f1a2d 100755 --- a/services/google/cloudidentity/membership_schema.go +++ b/services/google/cloudidentity/membership_schema.go @@ -23,6 +23,7 @@ func DCLMembershipSchema() *dcl.Schema { Title: "Cloudidentity/Membership", Description: "The Cloudidentity Membership resource", StructName: "Membership", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudidentity/membership_yaml_embed.go b/services/google/cloudidentity/membership_yaml_embed.go index f47b103f87..7e3fc6fcc8 100755 --- a/services/google/cloudidentity/membership_yaml_embed.go +++ b/services/google/cloudidentity/membership_yaml_embed.go @@ -17,7 +17,7 @@ package cloudidentity // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudidentity/membership.yaml -var YAML_membership = []byte("info:\n title: Cloudidentity/Membership\n description: The Cloudidentity Membership resource\n x-dcl-struct-name: Membership\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n apply:\n description: The function used to apply information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n delete:\n description: The function used to delete a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n deleteAll:\n description: The function used to delete all Membership\n parameters:\n - name: group\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Membership\n parameters:\n - name: group\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Membership:\n title: Membership\n x-dcl-id: groups/{{group}}/memberships/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - preferredMemberKey\n - roles\n - group\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the `Membership` was created.\n x-kubernetes-immutable: true\n deliverySetting:\n type: string\n x-dcl-go-name: DeliverySetting\n x-dcl-go-type: MembershipDeliverySettingEnum\n readOnly: true\n description: 'Output only. Delivery setting associated with the membership.\n Possible values: DELIVERY_SETTING_UNSPECIFIED, ALL_MAIL, DIGEST, DAILY,\n NONE, DISABLED'\n x-kubernetes-immutable: true\n enum:\n - DELIVERY_SETTING_UNSPECIFIED\n - ALL_MAIL\n - DIGEST\n - DAILY\n - NONE\n - DISABLED\n displayName:\n type: object\n x-dcl-go-name: DisplayName\n x-dcl-go-type: MembershipDisplayName\n readOnly: true\n description: Output only. The display name of this member, if available\n x-kubernetes-immutable: true\n properties:\n familyName:\n type: string\n x-dcl-go-name: FamilyName\n readOnly: true\n description: Output only. Member's family name\n x-kubernetes-immutable: true\n fullName:\n type: string\n x-dcl-go-name: FullName\n readOnly: true\n description: Output only. Localized UTF-16 full name for the member.\n Localization is done based on the language in the request and the\n language of the stored display name.\n x-kubernetes-immutable: true\n givenName:\n type: string\n x-dcl-go-name: GivenName\n readOnly: true\n description: Output only. Member's given name\n x-kubernetes-immutable: true\n group:\n type: string\n x-dcl-go-name: Group\n description: The group for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudidentity/Group\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The [resource name](https://cloud.google.com/apis/design/resource_names)\n of the `Membership`. Shall be of the form `groups/{group}/memberships/{membership}`.\n x-dcl-server-generated-parameter: true\n preferredMemberKey:\n type: object\n x-dcl-go-name: PreferredMemberKey\n x-dcl-go-type: MembershipPreferredMemberKey\n description: Required. Immutable. The `EntityKey` of the member.\n x-kubernetes-immutable: true\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n roles:\n type: array\n x-dcl-go-name: Roles\n description: The `MembershipRole`s that apply to the `Membership`. If unspecified,\n defaults to a single `MembershipRole` with `name` `MEMBER`. Must not contain\n duplicate `MembershipRole`s with the same `name`.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: MembershipRoles\n required:\n - name\n properties:\n expiryDetail:\n type: object\n x-dcl-go-name: ExpiryDetail\n x-dcl-go-type: MembershipRolesExpiryDetail\n description: The expiry details of the `MembershipRole`. Expiry details\n are only supported for `MEMBER` `MembershipRoles`. May be set if\n `name` is `MEMBER`. Must not be set if `name` is any other value.\n x-dcl-send-empty: true\n properties:\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n description: The time at which the `MembershipRole` will expire.\n name:\n type: string\n x-dcl-go-name: Name\n restrictionEvaluations:\n type: object\n x-dcl-go-name: RestrictionEvaluations\n x-dcl-go-type: MembershipRolesRestrictionEvaluations\n description: Evaluations of restrictions applied to parent group on\n this membership.\n properties:\n memberRestrictionEvaluation:\n type: object\n x-dcl-go-name: MemberRestrictionEvaluation\n x-dcl-go-type: MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation\n description: Evaluation of the member restriction applied to this\n membership. Empty if the user lacks permission to view the restriction\n evaluation.\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum\n readOnly: true\n description: 'Output only. The current state of the restriction\n Possible values: ENCRYPTION_STATE_UNSPECIFIED, UNSUPPORTED_BY_DEVICE,\n ENCRYPTED, NOT_ENCRYPTED'\n enum:\n - ENCRYPTION_STATE_UNSPECIFIED\n - UNSUPPORTED_BY_DEVICE\n - ENCRYPTED\n - NOT_ENCRYPTED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: MembershipTypeEnum\n readOnly: true\n description: 'Output only. The type of the membership. Possible values:\n OWNER_TYPE_UNSPECIFIED, OWNER_TYPE_CUSTOMER, OWNER_TYPE_PARTNER'\n x-kubernetes-immutable: true\n enum:\n - OWNER_TYPE_UNSPECIFIED\n - OWNER_TYPE_CUSTOMER\n - OWNER_TYPE_PARTNER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the `Membership` was last updated.\n x-kubernetes-immutable: true\n") +var YAML_membership = []byte("info:\n title: Cloudidentity/Membership\n description: The Cloudidentity Membership resource\n x-dcl-struct-name: Membership\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n apply:\n description: The function used to apply information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n delete:\n description: The function used to delete a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n deleteAll:\n description: The function used to delete all Membership\n parameters:\n - name: group\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Membership\n parameters:\n - name: group\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Membership:\n title: Membership\n x-dcl-id: groups/{{group}}/memberships/{{name}}\n x-dcl-has-iam: false\n type: object\n required:\n - preferredMemberKey\n - roles\n - group\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the `Membership` was created.\n x-kubernetes-immutable: true\n deliverySetting:\n type: string\n x-dcl-go-name: DeliverySetting\n x-dcl-go-type: MembershipDeliverySettingEnum\n readOnly: true\n description: 'Output only. Delivery setting associated with the membership.\n Possible values: DELIVERY_SETTING_UNSPECIFIED, ALL_MAIL, DIGEST, DAILY,\n NONE, DISABLED'\n x-kubernetes-immutable: true\n enum:\n - DELIVERY_SETTING_UNSPECIFIED\n - ALL_MAIL\n - DIGEST\n - DAILY\n - NONE\n - DISABLED\n displayName:\n type: object\n x-dcl-go-name: DisplayName\n x-dcl-go-type: MembershipDisplayName\n readOnly: true\n description: Output only. The display name of this member, if available\n x-kubernetes-immutable: true\n properties:\n familyName:\n type: string\n x-dcl-go-name: FamilyName\n readOnly: true\n description: Output only. Member's family name\n x-kubernetes-immutable: true\n fullName:\n type: string\n x-dcl-go-name: FullName\n readOnly: true\n description: Output only. Localized UTF-16 full name for the member.\n Localization is done based on the language in the request and the\n language of the stored display name.\n x-kubernetes-immutable: true\n givenName:\n type: string\n x-dcl-go-name: GivenName\n readOnly: true\n description: Output only. Member's given name\n x-kubernetes-immutable: true\n group:\n type: string\n x-dcl-go-name: Group\n description: The group for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudidentity/Group\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The [resource name](https://cloud.google.com/apis/design/resource_names)\n of the `Membership`. Shall be of the form `groups/{group}/memberships/{membership}`.\n x-dcl-server-generated-parameter: true\n preferredMemberKey:\n type: object\n x-dcl-go-name: PreferredMemberKey\n x-dcl-go-type: MembershipPreferredMemberKey\n description: Required. Immutable. The `EntityKey` of the member.\n x-kubernetes-immutable: true\n required:\n - id\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the entity. For Google-managed entities, the\n `id` must be the email address of a group or user. For external-identity-mapped\n entities, the `id` must be a string conforming to the Identity Source's\n requirements. Must be unique within a `namespace`.\n x-kubernetes-immutable: true\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: The namespace in which the entity exists. If not specified,\n the `EntityKey` represents a Google-managed entity such as a Google\n user or a Google Group. If specified, the `EntityKey` represents an\n external-identity-mapped group. The namespace must correspond to an\n identity source created in Admin Console and must be in the form of\n `identitysources/{identity_source_id}`.\n x-kubernetes-immutable: true\n roles:\n type: array\n x-dcl-go-name: Roles\n description: The `MembershipRole`s that apply to the `Membership`. If unspecified,\n defaults to a single `MembershipRole` with `name` `MEMBER`. Must not contain\n duplicate `MembershipRole`s with the same `name`.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: MembershipRoles\n required:\n - name\n properties:\n expiryDetail:\n type: object\n x-dcl-go-name: ExpiryDetail\n x-dcl-go-type: MembershipRolesExpiryDetail\n description: The expiry details of the `MembershipRole`. Expiry details\n are only supported for `MEMBER` `MembershipRoles`. May be set if\n `name` is `MEMBER`. Must not be set if `name` is any other value.\n x-dcl-send-empty: true\n properties:\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n description: The time at which the `MembershipRole` will expire.\n name:\n type: string\n x-dcl-go-name: Name\n restrictionEvaluations:\n type: object\n x-dcl-go-name: RestrictionEvaluations\n x-dcl-go-type: MembershipRolesRestrictionEvaluations\n description: Evaluations of restrictions applied to parent group on\n this membership.\n properties:\n memberRestrictionEvaluation:\n type: object\n x-dcl-go-name: MemberRestrictionEvaluation\n x-dcl-go-type: MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation\n description: Evaluation of the member restriction applied to this\n membership. Empty if the user lacks permission to view the restriction\n evaluation.\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum\n readOnly: true\n description: 'Output only. The current state of the restriction\n Possible values: ENCRYPTION_STATE_UNSPECIFIED, UNSUPPORTED_BY_DEVICE,\n ENCRYPTED, NOT_ENCRYPTED'\n enum:\n - ENCRYPTION_STATE_UNSPECIFIED\n - UNSUPPORTED_BY_DEVICE\n - ENCRYPTED\n - NOT_ENCRYPTED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: MembershipTypeEnum\n readOnly: true\n description: 'Output only. The type of the membership. Possible values:\n OWNER_TYPE_UNSPECIFIED, OWNER_TYPE_CUSTOMER, OWNER_TYPE_PARTNER'\n x-kubernetes-immutable: true\n enum:\n - OWNER_TYPE_UNSPECIFIED\n - OWNER_TYPE_CUSTOMER\n - OWNER_TYPE_PARTNER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the `Membership` was last updated.\n x-kubernetes-immutable: true\n") -// 8781 bytes -// MD5: d8bc25d5d2a26e09f463c28ab98ca835 +// 8806 bytes +// MD5: a4c0b407a2ebf306053dbeb3ed8ff38b diff --git a/services/google/cloudkms/alpha/crypto_key.yaml b/services/google/cloudkms/alpha/crypto_key.yaml index 7ed8415985..64662176ea 100755 --- a/services/google/cloudkms/alpha/crypto_key.yaml +++ b/services/google/cloudkms/alpha/crypto_key.yaml @@ -15,6 +15,7 @@ info: title: Cloudkms/CryptoKey description: The Cloudkms CryptoKey resource x-dcl-struct-name: CryptoKey + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudkms/alpha/crypto_key_alpha_yaml_embed.go b/services/google/cloudkms/alpha/crypto_key_alpha_yaml_embed.go index a5f7ccc675..73e57bf032 100755 --- a/services/google/cloudkms/alpha/crypto_key_alpha_yaml_embed.go +++ b/services/google/cloudkms/alpha/crypto_key_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudkms/alpha/crypto_key.yaml -var YAML_crypto_key = []byte("info:\n title: Cloudkms/CryptoKey\n description: The Cloudkms CryptoKey resource\n x-dcl-struct-name: CryptoKey\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a CryptoKey\n parameters:\n - name: CryptoKey\n required: true\n description: A full instance of a CryptoKey\n apply:\n description: The function used to apply information about a CryptoKey\n parameters:\n - name: CryptoKey\n required: true\n description: A full instance of a CryptoKey\n list:\n description: The function used to list information about many CryptoKey\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: keyring\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CryptoKey:\n title: CryptoKey\n x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - purpose\n - project\n - location\n - keyRing\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CryptoKey was created.\n x-kubernetes-immutable: true\n destroyScheduledDuration:\n type: string\n x-dcl-go-name: DestroyScheduledDuration\n description: Immutable. The period of time that versions of this key spend\n in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not\n specified at creation time, the default duration is 24 hours.\n x-kubernetes-immutable: true\n importOnly:\n type: boolean\n x-dcl-go-name: ImportOnly\n description: Immutable. Whether this key may contain imported versions only.\n x-kubernetes-immutable: true\n keyRing:\n type: string\n x-dcl-go-name: KeyRing\n description: The key ring for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/KeyRing\n field: name\n parent: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels with user-defined metadata. For more information, see\n [Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys).\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CryptoKey in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n x-kubernetes-immutable: true\n nextRotationTime:\n type: string\n format: date-time\n x-dcl-go-name: NextRotationTime\n description: 'At next_rotation_time, the Key Management Service will automatically:\n 1. Create a new version of this CryptoKey. 2. Mark the new version as\n primary. Key rotations performed manually via CreateCryptoKeyVersion and\n UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with\n purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this\n field must be omitted.'\n primary:\n type: object\n x-dcl-go-name: Primary\n x-dcl-go-type: CryptoKeyPrimary\n readOnly: true\n description: Output only. A copy of the \"primary\" CryptoKeyVersion that\n will be used by Encrypt when this CryptoKey is given in EncryptRequest.name.\n The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion.\n Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys,\n this field will be omitted.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CryptoKeyPrimaryAlgorithmEnum\n readOnly: true\n description: 'Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion\n supports. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n x-kubernetes-immutable: true\n enum:\n - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n - GOOGLE_SYMMETRIC_ENCRYPTION\n - RSA_SIGN_PSS_2048_SHA256\n - RSA_SIGN_PSS_3072_SHA256\n - RSA_SIGN_PSS_4096_SHA256\n - RSA_SIGN_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - RSA_DECRYPT_OAEP_2048_SHA256\n - RSA_DECRYPT_OAEP_3072_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA512\n - EC_SIGN_P256_SHA256\n - EC_SIGN_P384_SHA384\n - EC_SIGN_SECP256K1_SHA256\n - HMAC_SHA256\n - EXTERNAL_SYMMETRIC_ENCRYPTION\n attestation:\n type: object\n x-dcl-go-name: Attestation\n x-dcl-go-type: CryptoKeyPrimaryAttestation\n readOnly: true\n description: Output only. Statement that was generated and signed by\n the HSM at key creation time. Use this statement to verify attributes\n of the key as stored on the HSM, independently of Google. Only provided\n for key versions with protection_level HSM.\n properties:\n certChains:\n type: object\n x-dcl-go-name: CertChains\n x-dcl-go-type: CryptoKeyPrimaryAttestationCertChains\n readOnly: true\n description: Output only. The certificate chains needed to validate\n the attestation\n properties:\n caviumCerts:\n type: array\n x-dcl-go-name: CaviumCerts\n description: Cavium certificate chain corresponding to the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n googleCardCerts:\n type: array\n x-dcl-go-name: GoogleCardCerts\n description: Google card certificate chain corresponding to\n the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n googlePartitionCerts:\n type: array\n x-dcl-go-name: GooglePartitionCerts\n description: Google partition certificate chain corresponding\n to the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: Output only. The attestation data provided by the HSM\n when the key operation was performed.\n x-kubernetes-immutable: true\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CryptoKeyPrimaryAttestationFormatEnum\n readOnly: true\n description: 'Output only. The format of the attestation data. Possible\n values: ATTESTATION_FORMAT_UNSPECIFIED, CAVIUM_V1_COMPRESSED,\n CAVIUM_V2_COMPRESSED'\n x-kubernetes-immutable: true\n enum:\n - ATTESTATION_FORMAT_UNSPECIFIED\n - CAVIUM_V1_COMPRESSED\n - CAVIUM_V2_COMPRESSED\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CryptoKeyVersion was\n created.\n x-kubernetes-immutable: true\n destroyEventTime:\n type: string\n format: date-time\n x-dcl-go-name: DestroyEventTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n was destroyed. Only present if state is DESTROYED.\n x-kubernetes-immutable: true\n destroyTime:\n type: string\n format: date-time\n x-dcl-go-name: DestroyTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.\n x-kubernetes-immutable: true\n externalProtectionLevelOptions:\n type: object\n x-dcl-go-name: ExternalProtectionLevelOptions\n x-dcl-go-type: CryptoKeyPrimaryExternalProtectionLevelOptions\n description: ExternalProtectionLevelOptions stores a group of additional\n fields for configuring a CryptoKeyVersion that are specific to the\n EXTERNAL protection level.\n properties:\n externalKeyUri:\n type: string\n x-dcl-go-name: ExternalKeyUri\n description: The URI for an external resource that this CryptoKeyVersion\n represents.\n generateTime:\n type: string\n format: date-time\n x-dcl-go-name: GenerateTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n was generated.\n x-kubernetes-immutable: true\n importFailureReason:\n type: string\n x-dcl-go-name: ImportFailureReason\n readOnly: true\n description: Output only. The root cause of the most recent import failure.\n Only present if state is IMPORT_FAILED.\n x-kubernetes-immutable: true\n importJob:\n type: string\n x-dcl-go-name: ImportJob\n readOnly: true\n description: Output only. The name of the ImportJob used in the most\n recent import of this CryptoKeyVersion. Only present if the underlying\n key material was imported.\n x-kubernetes-immutable: true\n importTime:\n type: string\n format: date-time\n x-dcl-go-name: ImportTime\n readOnly: true\n description: Output only. The time at which this CryptoKeyVersion's\n key material was most recently imported.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name for this CryptoKeyVersion\n in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n protectionLevel:\n type: string\n x-dcl-go-name: ProtectionLevel\n x-dcl-go-type: CryptoKeyPrimaryProtectionLevelEnum\n readOnly: true\n description: 'Output only. The ProtectionLevel describing how crypto\n operations are performed with this CryptoKeyVersion. Possible values:\n PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n x-kubernetes-immutable: true\n enum:\n - PROTECTION_LEVEL_UNSPECIFIED\n - SOFTWARE\n - HSM\n - EXTERNAL\n - EXTERNAL_VPC\n reimportEligible:\n type: boolean\n x-dcl-go-name: ReimportEligible\n readOnly: true\n description: Output only. Whether or not this key version is eligible\n for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CryptoKeyPrimaryStateEnum\n description: 'The current state of the CryptoKeyVersion. Possible values:\n CRYPTO_KEY_VERSION_STATE_UNSPECIFIED, PENDING_GENERATION, ENABLED,\n DISABLED, DESTROYED, DESTROY_SCHEDULED, PENDING_IMPORT, IMPORT_FAILED'\n enum:\n - CRYPTO_KEY_VERSION_STATE_UNSPECIFIED\n - PENDING_GENERATION\n - ENABLED\n - DISABLED\n - DESTROYED\n - DESTROY_SCHEDULED\n - PENDING_IMPORT\n - IMPORT_FAILED\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: CryptoKeyPurposeEnum\n description: 'Immutable. The immutable purpose of this CryptoKey. Possible\n values: CRYPTO_KEY_PURPOSE_UNSPECIFIED, ENCRYPT_DECRYPT, ASYMMETRIC_SIGN,\n ASYMMETRIC_DECRYPT, MAC'\n x-kubernetes-immutable: true\n enum:\n - CRYPTO_KEY_PURPOSE_UNSPECIFIED\n - ENCRYPT_DECRYPT\n - ASYMMETRIC_SIGN\n - ASYMMETRIC_DECRYPT\n - MAC\n rotationPeriod:\n type: string\n x-dcl-go-name: RotationPeriod\n description: next_rotation_time will be advanced by this period when the\n service automatically rotates a key. Must be at least 24 hours and at\n most 876,000 hours. If rotation_period is set, next_rotation_time must\n also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation.\n For other keys, this field must be omitted.\n versionTemplate:\n type: object\n x-dcl-go-name: VersionTemplate\n x-dcl-go-type: CryptoKeyVersionTemplate\n description: A template describing settings for new CryptoKeyVersion instances.\n The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion\n or auto-rotation are controlled by this template.\n required:\n - algorithm\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CryptoKeyVersionTemplateAlgorithmEnum\n description: 'Required. Algorithm to use when creating a CryptoKeyVersion\n based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION\n is implied if both this field is omitted and CryptoKey.purpose is\n ENCRYPT_DECRYPT. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n enum:\n - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n - GOOGLE_SYMMETRIC_ENCRYPTION\n - RSA_SIGN_PSS_2048_SHA256\n - RSA_SIGN_PSS_3072_SHA256\n - RSA_SIGN_PSS_4096_SHA256\n - RSA_SIGN_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - RSA_DECRYPT_OAEP_2048_SHA256\n - RSA_DECRYPT_OAEP_3072_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA512\n - EC_SIGN_P256_SHA256\n - EC_SIGN_P384_SHA384\n - EC_SIGN_SECP256K1_SHA256\n - HMAC_SHA256\n - EXTERNAL_SYMMETRIC_ENCRYPTION\n protectionLevel:\n type: string\n x-dcl-go-name: ProtectionLevel\n x-dcl-go-type: CryptoKeyVersionTemplateProtectionLevelEnum\n description: 'ProtectionLevel to use when creating a CryptoKeyVersion\n based on this template. Immutable. Defaults to SOFTWARE. Possible\n values: PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n x-kubernetes-immutable: true\n enum:\n - PROTECTION_LEVEL_UNSPECIFIED\n - SOFTWARE\n - HSM\n - EXTERNAL\n - EXTERNAL_VPC\n") +var YAML_crypto_key = []byte("info:\n title: Cloudkms/CryptoKey\n description: The Cloudkms CryptoKey resource\n x-dcl-struct-name: CryptoKey\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a CryptoKey\n parameters:\n - name: CryptoKey\n required: true\n description: A full instance of a CryptoKey\n apply:\n description: The function used to apply information about a CryptoKey\n parameters:\n - name: CryptoKey\n required: true\n description: A full instance of a CryptoKey\n list:\n description: The function used to list information about many CryptoKey\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: keyring\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CryptoKey:\n title: CryptoKey\n x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - purpose\n - project\n - location\n - keyRing\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CryptoKey was created.\n x-kubernetes-immutable: true\n destroyScheduledDuration:\n type: string\n x-dcl-go-name: DestroyScheduledDuration\n description: Immutable. The period of time that versions of this key spend\n in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not\n specified at creation time, the default duration is 24 hours.\n x-kubernetes-immutable: true\n importOnly:\n type: boolean\n x-dcl-go-name: ImportOnly\n description: Immutable. Whether this key may contain imported versions only.\n x-kubernetes-immutable: true\n keyRing:\n type: string\n x-dcl-go-name: KeyRing\n description: The key ring for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/KeyRing\n field: name\n parent: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels with user-defined metadata. For more information, see\n [Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys).\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CryptoKey in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n x-kubernetes-immutable: true\n nextRotationTime:\n type: string\n format: date-time\n x-dcl-go-name: NextRotationTime\n description: 'At next_rotation_time, the Key Management Service will automatically:\n 1. Create a new version of this CryptoKey. 2. Mark the new version as\n primary. Key rotations performed manually via CreateCryptoKeyVersion and\n UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with\n purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this\n field must be omitted.'\n primary:\n type: object\n x-dcl-go-name: Primary\n x-dcl-go-type: CryptoKeyPrimary\n readOnly: true\n description: Output only. A copy of the \"primary\" CryptoKeyVersion that\n will be used by Encrypt when this CryptoKey is given in EncryptRequest.name.\n The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion.\n Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys,\n this field will be omitted.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CryptoKeyPrimaryAlgorithmEnum\n readOnly: true\n description: 'Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion\n supports. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n x-kubernetes-immutable: true\n enum:\n - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n - GOOGLE_SYMMETRIC_ENCRYPTION\n - RSA_SIGN_PSS_2048_SHA256\n - RSA_SIGN_PSS_3072_SHA256\n - RSA_SIGN_PSS_4096_SHA256\n - RSA_SIGN_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - RSA_DECRYPT_OAEP_2048_SHA256\n - RSA_DECRYPT_OAEP_3072_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA512\n - EC_SIGN_P256_SHA256\n - EC_SIGN_P384_SHA384\n - EC_SIGN_SECP256K1_SHA256\n - HMAC_SHA256\n - EXTERNAL_SYMMETRIC_ENCRYPTION\n attestation:\n type: object\n x-dcl-go-name: Attestation\n x-dcl-go-type: CryptoKeyPrimaryAttestation\n readOnly: true\n description: Output only. Statement that was generated and signed by\n the HSM at key creation time. Use this statement to verify attributes\n of the key as stored on the HSM, independently of Google. Only provided\n for key versions with protection_level HSM.\n properties:\n certChains:\n type: object\n x-dcl-go-name: CertChains\n x-dcl-go-type: CryptoKeyPrimaryAttestationCertChains\n readOnly: true\n description: Output only. The certificate chains needed to validate\n the attestation\n properties:\n caviumCerts:\n type: array\n x-dcl-go-name: CaviumCerts\n description: Cavium certificate chain corresponding to the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n googleCardCerts:\n type: array\n x-dcl-go-name: GoogleCardCerts\n description: Google card certificate chain corresponding to\n the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n googlePartitionCerts:\n type: array\n x-dcl-go-name: GooglePartitionCerts\n description: Google partition certificate chain corresponding\n to the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: Output only. The attestation data provided by the HSM\n when the key operation was performed.\n x-kubernetes-immutable: true\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CryptoKeyPrimaryAttestationFormatEnum\n readOnly: true\n description: 'Output only. The format of the attestation data. Possible\n values: ATTESTATION_FORMAT_UNSPECIFIED, CAVIUM_V1_COMPRESSED,\n CAVIUM_V2_COMPRESSED'\n x-kubernetes-immutable: true\n enum:\n - ATTESTATION_FORMAT_UNSPECIFIED\n - CAVIUM_V1_COMPRESSED\n - CAVIUM_V2_COMPRESSED\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CryptoKeyVersion was\n created.\n x-kubernetes-immutable: true\n destroyEventTime:\n type: string\n format: date-time\n x-dcl-go-name: DestroyEventTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n was destroyed. Only present if state is DESTROYED.\n x-kubernetes-immutable: true\n destroyTime:\n type: string\n format: date-time\n x-dcl-go-name: DestroyTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.\n x-kubernetes-immutable: true\n externalProtectionLevelOptions:\n type: object\n x-dcl-go-name: ExternalProtectionLevelOptions\n x-dcl-go-type: CryptoKeyPrimaryExternalProtectionLevelOptions\n description: ExternalProtectionLevelOptions stores a group of additional\n fields for configuring a CryptoKeyVersion that are specific to the\n EXTERNAL protection level.\n properties:\n externalKeyUri:\n type: string\n x-dcl-go-name: ExternalKeyUri\n description: The URI for an external resource that this CryptoKeyVersion\n represents.\n generateTime:\n type: string\n format: date-time\n x-dcl-go-name: GenerateTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n was generated.\n x-kubernetes-immutable: true\n importFailureReason:\n type: string\n x-dcl-go-name: ImportFailureReason\n readOnly: true\n description: Output only. The root cause of the most recent import failure.\n Only present if state is IMPORT_FAILED.\n x-kubernetes-immutable: true\n importJob:\n type: string\n x-dcl-go-name: ImportJob\n readOnly: true\n description: Output only. The name of the ImportJob used in the most\n recent import of this CryptoKeyVersion. Only present if the underlying\n key material was imported.\n x-kubernetes-immutable: true\n importTime:\n type: string\n format: date-time\n x-dcl-go-name: ImportTime\n readOnly: true\n description: Output only. The time at which this CryptoKeyVersion's\n key material was most recently imported.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name for this CryptoKeyVersion\n in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n protectionLevel:\n type: string\n x-dcl-go-name: ProtectionLevel\n x-dcl-go-type: CryptoKeyPrimaryProtectionLevelEnum\n readOnly: true\n description: 'Output only. The ProtectionLevel describing how crypto\n operations are performed with this CryptoKeyVersion. Possible values:\n PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n x-kubernetes-immutable: true\n enum:\n - PROTECTION_LEVEL_UNSPECIFIED\n - SOFTWARE\n - HSM\n - EXTERNAL\n - EXTERNAL_VPC\n reimportEligible:\n type: boolean\n x-dcl-go-name: ReimportEligible\n readOnly: true\n description: Output only. Whether or not this key version is eligible\n for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CryptoKeyPrimaryStateEnum\n description: 'The current state of the CryptoKeyVersion. Possible values:\n CRYPTO_KEY_VERSION_STATE_UNSPECIFIED, PENDING_GENERATION, ENABLED,\n DISABLED, DESTROYED, DESTROY_SCHEDULED, PENDING_IMPORT, IMPORT_FAILED'\n enum:\n - CRYPTO_KEY_VERSION_STATE_UNSPECIFIED\n - PENDING_GENERATION\n - ENABLED\n - DISABLED\n - DESTROYED\n - DESTROY_SCHEDULED\n - PENDING_IMPORT\n - IMPORT_FAILED\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: CryptoKeyPurposeEnum\n description: 'Immutable. The immutable purpose of this CryptoKey. Possible\n values: CRYPTO_KEY_PURPOSE_UNSPECIFIED, ENCRYPT_DECRYPT, ASYMMETRIC_SIGN,\n ASYMMETRIC_DECRYPT, MAC'\n x-kubernetes-immutable: true\n enum:\n - CRYPTO_KEY_PURPOSE_UNSPECIFIED\n - ENCRYPT_DECRYPT\n - ASYMMETRIC_SIGN\n - ASYMMETRIC_DECRYPT\n - MAC\n rotationPeriod:\n type: string\n x-dcl-go-name: RotationPeriod\n description: next_rotation_time will be advanced by this period when the\n service automatically rotates a key. Must be at least 24 hours and at\n most 876,000 hours. If rotation_period is set, next_rotation_time must\n also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation.\n For other keys, this field must be omitted.\n versionTemplate:\n type: object\n x-dcl-go-name: VersionTemplate\n x-dcl-go-type: CryptoKeyVersionTemplate\n description: A template describing settings for new CryptoKeyVersion instances.\n The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion\n or auto-rotation are controlled by this template.\n required:\n - algorithm\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CryptoKeyVersionTemplateAlgorithmEnum\n description: 'Required. Algorithm to use when creating a CryptoKeyVersion\n based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION\n is implied if both this field is omitted and CryptoKey.purpose is\n ENCRYPT_DECRYPT. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n enum:\n - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n - GOOGLE_SYMMETRIC_ENCRYPTION\n - RSA_SIGN_PSS_2048_SHA256\n - RSA_SIGN_PSS_3072_SHA256\n - RSA_SIGN_PSS_4096_SHA256\n - RSA_SIGN_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - RSA_DECRYPT_OAEP_2048_SHA256\n - RSA_DECRYPT_OAEP_3072_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA512\n - EC_SIGN_P256_SHA256\n - EC_SIGN_P384_SHA384\n - EC_SIGN_SECP256K1_SHA256\n - HMAC_SHA256\n - EXTERNAL_SYMMETRIC_ENCRYPTION\n protectionLevel:\n type: string\n x-dcl-go-name: ProtectionLevel\n x-dcl-go-type: CryptoKeyVersionTemplateProtectionLevelEnum\n description: 'ProtectionLevel to use when creating a CryptoKeyVersion\n based on this template. Immutable. Defaults to SOFTWARE. Possible\n values: PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n x-kubernetes-immutable: true\n enum:\n - PROTECTION_LEVEL_UNSPECIFIED\n - SOFTWARE\n - HSM\n - EXTERNAL\n - EXTERNAL_VPC\n") -// 18564 bytes -// MD5: b4145dc7877c9b7a332952dd9c022e82 +// 18589 bytes +// MD5: c5e2cf8f49bbebb6efed3e4a9c686eca diff --git a/services/google/cloudkms/alpha/crypto_key_schema.go b/services/google/cloudkms/alpha/crypto_key_schema.go index df4c0850e8..62f7b69cd3 100755 --- a/services/google/cloudkms/alpha/crypto_key_schema.go +++ b/services/google/cloudkms/alpha/crypto_key_schema.go @@ -23,6 +23,7 @@ func DCLCryptoKeySchema() *dcl.Schema { Title: "Cloudkms/CryptoKey", Description: "The Cloudkms CryptoKey resource", StructName: "CryptoKey", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudkms/alpha/ekm_connection.yaml b/services/google/cloudkms/alpha/ekm_connection.yaml index 7146d3bdc6..875046e371 100755 --- a/services/google/cloudkms/alpha/ekm_connection.yaml +++ b/services/google/cloudkms/alpha/ekm_connection.yaml @@ -15,6 +15,7 @@ info: title: Cloudkms/EkmConnection description: The Cloudkms EkmConnection resource x-dcl-struct-name: EkmConnection + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudkms/alpha/ekm_connection_alpha_yaml_embed.go b/services/google/cloudkms/alpha/ekm_connection_alpha_yaml_embed.go index ae08d0517c..3407a3527b 100755 --- a/services/google/cloudkms/alpha/ekm_connection_alpha_yaml_embed.go +++ b/services/google/cloudkms/alpha/ekm_connection_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudkms/alpha/ekm_connection.yaml -var YAML_ekm_connection = []byte("info:\n title: Cloudkms/EkmConnection\n description: The Cloudkms EkmConnection resource\n x-dcl-struct-name: EkmConnection\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a EkmConnection\n parameters:\n - name: EkmConnection\n required: true\n description: A full instance of a EkmConnection\n apply:\n description: The function used to apply information about a EkmConnection\n parameters:\n - name: EkmConnection\n required: true\n description: A full instance of a EkmConnection\n list:\n description: The function used to list information about many EkmConnection\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EkmConnection:\n title: EkmConnection\n x-dcl-id: projects/{{project}}/locations/{{location}}/ekmConnections/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - serviceResolvers\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which the EkmConnection was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. This checksum is computed by the server based on\n the value of other fields, and may be sent on update requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the EkmConnection in the format `projects/*/locations/*/ekmConnections/*`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceResolvers:\n type: array\n x-dcl-go-name: ServiceResolvers\n description: A list of ServiceResolvers where the EKM can be reached. There\n should be one ServiceResolver per EKM replica. Currently, only a single\n ServiceResolver is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EkmConnectionServiceResolvers\n required:\n - serviceDirectoryService\n - hostname\n - serverCertificates\n properties:\n endpointFilter:\n type: string\n x-dcl-go-name: EndpointFilter\n description: Optional. The filter applied to the endpoints of the\n resolved service. If no filter is specified, all endpoints will\n be considered. An endpoint will be chosen arbitrarily from the filtered\n list for each request. For endpoint filter syntax and examples,\n see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.\n hostname:\n type: string\n x-dcl-go-name: Hostname\n description: Required. The hostname of the EKM replica used at TLS\n and HTTP layers.\n serverCertificates:\n type: array\n x-dcl-go-name: ServerCertificates\n description: Required. A list of leaf server certificates used to\n authenticate HTTPS connections to the EKM replica. Currently, a\n maximum of 10 Certificate is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EkmConnectionServiceResolversServerCertificates\n required:\n - rawDer\n properties:\n issuer:\n type: string\n x-dcl-go-name: Issuer\n readOnly: true\n description: Output only. The issuer distinguished name in RFC\n 2253 format. Only present if parsed is true.\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n readOnly: true\n description: Output only. The certificate is not valid after\n this time. Only present if parsed is true.\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n readOnly: true\n description: Output only. The certificate is not valid before\n this time. Only present if parsed is true.\n parsed:\n type: boolean\n x-dcl-go-name: Parsed\n readOnly: true\n description: Output only. True if the certificate was parsed\n successfully.\n rawDer:\n type: string\n x-dcl-go-name: RawDer\n description: Required. The raw certificate bytes in DER format.\n serialNumber:\n type: string\n x-dcl-go-name: SerialNumber\n readOnly: true\n description: Output only. The certificate serial number as a\n hex string. Only present if parsed is true.\n sha256Fingerprint:\n type: string\n x-dcl-go-name: Sha256Fingerprint\n readOnly: true\n description: Output only. The SHA-256 certificate fingerprint\n as a hex string. Only present if parsed is true.\n subject:\n type: string\n x-dcl-go-name: Subject\n readOnly: true\n description: Output only. The subject distinguished name in\n RFC 2253 format. Only present if parsed is true.\n subjectAlternativeDnsNames:\n type: array\n x-dcl-go-name: SubjectAlternativeDnsNames\n readOnly: true\n description: Output only. The subject Alternative DNS names.\n Only present if parsed is true.\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceDirectoryService:\n type: string\n x-dcl-go-name: ServiceDirectoryService\n description: Required. The resource name of the Service Directory\n service pointing to an EKM replica, in the format `projects/*/locations/*/namespaces/*/services/*`.\n") +var YAML_ekm_connection = []byte("info:\n title: Cloudkms/EkmConnection\n description: The Cloudkms EkmConnection resource\n x-dcl-struct-name: EkmConnection\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a EkmConnection\n parameters:\n - name: EkmConnection\n required: true\n description: A full instance of a EkmConnection\n apply:\n description: The function used to apply information about a EkmConnection\n parameters:\n - name: EkmConnection\n required: true\n description: A full instance of a EkmConnection\n list:\n description: The function used to list information about many EkmConnection\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EkmConnection:\n title: EkmConnection\n x-dcl-id: projects/{{project}}/locations/{{location}}/ekmConnections/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - serviceResolvers\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which the EkmConnection was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. This checksum is computed by the server based on\n the value of other fields, and may be sent on update requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the EkmConnection in the format `projects/*/locations/*/ekmConnections/*`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceResolvers:\n type: array\n x-dcl-go-name: ServiceResolvers\n description: A list of ServiceResolvers where the EKM can be reached. There\n should be one ServiceResolver per EKM replica. Currently, only a single\n ServiceResolver is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EkmConnectionServiceResolvers\n required:\n - serviceDirectoryService\n - hostname\n - serverCertificates\n properties:\n endpointFilter:\n type: string\n x-dcl-go-name: EndpointFilter\n description: Optional. The filter applied to the endpoints of the\n resolved service. If no filter is specified, all endpoints will\n be considered. An endpoint will be chosen arbitrarily from the filtered\n list for each request. For endpoint filter syntax and examples,\n see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.\n hostname:\n type: string\n x-dcl-go-name: Hostname\n description: Required. The hostname of the EKM replica used at TLS\n and HTTP layers.\n serverCertificates:\n type: array\n x-dcl-go-name: ServerCertificates\n description: Required. A list of leaf server certificates used to\n authenticate HTTPS connections to the EKM replica. Currently, a\n maximum of 10 Certificate is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EkmConnectionServiceResolversServerCertificates\n required:\n - rawDer\n properties:\n issuer:\n type: string\n x-dcl-go-name: Issuer\n readOnly: true\n description: Output only. The issuer distinguished name in RFC\n 2253 format. Only present if parsed is true.\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n readOnly: true\n description: Output only. The certificate is not valid after\n this time. Only present if parsed is true.\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n readOnly: true\n description: Output only. The certificate is not valid before\n this time. Only present if parsed is true.\n parsed:\n type: boolean\n x-dcl-go-name: Parsed\n readOnly: true\n description: Output only. True if the certificate was parsed\n successfully.\n rawDer:\n type: string\n x-dcl-go-name: RawDer\n description: Required. The raw certificate bytes in DER format.\n serialNumber:\n type: string\n x-dcl-go-name: SerialNumber\n readOnly: true\n description: Output only. The certificate serial number as a\n hex string. Only present if parsed is true.\n sha256Fingerprint:\n type: string\n x-dcl-go-name: Sha256Fingerprint\n readOnly: true\n description: Output only. The SHA-256 certificate fingerprint\n as a hex string. Only present if parsed is true.\n subject:\n type: string\n x-dcl-go-name: Subject\n readOnly: true\n description: Output only. The subject distinguished name in\n RFC 2253 format. Only present if parsed is true.\n subjectAlternativeDnsNames:\n type: array\n x-dcl-go-name: SubjectAlternativeDnsNames\n readOnly: true\n description: Output only. The subject Alternative DNS names.\n Only present if parsed is true.\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceDirectoryService:\n type: string\n x-dcl-go-name: ServiceDirectoryService\n description: Required. The resource name of the Service Directory\n service pointing to an EKM replica, in the format `projects/*/locations/*/namespaces/*/services/*`.\n") -// 7633 bytes -// MD5: 35b580ff4d69c82c58e59a3ffcb30ff5 +// 7658 bytes +// MD5: 0f6f552e61e34a2895b90a8641a5ca89 diff --git a/services/google/cloudkms/alpha/ekm_connection_schema.go b/services/google/cloudkms/alpha/ekm_connection_schema.go index 5ad9cbc892..04ab45396f 100755 --- a/services/google/cloudkms/alpha/ekm_connection_schema.go +++ b/services/google/cloudkms/alpha/ekm_connection_schema.go @@ -23,6 +23,7 @@ func DCLEkmConnectionSchema() *dcl.Schema { Title: "Cloudkms/EkmConnection", Description: "The Cloudkms EkmConnection resource", StructName: "EkmConnection", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudkms/alpha/key_ring.yaml b/services/google/cloudkms/alpha/key_ring.yaml index 5aa1384588..8d83193ce0 100755 --- a/services/google/cloudkms/alpha/key_ring.yaml +++ b/services/google/cloudkms/alpha/key_ring.yaml @@ -15,6 +15,7 @@ info: title: Cloudkms/KeyRing description: The Cloudkms KeyRing resource x-dcl-struct-name: KeyRing + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudkms/alpha/key_ring_alpha_yaml_embed.go b/services/google/cloudkms/alpha/key_ring_alpha_yaml_embed.go index 13b3223dd4..7cab7d3c51 100755 --- a/services/google/cloudkms/alpha/key_ring_alpha_yaml_embed.go +++ b/services/google/cloudkms/alpha/key_ring_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudkms/alpha/key_ring.yaml -var YAML_key_ring = []byte("info:\n title: Cloudkms/KeyRing\n description: The Cloudkms KeyRing resource\n x-dcl-struct-name: KeyRing\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a KeyRing\n parameters:\n - name: KeyRing\n required: true\n description: A full instance of a KeyRing\n apply:\n description: The function used to apply information about a KeyRing\n parameters:\n - name: KeyRing\n required: true\n description: A full instance of a KeyRing\n list:\n description: The function used to list information about many KeyRing\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n KeyRing:\n title: KeyRing\n x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this KeyRing was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the KeyRing in the format `projects/*/locations/*/keyRings/*`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_key_ring = []byte("info:\n title: Cloudkms/KeyRing\n description: The Cloudkms KeyRing resource\n x-dcl-struct-name: KeyRing\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a KeyRing\n parameters:\n - name: KeyRing\n required: true\n description: A full instance of a KeyRing\n apply:\n description: The function used to apply information about a KeyRing\n parameters:\n - name: KeyRing\n required: true\n description: A full instance of a KeyRing\n list:\n description: The function used to list information about many KeyRing\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n KeyRing:\n title: KeyRing\n x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this KeyRing was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the KeyRing in the format `projects/*/locations/*/keyRings/*`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 1978 bytes -// MD5: a995e4194f25b8a66b1b5c4cb7bd46d2 +// 2003 bytes +// MD5: c7977b0c3ee35444fe20e6dca27b2396 diff --git a/services/google/cloudkms/alpha/key_ring_schema.go b/services/google/cloudkms/alpha/key_ring_schema.go index 01cd924acc..33d19ddd30 100755 --- a/services/google/cloudkms/alpha/key_ring_schema.go +++ b/services/google/cloudkms/alpha/key_ring_schema.go @@ -23,6 +23,7 @@ func DCLKeyRingSchema() *dcl.Schema { Title: "Cloudkms/KeyRing", Description: "The Cloudkms KeyRing resource", StructName: "KeyRing", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudkms/beta/crypto_key.yaml b/services/google/cloudkms/beta/crypto_key.yaml index 7ed8415985..64662176ea 100755 --- a/services/google/cloudkms/beta/crypto_key.yaml +++ b/services/google/cloudkms/beta/crypto_key.yaml @@ -15,6 +15,7 @@ info: title: Cloudkms/CryptoKey description: The Cloudkms CryptoKey resource x-dcl-struct-name: CryptoKey + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudkms/beta/crypto_key_beta_yaml_embed.go b/services/google/cloudkms/beta/crypto_key_beta_yaml_embed.go index d602284541..3f175ba0d7 100755 --- a/services/google/cloudkms/beta/crypto_key_beta_yaml_embed.go +++ b/services/google/cloudkms/beta/crypto_key_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudkms/beta/crypto_key.yaml -var YAML_crypto_key = []byte("info:\n title: Cloudkms/CryptoKey\n description: The Cloudkms CryptoKey resource\n x-dcl-struct-name: CryptoKey\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a CryptoKey\n parameters:\n - name: CryptoKey\n required: true\n description: A full instance of a CryptoKey\n apply:\n description: The function used to apply information about a CryptoKey\n parameters:\n - name: CryptoKey\n required: true\n description: A full instance of a CryptoKey\n list:\n description: The function used to list information about many CryptoKey\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: keyring\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CryptoKey:\n title: CryptoKey\n x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - purpose\n - project\n - location\n - keyRing\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CryptoKey was created.\n x-kubernetes-immutable: true\n destroyScheduledDuration:\n type: string\n x-dcl-go-name: DestroyScheduledDuration\n description: Immutable. The period of time that versions of this key spend\n in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not\n specified at creation time, the default duration is 24 hours.\n x-kubernetes-immutable: true\n importOnly:\n type: boolean\n x-dcl-go-name: ImportOnly\n description: Immutable. Whether this key may contain imported versions only.\n x-kubernetes-immutable: true\n keyRing:\n type: string\n x-dcl-go-name: KeyRing\n description: The key ring for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/KeyRing\n field: name\n parent: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels with user-defined metadata. For more information, see\n [Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys).\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CryptoKey in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n x-kubernetes-immutable: true\n nextRotationTime:\n type: string\n format: date-time\n x-dcl-go-name: NextRotationTime\n description: 'At next_rotation_time, the Key Management Service will automatically:\n 1. Create a new version of this CryptoKey. 2. Mark the new version as\n primary. Key rotations performed manually via CreateCryptoKeyVersion and\n UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with\n purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this\n field must be omitted.'\n primary:\n type: object\n x-dcl-go-name: Primary\n x-dcl-go-type: CryptoKeyPrimary\n readOnly: true\n description: Output only. A copy of the \"primary\" CryptoKeyVersion that\n will be used by Encrypt when this CryptoKey is given in EncryptRequest.name.\n The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion.\n Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys,\n this field will be omitted.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CryptoKeyPrimaryAlgorithmEnum\n readOnly: true\n description: 'Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion\n supports. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n x-kubernetes-immutable: true\n enum:\n - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n - GOOGLE_SYMMETRIC_ENCRYPTION\n - RSA_SIGN_PSS_2048_SHA256\n - RSA_SIGN_PSS_3072_SHA256\n - RSA_SIGN_PSS_4096_SHA256\n - RSA_SIGN_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - RSA_DECRYPT_OAEP_2048_SHA256\n - RSA_DECRYPT_OAEP_3072_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA512\n - EC_SIGN_P256_SHA256\n - EC_SIGN_P384_SHA384\n - EC_SIGN_SECP256K1_SHA256\n - HMAC_SHA256\n - EXTERNAL_SYMMETRIC_ENCRYPTION\n attestation:\n type: object\n x-dcl-go-name: Attestation\n x-dcl-go-type: CryptoKeyPrimaryAttestation\n readOnly: true\n description: Output only. Statement that was generated and signed by\n the HSM at key creation time. Use this statement to verify attributes\n of the key as stored on the HSM, independently of Google. Only provided\n for key versions with protection_level HSM.\n properties:\n certChains:\n type: object\n x-dcl-go-name: CertChains\n x-dcl-go-type: CryptoKeyPrimaryAttestationCertChains\n readOnly: true\n description: Output only. The certificate chains needed to validate\n the attestation\n properties:\n caviumCerts:\n type: array\n x-dcl-go-name: CaviumCerts\n description: Cavium certificate chain corresponding to the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n googleCardCerts:\n type: array\n x-dcl-go-name: GoogleCardCerts\n description: Google card certificate chain corresponding to\n the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n googlePartitionCerts:\n type: array\n x-dcl-go-name: GooglePartitionCerts\n description: Google partition certificate chain corresponding\n to the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: Output only. The attestation data provided by the HSM\n when the key operation was performed.\n x-kubernetes-immutable: true\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CryptoKeyPrimaryAttestationFormatEnum\n readOnly: true\n description: 'Output only. The format of the attestation data. Possible\n values: ATTESTATION_FORMAT_UNSPECIFIED, CAVIUM_V1_COMPRESSED,\n CAVIUM_V2_COMPRESSED'\n x-kubernetes-immutable: true\n enum:\n - ATTESTATION_FORMAT_UNSPECIFIED\n - CAVIUM_V1_COMPRESSED\n - CAVIUM_V2_COMPRESSED\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CryptoKeyVersion was\n created.\n x-kubernetes-immutable: true\n destroyEventTime:\n type: string\n format: date-time\n x-dcl-go-name: DestroyEventTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n was destroyed. Only present if state is DESTROYED.\n x-kubernetes-immutable: true\n destroyTime:\n type: string\n format: date-time\n x-dcl-go-name: DestroyTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.\n x-kubernetes-immutable: true\n externalProtectionLevelOptions:\n type: object\n x-dcl-go-name: ExternalProtectionLevelOptions\n x-dcl-go-type: CryptoKeyPrimaryExternalProtectionLevelOptions\n description: ExternalProtectionLevelOptions stores a group of additional\n fields for configuring a CryptoKeyVersion that are specific to the\n EXTERNAL protection level.\n properties:\n externalKeyUri:\n type: string\n x-dcl-go-name: ExternalKeyUri\n description: The URI for an external resource that this CryptoKeyVersion\n represents.\n generateTime:\n type: string\n format: date-time\n x-dcl-go-name: GenerateTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n was generated.\n x-kubernetes-immutable: true\n importFailureReason:\n type: string\n x-dcl-go-name: ImportFailureReason\n readOnly: true\n description: Output only. The root cause of the most recent import failure.\n Only present if state is IMPORT_FAILED.\n x-kubernetes-immutable: true\n importJob:\n type: string\n x-dcl-go-name: ImportJob\n readOnly: true\n description: Output only. The name of the ImportJob used in the most\n recent import of this CryptoKeyVersion. Only present if the underlying\n key material was imported.\n x-kubernetes-immutable: true\n importTime:\n type: string\n format: date-time\n x-dcl-go-name: ImportTime\n readOnly: true\n description: Output only. The time at which this CryptoKeyVersion's\n key material was most recently imported.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name for this CryptoKeyVersion\n in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n protectionLevel:\n type: string\n x-dcl-go-name: ProtectionLevel\n x-dcl-go-type: CryptoKeyPrimaryProtectionLevelEnum\n readOnly: true\n description: 'Output only. The ProtectionLevel describing how crypto\n operations are performed with this CryptoKeyVersion. Possible values:\n PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n x-kubernetes-immutable: true\n enum:\n - PROTECTION_LEVEL_UNSPECIFIED\n - SOFTWARE\n - HSM\n - EXTERNAL\n - EXTERNAL_VPC\n reimportEligible:\n type: boolean\n x-dcl-go-name: ReimportEligible\n readOnly: true\n description: Output only. Whether or not this key version is eligible\n for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CryptoKeyPrimaryStateEnum\n description: 'The current state of the CryptoKeyVersion. Possible values:\n CRYPTO_KEY_VERSION_STATE_UNSPECIFIED, PENDING_GENERATION, ENABLED,\n DISABLED, DESTROYED, DESTROY_SCHEDULED, PENDING_IMPORT, IMPORT_FAILED'\n enum:\n - CRYPTO_KEY_VERSION_STATE_UNSPECIFIED\n - PENDING_GENERATION\n - ENABLED\n - DISABLED\n - DESTROYED\n - DESTROY_SCHEDULED\n - PENDING_IMPORT\n - IMPORT_FAILED\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: CryptoKeyPurposeEnum\n description: 'Immutable. The immutable purpose of this CryptoKey. Possible\n values: CRYPTO_KEY_PURPOSE_UNSPECIFIED, ENCRYPT_DECRYPT, ASYMMETRIC_SIGN,\n ASYMMETRIC_DECRYPT, MAC'\n x-kubernetes-immutable: true\n enum:\n - CRYPTO_KEY_PURPOSE_UNSPECIFIED\n - ENCRYPT_DECRYPT\n - ASYMMETRIC_SIGN\n - ASYMMETRIC_DECRYPT\n - MAC\n rotationPeriod:\n type: string\n x-dcl-go-name: RotationPeriod\n description: next_rotation_time will be advanced by this period when the\n service automatically rotates a key. Must be at least 24 hours and at\n most 876,000 hours. If rotation_period is set, next_rotation_time must\n also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation.\n For other keys, this field must be omitted.\n versionTemplate:\n type: object\n x-dcl-go-name: VersionTemplate\n x-dcl-go-type: CryptoKeyVersionTemplate\n description: A template describing settings for new CryptoKeyVersion instances.\n The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion\n or auto-rotation are controlled by this template.\n required:\n - algorithm\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CryptoKeyVersionTemplateAlgorithmEnum\n description: 'Required. Algorithm to use when creating a CryptoKeyVersion\n based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION\n is implied if both this field is omitted and CryptoKey.purpose is\n ENCRYPT_DECRYPT. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n enum:\n - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n - GOOGLE_SYMMETRIC_ENCRYPTION\n - RSA_SIGN_PSS_2048_SHA256\n - RSA_SIGN_PSS_3072_SHA256\n - RSA_SIGN_PSS_4096_SHA256\n - RSA_SIGN_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - RSA_DECRYPT_OAEP_2048_SHA256\n - RSA_DECRYPT_OAEP_3072_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA512\n - EC_SIGN_P256_SHA256\n - EC_SIGN_P384_SHA384\n - EC_SIGN_SECP256K1_SHA256\n - HMAC_SHA256\n - EXTERNAL_SYMMETRIC_ENCRYPTION\n protectionLevel:\n type: string\n x-dcl-go-name: ProtectionLevel\n x-dcl-go-type: CryptoKeyVersionTemplateProtectionLevelEnum\n description: 'ProtectionLevel to use when creating a CryptoKeyVersion\n based on this template. Immutable. Defaults to SOFTWARE. Possible\n values: PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n x-kubernetes-immutable: true\n enum:\n - PROTECTION_LEVEL_UNSPECIFIED\n - SOFTWARE\n - HSM\n - EXTERNAL\n - EXTERNAL_VPC\n") +var YAML_crypto_key = []byte("info:\n title: Cloudkms/CryptoKey\n description: The Cloudkms CryptoKey resource\n x-dcl-struct-name: CryptoKey\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a CryptoKey\n parameters:\n - name: CryptoKey\n required: true\n description: A full instance of a CryptoKey\n apply:\n description: The function used to apply information about a CryptoKey\n parameters:\n - name: CryptoKey\n required: true\n description: A full instance of a CryptoKey\n list:\n description: The function used to list information about many CryptoKey\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: keyring\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CryptoKey:\n title: CryptoKey\n x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - purpose\n - project\n - location\n - keyRing\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CryptoKey was created.\n x-kubernetes-immutable: true\n destroyScheduledDuration:\n type: string\n x-dcl-go-name: DestroyScheduledDuration\n description: Immutable. The period of time that versions of this key spend\n in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not\n specified at creation time, the default duration is 24 hours.\n x-kubernetes-immutable: true\n importOnly:\n type: boolean\n x-dcl-go-name: ImportOnly\n description: Immutable. Whether this key may contain imported versions only.\n x-kubernetes-immutable: true\n keyRing:\n type: string\n x-dcl-go-name: KeyRing\n description: The key ring for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/KeyRing\n field: name\n parent: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels with user-defined metadata. For more information, see\n [Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys).\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CryptoKey in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n x-kubernetes-immutable: true\n nextRotationTime:\n type: string\n format: date-time\n x-dcl-go-name: NextRotationTime\n description: 'At next_rotation_time, the Key Management Service will automatically:\n 1. Create a new version of this CryptoKey. 2. Mark the new version as\n primary. Key rotations performed manually via CreateCryptoKeyVersion and\n UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with\n purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this\n field must be omitted.'\n primary:\n type: object\n x-dcl-go-name: Primary\n x-dcl-go-type: CryptoKeyPrimary\n readOnly: true\n description: Output only. A copy of the \"primary\" CryptoKeyVersion that\n will be used by Encrypt when this CryptoKey is given in EncryptRequest.name.\n The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion.\n Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys,\n this field will be omitted.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CryptoKeyPrimaryAlgorithmEnum\n readOnly: true\n description: 'Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion\n supports. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n x-kubernetes-immutable: true\n enum:\n - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n - GOOGLE_SYMMETRIC_ENCRYPTION\n - RSA_SIGN_PSS_2048_SHA256\n - RSA_SIGN_PSS_3072_SHA256\n - RSA_SIGN_PSS_4096_SHA256\n - RSA_SIGN_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - RSA_DECRYPT_OAEP_2048_SHA256\n - RSA_DECRYPT_OAEP_3072_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA512\n - EC_SIGN_P256_SHA256\n - EC_SIGN_P384_SHA384\n - EC_SIGN_SECP256K1_SHA256\n - HMAC_SHA256\n - EXTERNAL_SYMMETRIC_ENCRYPTION\n attestation:\n type: object\n x-dcl-go-name: Attestation\n x-dcl-go-type: CryptoKeyPrimaryAttestation\n readOnly: true\n description: Output only. Statement that was generated and signed by\n the HSM at key creation time. Use this statement to verify attributes\n of the key as stored on the HSM, independently of Google. Only provided\n for key versions with protection_level HSM.\n properties:\n certChains:\n type: object\n x-dcl-go-name: CertChains\n x-dcl-go-type: CryptoKeyPrimaryAttestationCertChains\n readOnly: true\n description: Output only. The certificate chains needed to validate\n the attestation\n properties:\n caviumCerts:\n type: array\n x-dcl-go-name: CaviumCerts\n description: Cavium certificate chain corresponding to the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n googleCardCerts:\n type: array\n x-dcl-go-name: GoogleCardCerts\n description: Google card certificate chain corresponding to\n the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n googlePartitionCerts:\n type: array\n x-dcl-go-name: GooglePartitionCerts\n description: Google partition certificate chain corresponding\n to the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: Output only. The attestation data provided by the HSM\n when the key operation was performed.\n x-kubernetes-immutable: true\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CryptoKeyPrimaryAttestationFormatEnum\n readOnly: true\n description: 'Output only. The format of the attestation data. Possible\n values: ATTESTATION_FORMAT_UNSPECIFIED, CAVIUM_V1_COMPRESSED,\n CAVIUM_V2_COMPRESSED'\n x-kubernetes-immutable: true\n enum:\n - ATTESTATION_FORMAT_UNSPECIFIED\n - CAVIUM_V1_COMPRESSED\n - CAVIUM_V2_COMPRESSED\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CryptoKeyVersion was\n created.\n x-kubernetes-immutable: true\n destroyEventTime:\n type: string\n format: date-time\n x-dcl-go-name: DestroyEventTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n was destroyed. Only present if state is DESTROYED.\n x-kubernetes-immutable: true\n destroyTime:\n type: string\n format: date-time\n x-dcl-go-name: DestroyTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.\n x-kubernetes-immutable: true\n externalProtectionLevelOptions:\n type: object\n x-dcl-go-name: ExternalProtectionLevelOptions\n x-dcl-go-type: CryptoKeyPrimaryExternalProtectionLevelOptions\n description: ExternalProtectionLevelOptions stores a group of additional\n fields for configuring a CryptoKeyVersion that are specific to the\n EXTERNAL protection level.\n properties:\n externalKeyUri:\n type: string\n x-dcl-go-name: ExternalKeyUri\n description: The URI for an external resource that this CryptoKeyVersion\n represents.\n generateTime:\n type: string\n format: date-time\n x-dcl-go-name: GenerateTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n was generated.\n x-kubernetes-immutable: true\n importFailureReason:\n type: string\n x-dcl-go-name: ImportFailureReason\n readOnly: true\n description: Output only. The root cause of the most recent import failure.\n Only present if state is IMPORT_FAILED.\n x-kubernetes-immutable: true\n importJob:\n type: string\n x-dcl-go-name: ImportJob\n readOnly: true\n description: Output only. The name of the ImportJob used in the most\n recent import of this CryptoKeyVersion. Only present if the underlying\n key material was imported.\n x-kubernetes-immutable: true\n importTime:\n type: string\n format: date-time\n x-dcl-go-name: ImportTime\n readOnly: true\n description: Output only. The time at which this CryptoKeyVersion's\n key material was most recently imported.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name for this CryptoKeyVersion\n in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n protectionLevel:\n type: string\n x-dcl-go-name: ProtectionLevel\n x-dcl-go-type: CryptoKeyPrimaryProtectionLevelEnum\n readOnly: true\n description: 'Output only. The ProtectionLevel describing how crypto\n operations are performed with this CryptoKeyVersion. Possible values:\n PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n x-kubernetes-immutable: true\n enum:\n - PROTECTION_LEVEL_UNSPECIFIED\n - SOFTWARE\n - HSM\n - EXTERNAL\n - EXTERNAL_VPC\n reimportEligible:\n type: boolean\n x-dcl-go-name: ReimportEligible\n readOnly: true\n description: Output only. Whether or not this key version is eligible\n for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CryptoKeyPrimaryStateEnum\n description: 'The current state of the CryptoKeyVersion. Possible values:\n CRYPTO_KEY_VERSION_STATE_UNSPECIFIED, PENDING_GENERATION, ENABLED,\n DISABLED, DESTROYED, DESTROY_SCHEDULED, PENDING_IMPORT, IMPORT_FAILED'\n enum:\n - CRYPTO_KEY_VERSION_STATE_UNSPECIFIED\n - PENDING_GENERATION\n - ENABLED\n - DISABLED\n - DESTROYED\n - DESTROY_SCHEDULED\n - PENDING_IMPORT\n - IMPORT_FAILED\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: CryptoKeyPurposeEnum\n description: 'Immutable. The immutable purpose of this CryptoKey. Possible\n values: CRYPTO_KEY_PURPOSE_UNSPECIFIED, ENCRYPT_DECRYPT, ASYMMETRIC_SIGN,\n ASYMMETRIC_DECRYPT, MAC'\n x-kubernetes-immutable: true\n enum:\n - CRYPTO_KEY_PURPOSE_UNSPECIFIED\n - ENCRYPT_DECRYPT\n - ASYMMETRIC_SIGN\n - ASYMMETRIC_DECRYPT\n - MAC\n rotationPeriod:\n type: string\n x-dcl-go-name: RotationPeriod\n description: next_rotation_time will be advanced by this period when the\n service automatically rotates a key. Must be at least 24 hours and at\n most 876,000 hours. If rotation_period is set, next_rotation_time must\n also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation.\n For other keys, this field must be omitted.\n versionTemplate:\n type: object\n x-dcl-go-name: VersionTemplate\n x-dcl-go-type: CryptoKeyVersionTemplate\n description: A template describing settings for new CryptoKeyVersion instances.\n The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion\n or auto-rotation are controlled by this template.\n required:\n - algorithm\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CryptoKeyVersionTemplateAlgorithmEnum\n description: 'Required. Algorithm to use when creating a CryptoKeyVersion\n based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION\n is implied if both this field is omitted and CryptoKey.purpose is\n ENCRYPT_DECRYPT. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n enum:\n - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n - GOOGLE_SYMMETRIC_ENCRYPTION\n - RSA_SIGN_PSS_2048_SHA256\n - RSA_SIGN_PSS_3072_SHA256\n - RSA_SIGN_PSS_4096_SHA256\n - RSA_SIGN_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - RSA_DECRYPT_OAEP_2048_SHA256\n - RSA_DECRYPT_OAEP_3072_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA512\n - EC_SIGN_P256_SHA256\n - EC_SIGN_P384_SHA384\n - EC_SIGN_SECP256K1_SHA256\n - HMAC_SHA256\n - EXTERNAL_SYMMETRIC_ENCRYPTION\n protectionLevel:\n type: string\n x-dcl-go-name: ProtectionLevel\n x-dcl-go-type: CryptoKeyVersionTemplateProtectionLevelEnum\n description: 'ProtectionLevel to use when creating a CryptoKeyVersion\n based on this template. Immutable. Defaults to SOFTWARE. Possible\n values: PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n x-kubernetes-immutable: true\n enum:\n - PROTECTION_LEVEL_UNSPECIFIED\n - SOFTWARE\n - HSM\n - EXTERNAL\n - EXTERNAL_VPC\n") -// 18564 bytes -// MD5: b4145dc7877c9b7a332952dd9c022e82 +// 18589 bytes +// MD5: c5e2cf8f49bbebb6efed3e4a9c686eca diff --git a/services/google/cloudkms/beta/crypto_key_schema.go b/services/google/cloudkms/beta/crypto_key_schema.go index 21d0b7261a..6a2b237fb9 100755 --- a/services/google/cloudkms/beta/crypto_key_schema.go +++ b/services/google/cloudkms/beta/crypto_key_schema.go @@ -23,6 +23,7 @@ func DCLCryptoKeySchema() *dcl.Schema { Title: "Cloudkms/CryptoKey", Description: "The Cloudkms CryptoKey resource", StructName: "CryptoKey", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudkms/beta/ekm_connection.yaml b/services/google/cloudkms/beta/ekm_connection.yaml index 7146d3bdc6..875046e371 100755 --- a/services/google/cloudkms/beta/ekm_connection.yaml +++ b/services/google/cloudkms/beta/ekm_connection.yaml @@ -15,6 +15,7 @@ info: title: Cloudkms/EkmConnection description: The Cloudkms EkmConnection resource x-dcl-struct-name: EkmConnection + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudkms/beta/ekm_connection_beta_yaml_embed.go b/services/google/cloudkms/beta/ekm_connection_beta_yaml_embed.go index a769fc4273..58b4c04f66 100755 --- a/services/google/cloudkms/beta/ekm_connection_beta_yaml_embed.go +++ b/services/google/cloudkms/beta/ekm_connection_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudkms/beta/ekm_connection.yaml -var YAML_ekm_connection = []byte("info:\n title: Cloudkms/EkmConnection\n description: The Cloudkms EkmConnection resource\n x-dcl-struct-name: EkmConnection\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a EkmConnection\n parameters:\n - name: EkmConnection\n required: true\n description: A full instance of a EkmConnection\n apply:\n description: The function used to apply information about a EkmConnection\n parameters:\n - name: EkmConnection\n required: true\n description: A full instance of a EkmConnection\n list:\n description: The function used to list information about many EkmConnection\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EkmConnection:\n title: EkmConnection\n x-dcl-id: projects/{{project}}/locations/{{location}}/ekmConnections/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - serviceResolvers\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which the EkmConnection was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. This checksum is computed by the server based on\n the value of other fields, and may be sent on update requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the EkmConnection in the format `projects/*/locations/*/ekmConnections/*`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceResolvers:\n type: array\n x-dcl-go-name: ServiceResolvers\n description: A list of ServiceResolvers where the EKM can be reached. There\n should be one ServiceResolver per EKM replica. Currently, only a single\n ServiceResolver is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EkmConnectionServiceResolvers\n required:\n - serviceDirectoryService\n - hostname\n - serverCertificates\n properties:\n endpointFilter:\n type: string\n x-dcl-go-name: EndpointFilter\n description: Optional. The filter applied to the endpoints of the\n resolved service. If no filter is specified, all endpoints will\n be considered. An endpoint will be chosen arbitrarily from the filtered\n list for each request. For endpoint filter syntax and examples,\n see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.\n hostname:\n type: string\n x-dcl-go-name: Hostname\n description: Required. The hostname of the EKM replica used at TLS\n and HTTP layers.\n serverCertificates:\n type: array\n x-dcl-go-name: ServerCertificates\n description: Required. A list of leaf server certificates used to\n authenticate HTTPS connections to the EKM replica. Currently, a\n maximum of 10 Certificate is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EkmConnectionServiceResolversServerCertificates\n required:\n - rawDer\n properties:\n issuer:\n type: string\n x-dcl-go-name: Issuer\n readOnly: true\n description: Output only. The issuer distinguished name in RFC\n 2253 format. Only present if parsed is true.\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n readOnly: true\n description: Output only. The certificate is not valid after\n this time. Only present if parsed is true.\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n readOnly: true\n description: Output only. The certificate is not valid before\n this time. Only present if parsed is true.\n parsed:\n type: boolean\n x-dcl-go-name: Parsed\n readOnly: true\n description: Output only. True if the certificate was parsed\n successfully.\n rawDer:\n type: string\n x-dcl-go-name: RawDer\n description: Required. The raw certificate bytes in DER format.\n serialNumber:\n type: string\n x-dcl-go-name: SerialNumber\n readOnly: true\n description: Output only. The certificate serial number as a\n hex string. Only present if parsed is true.\n sha256Fingerprint:\n type: string\n x-dcl-go-name: Sha256Fingerprint\n readOnly: true\n description: Output only. The SHA-256 certificate fingerprint\n as a hex string. Only present if parsed is true.\n subject:\n type: string\n x-dcl-go-name: Subject\n readOnly: true\n description: Output only. The subject distinguished name in\n RFC 2253 format. Only present if parsed is true.\n subjectAlternativeDnsNames:\n type: array\n x-dcl-go-name: SubjectAlternativeDnsNames\n readOnly: true\n description: Output only. The subject Alternative DNS names.\n Only present if parsed is true.\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceDirectoryService:\n type: string\n x-dcl-go-name: ServiceDirectoryService\n description: Required. The resource name of the Service Directory\n service pointing to an EKM replica, in the format `projects/*/locations/*/namespaces/*/services/*`.\n") +var YAML_ekm_connection = []byte("info:\n title: Cloudkms/EkmConnection\n description: The Cloudkms EkmConnection resource\n x-dcl-struct-name: EkmConnection\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a EkmConnection\n parameters:\n - name: EkmConnection\n required: true\n description: A full instance of a EkmConnection\n apply:\n description: The function used to apply information about a EkmConnection\n parameters:\n - name: EkmConnection\n required: true\n description: A full instance of a EkmConnection\n list:\n description: The function used to list information about many EkmConnection\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EkmConnection:\n title: EkmConnection\n x-dcl-id: projects/{{project}}/locations/{{location}}/ekmConnections/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - serviceResolvers\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which the EkmConnection was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. This checksum is computed by the server based on\n the value of other fields, and may be sent on update requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the EkmConnection in the format `projects/*/locations/*/ekmConnections/*`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceResolvers:\n type: array\n x-dcl-go-name: ServiceResolvers\n description: A list of ServiceResolvers where the EKM can be reached. There\n should be one ServiceResolver per EKM replica. Currently, only a single\n ServiceResolver is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EkmConnectionServiceResolvers\n required:\n - serviceDirectoryService\n - hostname\n - serverCertificates\n properties:\n endpointFilter:\n type: string\n x-dcl-go-name: EndpointFilter\n description: Optional. The filter applied to the endpoints of the\n resolved service. If no filter is specified, all endpoints will\n be considered. An endpoint will be chosen arbitrarily from the filtered\n list for each request. For endpoint filter syntax and examples,\n see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.\n hostname:\n type: string\n x-dcl-go-name: Hostname\n description: Required. The hostname of the EKM replica used at TLS\n and HTTP layers.\n serverCertificates:\n type: array\n x-dcl-go-name: ServerCertificates\n description: Required. A list of leaf server certificates used to\n authenticate HTTPS connections to the EKM replica. Currently, a\n maximum of 10 Certificate is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EkmConnectionServiceResolversServerCertificates\n required:\n - rawDer\n properties:\n issuer:\n type: string\n x-dcl-go-name: Issuer\n readOnly: true\n description: Output only. The issuer distinguished name in RFC\n 2253 format. Only present if parsed is true.\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n readOnly: true\n description: Output only. The certificate is not valid after\n this time. Only present if parsed is true.\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n readOnly: true\n description: Output only. The certificate is not valid before\n this time. Only present if parsed is true.\n parsed:\n type: boolean\n x-dcl-go-name: Parsed\n readOnly: true\n description: Output only. True if the certificate was parsed\n successfully.\n rawDer:\n type: string\n x-dcl-go-name: RawDer\n description: Required. The raw certificate bytes in DER format.\n serialNumber:\n type: string\n x-dcl-go-name: SerialNumber\n readOnly: true\n description: Output only. The certificate serial number as a\n hex string. Only present if parsed is true.\n sha256Fingerprint:\n type: string\n x-dcl-go-name: Sha256Fingerprint\n readOnly: true\n description: Output only. The SHA-256 certificate fingerprint\n as a hex string. Only present if parsed is true.\n subject:\n type: string\n x-dcl-go-name: Subject\n readOnly: true\n description: Output only. The subject distinguished name in\n RFC 2253 format. Only present if parsed is true.\n subjectAlternativeDnsNames:\n type: array\n x-dcl-go-name: SubjectAlternativeDnsNames\n readOnly: true\n description: Output only. The subject Alternative DNS names.\n Only present if parsed is true.\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceDirectoryService:\n type: string\n x-dcl-go-name: ServiceDirectoryService\n description: Required. The resource name of the Service Directory\n service pointing to an EKM replica, in the format `projects/*/locations/*/namespaces/*/services/*`.\n") -// 7633 bytes -// MD5: 35b580ff4d69c82c58e59a3ffcb30ff5 +// 7658 bytes +// MD5: 0f6f552e61e34a2895b90a8641a5ca89 diff --git a/services/google/cloudkms/beta/ekm_connection_schema.go b/services/google/cloudkms/beta/ekm_connection_schema.go index b3d9e54ba9..b166c2094f 100755 --- a/services/google/cloudkms/beta/ekm_connection_schema.go +++ b/services/google/cloudkms/beta/ekm_connection_schema.go @@ -23,6 +23,7 @@ func DCLEkmConnectionSchema() *dcl.Schema { Title: "Cloudkms/EkmConnection", Description: "The Cloudkms EkmConnection resource", StructName: "EkmConnection", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudkms/beta/key_ring.yaml b/services/google/cloudkms/beta/key_ring.yaml index 5aa1384588..8d83193ce0 100755 --- a/services/google/cloudkms/beta/key_ring.yaml +++ b/services/google/cloudkms/beta/key_ring.yaml @@ -15,6 +15,7 @@ info: title: Cloudkms/KeyRing description: The Cloudkms KeyRing resource x-dcl-struct-name: KeyRing + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudkms/beta/key_ring_beta_yaml_embed.go b/services/google/cloudkms/beta/key_ring_beta_yaml_embed.go index e7c52d3e08..7255f19184 100755 --- a/services/google/cloudkms/beta/key_ring_beta_yaml_embed.go +++ b/services/google/cloudkms/beta/key_ring_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudkms/beta/key_ring.yaml -var YAML_key_ring = []byte("info:\n title: Cloudkms/KeyRing\n description: The Cloudkms KeyRing resource\n x-dcl-struct-name: KeyRing\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a KeyRing\n parameters:\n - name: KeyRing\n required: true\n description: A full instance of a KeyRing\n apply:\n description: The function used to apply information about a KeyRing\n parameters:\n - name: KeyRing\n required: true\n description: A full instance of a KeyRing\n list:\n description: The function used to list information about many KeyRing\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n KeyRing:\n title: KeyRing\n x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this KeyRing was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the KeyRing in the format `projects/*/locations/*/keyRings/*`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_key_ring = []byte("info:\n title: Cloudkms/KeyRing\n description: The Cloudkms KeyRing resource\n x-dcl-struct-name: KeyRing\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a KeyRing\n parameters:\n - name: KeyRing\n required: true\n description: A full instance of a KeyRing\n apply:\n description: The function used to apply information about a KeyRing\n parameters:\n - name: KeyRing\n required: true\n description: A full instance of a KeyRing\n list:\n description: The function used to list information about many KeyRing\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n KeyRing:\n title: KeyRing\n x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this KeyRing was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the KeyRing in the format `projects/*/locations/*/keyRings/*`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 1978 bytes -// MD5: a995e4194f25b8a66b1b5c4cb7bd46d2 +// 2003 bytes +// MD5: c7977b0c3ee35444fe20e6dca27b2396 diff --git a/services/google/cloudkms/beta/key_ring_schema.go b/services/google/cloudkms/beta/key_ring_schema.go index c7439b8398..65f6bf56db 100755 --- a/services/google/cloudkms/beta/key_ring_schema.go +++ b/services/google/cloudkms/beta/key_ring_schema.go @@ -23,6 +23,7 @@ func DCLKeyRingSchema() *dcl.Schema { Title: "Cloudkms/KeyRing", Description: "The Cloudkms KeyRing resource", StructName: "KeyRing", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudkms/crypto_key.yaml b/services/google/cloudkms/crypto_key.yaml index 7ed8415985..64662176ea 100755 --- a/services/google/cloudkms/crypto_key.yaml +++ b/services/google/cloudkms/crypto_key.yaml @@ -15,6 +15,7 @@ info: title: Cloudkms/CryptoKey description: The Cloudkms CryptoKey resource x-dcl-struct-name: CryptoKey + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudkms/crypto_key_schema.go b/services/google/cloudkms/crypto_key_schema.go index c64f658533..1e2b9a284d 100755 --- a/services/google/cloudkms/crypto_key_schema.go +++ b/services/google/cloudkms/crypto_key_schema.go @@ -23,6 +23,7 @@ func DCLCryptoKeySchema() *dcl.Schema { Title: "Cloudkms/CryptoKey", Description: "The Cloudkms CryptoKey resource", StructName: "CryptoKey", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudkms/crypto_key_yaml_embed.go b/services/google/cloudkms/crypto_key_yaml_embed.go index 2d013f1944..1598c2b10f 100755 --- a/services/google/cloudkms/crypto_key_yaml_embed.go +++ b/services/google/cloudkms/crypto_key_yaml_embed.go @@ -17,7 +17,7 @@ package cloudkms // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudkms/crypto_key.yaml -var YAML_crypto_key = []byte("info:\n title: Cloudkms/CryptoKey\n description: The Cloudkms CryptoKey resource\n x-dcl-struct-name: CryptoKey\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a CryptoKey\n parameters:\n - name: CryptoKey\n required: true\n description: A full instance of a CryptoKey\n apply:\n description: The function used to apply information about a CryptoKey\n parameters:\n - name: CryptoKey\n required: true\n description: A full instance of a CryptoKey\n list:\n description: The function used to list information about many CryptoKey\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: keyring\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CryptoKey:\n title: CryptoKey\n x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - purpose\n - project\n - location\n - keyRing\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CryptoKey was created.\n x-kubernetes-immutable: true\n destroyScheduledDuration:\n type: string\n x-dcl-go-name: DestroyScheduledDuration\n description: Immutable. The period of time that versions of this key spend\n in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not\n specified at creation time, the default duration is 24 hours.\n x-kubernetes-immutable: true\n importOnly:\n type: boolean\n x-dcl-go-name: ImportOnly\n description: Immutable. Whether this key may contain imported versions only.\n x-kubernetes-immutable: true\n keyRing:\n type: string\n x-dcl-go-name: KeyRing\n description: The key ring for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/KeyRing\n field: name\n parent: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels with user-defined metadata. For more information, see\n [Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys).\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CryptoKey in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n x-kubernetes-immutable: true\n nextRotationTime:\n type: string\n format: date-time\n x-dcl-go-name: NextRotationTime\n description: 'At next_rotation_time, the Key Management Service will automatically:\n 1. Create a new version of this CryptoKey. 2. Mark the new version as\n primary. Key rotations performed manually via CreateCryptoKeyVersion and\n UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with\n purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this\n field must be omitted.'\n primary:\n type: object\n x-dcl-go-name: Primary\n x-dcl-go-type: CryptoKeyPrimary\n readOnly: true\n description: Output only. A copy of the \"primary\" CryptoKeyVersion that\n will be used by Encrypt when this CryptoKey is given in EncryptRequest.name.\n The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion.\n Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys,\n this field will be omitted.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CryptoKeyPrimaryAlgorithmEnum\n readOnly: true\n description: 'Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion\n supports. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n x-kubernetes-immutable: true\n enum:\n - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n - GOOGLE_SYMMETRIC_ENCRYPTION\n - RSA_SIGN_PSS_2048_SHA256\n - RSA_SIGN_PSS_3072_SHA256\n - RSA_SIGN_PSS_4096_SHA256\n - RSA_SIGN_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - RSA_DECRYPT_OAEP_2048_SHA256\n - RSA_DECRYPT_OAEP_3072_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA512\n - EC_SIGN_P256_SHA256\n - EC_SIGN_P384_SHA384\n - EC_SIGN_SECP256K1_SHA256\n - HMAC_SHA256\n - EXTERNAL_SYMMETRIC_ENCRYPTION\n attestation:\n type: object\n x-dcl-go-name: Attestation\n x-dcl-go-type: CryptoKeyPrimaryAttestation\n readOnly: true\n description: Output only. Statement that was generated and signed by\n the HSM at key creation time. Use this statement to verify attributes\n of the key as stored on the HSM, independently of Google. Only provided\n for key versions with protection_level HSM.\n properties:\n certChains:\n type: object\n x-dcl-go-name: CertChains\n x-dcl-go-type: CryptoKeyPrimaryAttestationCertChains\n readOnly: true\n description: Output only. The certificate chains needed to validate\n the attestation\n properties:\n caviumCerts:\n type: array\n x-dcl-go-name: CaviumCerts\n description: Cavium certificate chain corresponding to the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n googleCardCerts:\n type: array\n x-dcl-go-name: GoogleCardCerts\n description: Google card certificate chain corresponding to\n the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n googlePartitionCerts:\n type: array\n x-dcl-go-name: GooglePartitionCerts\n description: Google partition certificate chain corresponding\n to the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: Output only. The attestation data provided by the HSM\n when the key operation was performed.\n x-kubernetes-immutable: true\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CryptoKeyPrimaryAttestationFormatEnum\n readOnly: true\n description: 'Output only. The format of the attestation data. Possible\n values: ATTESTATION_FORMAT_UNSPECIFIED, CAVIUM_V1_COMPRESSED,\n CAVIUM_V2_COMPRESSED'\n x-kubernetes-immutable: true\n enum:\n - ATTESTATION_FORMAT_UNSPECIFIED\n - CAVIUM_V1_COMPRESSED\n - CAVIUM_V2_COMPRESSED\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CryptoKeyVersion was\n created.\n x-kubernetes-immutable: true\n destroyEventTime:\n type: string\n format: date-time\n x-dcl-go-name: DestroyEventTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n was destroyed. Only present if state is DESTROYED.\n x-kubernetes-immutable: true\n destroyTime:\n type: string\n format: date-time\n x-dcl-go-name: DestroyTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.\n x-kubernetes-immutable: true\n externalProtectionLevelOptions:\n type: object\n x-dcl-go-name: ExternalProtectionLevelOptions\n x-dcl-go-type: CryptoKeyPrimaryExternalProtectionLevelOptions\n description: ExternalProtectionLevelOptions stores a group of additional\n fields for configuring a CryptoKeyVersion that are specific to the\n EXTERNAL protection level.\n properties:\n externalKeyUri:\n type: string\n x-dcl-go-name: ExternalKeyUri\n description: The URI for an external resource that this CryptoKeyVersion\n represents.\n generateTime:\n type: string\n format: date-time\n x-dcl-go-name: GenerateTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n was generated.\n x-kubernetes-immutable: true\n importFailureReason:\n type: string\n x-dcl-go-name: ImportFailureReason\n readOnly: true\n description: Output only. The root cause of the most recent import failure.\n Only present if state is IMPORT_FAILED.\n x-kubernetes-immutable: true\n importJob:\n type: string\n x-dcl-go-name: ImportJob\n readOnly: true\n description: Output only. The name of the ImportJob used in the most\n recent import of this CryptoKeyVersion. Only present if the underlying\n key material was imported.\n x-kubernetes-immutable: true\n importTime:\n type: string\n format: date-time\n x-dcl-go-name: ImportTime\n readOnly: true\n description: Output only. The time at which this CryptoKeyVersion's\n key material was most recently imported.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name for this CryptoKeyVersion\n in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n protectionLevel:\n type: string\n x-dcl-go-name: ProtectionLevel\n x-dcl-go-type: CryptoKeyPrimaryProtectionLevelEnum\n readOnly: true\n description: 'Output only. The ProtectionLevel describing how crypto\n operations are performed with this CryptoKeyVersion. Possible values:\n PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n x-kubernetes-immutable: true\n enum:\n - PROTECTION_LEVEL_UNSPECIFIED\n - SOFTWARE\n - HSM\n - EXTERNAL\n - EXTERNAL_VPC\n reimportEligible:\n type: boolean\n x-dcl-go-name: ReimportEligible\n readOnly: true\n description: Output only. Whether or not this key version is eligible\n for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CryptoKeyPrimaryStateEnum\n description: 'The current state of the CryptoKeyVersion. Possible values:\n CRYPTO_KEY_VERSION_STATE_UNSPECIFIED, PENDING_GENERATION, ENABLED,\n DISABLED, DESTROYED, DESTROY_SCHEDULED, PENDING_IMPORT, IMPORT_FAILED'\n enum:\n - CRYPTO_KEY_VERSION_STATE_UNSPECIFIED\n - PENDING_GENERATION\n - ENABLED\n - DISABLED\n - DESTROYED\n - DESTROY_SCHEDULED\n - PENDING_IMPORT\n - IMPORT_FAILED\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: CryptoKeyPurposeEnum\n description: 'Immutable. The immutable purpose of this CryptoKey. Possible\n values: CRYPTO_KEY_PURPOSE_UNSPECIFIED, ENCRYPT_DECRYPT, ASYMMETRIC_SIGN,\n ASYMMETRIC_DECRYPT, MAC'\n x-kubernetes-immutable: true\n enum:\n - CRYPTO_KEY_PURPOSE_UNSPECIFIED\n - ENCRYPT_DECRYPT\n - ASYMMETRIC_SIGN\n - ASYMMETRIC_DECRYPT\n - MAC\n rotationPeriod:\n type: string\n x-dcl-go-name: RotationPeriod\n description: next_rotation_time will be advanced by this period when the\n service automatically rotates a key. Must be at least 24 hours and at\n most 876,000 hours. If rotation_period is set, next_rotation_time must\n also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation.\n For other keys, this field must be omitted.\n versionTemplate:\n type: object\n x-dcl-go-name: VersionTemplate\n x-dcl-go-type: CryptoKeyVersionTemplate\n description: A template describing settings for new CryptoKeyVersion instances.\n The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion\n or auto-rotation are controlled by this template.\n required:\n - algorithm\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CryptoKeyVersionTemplateAlgorithmEnum\n description: 'Required. Algorithm to use when creating a CryptoKeyVersion\n based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION\n is implied if both this field is omitted and CryptoKey.purpose is\n ENCRYPT_DECRYPT. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n enum:\n - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n - GOOGLE_SYMMETRIC_ENCRYPTION\n - RSA_SIGN_PSS_2048_SHA256\n - RSA_SIGN_PSS_3072_SHA256\n - RSA_SIGN_PSS_4096_SHA256\n - RSA_SIGN_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - RSA_DECRYPT_OAEP_2048_SHA256\n - RSA_DECRYPT_OAEP_3072_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA512\n - EC_SIGN_P256_SHA256\n - EC_SIGN_P384_SHA384\n - EC_SIGN_SECP256K1_SHA256\n - HMAC_SHA256\n - EXTERNAL_SYMMETRIC_ENCRYPTION\n protectionLevel:\n type: string\n x-dcl-go-name: ProtectionLevel\n x-dcl-go-type: CryptoKeyVersionTemplateProtectionLevelEnum\n description: 'ProtectionLevel to use when creating a CryptoKeyVersion\n based on this template. Immutable. Defaults to SOFTWARE. Possible\n values: PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n x-kubernetes-immutable: true\n enum:\n - PROTECTION_LEVEL_UNSPECIFIED\n - SOFTWARE\n - HSM\n - EXTERNAL\n - EXTERNAL_VPC\n") +var YAML_crypto_key = []byte("info:\n title: Cloudkms/CryptoKey\n description: The Cloudkms CryptoKey resource\n x-dcl-struct-name: CryptoKey\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a CryptoKey\n parameters:\n - name: CryptoKey\n required: true\n description: A full instance of a CryptoKey\n apply:\n description: The function used to apply information about a CryptoKey\n parameters:\n - name: CryptoKey\n required: true\n description: A full instance of a CryptoKey\n list:\n description: The function used to list information about many CryptoKey\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: keyring\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CryptoKey:\n title: CryptoKey\n x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - purpose\n - project\n - location\n - keyRing\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CryptoKey was created.\n x-kubernetes-immutable: true\n destroyScheduledDuration:\n type: string\n x-dcl-go-name: DestroyScheduledDuration\n description: Immutable. The period of time that versions of this key spend\n in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not\n specified at creation time, the default duration is 24 hours.\n x-kubernetes-immutable: true\n importOnly:\n type: boolean\n x-dcl-go-name: ImportOnly\n description: Immutable. Whether this key may contain imported versions only.\n x-kubernetes-immutable: true\n keyRing:\n type: string\n x-dcl-go-name: KeyRing\n description: The key ring for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/KeyRing\n field: name\n parent: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels with user-defined metadata. For more information, see\n [Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys).\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CryptoKey in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n x-kubernetes-immutable: true\n nextRotationTime:\n type: string\n format: date-time\n x-dcl-go-name: NextRotationTime\n description: 'At next_rotation_time, the Key Management Service will automatically:\n 1. Create a new version of this CryptoKey. 2. Mark the new version as\n primary. Key rotations performed manually via CreateCryptoKeyVersion and\n UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with\n purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this\n field must be omitted.'\n primary:\n type: object\n x-dcl-go-name: Primary\n x-dcl-go-type: CryptoKeyPrimary\n readOnly: true\n description: Output only. A copy of the \"primary\" CryptoKeyVersion that\n will be used by Encrypt when this CryptoKey is given in EncryptRequest.name.\n The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion.\n Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys,\n this field will be omitted.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CryptoKeyPrimaryAlgorithmEnum\n readOnly: true\n description: 'Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion\n supports. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n x-kubernetes-immutable: true\n enum:\n - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n - GOOGLE_SYMMETRIC_ENCRYPTION\n - RSA_SIGN_PSS_2048_SHA256\n - RSA_SIGN_PSS_3072_SHA256\n - RSA_SIGN_PSS_4096_SHA256\n - RSA_SIGN_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - RSA_DECRYPT_OAEP_2048_SHA256\n - RSA_DECRYPT_OAEP_3072_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA512\n - EC_SIGN_P256_SHA256\n - EC_SIGN_P384_SHA384\n - EC_SIGN_SECP256K1_SHA256\n - HMAC_SHA256\n - EXTERNAL_SYMMETRIC_ENCRYPTION\n attestation:\n type: object\n x-dcl-go-name: Attestation\n x-dcl-go-type: CryptoKeyPrimaryAttestation\n readOnly: true\n description: Output only. Statement that was generated and signed by\n the HSM at key creation time. Use this statement to verify attributes\n of the key as stored on the HSM, independently of Google. Only provided\n for key versions with protection_level HSM.\n properties:\n certChains:\n type: object\n x-dcl-go-name: CertChains\n x-dcl-go-type: CryptoKeyPrimaryAttestationCertChains\n readOnly: true\n description: Output only. The certificate chains needed to validate\n the attestation\n properties:\n caviumCerts:\n type: array\n x-dcl-go-name: CaviumCerts\n description: Cavium certificate chain corresponding to the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n googleCardCerts:\n type: array\n x-dcl-go-name: GoogleCardCerts\n description: Google card certificate chain corresponding to\n the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n googlePartitionCerts:\n type: array\n x-dcl-go-name: GooglePartitionCerts\n description: Google partition certificate chain corresponding\n to the attestation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: Output only. The attestation data provided by the HSM\n when the key operation was performed.\n x-kubernetes-immutable: true\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CryptoKeyPrimaryAttestationFormatEnum\n readOnly: true\n description: 'Output only. The format of the attestation data. Possible\n values: ATTESTATION_FORMAT_UNSPECIFIED, CAVIUM_V1_COMPRESSED,\n CAVIUM_V2_COMPRESSED'\n x-kubernetes-immutable: true\n enum:\n - ATTESTATION_FORMAT_UNSPECIFIED\n - CAVIUM_V1_COMPRESSED\n - CAVIUM_V2_COMPRESSED\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CryptoKeyVersion was\n created.\n x-kubernetes-immutable: true\n destroyEventTime:\n type: string\n format: date-time\n x-dcl-go-name: DestroyEventTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n was destroyed. Only present if state is DESTROYED.\n x-kubernetes-immutable: true\n destroyTime:\n type: string\n format: date-time\n x-dcl-go-name: DestroyTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.\n x-kubernetes-immutable: true\n externalProtectionLevelOptions:\n type: object\n x-dcl-go-name: ExternalProtectionLevelOptions\n x-dcl-go-type: CryptoKeyPrimaryExternalProtectionLevelOptions\n description: ExternalProtectionLevelOptions stores a group of additional\n fields for configuring a CryptoKeyVersion that are specific to the\n EXTERNAL protection level.\n properties:\n externalKeyUri:\n type: string\n x-dcl-go-name: ExternalKeyUri\n description: The URI for an external resource that this CryptoKeyVersion\n represents.\n generateTime:\n type: string\n format: date-time\n x-dcl-go-name: GenerateTime\n readOnly: true\n description: Output only. The time this CryptoKeyVersion's key material\n was generated.\n x-kubernetes-immutable: true\n importFailureReason:\n type: string\n x-dcl-go-name: ImportFailureReason\n readOnly: true\n description: Output only. The root cause of the most recent import failure.\n Only present if state is IMPORT_FAILED.\n x-kubernetes-immutable: true\n importJob:\n type: string\n x-dcl-go-name: ImportJob\n readOnly: true\n description: Output only. The name of the ImportJob used in the most\n recent import of this CryptoKeyVersion. Only present if the underlying\n key material was imported.\n x-kubernetes-immutable: true\n importTime:\n type: string\n format: date-time\n x-dcl-go-name: ImportTime\n readOnly: true\n description: Output only. The time at which this CryptoKeyVersion's\n key material was most recently imported.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name for this CryptoKeyVersion\n in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n protectionLevel:\n type: string\n x-dcl-go-name: ProtectionLevel\n x-dcl-go-type: CryptoKeyPrimaryProtectionLevelEnum\n readOnly: true\n description: 'Output only. The ProtectionLevel describing how crypto\n operations are performed with this CryptoKeyVersion. Possible values:\n PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n x-kubernetes-immutable: true\n enum:\n - PROTECTION_LEVEL_UNSPECIFIED\n - SOFTWARE\n - HSM\n - EXTERNAL\n - EXTERNAL_VPC\n reimportEligible:\n type: boolean\n x-dcl-go-name: ReimportEligible\n readOnly: true\n description: Output only. Whether or not this key version is eligible\n for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CryptoKeyPrimaryStateEnum\n description: 'The current state of the CryptoKeyVersion. Possible values:\n CRYPTO_KEY_VERSION_STATE_UNSPECIFIED, PENDING_GENERATION, ENABLED,\n DISABLED, DESTROYED, DESTROY_SCHEDULED, PENDING_IMPORT, IMPORT_FAILED'\n enum:\n - CRYPTO_KEY_VERSION_STATE_UNSPECIFIED\n - PENDING_GENERATION\n - ENABLED\n - DISABLED\n - DESTROYED\n - DESTROY_SCHEDULED\n - PENDING_IMPORT\n - IMPORT_FAILED\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: CryptoKeyPurposeEnum\n description: 'Immutable. The immutable purpose of this CryptoKey. Possible\n values: CRYPTO_KEY_PURPOSE_UNSPECIFIED, ENCRYPT_DECRYPT, ASYMMETRIC_SIGN,\n ASYMMETRIC_DECRYPT, MAC'\n x-kubernetes-immutable: true\n enum:\n - CRYPTO_KEY_PURPOSE_UNSPECIFIED\n - ENCRYPT_DECRYPT\n - ASYMMETRIC_SIGN\n - ASYMMETRIC_DECRYPT\n - MAC\n rotationPeriod:\n type: string\n x-dcl-go-name: RotationPeriod\n description: next_rotation_time will be advanced by this period when the\n service automatically rotates a key. Must be at least 24 hours and at\n most 876,000 hours. If rotation_period is set, next_rotation_time must\n also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation.\n For other keys, this field must be omitted.\n versionTemplate:\n type: object\n x-dcl-go-name: VersionTemplate\n x-dcl-go-type: CryptoKeyVersionTemplate\n description: A template describing settings for new CryptoKeyVersion instances.\n The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion\n or auto-rotation are controlled by this template.\n required:\n - algorithm\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CryptoKeyVersionTemplateAlgorithmEnum\n description: 'Required. Algorithm to use when creating a CryptoKeyVersion\n based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION\n is implied if both this field is omitted and CryptoKey.purpose is\n ENCRYPT_DECRYPT. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n enum:\n - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n - GOOGLE_SYMMETRIC_ENCRYPTION\n - RSA_SIGN_PSS_2048_SHA256\n - RSA_SIGN_PSS_3072_SHA256\n - RSA_SIGN_PSS_4096_SHA256\n - RSA_SIGN_PSS_4096_SHA512\n - RSA_SIGN_PKCS1_2048_SHA256\n - RSA_SIGN_PKCS1_3072_SHA256\n - RSA_SIGN_PKCS1_4096_SHA256\n - RSA_SIGN_PKCS1_4096_SHA512\n - RSA_DECRYPT_OAEP_2048_SHA256\n - RSA_DECRYPT_OAEP_3072_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA256\n - RSA_DECRYPT_OAEP_4096_SHA512\n - EC_SIGN_P256_SHA256\n - EC_SIGN_P384_SHA384\n - EC_SIGN_SECP256K1_SHA256\n - HMAC_SHA256\n - EXTERNAL_SYMMETRIC_ENCRYPTION\n protectionLevel:\n type: string\n x-dcl-go-name: ProtectionLevel\n x-dcl-go-type: CryptoKeyVersionTemplateProtectionLevelEnum\n description: 'ProtectionLevel to use when creating a CryptoKeyVersion\n based on this template. Immutable. Defaults to SOFTWARE. Possible\n values: PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n x-kubernetes-immutable: true\n enum:\n - PROTECTION_LEVEL_UNSPECIFIED\n - SOFTWARE\n - HSM\n - EXTERNAL\n - EXTERNAL_VPC\n") -// 18564 bytes -// MD5: b4145dc7877c9b7a332952dd9c022e82 +// 18589 bytes +// MD5: c5e2cf8f49bbebb6efed3e4a9c686eca diff --git a/services/google/cloudkms/ekm_connection.yaml b/services/google/cloudkms/ekm_connection.yaml index 7146d3bdc6..875046e371 100755 --- a/services/google/cloudkms/ekm_connection.yaml +++ b/services/google/cloudkms/ekm_connection.yaml @@ -15,6 +15,7 @@ info: title: Cloudkms/EkmConnection description: The Cloudkms EkmConnection resource x-dcl-struct-name: EkmConnection + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudkms/ekm_connection_schema.go b/services/google/cloudkms/ekm_connection_schema.go index c7a5dc5306..e2f36360d1 100755 --- a/services/google/cloudkms/ekm_connection_schema.go +++ b/services/google/cloudkms/ekm_connection_schema.go @@ -23,6 +23,7 @@ func DCLEkmConnectionSchema() *dcl.Schema { Title: "Cloudkms/EkmConnection", Description: "The Cloudkms EkmConnection resource", StructName: "EkmConnection", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudkms/ekm_connection_yaml_embed.go b/services/google/cloudkms/ekm_connection_yaml_embed.go index 572804bd23..ca06fe9e74 100755 --- a/services/google/cloudkms/ekm_connection_yaml_embed.go +++ b/services/google/cloudkms/ekm_connection_yaml_embed.go @@ -17,7 +17,7 @@ package cloudkms // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudkms/ekm_connection.yaml -var YAML_ekm_connection = []byte("info:\n title: Cloudkms/EkmConnection\n description: The Cloudkms EkmConnection resource\n x-dcl-struct-name: EkmConnection\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a EkmConnection\n parameters:\n - name: EkmConnection\n required: true\n description: A full instance of a EkmConnection\n apply:\n description: The function used to apply information about a EkmConnection\n parameters:\n - name: EkmConnection\n required: true\n description: A full instance of a EkmConnection\n list:\n description: The function used to list information about many EkmConnection\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EkmConnection:\n title: EkmConnection\n x-dcl-id: projects/{{project}}/locations/{{location}}/ekmConnections/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - serviceResolvers\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which the EkmConnection was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. This checksum is computed by the server based on\n the value of other fields, and may be sent on update requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the EkmConnection in the format `projects/*/locations/*/ekmConnections/*`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceResolvers:\n type: array\n x-dcl-go-name: ServiceResolvers\n description: A list of ServiceResolvers where the EKM can be reached. There\n should be one ServiceResolver per EKM replica. Currently, only a single\n ServiceResolver is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EkmConnectionServiceResolvers\n required:\n - serviceDirectoryService\n - hostname\n - serverCertificates\n properties:\n endpointFilter:\n type: string\n x-dcl-go-name: EndpointFilter\n description: Optional. The filter applied to the endpoints of the\n resolved service. If no filter is specified, all endpoints will\n be considered. An endpoint will be chosen arbitrarily from the filtered\n list for each request. For endpoint filter syntax and examples,\n see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.\n hostname:\n type: string\n x-dcl-go-name: Hostname\n description: Required. The hostname of the EKM replica used at TLS\n and HTTP layers.\n serverCertificates:\n type: array\n x-dcl-go-name: ServerCertificates\n description: Required. A list of leaf server certificates used to\n authenticate HTTPS connections to the EKM replica. Currently, a\n maximum of 10 Certificate is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EkmConnectionServiceResolversServerCertificates\n required:\n - rawDer\n properties:\n issuer:\n type: string\n x-dcl-go-name: Issuer\n readOnly: true\n description: Output only. The issuer distinguished name in RFC\n 2253 format. Only present if parsed is true.\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n readOnly: true\n description: Output only. The certificate is not valid after\n this time. Only present if parsed is true.\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n readOnly: true\n description: Output only. The certificate is not valid before\n this time. Only present if parsed is true.\n parsed:\n type: boolean\n x-dcl-go-name: Parsed\n readOnly: true\n description: Output only. True if the certificate was parsed\n successfully.\n rawDer:\n type: string\n x-dcl-go-name: RawDer\n description: Required. The raw certificate bytes in DER format.\n serialNumber:\n type: string\n x-dcl-go-name: SerialNumber\n readOnly: true\n description: Output only. The certificate serial number as a\n hex string. Only present if parsed is true.\n sha256Fingerprint:\n type: string\n x-dcl-go-name: Sha256Fingerprint\n readOnly: true\n description: Output only. The SHA-256 certificate fingerprint\n as a hex string. Only present if parsed is true.\n subject:\n type: string\n x-dcl-go-name: Subject\n readOnly: true\n description: Output only. The subject distinguished name in\n RFC 2253 format. Only present if parsed is true.\n subjectAlternativeDnsNames:\n type: array\n x-dcl-go-name: SubjectAlternativeDnsNames\n readOnly: true\n description: Output only. The subject Alternative DNS names.\n Only present if parsed is true.\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceDirectoryService:\n type: string\n x-dcl-go-name: ServiceDirectoryService\n description: Required. The resource name of the Service Directory\n service pointing to an EKM replica, in the format `projects/*/locations/*/namespaces/*/services/*`.\n") +var YAML_ekm_connection = []byte("info:\n title: Cloudkms/EkmConnection\n description: The Cloudkms EkmConnection resource\n x-dcl-struct-name: EkmConnection\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a EkmConnection\n parameters:\n - name: EkmConnection\n required: true\n description: A full instance of a EkmConnection\n apply:\n description: The function used to apply information about a EkmConnection\n parameters:\n - name: EkmConnection\n required: true\n description: A full instance of a EkmConnection\n list:\n description: The function used to list information about many EkmConnection\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EkmConnection:\n title: EkmConnection\n x-dcl-id: projects/{{project}}/locations/{{location}}/ekmConnections/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - serviceResolvers\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which the EkmConnection was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. This checksum is computed by the server based on\n the value of other fields, and may be sent on update requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the EkmConnection in the format `projects/*/locations/*/ekmConnections/*`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceResolvers:\n type: array\n x-dcl-go-name: ServiceResolvers\n description: A list of ServiceResolvers where the EKM can be reached. There\n should be one ServiceResolver per EKM replica. Currently, only a single\n ServiceResolver is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EkmConnectionServiceResolvers\n required:\n - serviceDirectoryService\n - hostname\n - serverCertificates\n properties:\n endpointFilter:\n type: string\n x-dcl-go-name: EndpointFilter\n description: Optional. The filter applied to the endpoints of the\n resolved service. If no filter is specified, all endpoints will\n be considered. An endpoint will be chosen arbitrarily from the filtered\n list for each request. For endpoint filter syntax and examples,\n see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.\n hostname:\n type: string\n x-dcl-go-name: Hostname\n description: Required. The hostname of the EKM replica used at TLS\n and HTTP layers.\n serverCertificates:\n type: array\n x-dcl-go-name: ServerCertificates\n description: Required. A list of leaf server certificates used to\n authenticate HTTPS connections to the EKM replica. Currently, a\n maximum of 10 Certificate is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EkmConnectionServiceResolversServerCertificates\n required:\n - rawDer\n properties:\n issuer:\n type: string\n x-dcl-go-name: Issuer\n readOnly: true\n description: Output only. The issuer distinguished name in RFC\n 2253 format. Only present if parsed is true.\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n readOnly: true\n description: Output only. The certificate is not valid after\n this time. Only present if parsed is true.\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n readOnly: true\n description: Output only. The certificate is not valid before\n this time. Only present if parsed is true.\n parsed:\n type: boolean\n x-dcl-go-name: Parsed\n readOnly: true\n description: Output only. True if the certificate was parsed\n successfully.\n rawDer:\n type: string\n x-dcl-go-name: RawDer\n description: Required. The raw certificate bytes in DER format.\n serialNumber:\n type: string\n x-dcl-go-name: SerialNumber\n readOnly: true\n description: Output only. The certificate serial number as a\n hex string. Only present if parsed is true.\n sha256Fingerprint:\n type: string\n x-dcl-go-name: Sha256Fingerprint\n readOnly: true\n description: Output only. The SHA-256 certificate fingerprint\n as a hex string. Only present if parsed is true.\n subject:\n type: string\n x-dcl-go-name: Subject\n readOnly: true\n description: Output only. The subject distinguished name in\n RFC 2253 format. Only present if parsed is true.\n subjectAlternativeDnsNames:\n type: array\n x-dcl-go-name: SubjectAlternativeDnsNames\n readOnly: true\n description: Output only. The subject Alternative DNS names.\n Only present if parsed is true.\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceDirectoryService:\n type: string\n x-dcl-go-name: ServiceDirectoryService\n description: Required. The resource name of the Service Directory\n service pointing to an EKM replica, in the format `projects/*/locations/*/namespaces/*/services/*`.\n") -// 7633 bytes -// MD5: 35b580ff4d69c82c58e59a3ffcb30ff5 +// 7658 bytes +// MD5: 0f6f552e61e34a2895b90a8641a5ca89 diff --git a/services/google/cloudkms/key_ring.yaml b/services/google/cloudkms/key_ring.yaml index 5aa1384588..8d83193ce0 100755 --- a/services/google/cloudkms/key_ring.yaml +++ b/services/google/cloudkms/key_ring.yaml @@ -15,6 +15,7 @@ info: title: Cloudkms/KeyRing description: The Cloudkms KeyRing resource x-dcl-struct-name: KeyRing + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudkms/key_ring_schema.go b/services/google/cloudkms/key_ring_schema.go index a17f2a9c4f..3563b5ccd9 100755 --- a/services/google/cloudkms/key_ring_schema.go +++ b/services/google/cloudkms/key_ring_schema.go @@ -23,6 +23,7 @@ func DCLKeyRingSchema() *dcl.Schema { Title: "Cloudkms/KeyRing", Description: "The Cloudkms KeyRing resource", StructName: "KeyRing", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudkms/key_ring_yaml_embed.go b/services/google/cloudkms/key_ring_yaml_embed.go index 733c977388..85daa9f232 100755 --- a/services/google/cloudkms/key_ring_yaml_embed.go +++ b/services/google/cloudkms/key_ring_yaml_embed.go @@ -17,7 +17,7 @@ package cloudkms // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudkms/key_ring.yaml -var YAML_key_ring = []byte("info:\n title: Cloudkms/KeyRing\n description: The Cloudkms KeyRing resource\n x-dcl-struct-name: KeyRing\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a KeyRing\n parameters:\n - name: KeyRing\n required: true\n description: A full instance of a KeyRing\n apply:\n description: The function used to apply information about a KeyRing\n parameters:\n - name: KeyRing\n required: true\n description: A full instance of a KeyRing\n list:\n description: The function used to list information about many KeyRing\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n KeyRing:\n title: KeyRing\n x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this KeyRing was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the KeyRing in the format `projects/*/locations/*/keyRings/*`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_key_ring = []byte("info:\n title: Cloudkms/KeyRing\n description: The Cloudkms KeyRing resource\n x-dcl-struct-name: KeyRing\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a KeyRing\n parameters:\n - name: KeyRing\n required: true\n description: A full instance of a KeyRing\n apply:\n description: The function used to apply information about a KeyRing\n parameters:\n - name: KeyRing\n required: true\n description: A full instance of a KeyRing\n list:\n description: The function used to list information about many KeyRing\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n KeyRing:\n title: KeyRing\n x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this KeyRing was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the KeyRing in the format `projects/*/locations/*/keyRings/*`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 1978 bytes -// MD5: a995e4194f25b8a66b1b5c4cb7bd46d2 +// 2003 bytes +// MD5: c7977b0c3ee35444fe20e6dca27b2396 diff --git a/services/google/cloudresourcemanager/alpha/folder.yaml b/services/google/cloudresourcemanager/alpha/folder.yaml index e4c0fe4361..32adddd26d 100755 --- a/services/google/cloudresourcemanager/alpha/folder.yaml +++ b/services/google/cloudresourcemanager/alpha/folder.yaml @@ -15,6 +15,7 @@ info: title: CloudResourceManager/Folder description: The CloudResourceManager Folder resource x-dcl-struct-name: Folder + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudresourcemanager/alpha/folder_alpha_yaml_embed.go b/services/google/cloudresourcemanager/alpha/folder_alpha_yaml_embed.go index 24aa944e0d..ec1b11359a 100755 --- a/services/google/cloudresourcemanager/alpha/folder_alpha_yaml_embed.go +++ b/services/google/cloudresourcemanager/alpha/folder_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudresourcemanager/alpha/folder.yaml -var YAML_folder = []byte("info:\n title: CloudResourceManager/Folder\n description: The CloudResourceManager Folder resource\n x-dcl-struct-name: Folder\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n apply:\n description: The function used to apply information about a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n delete:\n description: The function used to delete a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n deleteAll:\n description: The function used to delete all Folder\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Folder\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Folder:\n title: Folder\n x-dcl-id: folders/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when the Folder was created. Assigned\n by the server.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Timestamp when the Folder was requested to be\n deleted.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'The folder''s display name. A folder''s display name must\n be unique amongst its siblings, e.g. no two folders with the same parent\n can share the same display name. The display name must start and end with\n a letter or digit, may contain letters, digits, spaces, hyphens and underscores\n and can be no longer than 30 characters. This is captured by the regular\n expression: `[p{L}p{N}]([p{L}p{N}_- ]{0,28}[p{L}p{N}])?`.'\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A checksum computed by the server based on the\n current value of the Folder resource. This may be sent on update and delete\n requests to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the Folder.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Required. The Folder's parent's resource name. Updates to the\n folder's parent must be performed via MoveFolder.\n x-dcl-forward-slash-allowed: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: FolderStateEnum\n readOnly: true\n description: 'Output only. The lifecycle state of the folder. Possible values:\n LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when the Folder was last modified.\n x-kubernetes-immutable: true\n") +var YAML_folder = []byte("info:\n title: CloudResourceManager/Folder\n description: The CloudResourceManager Folder resource\n x-dcl-struct-name: Folder\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n apply:\n description: The function used to apply information about a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n delete:\n description: The function used to delete a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n deleteAll:\n description: The function used to delete all Folder\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Folder\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Folder:\n title: Folder\n x-dcl-id: folders/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when the Folder was created. Assigned\n by the server.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Timestamp when the Folder was requested to be\n deleted.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'The folder''s display name. A folder''s display name must\n be unique amongst its siblings, e.g. no two folders with the same parent\n can share the same display name. The display name must start and end with\n a letter or digit, may contain letters, digits, spaces, hyphens and underscores\n and can be no longer than 30 characters. This is captured by the regular\n expression: `[p{L}p{N}]([p{L}p{N}_- ]{0,28}[p{L}p{N}])?`.'\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A checksum computed by the server based on the\n current value of the Folder resource. This may be sent on update and delete\n requests to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the Folder.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Required. The Folder's parent's resource name. Updates to the\n folder's parent must be performed via MoveFolder.\n x-dcl-forward-slash-allowed: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: FolderStateEnum\n readOnly: true\n description: 'Output only. The lifecycle state of the folder. Possible values:\n LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when the Folder was last modified.\n x-kubernetes-immutable: true\n") -// 3896 bytes -// MD5: a204e2566be9c3ea2227c0e40b87a34c +// 3921 bytes +// MD5: c3dcaf95ec65f067b770de973b9dcb2c diff --git a/services/google/cloudresourcemanager/alpha/folder_schema.go b/services/google/cloudresourcemanager/alpha/folder_schema.go index 75907acbcb..2697c6c830 100755 --- a/services/google/cloudresourcemanager/alpha/folder_schema.go +++ b/services/google/cloudresourcemanager/alpha/folder_schema.go @@ -23,6 +23,7 @@ func DCLFolderSchema() *dcl.Schema { Title: "CloudResourceManager/Folder", Description: "The CloudResourceManager Folder resource", StructName: "Folder", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudresourcemanager/alpha/project.yaml b/services/google/cloudresourcemanager/alpha/project.yaml index 187d4296bc..d8b8f41755 100755 --- a/services/google/cloudresourcemanager/alpha/project.yaml +++ b/services/google/cloudresourcemanager/alpha/project.yaml @@ -15,6 +15,7 @@ info: title: CloudResourceManager/Project description: The CloudResourceManager Project resource x-dcl-struct-name: Project + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudresourcemanager/alpha/project_alpha_yaml_embed.go b/services/google/cloudresourcemanager/alpha/project_alpha_yaml_embed.go index 76c04963cd..1f0d1c2bae 100755 --- a/services/google/cloudresourcemanager/alpha/project_alpha_yaml_embed.go +++ b/services/google/cloudresourcemanager/alpha/project_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudresourcemanager/alpha/project.yaml -var YAML_project = []byte("info:\n title: CloudResourceManager/Project\n description: The CloudResourceManager Project resource\n x-dcl-struct-name: Project\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n apply:\n description: The function used to apply information about a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n delete:\n description: The function used to delete a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n deleteAll:\n description: The function used to delete all Project\n parameters: []\n list:\n description: The function used to list information about many Project\n parameters: []\ncomponents:\n schemas:\n Project:\n title: Project\n x-dcl-id: projects/{{name}}\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n properties:\n displayname:\n type: string\n x-dcl-go-name: DisplayName\n description: 'The optional user-assigned display name of the Project. When\n present it must be between 4 to 30 characters. Allowed characters are:\n lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote,\n space, and exclamation point. Example: `My Project` Read-write.'\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: User-specified labels.\n lifecycleState:\n type: string\n x-dcl-go-name: LifecycleState\n x-dcl-go-type: ProjectLifecycleStateEnum\n readOnly: true\n description: 'The Project lifecycle state. Read-only. Possible values: LIFECYCLE_STATE_UNSPECIFIED,\n ACTIVE, DELETE_REQUESTED, DELETE_IN_PROGRESS'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n - DELETE_IN_PROGRESS\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The unique, user-assigned ID of the Project. It must be 6\n to 30 lowercase letters, digits, or hyphens. It must start with a letter.\n Trailing hyphens are prohibited. Example: `tokyo-rain-123` Read-only after\n creation.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'An optional reference to a parent Resource. Supported values\n include organizations/ and folders/. Once set, the\n parent cannot be cleared. The `parent` can be set on creation or using\n the `UpdateProject` method; the end user must have the `resourcemanager.projects.create`\n permission on the parent. Read-write. '\n x-kubernetes-immutable: true\n projectNumber:\n type: integer\n format: int64\n x-dcl-go-name: ProjectNumber\n readOnly: true\n description: 'The number uniquely identifying the project. Example: `415104041262`\n Read-only. '\n x-kubernetes-immutable: true\n") +var YAML_project = []byte("info:\n title: CloudResourceManager/Project\n description: The CloudResourceManager Project resource\n x-dcl-struct-name: Project\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n apply:\n description: The function used to apply information about a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n delete:\n description: The function used to delete a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n deleteAll:\n description: The function used to delete all Project\n parameters: []\n list:\n description: The function used to list information about many Project\n parameters: []\ncomponents:\n schemas:\n Project:\n title: Project\n x-dcl-id: projects/{{name}}\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n properties:\n displayname:\n type: string\n x-dcl-go-name: DisplayName\n description: 'The optional user-assigned display name of the Project. When\n present it must be between 4 to 30 characters. Allowed characters are:\n lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote,\n space, and exclamation point. Example: `My Project` Read-write.'\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: User-specified labels.\n lifecycleState:\n type: string\n x-dcl-go-name: LifecycleState\n x-dcl-go-type: ProjectLifecycleStateEnum\n readOnly: true\n description: 'The Project lifecycle state. Read-only. Possible values: LIFECYCLE_STATE_UNSPECIFIED,\n ACTIVE, DELETE_REQUESTED, DELETE_IN_PROGRESS'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n - DELETE_IN_PROGRESS\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The unique, user-assigned ID of the Project. It must be 6\n to 30 lowercase letters, digits, or hyphens. It must start with a letter.\n Trailing hyphens are prohibited. Example: `tokyo-rain-123` Read-only after\n creation.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'An optional reference to a parent Resource. Supported values\n include organizations/ and folders/. Once set, the\n parent cannot be cleared. The `parent` can be set on creation or using\n the `UpdateProject` method; the end user must have the `resourcemanager.projects.create`\n permission on the parent. Read-write. '\n x-kubernetes-immutable: true\n projectNumber:\n type: integer\n format: int64\n x-dcl-go-name: ProjectNumber\n readOnly: true\n description: 'The number uniquely identifying the project. Example: `415104041262`\n Read-only. '\n x-kubernetes-immutable: true\n") -// 3391 bytes -// MD5: 75cb1ba4376671664de2e5f1600d1312 +// 3416 bytes +// MD5: eda6a742c18b6080e94b5bcb768ce823 diff --git a/services/google/cloudresourcemanager/alpha/project_schema.go b/services/google/cloudresourcemanager/alpha/project_schema.go index d714abc7d8..2deb54ab75 100755 --- a/services/google/cloudresourcemanager/alpha/project_schema.go +++ b/services/google/cloudresourcemanager/alpha/project_schema.go @@ -23,6 +23,7 @@ func DCLProjectSchema() *dcl.Schema { Title: "CloudResourceManager/Project", Description: "The CloudResourceManager Project resource", StructName: "Project", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudresourcemanager/alpha/tag_key.yaml b/services/google/cloudresourcemanager/alpha/tag_key.yaml index 1a91b97c59..964cd493e9 100755 --- a/services/google/cloudresourcemanager/alpha/tag_key.yaml +++ b/services/google/cloudresourcemanager/alpha/tag_key.yaml @@ -15,6 +15,7 @@ info: title: CloudResourceManager/TagKey description: The CloudResourceManager TagKey resource x-dcl-struct-name: TagKey + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudresourcemanager/alpha/tag_key_alpha_yaml_embed.go b/services/google/cloudresourcemanager/alpha/tag_key_alpha_yaml_embed.go index 1e5ddfff67..124638a7b0 100755 --- a/services/google/cloudresourcemanager/alpha/tag_key_alpha_yaml_embed.go +++ b/services/google/cloudresourcemanager/alpha/tag_key_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudresourcemanager/alpha/tag_key.yaml -var YAML_tag_key = []byte("info:\n title: CloudResourceManager/TagKey\n description: The CloudResourceManager TagKey resource\n x-dcl-struct-name: TagKey\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\n apply:\n description: The function used to apply information about a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\n delete:\n description: The function used to delete a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\ncomponents:\n schemas:\n TagKey:\n title: TagKey\n x-dcl-id: tagKeys/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - parent\n - shortName\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Creation time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. User-assigned description of the TagKey. Must not\n exceed 256 characters. Read-write.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Entity tag which users can pass to prevent race conditions.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The generated numeric id for the TagKey.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n namespacedName:\n type: string\n x-dcl-go-name: NamespacedName\n readOnly: true\n description: Output only. Immutable. Namespaced name of the TagKey.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Immutable. The resource name of the new TagKey's parent. Must\n be of the form `organizations/{org_id}`.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: TagKeyPurposeEnum\n description: 'Optional. A purpose denotes that this Tag is intended for\n use in policies of a specific policy engine, and will involve that policy\n engine in management operations involving this Tag. A purpose does not\n grant a policy engine exclusive rights to the Tag, and it may be referenced\n by other policy engines. A purpose cannot be changed once set. Possible\n values: PURPOSE_UNSPECIFIED, GCE_FIREWALL'\n x-kubernetes-immutable: true\n enum:\n - PURPOSE_UNSPECIFIED\n - GCE_FIREWALL\n purposeData:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: PurposeData\n description: Optional. Purpose data corresponds to the policy system that\n the tag is intended for. See documentation for `Purpose` for formatting\n of this field. Purpose data cannot be changed once set.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n description: Required. Immutable. The user friendly name for a TagKey. The\n short name should be unique for TagKeys within the same tag namespace.\n The short name must be 1-63 characters, beginning and ending with an alphanumeric\n character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and\n alphanumerics between.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Update time.\n x-kubernetes-immutable: true\n") +var YAML_tag_key = []byte("info:\n title: CloudResourceManager/TagKey\n description: The CloudResourceManager TagKey resource\n x-dcl-struct-name: TagKey\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\n apply:\n description: The function used to apply information about a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\n delete:\n description: The function used to delete a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\ncomponents:\n schemas:\n TagKey:\n title: TagKey\n x-dcl-id: tagKeys/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - parent\n - shortName\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Creation time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. User-assigned description of the TagKey. Must not\n exceed 256 characters. Read-write.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Entity tag which users can pass to prevent race conditions.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The generated numeric id for the TagKey.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n namespacedName:\n type: string\n x-dcl-go-name: NamespacedName\n readOnly: true\n description: Output only. Immutable. Namespaced name of the TagKey.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Immutable. The resource name of the new TagKey's parent. Must\n be of the form `organizations/{org_id}`.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: TagKeyPurposeEnum\n description: 'Optional. A purpose denotes that this Tag is intended for\n use in policies of a specific policy engine, and will involve that policy\n engine in management operations involving this Tag. A purpose does not\n grant a policy engine exclusive rights to the Tag, and it may be referenced\n by other policy engines. A purpose cannot be changed once set. Possible\n values: PURPOSE_UNSPECIFIED, GCE_FIREWALL'\n x-kubernetes-immutable: true\n enum:\n - PURPOSE_UNSPECIFIED\n - GCE_FIREWALL\n purposeData:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: PurposeData\n description: Optional. Purpose data corresponds to the policy system that\n the tag is intended for. See documentation for `Purpose` for formatting\n of this field. Purpose data cannot be changed once set.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n description: Required. Immutable. The user friendly name for a TagKey. The\n short name should be unique for TagKeys within the same tag namespace.\n The short name must be 1-63 characters, beginning and ending with an alphanumeric\n character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and\n alphanumerics between.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Update time.\n x-kubernetes-immutable: true\n") -// 4129 bytes -// MD5: f86f424a3786347de756c5963a8c87a5 +// 4154 bytes +// MD5: ffaf39e64d05719b7e7067c789c540b0 diff --git a/services/google/cloudresourcemanager/alpha/tag_key_schema.go b/services/google/cloudresourcemanager/alpha/tag_key_schema.go index 8e83a5a7ea..36fd25819a 100755 --- a/services/google/cloudresourcemanager/alpha/tag_key_schema.go +++ b/services/google/cloudresourcemanager/alpha/tag_key_schema.go @@ -23,6 +23,7 @@ func DCLTagKeySchema() *dcl.Schema { Title: "CloudResourceManager/TagKey", Description: "The CloudResourceManager TagKey resource", StructName: "TagKey", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudresourcemanager/beta/folder.yaml b/services/google/cloudresourcemanager/beta/folder.yaml index e4c0fe4361..32adddd26d 100755 --- a/services/google/cloudresourcemanager/beta/folder.yaml +++ b/services/google/cloudresourcemanager/beta/folder.yaml @@ -15,6 +15,7 @@ info: title: CloudResourceManager/Folder description: The CloudResourceManager Folder resource x-dcl-struct-name: Folder + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudresourcemanager/beta/folder_beta_yaml_embed.go b/services/google/cloudresourcemanager/beta/folder_beta_yaml_embed.go index 284af8fd44..1a9585f0c9 100755 --- a/services/google/cloudresourcemanager/beta/folder_beta_yaml_embed.go +++ b/services/google/cloudresourcemanager/beta/folder_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudresourcemanager/beta/folder.yaml -var YAML_folder = []byte("info:\n title: CloudResourceManager/Folder\n description: The CloudResourceManager Folder resource\n x-dcl-struct-name: Folder\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n apply:\n description: The function used to apply information about a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n delete:\n description: The function used to delete a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n deleteAll:\n description: The function used to delete all Folder\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Folder\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Folder:\n title: Folder\n x-dcl-id: folders/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when the Folder was created. Assigned\n by the server.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Timestamp when the Folder was requested to be\n deleted.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'The folder''s display name. A folder''s display name must\n be unique amongst its siblings, e.g. no two folders with the same parent\n can share the same display name. The display name must start and end with\n a letter or digit, may contain letters, digits, spaces, hyphens and underscores\n and can be no longer than 30 characters. This is captured by the regular\n expression: `[p{L}p{N}]([p{L}p{N}_- ]{0,28}[p{L}p{N}])?`.'\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A checksum computed by the server based on the\n current value of the Folder resource. This may be sent on update and delete\n requests to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the Folder.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Required. The Folder's parent's resource name. Updates to the\n folder's parent must be performed via MoveFolder.\n x-dcl-forward-slash-allowed: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: FolderStateEnum\n readOnly: true\n description: 'Output only. The lifecycle state of the folder. Possible values:\n LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when the Folder was last modified.\n x-kubernetes-immutable: true\n") +var YAML_folder = []byte("info:\n title: CloudResourceManager/Folder\n description: The CloudResourceManager Folder resource\n x-dcl-struct-name: Folder\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n apply:\n description: The function used to apply information about a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n delete:\n description: The function used to delete a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n deleteAll:\n description: The function used to delete all Folder\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Folder\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Folder:\n title: Folder\n x-dcl-id: folders/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when the Folder was created. Assigned\n by the server.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Timestamp when the Folder was requested to be\n deleted.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'The folder''s display name. A folder''s display name must\n be unique amongst its siblings, e.g. no two folders with the same parent\n can share the same display name. The display name must start and end with\n a letter or digit, may contain letters, digits, spaces, hyphens and underscores\n and can be no longer than 30 characters. This is captured by the regular\n expression: `[p{L}p{N}]([p{L}p{N}_- ]{0,28}[p{L}p{N}])?`.'\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A checksum computed by the server based on the\n current value of the Folder resource. This may be sent on update and delete\n requests to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the Folder.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Required. The Folder's parent's resource name. Updates to the\n folder's parent must be performed via MoveFolder.\n x-dcl-forward-slash-allowed: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: FolderStateEnum\n readOnly: true\n description: 'Output only. The lifecycle state of the folder. Possible values:\n LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when the Folder was last modified.\n x-kubernetes-immutable: true\n") -// 3896 bytes -// MD5: a204e2566be9c3ea2227c0e40b87a34c +// 3921 bytes +// MD5: c3dcaf95ec65f067b770de973b9dcb2c diff --git a/services/google/cloudresourcemanager/beta/folder_schema.go b/services/google/cloudresourcemanager/beta/folder_schema.go index 33789c4be3..e015d1929e 100755 --- a/services/google/cloudresourcemanager/beta/folder_schema.go +++ b/services/google/cloudresourcemanager/beta/folder_schema.go @@ -23,6 +23,7 @@ func DCLFolderSchema() *dcl.Schema { Title: "CloudResourceManager/Folder", Description: "The CloudResourceManager Folder resource", StructName: "Folder", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudresourcemanager/beta/project.yaml b/services/google/cloudresourcemanager/beta/project.yaml index 187d4296bc..d8b8f41755 100755 --- a/services/google/cloudresourcemanager/beta/project.yaml +++ b/services/google/cloudresourcemanager/beta/project.yaml @@ -15,6 +15,7 @@ info: title: CloudResourceManager/Project description: The CloudResourceManager Project resource x-dcl-struct-name: Project + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudresourcemanager/beta/project_beta_yaml_embed.go b/services/google/cloudresourcemanager/beta/project_beta_yaml_embed.go index 518c62461f..ded3da0df1 100755 --- a/services/google/cloudresourcemanager/beta/project_beta_yaml_embed.go +++ b/services/google/cloudresourcemanager/beta/project_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudresourcemanager/beta/project.yaml -var YAML_project = []byte("info:\n title: CloudResourceManager/Project\n description: The CloudResourceManager Project resource\n x-dcl-struct-name: Project\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n apply:\n description: The function used to apply information about a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n delete:\n description: The function used to delete a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n deleteAll:\n description: The function used to delete all Project\n parameters: []\n list:\n description: The function used to list information about many Project\n parameters: []\ncomponents:\n schemas:\n Project:\n title: Project\n x-dcl-id: projects/{{name}}\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n properties:\n displayname:\n type: string\n x-dcl-go-name: DisplayName\n description: 'The optional user-assigned display name of the Project. When\n present it must be between 4 to 30 characters. Allowed characters are:\n lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote,\n space, and exclamation point. Example: `My Project` Read-write.'\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: User-specified labels.\n lifecycleState:\n type: string\n x-dcl-go-name: LifecycleState\n x-dcl-go-type: ProjectLifecycleStateEnum\n readOnly: true\n description: 'The Project lifecycle state. Read-only. Possible values: LIFECYCLE_STATE_UNSPECIFIED,\n ACTIVE, DELETE_REQUESTED, DELETE_IN_PROGRESS'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n - DELETE_IN_PROGRESS\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The unique, user-assigned ID of the Project. It must be 6\n to 30 lowercase letters, digits, or hyphens. It must start with a letter.\n Trailing hyphens are prohibited. Example: `tokyo-rain-123` Read-only after\n creation.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'An optional reference to a parent Resource. Supported values\n include organizations/ and folders/. Once set, the\n parent cannot be cleared. The `parent` can be set on creation or using\n the `UpdateProject` method; the end user must have the `resourcemanager.projects.create`\n permission on the parent. Read-write. '\n x-kubernetes-immutable: true\n projectNumber:\n type: integer\n format: int64\n x-dcl-go-name: ProjectNumber\n readOnly: true\n description: 'The number uniquely identifying the project. Example: `415104041262`\n Read-only. '\n x-kubernetes-immutable: true\n") +var YAML_project = []byte("info:\n title: CloudResourceManager/Project\n description: The CloudResourceManager Project resource\n x-dcl-struct-name: Project\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n apply:\n description: The function used to apply information about a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n delete:\n description: The function used to delete a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n deleteAll:\n description: The function used to delete all Project\n parameters: []\n list:\n description: The function used to list information about many Project\n parameters: []\ncomponents:\n schemas:\n Project:\n title: Project\n x-dcl-id: projects/{{name}}\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n properties:\n displayname:\n type: string\n x-dcl-go-name: DisplayName\n description: 'The optional user-assigned display name of the Project. When\n present it must be between 4 to 30 characters. Allowed characters are:\n lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote,\n space, and exclamation point. Example: `My Project` Read-write.'\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: User-specified labels.\n lifecycleState:\n type: string\n x-dcl-go-name: LifecycleState\n x-dcl-go-type: ProjectLifecycleStateEnum\n readOnly: true\n description: 'The Project lifecycle state. Read-only. Possible values: LIFECYCLE_STATE_UNSPECIFIED,\n ACTIVE, DELETE_REQUESTED, DELETE_IN_PROGRESS'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n - DELETE_IN_PROGRESS\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The unique, user-assigned ID of the Project. It must be 6\n to 30 lowercase letters, digits, or hyphens. It must start with a letter.\n Trailing hyphens are prohibited. Example: `tokyo-rain-123` Read-only after\n creation.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'An optional reference to a parent Resource. Supported values\n include organizations/ and folders/. Once set, the\n parent cannot be cleared. The `parent` can be set on creation or using\n the `UpdateProject` method; the end user must have the `resourcemanager.projects.create`\n permission on the parent. Read-write. '\n x-kubernetes-immutable: true\n projectNumber:\n type: integer\n format: int64\n x-dcl-go-name: ProjectNumber\n readOnly: true\n description: 'The number uniquely identifying the project. Example: `415104041262`\n Read-only. '\n x-kubernetes-immutable: true\n") -// 3391 bytes -// MD5: 75cb1ba4376671664de2e5f1600d1312 +// 3416 bytes +// MD5: eda6a742c18b6080e94b5bcb768ce823 diff --git a/services/google/cloudresourcemanager/beta/project_schema.go b/services/google/cloudresourcemanager/beta/project_schema.go index fc4dde86ed..d1dbeb4ff4 100755 --- a/services/google/cloudresourcemanager/beta/project_schema.go +++ b/services/google/cloudresourcemanager/beta/project_schema.go @@ -23,6 +23,7 @@ func DCLProjectSchema() *dcl.Schema { Title: "CloudResourceManager/Project", Description: "The CloudResourceManager Project resource", StructName: "Project", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudresourcemanager/beta/tag_key.yaml b/services/google/cloudresourcemanager/beta/tag_key.yaml index 1a91b97c59..964cd493e9 100755 --- a/services/google/cloudresourcemanager/beta/tag_key.yaml +++ b/services/google/cloudresourcemanager/beta/tag_key.yaml @@ -15,6 +15,7 @@ info: title: CloudResourceManager/TagKey description: The CloudResourceManager TagKey resource x-dcl-struct-name: TagKey + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudresourcemanager/beta/tag_key_beta_yaml_embed.go b/services/google/cloudresourcemanager/beta/tag_key_beta_yaml_embed.go index 81e74dafc6..f4d453bdfd 100755 --- a/services/google/cloudresourcemanager/beta/tag_key_beta_yaml_embed.go +++ b/services/google/cloudresourcemanager/beta/tag_key_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudresourcemanager/beta/tag_key.yaml -var YAML_tag_key = []byte("info:\n title: CloudResourceManager/TagKey\n description: The CloudResourceManager TagKey resource\n x-dcl-struct-name: TagKey\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\n apply:\n description: The function used to apply information about a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\n delete:\n description: The function used to delete a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\ncomponents:\n schemas:\n TagKey:\n title: TagKey\n x-dcl-id: tagKeys/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - parent\n - shortName\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Creation time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. User-assigned description of the TagKey. Must not\n exceed 256 characters. Read-write.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Entity tag which users can pass to prevent race conditions.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The generated numeric id for the TagKey.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n namespacedName:\n type: string\n x-dcl-go-name: NamespacedName\n readOnly: true\n description: Output only. Immutable. Namespaced name of the TagKey.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Immutable. The resource name of the new TagKey's parent. Must\n be of the form `organizations/{org_id}`.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: TagKeyPurposeEnum\n description: 'Optional. A purpose denotes that this Tag is intended for\n use in policies of a specific policy engine, and will involve that policy\n engine in management operations involving this Tag. A purpose does not\n grant a policy engine exclusive rights to the Tag, and it may be referenced\n by other policy engines. A purpose cannot be changed once set. Possible\n values: PURPOSE_UNSPECIFIED, GCE_FIREWALL'\n x-kubernetes-immutable: true\n enum:\n - PURPOSE_UNSPECIFIED\n - GCE_FIREWALL\n purposeData:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: PurposeData\n description: Optional. Purpose data corresponds to the policy system that\n the tag is intended for. See documentation for `Purpose` for formatting\n of this field. Purpose data cannot be changed once set.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n description: Required. Immutable. The user friendly name for a TagKey. The\n short name should be unique for TagKeys within the same tag namespace.\n The short name must be 1-63 characters, beginning and ending with an alphanumeric\n character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and\n alphanumerics between.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Update time.\n x-kubernetes-immutable: true\n") +var YAML_tag_key = []byte("info:\n title: CloudResourceManager/TagKey\n description: The CloudResourceManager TagKey resource\n x-dcl-struct-name: TagKey\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\n apply:\n description: The function used to apply information about a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\n delete:\n description: The function used to delete a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\ncomponents:\n schemas:\n TagKey:\n title: TagKey\n x-dcl-id: tagKeys/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - parent\n - shortName\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Creation time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. User-assigned description of the TagKey. Must not\n exceed 256 characters. Read-write.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Entity tag which users can pass to prevent race conditions.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The generated numeric id for the TagKey.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n namespacedName:\n type: string\n x-dcl-go-name: NamespacedName\n readOnly: true\n description: Output only. Immutable. Namespaced name of the TagKey.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Immutable. The resource name of the new TagKey's parent. Must\n be of the form `organizations/{org_id}`.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: TagKeyPurposeEnum\n description: 'Optional. A purpose denotes that this Tag is intended for\n use in policies of a specific policy engine, and will involve that policy\n engine in management operations involving this Tag. A purpose does not\n grant a policy engine exclusive rights to the Tag, and it may be referenced\n by other policy engines. A purpose cannot be changed once set. Possible\n values: PURPOSE_UNSPECIFIED, GCE_FIREWALL'\n x-kubernetes-immutable: true\n enum:\n - PURPOSE_UNSPECIFIED\n - GCE_FIREWALL\n purposeData:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: PurposeData\n description: Optional. Purpose data corresponds to the policy system that\n the tag is intended for. See documentation for `Purpose` for formatting\n of this field. Purpose data cannot be changed once set.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n description: Required. Immutable. The user friendly name for a TagKey. The\n short name should be unique for TagKeys within the same tag namespace.\n The short name must be 1-63 characters, beginning and ending with an alphanumeric\n character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and\n alphanumerics between.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Update time.\n x-kubernetes-immutable: true\n") -// 4129 bytes -// MD5: f86f424a3786347de756c5963a8c87a5 +// 4154 bytes +// MD5: ffaf39e64d05719b7e7067c789c540b0 diff --git a/services/google/cloudresourcemanager/beta/tag_key_schema.go b/services/google/cloudresourcemanager/beta/tag_key_schema.go index 01f8016c8b..b0b868af31 100755 --- a/services/google/cloudresourcemanager/beta/tag_key_schema.go +++ b/services/google/cloudresourcemanager/beta/tag_key_schema.go @@ -23,6 +23,7 @@ func DCLTagKeySchema() *dcl.Schema { Title: "CloudResourceManager/TagKey", Description: "The CloudResourceManager TagKey resource", StructName: "TagKey", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudresourcemanager/folder.yaml b/services/google/cloudresourcemanager/folder.yaml index e4c0fe4361..32adddd26d 100755 --- a/services/google/cloudresourcemanager/folder.yaml +++ b/services/google/cloudresourcemanager/folder.yaml @@ -15,6 +15,7 @@ info: title: CloudResourceManager/Folder description: The CloudResourceManager Folder resource x-dcl-struct-name: Folder + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudresourcemanager/folder_schema.go b/services/google/cloudresourcemanager/folder_schema.go index 59fa6671ad..7d65311b86 100755 --- a/services/google/cloudresourcemanager/folder_schema.go +++ b/services/google/cloudresourcemanager/folder_schema.go @@ -23,6 +23,7 @@ func DCLFolderSchema() *dcl.Schema { Title: "CloudResourceManager/Folder", Description: "The CloudResourceManager Folder resource", StructName: "Folder", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudresourcemanager/folder_yaml_embed.go b/services/google/cloudresourcemanager/folder_yaml_embed.go index 22e21e877c..66c4836ffb 100755 --- a/services/google/cloudresourcemanager/folder_yaml_embed.go +++ b/services/google/cloudresourcemanager/folder_yaml_embed.go @@ -17,7 +17,7 @@ package cloudresourcemanager // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudresourcemanager/folder.yaml -var YAML_folder = []byte("info:\n title: CloudResourceManager/Folder\n description: The CloudResourceManager Folder resource\n x-dcl-struct-name: Folder\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n apply:\n description: The function used to apply information about a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n delete:\n description: The function used to delete a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n deleteAll:\n description: The function used to delete all Folder\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Folder\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Folder:\n title: Folder\n x-dcl-id: folders/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when the Folder was created. Assigned\n by the server.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Timestamp when the Folder was requested to be\n deleted.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'The folder''s display name. A folder''s display name must\n be unique amongst its siblings, e.g. no two folders with the same parent\n can share the same display name. The display name must start and end with\n a letter or digit, may contain letters, digits, spaces, hyphens and underscores\n and can be no longer than 30 characters. This is captured by the regular\n expression: `[p{L}p{N}]([p{L}p{N}_- ]{0,28}[p{L}p{N}])?`.'\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A checksum computed by the server based on the\n current value of the Folder resource. This may be sent on update and delete\n requests to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the Folder.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Required. The Folder's parent's resource name. Updates to the\n folder's parent must be performed via MoveFolder.\n x-dcl-forward-slash-allowed: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: FolderStateEnum\n readOnly: true\n description: 'Output only. The lifecycle state of the folder. Possible values:\n LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when the Folder was last modified.\n x-kubernetes-immutable: true\n") +var YAML_folder = []byte("info:\n title: CloudResourceManager/Folder\n description: The CloudResourceManager Folder resource\n x-dcl-struct-name: Folder\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n apply:\n description: The function used to apply information about a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n delete:\n description: The function used to delete a Folder\n parameters:\n - name: Folder\n required: true\n description: A full instance of a Folder\n deleteAll:\n description: The function used to delete all Folder\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Folder\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Folder:\n title: Folder\n x-dcl-id: folders/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when the Folder was created. Assigned\n by the server.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Timestamp when the Folder was requested to be\n deleted.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'The folder''s display name. A folder''s display name must\n be unique amongst its siblings, e.g. no two folders with the same parent\n can share the same display name. The display name must start and end with\n a letter or digit, may contain letters, digits, spaces, hyphens and underscores\n and can be no longer than 30 characters. This is captured by the regular\n expression: `[p{L}p{N}]([p{L}p{N}_- ]{0,28}[p{L}p{N}])?`.'\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A checksum computed by the server based on the\n current value of the Folder resource. This may be sent on update and delete\n requests to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the Folder.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Required. The Folder's parent's resource name. Updates to the\n folder's parent must be performed via MoveFolder.\n x-dcl-forward-slash-allowed: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: FolderStateEnum\n readOnly: true\n description: 'Output only. The lifecycle state of the folder. Possible values:\n LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when the Folder was last modified.\n x-kubernetes-immutable: true\n") -// 3896 bytes -// MD5: a204e2566be9c3ea2227c0e40b87a34c +// 3921 bytes +// MD5: c3dcaf95ec65f067b770de973b9dcb2c diff --git a/services/google/cloudresourcemanager/project.yaml b/services/google/cloudresourcemanager/project.yaml index 187d4296bc..d8b8f41755 100755 --- a/services/google/cloudresourcemanager/project.yaml +++ b/services/google/cloudresourcemanager/project.yaml @@ -15,6 +15,7 @@ info: title: CloudResourceManager/Project description: The CloudResourceManager Project resource x-dcl-struct-name: Project + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudresourcemanager/project_schema.go b/services/google/cloudresourcemanager/project_schema.go index baa73c516b..7a886e215d 100755 --- a/services/google/cloudresourcemanager/project_schema.go +++ b/services/google/cloudresourcemanager/project_schema.go @@ -23,6 +23,7 @@ func DCLProjectSchema() *dcl.Schema { Title: "CloudResourceManager/Project", Description: "The CloudResourceManager Project resource", StructName: "Project", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudresourcemanager/project_yaml_embed.go b/services/google/cloudresourcemanager/project_yaml_embed.go index bce87c711b..89a87ee024 100755 --- a/services/google/cloudresourcemanager/project_yaml_embed.go +++ b/services/google/cloudresourcemanager/project_yaml_embed.go @@ -17,7 +17,7 @@ package cloudresourcemanager // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudresourcemanager/project.yaml -var YAML_project = []byte("info:\n title: CloudResourceManager/Project\n description: The CloudResourceManager Project resource\n x-dcl-struct-name: Project\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n apply:\n description: The function used to apply information about a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n delete:\n description: The function used to delete a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n deleteAll:\n description: The function used to delete all Project\n parameters: []\n list:\n description: The function used to list information about many Project\n parameters: []\ncomponents:\n schemas:\n Project:\n title: Project\n x-dcl-id: projects/{{name}}\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n properties:\n displayname:\n type: string\n x-dcl-go-name: DisplayName\n description: 'The optional user-assigned display name of the Project. When\n present it must be between 4 to 30 characters. Allowed characters are:\n lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote,\n space, and exclamation point. Example: `My Project` Read-write.'\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: User-specified labels.\n lifecycleState:\n type: string\n x-dcl-go-name: LifecycleState\n x-dcl-go-type: ProjectLifecycleStateEnum\n readOnly: true\n description: 'The Project lifecycle state. Read-only. Possible values: LIFECYCLE_STATE_UNSPECIFIED,\n ACTIVE, DELETE_REQUESTED, DELETE_IN_PROGRESS'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n - DELETE_IN_PROGRESS\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The unique, user-assigned ID of the Project. It must be 6\n to 30 lowercase letters, digits, or hyphens. It must start with a letter.\n Trailing hyphens are prohibited. Example: `tokyo-rain-123` Read-only after\n creation.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'An optional reference to a parent Resource. Supported values\n include organizations/ and folders/. Once set, the\n parent cannot be cleared. The `parent` can be set on creation or using\n the `UpdateProject` method; the end user must have the `resourcemanager.projects.create`\n permission on the parent. Read-write. '\n x-kubernetes-immutable: true\n projectNumber:\n type: integer\n format: int64\n x-dcl-go-name: ProjectNumber\n readOnly: true\n description: 'The number uniquely identifying the project. Example: `415104041262`\n Read-only. '\n x-kubernetes-immutable: true\n") +var YAML_project = []byte("info:\n title: CloudResourceManager/Project\n description: The CloudResourceManager Project resource\n x-dcl-struct-name: Project\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n apply:\n description: The function used to apply information about a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n delete:\n description: The function used to delete a Project\n parameters:\n - name: Project\n required: true\n description: A full instance of a Project\n deleteAll:\n description: The function used to delete all Project\n parameters: []\n list:\n description: The function used to list information about many Project\n parameters: []\ncomponents:\n schemas:\n Project:\n title: Project\n x-dcl-id: projects/{{name}}\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n properties:\n displayname:\n type: string\n x-dcl-go-name: DisplayName\n description: 'The optional user-assigned display name of the Project. When\n present it must be between 4 to 30 characters. Allowed characters are:\n lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote,\n space, and exclamation point. Example: `My Project` Read-write.'\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: User-specified labels.\n lifecycleState:\n type: string\n x-dcl-go-name: LifecycleState\n x-dcl-go-type: ProjectLifecycleStateEnum\n readOnly: true\n description: 'The Project lifecycle state. Read-only. Possible values: LIFECYCLE_STATE_UNSPECIFIED,\n ACTIVE, DELETE_REQUESTED, DELETE_IN_PROGRESS'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n - DELETE_IN_PROGRESS\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The unique, user-assigned ID of the Project. It must be 6\n to 30 lowercase letters, digits, or hyphens. It must start with a letter.\n Trailing hyphens are prohibited. Example: `tokyo-rain-123` Read-only after\n creation.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'An optional reference to a parent Resource. Supported values\n include organizations/ and folders/. Once set, the\n parent cannot be cleared. The `parent` can be set on creation or using\n the `UpdateProject` method; the end user must have the `resourcemanager.projects.create`\n permission on the parent. Read-write. '\n x-kubernetes-immutable: true\n projectNumber:\n type: integer\n format: int64\n x-dcl-go-name: ProjectNumber\n readOnly: true\n description: 'The number uniquely identifying the project. Example: `415104041262`\n Read-only. '\n x-kubernetes-immutable: true\n") -// 3391 bytes -// MD5: 75cb1ba4376671664de2e5f1600d1312 +// 3416 bytes +// MD5: eda6a742c18b6080e94b5bcb768ce823 diff --git a/services/google/cloudresourcemanager/tag_key.yaml b/services/google/cloudresourcemanager/tag_key.yaml index 1a91b97c59..964cd493e9 100755 --- a/services/google/cloudresourcemanager/tag_key.yaml +++ b/services/google/cloudresourcemanager/tag_key.yaml @@ -15,6 +15,7 @@ info: title: CloudResourceManager/TagKey description: The CloudResourceManager TagKey resource x-dcl-struct-name: TagKey + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/cloudresourcemanager/tag_key_schema.go b/services/google/cloudresourcemanager/tag_key_schema.go index c01b3b77ad..e758f19072 100755 --- a/services/google/cloudresourcemanager/tag_key_schema.go +++ b/services/google/cloudresourcemanager/tag_key_schema.go @@ -23,6 +23,7 @@ func DCLTagKeySchema() *dcl.Schema { Title: "CloudResourceManager/TagKey", Description: "The CloudResourceManager TagKey resource", StructName: "TagKey", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/cloudresourcemanager/tag_key_yaml_embed.go b/services/google/cloudresourcemanager/tag_key_yaml_embed.go index 345e63905e..dd6133ecb1 100755 --- a/services/google/cloudresourcemanager/tag_key_yaml_embed.go +++ b/services/google/cloudresourcemanager/tag_key_yaml_embed.go @@ -17,7 +17,7 @@ package cloudresourcemanager // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudresourcemanager/tag_key.yaml -var YAML_tag_key = []byte("info:\n title: CloudResourceManager/TagKey\n description: The CloudResourceManager TagKey resource\n x-dcl-struct-name: TagKey\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\n apply:\n description: The function used to apply information about a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\n delete:\n description: The function used to delete a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\ncomponents:\n schemas:\n TagKey:\n title: TagKey\n x-dcl-id: tagKeys/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - parent\n - shortName\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Creation time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. User-assigned description of the TagKey. Must not\n exceed 256 characters. Read-write.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Entity tag which users can pass to prevent race conditions.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The generated numeric id for the TagKey.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n namespacedName:\n type: string\n x-dcl-go-name: NamespacedName\n readOnly: true\n description: Output only. Immutable. Namespaced name of the TagKey.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Immutable. The resource name of the new TagKey's parent. Must\n be of the form `organizations/{org_id}`.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: TagKeyPurposeEnum\n description: 'Optional. A purpose denotes that this Tag is intended for\n use in policies of a specific policy engine, and will involve that policy\n engine in management operations involving this Tag. A purpose does not\n grant a policy engine exclusive rights to the Tag, and it may be referenced\n by other policy engines. A purpose cannot be changed once set. Possible\n values: PURPOSE_UNSPECIFIED, GCE_FIREWALL'\n x-kubernetes-immutable: true\n enum:\n - PURPOSE_UNSPECIFIED\n - GCE_FIREWALL\n purposeData:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: PurposeData\n description: Optional. Purpose data corresponds to the policy system that\n the tag is intended for. See documentation for `Purpose` for formatting\n of this field. Purpose data cannot be changed once set.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n description: Required. Immutable. The user friendly name for a TagKey. The\n short name should be unique for TagKeys within the same tag namespace.\n The short name must be 1-63 characters, beginning and ending with an alphanumeric\n character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and\n alphanumerics between.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Update time.\n x-kubernetes-immutable: true\n") +var YAML_tag_key = []byte("info:\n title: CloudResourceManager/TagKey\n description: The CloudResourceManager TagKey resource\n x-dcl-struct-name: TagKey\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\n apply:\n description: The function used to apply information about a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\n delete:\n description: The function used to delete a TagKey\n parameters:\n - name: TagKey\n required: true\n description: A full instance of a TagKey\ncomponents:\n schemas:\n TagKey:\n title: TagKey\n x-dcl-id: tagKeys/{{name}}\n x-dcl-has-iam: true\n type: object\n required:\n - parent\n - shortName\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Creation time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. User-assigned description of the TagKey. Must not\n exceed 256 characters. Read-write.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Entity tag which users can pass to prevent race conditions.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The generated numeric id for the TagKey.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n namespacedName:\n type: string\n x-dcl-go-name: NamespacedName\n readOnly: true\n description: Output only. Immutable. Namespaced name of the TagKey.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: Immutable. The resource name of the new TagKey's parent. Must\n be of the form `organizations/{org_id}`.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: TagKeyPurposeEnum\n description: 'Optional. A purpose denotes that this Tag is intended for\n use in policies of a specific policy engine, and will involve that policy\n engine in management operations involving this Tag. A purpose does not\n grant a policy engine exclusive rights to the Tag, and it may be referenced\n by other policy engines. A purpose cannot be changed once set. Possible\n values: PURPOSE_UNSPECIFIED, GCE_FIREWALL'\n x-kubernetes-immutable: true\n enum:\n - PURPOSE_UNSPECIFIED\n - GCE_FIREWALL\n purposeData:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: PurposeData\n description: Optional. Purpose data corresponds to the policy system that\n the tag is intended for. See documentation for `Purpose` for formatting\n of this field. Purpose data cannot be changed once set.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n description: Required. Immutable. The user friendly name for a TagKey. The\n short name should be unique for TagKeys within the same tag namespace.\n The short name must be 1-63 characters, beginning and ending with an alphanumeric\n character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and\n alphanumerics between.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Update time.\n x-kubernetes-immutable: true\n") -// 4129 bytes -// MD5: f86f424a3786347de756c5963a8c87a5 +// 4154 bytes +// MD5: ffaf39e64d05719b7e7067c789c540b0 diff --git a/services/google/cloudscheduler/alpha/job.yaml b/services/google/cloudscheduler/alpha/job.yaml index 5f2a331ebb..58de82545f 100755 --- a/services/google/cloudscheduler/alpha/job.yaml +++ b/services/google/cloudscheduler/alpha/job.yaml @@ -15,6 +15,7 @@ info: title: CloudScheduler/Job description: The CloudScheduler Job resource x-dcl-struct-name: Job + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudscheduler/alpha/job_alpha_yaml_embed.go b/services/google/cloudscheduler/alpha/job_alpha_yaml_embed.go index b8b4f33cfc..ca193fbe26 100755 --- a/services/google/cloudscheduler/alpha/job_alpha_yaml_embed.go +++ b/services/google/cloudscheduler/alpha/job_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudscheduler/alpha/job.yaml -var YAML_job = []byte("info:\n title: CloudScheduler/Job\n description: The CloudScheduler Job resource\n x-dcl-struct-name: Job\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n apply:\n description: The function used to apply information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n delete:\n description: The function used to delete a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n deleteAll:\n description: The function used to delete all Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Job:\n title: Job\n x-dcl-id: projects/{{project}}/locations/{{location}}/jobs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n appEngineHttpTarget:\n type: object\n x-dcl-go-name: AppEngineHttpTarget\n x-dcl-go-type: JobAppEngineHttpTarget\n description: App Engine HTTP target.\n properties:\n appEngineRouting:\n type: object\n x-dcl-go-name: AppEngineRouting\n x-dcl-go-type: JobAppEngineHttpTargetAppEngineRouting\n description: App Engine Routing setting for the job.\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n readOnly: true\n description: 'Output only. The host that the job is sent to. For\n more information about how App Engine requests are routed, see\n [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).\n The host is constructed as: * `host = [application_domain_name]`\n `| [service] + ''.'' + [application_domain_name]` `| [version]\n + ''.'' + [application_domain_name]` `| [version_dot_service]+\n ''.'' + [application_domain_name]` `| [instance] + ''.'' + [application_domain_name]`\n `| [instance_dot_service] + ''.'' + [application_domain_name]`\n `| [instance_dot_version] + ''.'' + [application_domain_name]`\n `| [instance_dot_version_dot_service] + ''.'' + [application_domain_name]`\n * `application_domain_name` = The domain name of the app, for\n example .appspot.com, which is associated with the job''s project\n ID. * `service =` service * `version =` version * `version_dot_service\n =` version `+ ''.'' +` service * `instance =` instance * `instance_dot_service\n =` instance `+ ''.'' +` service * `instance_dot_version =` instance\n `+ ''.'' +` version * `instance_dot_version_dot_service =` instance\n `+ ''.'' +` version `+ ''.'' +` service If service is empty, then\n the job will be sent to the service which is the default service\n when the job is attempted. If version is empty, then the job will\n be sent to the version which is the default version when the job\n is attempted. If instance is empty, then the job will be sent\n to an instance which is available when the job is attempted. If\n service, version, or instance is invalid, then the job will be\n sent to the default version of the default service when the job\n is attempted.'\n instance:\n type: string\n x-dcl-go-name: Instance\n description: App instance. By default, the job is sent to an instance\n which is available when the job is attempted. Requests can only\n be sent to a specific instance if [manual scaling is used in App\n Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes).\n App Engine Flex does not support instances. For more information,\n see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\n and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).\n service:\n type: string\n x-dcl-go-name: Service\n description: App service. By default, the job is sent to the service\n which is the default service when the job is attempted.\n version:\n type: string\n x-dcl-go-name: Version\n description: App version. By default, the job is sent to the version\n which is the default version when the job is attempted.\n body:\n type: string\n x-dcl-go-name: Body\n description: Body. HTTP request body. A request body is allowed only\n if the HTTP method is POST or PUT. It will result in invalid argument\n error to set a body on a job with an incompatible HttpMethod.\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: 'HTTP request headers. This map contains the header field\n names and values. Headers can be set when the job is created. Cloud\n Scheduler sets some headers to default values: * `User-Agent`: By\n default, this header is `\"App Engine-Google; (+http://code.google.com/appengine)\"`.\n This header can be modified, but Cloud Scheduler will append `\"App\n Engine-Google; (+http://code.google.com/appengine)\"` to the modified\n `User-Agent`. * `X-CloudScheduler`: This header will be set to true.\n The headers below are output only. They cannot be set or overridden:\n * `X-Google-*`: For Google internal use only. * `X-App Engine-*`:\n For Google internal use only. In addition, some App Engine headers,\n which contain job-specific information, are also be sent to the job\n handler.'\n httpMethod:\n type: string\n x-dcl-go-name: HttpMethod\n x-dcl-go-type: JobAppEngineHttpTargetHttpMethodEnum\n description: 'The HTTP method to use for the request. PATCH and OPTIONS\n are not permitted. Possible values: HTTP_METHOD_UNSPECIFIED, POST,\n GET, HEAD, PUT, DELETE, PATCH, OPTIONS'\n enum:\n - HTTP_METHOD_UNSPECIFIED\n - POST\n - GET\n - HEAD\n - PUT\n - DELETE\n - PATCH\n - OPTIONS\n relativeUri:\n type: string\n x-dcl-go-name: RelativeUri\n description: The relative URI. The relative URL must begin with \"/\"\n and must be a valid HTTP relative URL. It can contain a path, query\n string arguments, and `#` fragments. If the relative URL is empty,\n then the root path \"/\" will be used. No spaces are allowed, and the\n maximum length allowed is 2083 characters.\n attemptDeadline:\n type: string\n x-dcl-go-name: AttemptDeadline\n description: 'The deadline for job attempts. If the request handler does\n not respond by this deadline then the request is cancelled and the attempt\n is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be\n viewed in execution logs. Cloud Scheduler will retry the job according\n to the RetryConfig. The allowed duration for this deadline is: * For HTTP\n targets, between 15 seconds and 30 minutes. * For App Engine HTTP targets,\n between 15 seconds and 24 hours.'\n description:\n type: string\n x-dcl-go-name: Description\n description: Optionally caller-specified in CreateJob or UpdateJob. A human-readable\n description for the job. This string must not contain more than 500 characters.\n httpTarget:\n type: object\n x-dcl-go-name: HttpTarget\n x-dcl-go-type: JobHttpTarget\n description: HTTP target.\n required:\n - uri\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: HTTP request body. A request body is allowed only if the\n HTTP method is POST, PUT, or PATCH. It is an error to set body on\n a job with an incompatible HttpMethod.\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: 'The user can specify HTTP request headers to send with\n the job''s HTTP request. This map contains the header field names\n and values. Repeated headers are not supported, but a header value\n can contain commas. These headers represent a subset of the headers\n that will accompany the job''s HTTP request. Some HTTP request headers\n will be ignored or replaced. A partial list of headers that will be\n ignored or replaced is below: - Host: This will be computed by Cloud\n Scheduler and derived from uri. * `Content-Length`: This will be computed\n by Cloud Scheduler. * `User-Agent`: This will be set to `\"Google-Cloud-Scheduler\"`.\n * `X-Google-*`: Google internal use only. * `X-appengine-*`: Google\n internal use only. The total size of headers must be less than 80KB.'\n httpMethod:\n type: string\n x-dcl-go-name: HttpMethod\n x-dcl-go-type: JobHttpTargetHttpMethodEnum\n description: 'Which HTTP method to use for the request. Possible values:\n HTTP_METHOD_UNSPECIFIED, POST, GET, HEAD, PUT, DELETE, PATCH, OPTIONS'\n enum:\n - HTTP_METHOD_UNSPECIFIED\n - POST\n - GET\n - HEAD\n - PUT\n - DELETE\n - PATCH\n - OPTIONS\n oauthToken:\n type: object\n x-dcl-go-name: OAuthToken\n x-dcl-go-type: JobHttpTargetOAuthToken\n description: If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2)\n will be generated and attached as an `Authorization` header in the\n HTTP request. This type of authorization should generally only be\n used when calling Google APIs hosted on *.googleapis.com.\n properties:\n scope:\n type: string\n x-dcl-go-name: Scope\n description: OAuth scope to be used for generating OAuth access\n token. If not specified, \"https://www.googleapis.com/auth/cloud-platform\"\n will be used.\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: '[Service account email](https://cloud.google.com/iam/docs/service-accounts)\n to be used for generating OAuth token. The service account must\n be within the same project as the job. The caller must have iam.serviceAccounts.actAs\n permission for the service account.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n oidcToken:\n type: object\n x-dcl-go-name: OidcToken\n x-dcl-go-type: JobHttpTargetOidcToken\n description: If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)\n token will be generated and attached as an `Authorization` header\n in the HTTP request. This type of authorization can be used for many\n scenarios, including calling Cloud Run, or endpoints where you intend\n to validate the token yourself.\n properties:\n audience:\n type: string\n x-dcl-go-name: Audience\n description: Audience to be used when generating OIDC token. If\n not specified, the URI specified in target will be used.\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: '[Service account email](https://cloud.google.com/iam/docs/service-accounts)\n to be used for generating OIDC token. The service account must\n be within the same project as the job. The caller must have iam.serviceAccounts.actAs\n permission for the service account.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n uri:\n type: string\n x-dcl-go-name: Uri\n description: 'Required. The full URI path that the request will be sent\n to. This string must begin with either \"http://\" or \"https://\". Some\n examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`.\n Cloud Scheduler will encode some characters for safety and compatibility.\n The maximum allowed URL length is 2083 characters after encoding.'\n lastAttemptTime:\n type: string\n format: date-time\n x-dcl-go-name: LastAttemptTime\n readOnly: true\n description: Output only. The time the last job attempt started.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Optionally caller-specified in CreateJob, after which it becomes\n output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.\n * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens\n (-), colons (:), or periods (.). For more information, see [Identifying\n projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)\n * `LOCATION_ID` is the canonical ID for the job''s location. The list\n of available locations can be obtained by calling ListLocations. For more\n information, see https://cloud.google.com/about/locations/. * `JOB_ID`\n can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or\n underscores (_). The maximum length is 500 characters.'\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pubsubTarget:\n type: object\n x-dcl-go-name: PubsubTarget\n x-dcl-go-type: JobPubsubTarget\n description: Pub/Sub target.\n required:\n - topicName\n properties:\n attributes:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Attributes\n description: Attributes for PubsubMessage. Pubsub message must contain\n either non-empty data, or at least one attribute.\n data:\n type: string\n x-dcl-go-name: Data\n description: The message payload for PubsubMessage. Pubsub message must\n contain either non-empty data, or at least one attribute.\n topicName:\n type: string\n x-dcl-go-name: TopicName\n description: Required. The name of the Cloud Pub/Sub topic to which\n messages will be published when a job is delivered. The topic name\n must be in the same format as required by Pub/Sub's [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest),\n for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must\n be in the same project as the Cloud Scheduler job.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n retryConfig:\n type: object\n x-dcl-go-name: RetryConfig\n x-dcl-go-type: JobRetryConfig\n description: Settings that determine the retry behavior.\n properties:\n maxBackoffDuration:\n type: string\n x-dcl-go-name: MaxBackoffDuration\n description: The maximum amount of time to wait before retrying a job\n after it fails. The default value of this field is 1 hour.\n maxDoublings:\n type: integer\n format: int64\n x-dcl-go-name: MaxDoublings\n description: The time between retries will double `max_doublings` times.\n A job's retry interval starts at min_backoff_duration, then doubles\n `max_doublings` times, then increases linearly, and finally retries\n at intervals of max_backoff_duration up to retry_count times. For\n example, if min_backoff_duration is 10s, max_backoff_duration is 300s,\n and `max_doublings` is 3, then the a job will first be retried in\n 10s. The retry interval will double three times, and then increase\n linearly by 2^3 * 10s. Finally, the job will retry at intervals of\n max_backoff_duration until the job has been attempted retry_count\n times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,\n 240s, 300s, 300s, .... The default value of this field is 5.\n maxRetryDuration:\n type: string\n x-dcl-go-name: MaxRetryDuration\n description: The time limit for retrying a failed job, measured from\n time when an execution was first attempted. If specified with retry_count,\n the job will be retried until both limits are reached. The default\n value for max_retry_duration is zero, which means retry duration is\n unlimited.\n minBackoffDuration:\n type: string\n x-dcl-go-name: MinBackoffDuration\n description: The minimum amount of time to wait before retrying a job\n after it fails. The default value of this field is 5 seconds.\n retryCount:\n type: integer\n format: int64\n x-dcl-go-name: RetryCount\n description: The number of attempts that the system will make to run\n a job using the exponential backoff procedure described by max_doublings.\n The default value of retry_count is zero. If retry_count is zero,\n a job attempt will *not* be retried if it fails. Instead the Cloud\n Scheduler system will wait for the next scheduled execution time.\n If retry_count is set to a non-zero number then Cloud Scheduler will\n retry failed attempts, using exponential backoff, retry_count times,\n or until the next scheduled execution time, whichever comes first.\n Values greater than 5 and negative values are not allowed.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Required, except when used with UpdateJob. Describes the schedule\n on which the job will be executed. The schedule can be either of the following\n types: * [Crontab](http://en.wikipedia.org/wiki/Cron#Overview) * English-like\n [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules)\n As a general rule, execution `n + 1` of a job will not begin until execution\n `n` has finished. Cloud Scheduler will never allow two simultaneously\n outstanding executions. For example, this implies that if the `n+1`th\n execution is scheduled to run at 16:00 but the `n`th execution takes until\n 16:15, the `n+1`th execution will not start until `16:15`. A scheduled\n start time will be delayed if the previous execution has not ended when\n its scheduled time occurs. If retry_count > 0 and a job attempt fails,\n the job will be tried a total of retry_count times, with exponential backoff,\n until the next scheduled start time.'\n scheduleTime:\n type: string\n format: date-time\n x-dcl-go-name: ScheduleTime\n readOnly: true\n description: Output only. The next time the job is scheduled. Note that\n this may be a retry of a previously failed attempt or the next execution\n time according to the schedule.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: JobStateEnum\n readOnly: true\n description: 'Output only. State of the job. Possible values: STATE_UNSPECIFIED,\n ENABLED, PAUSED, DISABLED, UPDATE_FAILED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLED\n - PAUSED\n - DISABLED\n - UPDATE_FAILED\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: JobStatus\n readOnly: true\n description: Output only. The response from the target for the last attempted\n execution.\n x-kubernetes-immutable: true\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of google.rpc.Code.\n x-kubernetes-immutable: true\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details. There\n is a common set of message types for APIs to use.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobStatusDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies the\n type of the serialized protocol buffer message. This string\n must contain at least one \"/\" character. The last segment of\n the URL''s path must represent the fully qualified name of the\n type (as in `path/google.protobuf.Duration`). The name should\n be in a canonical form (e.g., leading \".\" is not accepted).\n In practice, teams usually precompile into the binary all types\n that they expect it to use in the context of Any. However, for\n URLs which use the scheme `http`, `https`, or no scheme, one\n can optionally set up a type server that maps type URLs to message\n definitions as follows: * If no scheme is provided, `https`\n is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL, or have\n them precompiled into a binary to avoid any lookup. Therefore,\n binary compatibility needs to be preserved on changes to types.\n (Use versioned type names to manage breaking changes.) Note:\n this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning\n with type.googleapis.com. Schemes other than `http`, `https`\n (or the empty scheme) might be used with implementation specific\n semantics.'\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer of the\n above specified type.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be in English.\n Any user-facing error message should be localized and sent in the\n google.rpc.Status.details field, or localized by the client.\n x-kubernetes-immutable: true\n timeZone:\n type: string\n x-dcl-go-name: TimeZone\n description: Specifies the time zone to be used in interpreting schedule.\n The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database).\n Note that some time zones include a provision for daylight savings time.\n The rules for daylight saving time are determined by the chosen tz. For\n UTC use the string \"utc\". If a time zone is not specified, the default\n will be in UTC (also known as GMT).\n userUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: UserUpdateTime\n readOnly: true\n description: Output only. The creation time of the job.\n x-kubernetes-immutable: true\n") +var YAML_job = []byte("info:\n title: CloudScheduler/Job\n description: The CloudScheduler Job resource\n x-dcl-struct-name: Job\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n apply:\n description: The function used to apply information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n delete:\n description: The function used to delete a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n deleteAll:\n description: The function used to delete all Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Job:\n title: Job\n x-dcl-id: projects/{{project}}/locations/{{location}}/jobs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n appEngineHttpTarget:\n type: object\n x-dcl-go-name: AppEngineHttpTarget\n x-dcl-go-type: JobAppEngineHttpTarget\n description: App Engine HTTP target.\n properties:\n appEngineRouting:\n type: object\n x-dcl-go-name: AppEngineRouting\n x-dcl-go-type: JobAppEngineHttpTargetAppEngineRouting\n description: App Engine Routing setting for the job.\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n readOnly: true\n description: 'Output only. The host that the job is sent to. For\n more information about how App Engine requests are routed, see\n [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).\n The host is constructed as: * `host = [application_domain_name]`\n `| [service] + ''.'' + [application_domain_name]` `| [version]\n + ''.'' + [application_domain_name]` `| [version_dot_service]+\n ''.'' + [application_domain_name]` `| [instance] + ''.'' + [application_domain_name]`\n `| [instance_dot_service] + ''.'' + [application_domain_name]`\n `| [instance_dot_version] + ''.'' + [application_domain_name]`\n `| [instance_dot_version_dot_service] + ''.'' + [application_domain_name]`\n * `application_domain_name` = The domain name of the app, for\n example .appspot.com, which is associated with the job''s project\n ID. * `service =` service * `version =` version * `version_dot_service\n =` version `+ ''.'' +` service * `instance =` instance * `instance_dot_service\n =` instance `+ ''.'' +` service * `instance_dot_version =` instance\n `+ ''.'' +` version * `instance_dot_version_dot_service =` instance\n `+ ''.'' +` version `+ ''.'' +` service If service is empty, then\n the job will be sent to the service which is the default service\n when the job is attempted. If version is empty, then the job will\n be sent to the version which is the default version when the job\n is attempted. If instance is empty, then the job will be sent\n to an instance which is available when the job is attempted. If\n service, version, or instance is invalid, then the job will be\n sent to the default version of the default service when the job\n is attempted.'\n instance:\n type: string\n x-dcl-go-name: Instance\n description: App instance. By default, the job is sent to an instance\n which is available when the job is attempted. Requests can only\n be sent to a specific instance if [manual scaling is used in App\n Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes).\n App Engine Flex does not support instances. For more information,\n see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\n and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).\n service:\n type: string\n x-dcl-go-name: Service\n description: App service. By default, the job is sent to the service\n which is the default service when the job is attempted.\n version:\n type: string\n x-dcl-go-name: Version\n description: App version. By default, the job is sent to the version\n which is the default version when the job is attempted.\n body:\n type: string\n x-dcl-go-name: Body\n description: Body. HTTP request body. A request body is allowed only\n if the HTTP method is POST or PUT. It will result in invalid argument\n error to set a body on a job with an incompatible HttpMethod.\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: 'HTTP request headers. This map contains the header field\n names and values. Headers can be set when the job is created. Cloud\n Scheduler sets some headers to default values: * `User-Agent`: By\n default, this header is `\"App Engine-Google; (+http://code.google.com/appengine)\"`.\n This header can be modified, but Cloud Scheduler will append `\"App\n Engine-Google; (+http://code.google.com/appengine)\"` to the modified\n `User-Agent`. * `X-CloudScheduler`: This header will be set to true.\n The headers below are output only. They cannot be set or overridden:\n * `X-Google-*`: For Google internal use only. * `X-App Engine-*`:\n For Google internal use only. In addition, some App Engine headers,\n which contain job-specific information, are also be sent to the job\n handler.'\n httpMethod:\n type: string\n x-dcl-go-name: HttpMethod\n x-dcl-go-type: JobAppEngineHttpTargetHttpMethodEnum\n description: 'The HTTP method to use for the request. PATCH and OPTIONS\n are not permitted. Possible values: HTTP_METHOD_UNSPECIFIED, POST,\n GET, HEAD, PUT, DELETE, PATCH, OPTIONS'\n enum:\n - HTTP_METHOD_UNSPECIFIED\n - POST\n - GET\n - HEAD\n - PUT\n - DELETE\n - PATCH\n - OPTIONS\n relativeUri:\n type: string\n x-dcl-go-name: RelativeUri\n description: The relative URI. The relative URL must begin with \"/\"\n and must be a valid HTTP relative URL. It can contain a path, query\n string arguments, and `#` fragments. If the relative URL is empty,\n then the root path \"/\" will be used. No spaces are allowed, and the\n maximum length allowed is 2083 characters.\n attemptDeadline:\n type: string\n x-dcl-go-name: AttemptDeadline\n description: 'The deadline for job attempts. If the request handler does\n not respond by this deadline then the request is cancelled and the attempt\n is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be\n viewed in execution logs. Cloud Scheduler will retry the job according\n to the RetryConfig. The allowed duration for this deadline is: * For HTTP\n targets, between 15 seconds and 30 minutes. * For App Engine HTTP targets,\n between 15 seconds and 24 hours.'\n description:\n type: string\n x-dcl-go-name: Description\n description: Optionally caller-specified in CreateJob or UpdateJob. A human-readable\n description for the job. This string must not contain more than 500 characters.\n httpTarget:\n type: object\n x-dcl-go-name: HttpTarget\n x-dcl-go-type: JobHttpTarget\n description: HTTP target.\n required:\n - uri\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: HTTP request body. A request body is allowed only if the\n HTTP method is POST, PUT, or PATCH. It is an error to set body on\n a job with an incompatible HttpMethod.\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: 'The user can specify HTTP request headers to send with\n the job''s HTTP request. This map contains the header field names\n and values. Repeated headers are not supported, but a header value\n can contain commas. These headers represent a subset of the headers\n that will accompany the job''s HTTP request. Some HTTP request headers\n will be ignored or replaced. A partial list of headers that will be\n ignored or replaced is below: - Host: This will be computed by Cloud\n Scheduler and derived from uri. * `Content-Length`: This will be computed\n by Cloud Scheduler. * `User-Agent`: This will be set to `\"Google-Cloud-Scheduler\"`.\n * `X-Google-*`: Google internal use only. * `X-appengine-*`: Google\n internal use only. The total size of headers must be less than 80KB.'\n httpMethod:\n type: string\n x-dcl-go-name: HttpMethod\n x-dcl-go-type: JobHttpTargetHttpMethodEnum\n description: 'Which HTTP method to use for the request. Possible values:\n HTTP_METHOD_UNSPECIFIED, POST, GET, HEAD, PUT, DELETE, PATCH, OPTIONS'\n enum:\n - HTTP_METHOD_UNSPECIFIED\n - POST\n - GET\n - HEAD\n - PUT\n - DELETE\n - PATCH\n - OPTIONS\n oauthToken:\n type: object\n x-dcl-go-name: OAuthToken\n x-dcl-go-type: JobHttpTargetOAuthToken\n description: If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2)\n will be generated and attached as an `Authorization` header in the\n HTTP request. This type of authorization should generally only be\n used when calling Google APIs hosted on *.googleapis.com.\n properties:\n scope:\n type: string\n x-dcl-go-name: Scope\n description: OAuth scope to be used for generating OAuth access\n token. If not specified, \"https://www.googleapis.com/auth/cloud-platform\"\n will be used.\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: '[Service account email](https://cloud.google.com/iam/docs/service-accounts)\n to be used for generating OAuth token. The service account must\n be within the same project as the job. The caller must have iam.serviceAccounts.actAs\n permission for the service account.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n oidcToken:\n type: object\n x-dcl-go-name: OidcToken\n x-dcl-go-type: JobHttpTargetOidcToken\n description: If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)\n token will be generated and attached as an `Authorization` header\n in the HTTP request. This type of authorization can be used for many\n scenarios, including calling Cloud Run, or endpoints where you intend\n to validate the token yourself.\n properties:\n audience:\n type: string\n x-dcl-go-name: Audience\n description: Audience to be used when generating OIDC token. If\n not specified, the URI specified in target will be used.\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: '[Service account email](https://cloud.google.com/iam/docs/service-accounts)\n to be used for generating OIDC token. The service account must\n be within the same project as the job. The caller must have iam.serviceAccounts.actAs\n permission for the service account.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n uri:\n type: string\n x-dcl-go-name: Uri\n description: 'Required. The full URI path that the request will be sent\n to. This string must begin with either \"http://\" or \"https://\". Some\n examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`.\n Cloud Scheduler will encode some characters for safety and compatibility.\n The maximum allowed URL length is 2083 characters after encoding.'\n lastAttemptTime:\n type: string\n format: date-time\n x-dcl-go-name: LastAttemptTime\n readOnly: true\n description: Output only. The time the last job attempt started.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Optionally caller-specified in CreateJob, after which it becomes\n output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.\n * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens\n (-), colons (:), or periods (.). For more information, see [Identifying\n projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)\n * `LOCATION_ID` is the canonical ID for the job''s location. The list\n of available locations can be obtained by calling ListLocations. For more\n information, see https://cloud.google.com/about/locations/. * `JOB_ID`\n can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or\n underscores (_). The maximum length is 500 characters.'\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pubsubTarget:\n type: object\n x-dcl-go-name: PubsubTarget\n x-dcl-go-type: JobPubsubTarget\n description: Pub/Sub target.\n required:\n - topicName\n properties:\n attributes:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Attributes\n description: Attributes for PubsubMessage. Pubsub message must contain\n either non-empty data, or at least one attribute.\n data:\n type: string\n x-dcl-go-name: Data\n description: The message payload for PubsubMessage. Pubsub message must\n contain either non-empty data, or at least one attribute.\n topicName:\n type: string\n x-dcl-go-name: TopicName\n description: Required. The name of the Cloud Pub/Sub topic to which\n messages will be published when a job is delivered. The topic name\n must be in the same format as required by Pub/Sub's [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest),\n for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must\n be in the same project as the Cloud Scheduler job.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n retryConfig:\n type: object\n x-dcl-go-name: RetryConfig\n x-dcl-go-type: JobRetryConfig\n description: Settings that determine the retry behavior.\n properties:\n maxBackoffDuration:\n type: string\n x-dcl-go-name: MaxBackoffDuration\n description: The maximum amount of time to wait before retrying a job\n after it fails. The default value of this field is 1 hour.\n maxDoublings:\n type: integer\n format: int64\n x-dcl-go-name: MaxDoublings\n description: The time between retries will double `max_doublings` times.\n A job's retry interval starts at min_backoff_duration, then doubles\n `max_doublings` times, then increases linearly, and finally retries\n at intervals of max_backoff_duration up to retry_count times. For\n example, if min_backoff_duration is 10s, max_backoff_duration is 300s,\n and `max_doublings` is 3, then the a job will first be retried in\n 10s. The retry interval will double three times, and then increase\n linearly by 2^3 * 10s. Finally, the job will retry at intervals of\n max_backoff_duration until the job has been attempted retry_count\n times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,\n 240s, 300s, 300s, .... The default value of this field is 5.\n maxRetryDuration:\n type: string\n x-dcl-go-name: MaxRetryDuration\n description: The time limit for retrying a failed job, measured from\n time when an execution was first attempted. If specified with retry_count,\n the job will be retried until both limits are reached. The default\n value for max_retry_duration is zero, which means retry duration is\n unlimited.\n minBackoffDuration:\n type: string\n x-dcl-go-name: MinBackoffDuration\n description: The minimum amount of time to wait before retrying a job\n after it fails. The default value of this field is 5 seconds.\n retryCount:\n type: integer\n format: int64\n x-dcl-go-name: RetryCount\n description: The number of attempts that the system will make to run\n a job using the exponential backoff procedure described by max_doublings.\n The default value of retry_count is zero. If retry_count is zero,\n a job attempt will *not* be retried if it fails. Instead the Cloud\n Scheduler system will wait for the next scheduled execution time.\n If retry_count is set to a non-zero number then Cloud Scheduler will\n retry failed attempts, using exponential backoff, retry_count times,\n or until the next scheduled execution time, whichever comes first.\n Values greater than 5 and negative values are not allowed.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Required, except when used with UpdateJob. Describes the schedule\n on which the job will be executed. The schedule can be either of the following\n types: * [Crontab](http://en.wikipedia.org/wiki/Cron#Overview) * English-like\n [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules)\n As a general rule, execution `n + 1` of a job will not begin until execution\n `n` has finished. Cloud Scheduler will never allow two simultaneously\n outstanding executions. For example, this implies that if the `n+1`th\n execution is scheduled to run at 16:00 but the `n`th execution takes until\n 16:15, the `n+1`th execution will not start until `16:15`. A scheduled\n start time will be delayed if the previous execution has not ended when\n its scheduled time occurs. If retry_count > 0 and a job attempt fails,\n the job will be tried a total of retry_count times, with exponential backoff,\n until the next scheduled start time.'\n scheduleTime:\n type: string\n format: date-time\n x-dcl-go-name: ScheduleTime\n readOnly: true\n description: Output only. The next time the job is scheduled. Note that\n this may be a retry of a previously failed attempt or the next execution\n time according to the schedule.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: JobStateEnum\n readOnly: true\n description: 'Output only. State of the job. Possible values: STATE_UNSPECIFIED,\n ENABLED, PAUSED, DISABLED, UPDATE_FAILED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLED\n - PAUSED\n - DISABLED\n - UPDATE_FAILED\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: JobStatus\n readOnly: true\n description: Output only. The response from the target for the last attempted\n execution.\n x-kubernetes-immutable: true\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of google.rpc.Code.\n x-kubernetes-immutable: true\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details. There\n is a common set of message types for APIs to use.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobStatusDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies the\n type of the serialized protocol buffer message. This string\n must contain at least one \"/\" character. The last segment of\n the URL''s path must represent the fully qualified name of the\n type (as in `path/google.protobuf.Duration`). The name should\n be in a canonical form (e.g., leading \".\" is not accepted).\n In practice, teams usually precompile into the binary all types\n that they expect it to use in the context of Any. However, for\n URLs which use the scheme `http`, `https`, or no scheme, one\n can optionally set up a type server that maps type URLs to message\n definitions as follows: * If no scheme is provided, `https`\n is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL, or have\n them precompiled into a binary to avoid any lookup. Therefore,\n binary compatibility needs to be preserved on changes to types.\n (Use versioned type names to manage breaking changes.) Note:\n this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning\n with type.googleapis.com. Schemes other than `http`, `https`\n (or the empty scheme) might be used with implementation specific\n semantics.'\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer of the\n above specified type.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be in English.\n Any user-facing error message should be localized and sent in the\n google.rpc.Status.details field, or localized by the client.\n x-kubernetes-immutable: true\n timeZone:\n type: string\n x-dcl-go-name: TimeZone\n description: Specifies the time zone to be used in interpreting schedule.\n The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database).\n Note that some time zones include a provision for daylight savings time.\n The rules for daylight saving time are determined by the chosen tz. For\n UTC use the string \"utc\". If a time zone is not specified, the default\n will be in UTC (also known as GMT).\n userUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: UserUpdateTime\n readOnly: true\n description: Output only. The creation time of the job.\n x-kubernetes-immutable: true\n") -// 27210 bytes -// MD5: b72861e7512adcfca21573742bd37cb7 +// 27235 bytes +// MD5: 294011d46aea6bb77e0b33b15b733a33 diff --git a/services/google/cloudscheduler/alpha/job_schema.go b/services/google/cloudscheduler/alpha/job_schema.go index 82ea974c09..60edfc26a5 100755 --- a/services/google/cloudscheduler/alpha/job_schema.go +++ b/services/google/cloudscheduler/alpha/job_schema.go @@ -23,6 +23,7 @@ func DCLJobSchema() *dcl.Schema { Title: "CloudScheduler/Job", Description: "The CloudScheduler Job resource", StructName: "Job", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudscheduler/beta/job.yaml b/services/google/cloudscheduler/beta/job.yaml index 5f2a331ebb..58de82545f 100755 --- a/services/google/cloudscheduler/beta/job.yaml +++ b/services/google/cloudscheduler/beta/job.yaml @@ -15,6 +15,7 @@ info: title: CloudScheduler/Job description: The CloudScheduler Job resource x-dcl-struct-name: Job + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudscheduler/beta/job_beta_yaml_embed.go b/services/google/cloudscheduler/beta/job_beta_yaml_embed.go index f7e6ca03bc..0a79462e18 100755 --- a/services/google/cloudscheduler/beta/job_beta_yaml_embed.go +++ b/services/google/cloudscheduler/beta/job_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudscheduler/beta/job.yaml -var YAML_job = []byte("info:\n title: CloudScheduler/Job\n description: The CloudScheduler Job resource\n x-dcl-struct-name: Job\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n apply:\n description: The function used to apply information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n delete:\n description: The function used to delete a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n deleteAll:\n description: The function used to delete all Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Job:\n title: Job\n x-dcl-id: projects/{{project}}/locations/{{location}}/jobs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n appEngineHttpTarget:\n type: object\n x-dcl-go-name: AppEngineHttpTarget\n x-dcl-go-type: JobAppEngineHttpTarget\n description: App Engine HTTP target.\n properties:\n appEngineRouting:\n type: object\n x-dcl-go-name: AppEngineRouting\n x-dcl-go-type: JobAppEngineHttpTargetAppEngineRouting\n description: App Engine Routing setting for the job.\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n readOnly: true\n description: 'Output only. The host that the job is sent to. For\n more information about how App Engine requests are routed, see\n [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).\n The host is constructed as: * `host = [application_domain_name]`\n `| [service] + ''.'' + [application_domain_name]` `| [version]\n + ''.'' + [application_domain_name]` `| [version_dot_service]+\n ''.'' + [application_domain_name]` `| [instance] + ''.'' + [application_domain_name]`\n `| [instance_dot_service] + ''.'' + [application_domain_name]`\n `| [instance_dot_version] + ''.'' + [application_domain_name]`\n `| [instance_dot_version_dot_service] + ''.'' + [application_domain_name]`\n * `application_domain_name` = The domain name of the app, for\n example .appspot.com, which is associated with the job''s project\n ID. * `service =` service * `version =` version * `version_dot_service\n =` version `+ ''.'' +` service * `instance =` instance * `instance_dot_service\n =` instance `+ ''.'' +` service * `instance_dot_version =` instance\n `+ ''.'' +` version * `instance_dot_version_dot_service =` instance\n `+ ''.'' +` version `+ ''.'' +` service If service is empty, then\n the job will be sent to the service which is the default service\n when the job is attempted. If version is empty, then the job will\n be sent to the version which is the default version when the job\n is attempted. If instance is empty, then the job will be sent\n to an instance which is available when the job is attempted. If\n service, version, or instance is invalid, then the job will be\n sent to the default version of the default service when the job\n is attempted.'\n instance:\n type: string\n x-dcl-go-name: Instance\n description: App instance. By default, the job is sent to an instance\n which is available when the job is attempted. Requests can only\n be sent to a specific instance if [manual scaling is used in App\n Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes).\n App Engine Flex does not support instances. For more information,\n see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\n and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).\n service:\n type: string\n x-dcl-go-name: Service\n description: App service. By default, the job is sent to the service\n which is the default service when the job is attempted.\n version:\n type: string\n x-dcl-go-name: Version\n description: App version. By default, the job is sent to the version\n which is the default version when the job is attempted.\n body:\n type: string\n x-dcl-go-name: Body\n description: Body. HTTP request body. A request body is allowed only\n if the HTTP method is POST or PUT. It will result in invalid argument\n error to set a body on a job with an incompatible HttpMethod.\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: 'HTTP request headers. This map contains the header field\n names and values. Headers can be set when the job is created. Cloud\n Scheduler sets some headers to default values: * `User-Agent`: By\n default, this header is `\"App Engine-Google; (+http://code.google.com/appengine)\"`.\n This header can be modified, but Cloud Scheduler will append `\"App\n Engine-Google; (+http://code.google.com/appengine)\"` to the modified\n `User-Agent`. * `X-CloudScheduler`: This header will be set to true.\n The headers below are output only. They cannot be set or overridden:\n * `X-Google-*`: For Google internal use only. * `X-App Engine-*`:\n For Google internal use only. In addition, some App Engine headers,\n which contain job-specific information, are also be sent to the job\n handler.'\n httpMethod:\n type: string\n x-dcl-go-name: HttpMethod\n x-dcl-go-type: JobAppEngineHttpTargetHttpMethodEnum\n description: 'The HTTP method to use for the request. PATCH and OPTIONS\n are not permitted. Possible values: HTTP_METHOD_UNSPECIFIED, POST,\n GET, HEAD, PUT, DELETE, PATCH, OPTIONS'\n enum:\n - HTTP_METHOD_UNSPECIFIED\n - POST\n - GET\n - HEAD\n - PUT\n - DELETE\n - PATCH\n - OPTIONS\n relativeUri:\n type: string\n x-dcl-go-name: RelativeUri\n description: The relative URI. The relative URL must begin with \"/\"\n and must be a valid HTTP relative URL. It can contain a path, query\n string arguments, and `#` fragments. If the relative URL is empty,\n then the root path \"/\" will be used. No spaces are allowed, and the\n maximum length allowed is 2083 characters.\n attemptDeadline:\n type: string\n x-dcl-go-name: AttemptDeadline\n description: 'The deadline for job attempts. If the request handler does\n not respond by this deadline then the request is cancelled and the attempt\n is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be\n viewed in execution logs. Cloud Scheduler will retry the job according\n to the RetryConfig. The allowed duration for this deadline is: * For HTTP\n targets, between 15 seconds and 30 minutes. * For App Engine HTTP targets,\n between 15 seconds and 24 hours.'\n description:\n type: string\n x-dcl-go-name: Description\n description: Optionally caller-specified in CreateJob or UpdateJob. A human-readable\n description for the job. This string must not contain more than 500 characters.\n httpTarget:\n type: object\n x-dcl-go-name: HttpTarget\n x-dcl-go-type: JobHttpTarget\n description: HTTP target.\n required:\n - uri\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: HTTP request body. A request body is allowed only if the\n HTTP method is POST, PUT, or PATCH. It is an error to set body on\n a job with an incompatible HttpMethod.\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: 'The user can specify HTTP request headers to send with\n the job''s HTTP request. This map contains the header field names\n and values. Repeated headers are not supported, but a header value\n can contain commas. These headers represent a subset of the headers\n that will accompany the job''s HTTP request. Some HTTP request headers\n will be ignored or replaced. A partial list of headers that will be\n ignored or replaced is below: - Host: This will be computed by Cloud\n Scheduler and derived from uri. * `Content-Length`: This will be computed\n by Cloud Scheduler. * `User-Agent`: This will be set to `\"Google-Cloud-Scheduler\"`.\n * `X-Google-*`: Google internal use only. * `X-appengine-*`: Google\n internal use only. The total size of headers must be less than 80KB.'\n httpMethod:\n type: string\n x-dcl-go-name: HttpMethod\n x-dcl-go-type: JobHttpTargetHttpMethodEnum\n description: 'Which HTTP method to use for the request. Possible values:\n HTTP_METHOD_UNSPECIFIED, POST, GET, HEAD, PUT, DELETE, PATCH, OPTIONS'\n enum:\n - HTTP_METHOD_UNSPECIFIED\n - POST\n - GET\n - HEAD\n - PUT\n - DELETE\n - PATCH\n - OPTIONS\n oauthToken:\n type: object\n x-dcl-go-name: OAuthToken\n x-dcl-go-type: JobHttpTargetOAuthToken\n description: If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2)\n will be generated and attached as an `Authorization` header in the\n HTTP request. This type of authorization should generally only be\n used when calling Google APIs hosted on *.googleapis.com.\n properties:\n scope:\n type: string\n x-dcl-go-name: Scope\n description: OAuth scope to be used for generating OAuth access\n token. If not specified, \"https://www.googleapis.com/auth/cloud-platform\"\n will be used.\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: '[Service account email](https://cloud.google.com/iam/docs/service-accounts)\n to be used for generating OAuth token. The service account must\n be within the same project as the job. The caller must have iam.serviceAccounts.actAs\n permission for the service account.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n oidcToken:\n type: object\n x-dcl-go-name: OidcToken\n x-dcl-go-type: JobHttpTargetOidcToken\n description: If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)\n token will be generated and attached as an `Authorization` header\n in the HTTP request. This type of authorization can be used for many\n scenarios, including calling Cloud Run, or endpoints where you intend\n to validate the token yourself.\n properties:\n audience:\n type: string\n x-dcl-go-name: Audience\n description: Audience to be used when generating OIDC token. If\n not specified, the URI specified in target will be used.\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: '[Service account email](https://cloud.google.com/iam/docs/service-accounts)\n to be used for generating OIDC token. The service account must\n be within the same project as the job. The caller must have iam.serviceAccounts.actAs\n permission for the service account.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n uri:\n type: string\n x-dcl-go-name: Uri\n description: 'Required. The full URI path that the request will be sent\n to. This string must begin with either \"http://\" or \"https://\". Some\n examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`.\n Cloud Scheduler will encode some characters for safety and compatibility.\n The maximum allowed URL length is 2083 characters after encoding.'\n lastAttemptTime:\n type: string\n format: date-time\n x-dcl-go-name: LastAttemptTime\n readOnly: true\n description: Output only. The time the last job attempt started.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Optionally caller-specified in CreateJob, after which it becomes\n output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.\n * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens\n (-), colons (:), or periods (.). For more information, see [Identifying\n projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)\n * `LOCATION_ID` is the canonical ID for the job''s location. The list\n of available locations can be obtained by calling ListLocations. For more\n information, see https://cloud.google.com/about/locations/. * `JOB_ID`\n can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or\n underscores (_). The maximum length is 500 characters.'\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pubsubTarget:\n type: object\n x-dcl-go-name: PubsubTarget\n x-dcl-go-type: JobPubsubTarget\n description: Pub/Sub target.\n required:\n - topicName\n properties:\n attributes:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Attributes\n description: Attributes for PubsubMessage. Pubsub message must contain\n either non-empty data, or at least one attribute.\n data:\n type: string\n x-dcl-go-name: Data\n description: The message payload for PubsubMessage. Pubsub message must\n contain either non-empty data, or at least one attribute.\n topicName:\n type: string\n x-dcl-go-name: TopicName\n description: Required. The name of the Cloud Pub/Sub topic to which\n messages will be published when a job is delivered. The topic name\n must be in the same format as required by Pub/Sub's [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest),\n for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must\n be in the same project as the Cloud Scheduler job.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n retryConfig:\n type: object\n x-dcl-go-name: RetryConfig\n x-dcl-go-type: JobRetryConfig\n description: Settings that determine the retry behavior.\n properties:\n maxBackoffDuration:\n type: string\n x-dcl-go-name: MaxBackoffDuration\n description: The maximum amount of time to wait before retrying a job\n after it fails. The default value of this field is 1 hour.\n maxDoublings:\n type: integer\n format: int64\n x-dcl-go-name: MaxDoublings\n description: The time between retries will double `max_doublings` times.\n A job's retry interval starts at min_backoff_duration, then doubles\n `max_doublings` times, then increases linearly, and finally retries\n at intervals of max_backoff_duration up to retry_count times. For\n example, if min_backoff_duration is 10s, max_backoff_duration is 300s,\n and `max_doublings` is 3, then the a job will first be retried in\n 10s. The retry interval will double three times, and then increase\n linearly by 2^3 * 10s. Finally, the job will retry at intervals of\n max_backoff_duration until the job has been attempted retry_count\n times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,\n 240s, 300s, 300s, .... The default value of this field is 5.\n maxRetryDuration:\n type: string\n x-dcl-go-name: MaxRetryDuration\n description: The time limit for retrying a failed job, measured from\n time when an execution was first attempted. If specified with retry_count,\n the job will be retried until both limits are reached. The default\n value for max_retry_duration is zero, which means retry duration is\n unlimited.\n minBackoffDuration:\n type: string\n x-dcl-go-name: MinBackoffDuration\n description: The minimum amount of time to wait before retrying a job\n after it fails. The default value of this field is 5 seconds.\n retryCount:\n type: integer\n format: int64\n x-dcl-go-name: RetryCount\n description: The number of attempts that the system will make to run\n a job using the exponential backoff procedure described by max_doublings.\n The default value of retry_count is zero. If retry_count is zero,\n a job attempt will *not* be retried if it fails. Instead the Cloud\n Scheduler system will wait for the next scheduled execution time.\n If retry_count is set to a non-zero number then Cloud Scheduler will\n retry failed attempts, using exponential backoff, retry_count times,\n or until the next scheduled execution time, whichever comes first.\n Values greater than 5 and negative values are not allowed.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Required, except when used with UpdateJob. Describes the schedule\n on which the job will be executed. The schedule can be either of the following\n types: * [Crontab](http://en.wikipedia.org/wiki/Cron#Overview) * English-like\n [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules)\n As a general rule, execution `n + 1` of a job will not begin until execution\n `n` has finished. Cloud Scheduler will never allow two simultaneously\n outstanding executions. For example, this implies that if the `n+1`th\n execution is scheduled to run at 16:00 but the `n`th execution takes until\n 16:15, the `n+1`th execution will not start until `16:15`. A scheduled\n start time will be delayed if the previous execution has not ended when\n its scheduled time occurs. If retry_count > 0 and a job attempt fails,\n the job will be tried a total of retry_count times, with exponential backoff,\n until the next scheduled start time.'\n scheduleTime:\n type: string\n format: date-time\n x-dcl-go-name: ScheduleTime\n readOnly: true\n description: Output only. The next time the job is scheduled. Note that\n this may be a retry of a previously failed attempt or the next execution\n time according to the schedule.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: JobStateEnum\n readOnly: true\n description: 'Output only. State of the job. Possible values: STATE_UNSPECIFIED,\n ENABLED, PAUSED, DISABLED, UPDATE_FAILED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLED\n - PAUSED\n - DISABLED\n - UPDATE_FAILED\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: JobStatus\n readOnly: true\n description: Output only. The response from the target for the last attempted\n execution.\n x-kubernetes-immutable: true\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of google.rpc.Code.\n x-kubernetes-immutable: true\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details. There\n is a common set of message types for APIs to use.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobStatusDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies the\n type of the serialized protocol buffer message. This string\n must contain at least one \"/\" character. The last segment of\n the URL''s path must represent the fully qualified name of the\n type (as in `path/google.protobuf.Duration`). The name should\n be in a canonical form (e.g., leading \".\" is not accepted).\n In practice, teams usually precompile into the binary all types\n that they expect it to use in the context of Any. However, for\n URLs which use the scheme `http`, `https`, or no scheme, one\n can optionally set up a type server that maps type URLs to message\n definitions as follows: * If no scheme is provided, `https`\n is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL, or have\n them precompiled into a binary to avoid any lookup. Therefore,\n binary compatibility needs to be preserved on changes to types.\n (Use versioned type names to manage breaking changes.) Note:\n this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning\n with type.googleapis.com. Schemes other than `http`, `https`\n (or the empty scheme) might be used with implementation specific\n semantics.'\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer of the\n above specified type.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be in English.\n Any user-facing error message should be localized and sent in the\n google.rpc.Status.details field, or localized by the client.\n x-kubernetes-immutable: true\n timeZone:\n type: string\n x-dcl-go-name: TimeZone\n description: Specifies the time zone to be used in interpreting schedule.\n The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database).\n Note that some time zones include a provision for daylight savings time.\n The rules for daylight saving time are determined by the chosen tz. For\n UTC use the string \"utc\". If a time zone is not specified, the default\n will be in UTC (also known as GMT).\n userUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: UserUpdateTime\n readOnly: true\n description: Output only. The creation time of the job.\n x-kubernetes-immutable: true\n") +var YAML_job = []byte("info:\n title: CloudScheduler/Job\n description: The CloudScheduler Job resource\n x-dcl-struct-name: Job\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n apply:\n description: The function used to apply information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n delete:\n description: The function used to delete a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n deleteAll:\n description: The function used to delete all Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Job:\n title: Job\n x-dcl-id: projects/{{project}}/locations/{{location}}/jobs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n appEngineHttpTarget:\n type: object\n x-dcl-go-name: AppEngineHttpTarget\n x-dcl-go-type: JobAppEngineHttpTarget\n description: App Engine HTTP target.\n properties:\n appEngineRouting:\n type: object\n x-dcl-go-name: AppEngineRouting\n x-dcl-go-type: JobAppEngineHttpTargetAppEngineRouting\n description: App Engine Routing setting for the job.\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n readOnly: true\n description: 'Output only. The host that the job is sent to. For\n more information about how App Engine requests are routed, see\n [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).\n The host is constructed as: * `host = [application_domain_name]`\n `| [service] + ''.'' + [application_domain_name]` `| [version]\n + ''.'' + [application_domain_name]` `| [version_dot_service]+\n ''.'' + [application_domain_name]` `| [instance] + ''.'' + [application_domain_name]`\n `| [instance_dot_service] + ''.'' + [application_domain_name]`\n `| [instance_dot_version] + ''.'' + [application_domain_name]`\n `| [instance_dot_version_dot_service] + ''.'' + [application_domain_name]`\n * `application_domain_name` = The domain name of the app, for\n example .appspot.com, which is associated with the job''s project\n ID. * `service =` service * `version =` version * `version_dot_service\n =` version `+ ''.'' +` service * `instance =` instance * `instance_dot_service\n =` instance `+ ''.'' +` service * `instance_dot_version =` instance\n `+ ''.'' +` version * `instance_dot_version_dot_service =` instance\n `+ ''.'' +` version `+ ''.'' +` service If service is empty, then\n the job will be sent to the service which is the default service\n when the job is attempted. If version is empty, then the job will\n be sent to the version which is the default version when the job\n is attempted. If instance is empty, then the job will be sent\n to an instance which is available when the job is attempted. If\n service, version, or instance is invalid, then the job will be\n sent to the default version of the default service when the job\n is attempted.'\n instance:\n type: string\n x-dcl-go-name: Instance\n description: App instance. By default, the job is sent to an instance\n which is available when the job is attempted. Requests can only\n be sent to a specific instance if [manual scaling is used in App\n Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes).\n App Engine Flex does not support instances. For more information,\n see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\n and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).\n service:\n type: string\n x-dcl-go-name: Service\n description: App service. By default, the job is sent to the service\n which is the default service when the job is attempted.\n version:\n type: string\n x-dcl-go-name: Version\n description: App version. By default, the job is sent to the version\n which is the default version when the job is attempted.\n body:\n type: string\n x-dcl-go-name: Body\n description: Body. HTTP request body. A request body is allowed only\n if the HTTP method is POST or PUT. It will result in invalid argument\n error to set a body on a job with an incompatible HttpMethod.\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: 'HTTP request headers. This map contains the header field\n names and values. Headers can be set when the job is created. Cloud\n Scheduler sets some headers to default values: * `User-Agent`: By\n default, this header is `\"App Engine-Google; (+http://code.google.com/appengine)\"`.\n This header can be modified, but Cloud Scheduler will append `\"App\n Engine-Google; (+http://code.google.com/appengine)\"` to the modified\n `User-Agent`. * `X-CloudScheduler`: This header will be set to true.\n The headers below are output only. They cannot be set or overridden:\n * `X-Google-*`: For Google internal use only. * `X-App Engine-*`:\n For Google internal use only. In addition, some App Engine headers,\n which contain job-specific information, are also be sent to the job\n handler.'\n httpMethod:\n type: string\n x-dcl-go-name: HttpMethod\n x-dcl-go-type: JobAppEngineHttpTargetHttpMethodEnum\n description: 'The HTTP method to use for the request. PATCH and OPTIONS\n are not permitted. Possible values: HTTP_METHOD_UNSPECIFIED, POST,\n GET, HEAD, PUT, DELETE, PATCH, OPTIONS'\n enum:\n - HTTP_METHOD_UNSPECIFIED\n - POST\n - GET\n - HEAD\n - PUT\n - DELETE\n - PATCH\n - OPTIONS\n relativeUri:\n type: string\n x-dcl-go-name: RelativeUri\n description: The relative URI. The relative URL must begin with \"/\"\n and must be a valid HTTP relative URL. It can contain a path, query\n string arguments, and `#` fragments. If the relative URL is empty,\n then the root path \"/\" will be used. No spaces are allowed, and the\n maximum length allowed is 2083 characters.\n attemptDeadline:\n type: string\n x-dcl-go-name: AttemptDeadline\n description: 'The deadline for job attempts. If the request handler does\n not respond by this deadline then the request is cancelled and the attempt\n is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be\n viewed in execution logs. Cloud Scheduler will retry the job according\n to the RetryConfig. The allowed duration for this deadline is: * For HTTP\n targets, between 15 seconds and 30 minutes. * For App Engine HTTP targets,\n between 15 seconds and 24 hours.'\n description:\n type: string\n x-dcl-go-name: Description\n description: Optionally caller-specified in CreateJob or UpdateJob. A human-readable\n description for the job. This string must not contain more than 500 characters.\n httpTarget:\n type: object\n x-dcl-go-name: HttpTarget\n x-dcl-go-type: JobHttpTarget\n description: HTTP target.\n required:\n - uri\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: HTTP request body. A request body is allowed only if the\n HTTP method is POST, PUT, or PATCH. It is an error to set body on\n a job with an incompatible HttpMethod.\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: 'The user can specify HTTP request headers to send with\n the job''s HTTP request. This map contains the header field names\n and values. Repeated headers are not supported, but a header value\n can contain commas. These headers represent a subset of the headers\n that will accompany the job''s HTTP request. Some HTTP request headers\n will be ignored or replaced. A partial list of headers that will be\n ignored or replaced is below: - Host: This will be computed by Cloud\n Scheduler and derived from uri. * `Content-Length`: This will be computed\n by Cloud Scheduler. * `User-Agent`: This will be set to `\"Google-Cloud-Scheduler\"`.\n * `X-Google-*`: Google internal use only. * `X-appengine-*`: Google\n internal use only. The total size of headers must be less than 80KB.'\n httpMethod:\n type: string\n x-dcl-go-name: HttpMethod\n x-dcl-go-type: JobHttpTargetHttpMethodEnum\n description: 'Which HTTP method to use for the request. Possible values:\n HTTP_METHOD_UNSPECIFIED, POST, GET, HEAD, PUT, DELETE, PATCH, OPTIONS'\n enum:\n - HTTP_METHOD_UNSPECIFIED\n - POST\n - GET\n - HEAD\n - PUT\n - DELETE\n - PATCH\n - OPTIONS\n oauthToken:\n type: object\n x-dcl-go-name: OAuthToken\n x-dcl-go-type: JobHttpTargetOAuthToken\n description: If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2)\n will be generated and attached as an `Authorization` header in the\n HTTP request. This type of authorization should generally only be\n used when calling Google APIs hosted on *.googleapis.com.\n properties:\n scope:\n type: string\n x-dcl-go-name: Scope\n description: OAuth scope to be used for generating OAuth access\n token. If not specified, \"https://www.googleapis.com/auth/cloud-platform\"\n will be used.\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: '[Service account email](https://cloud.google.com/iam/docs/service-accounts)\n to be used for generating OAuth token. The service account must\n be within the same project as the job. The caller must have iam.serviceAccounts.actAs\n permission for the service account.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n oidcToken:\n type: object\n x-dcl-go-name: OidcToken\n x-dcl-go-type: JobHttpTargetOidcToken\n description: If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)\n token will be generated and attached as an `Authorization` header\n in the HTTP request. This type of authorization can be used for many\n scenarios, including calling Cloud Run, or endpoints where you intend\n to validate the token yourself.\n properties:\n audience:\n type: string\n x-dcl-go-name: Audience\n description: Audience to be used when generating OIDC token. If\n not specified, the URI specified in target will be used.\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: '[Service account email](https://cloud.google.com/iam/docs/service-accounts)\n to be used for generating OIDC token. The service account must\n be within the same project as the job. The caller must have iam.serviceAccounts.actAs\n permission for the service account.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n uri:\n type: string\n x-dcl-go-name: Uri\n description: 'Required. The full URI path that the request will be sent\n to. This string must begin with either \"http://\" or \"https://\". Some\n examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`.\n Cloud Scheduler will encode some characters for safety and compatibility.\n The maximum allowed URL length is 2083 characters after encoding.'\n lastAttemptTime:\n type: string\n format: date-time\n x-dcl-go-name: LastAttemptTime\n readOnly: true\n description: Output only. The time the last job attempt started.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Optionally caller-specified in CreateJob, after which it becomes\n output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.\n * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens\n (-), colons (:), or periods (.). For more information, see [Identifying\n projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)\n * `LOCATION_ID` is the canonical ID for the job''s location. The list\n of available locations can be obtained by calling ListLocations. For more\n information, see https://cloud.google.com/about/locations/. * `JOB_ID`\n can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or\n underscores (_). The maximum length is 500 characters.'\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pubsubTarget:\n type: object\n x-dcl-go-name: PubsubTarget\n x-dcl-go-type: JobPubsubTarget\n description: Pub/Sub target.\n required:\n - topicName\n properties:\n attributes:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Attributes\n description: Attributes for PubsubMessage. Pubsub message must contain\n either non-empty data, or at least one attribute.\n data:\n type: string\n x-dcl-go-name: Data\n description: The message payload for PubsubMessage. Pubsub message must\n contain either non-empty data, or at least one attribute.\n topicName:\n type: string\n x-dcl-go-name: TopicName\n description: Required. The name of the Cloud Pub/Sub topic to which\n messages will be published when a job is delivered. The topic name\n must be in the same format as required by Pub/Sub's [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest),\n for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must\n be in the same project as the Cloud Scheduler job.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n retryConfig:\n type: object\n x-dcl-go-name: RetryConfig\n x-dcl-go-type: JobRetryConfig\n description: Settings that determine the retry behavior.\n properties:\n maxBackoffDuration:\n type: string\n x-dcl-go-name: MaxBackoffDuration\n description: The maximum amount of time to wait before retrying a job\n after it fails. The default value of this field is 1 hour.\n maxDoublings:\n type: integer\n format: int64\n x-dcl-go-name: MaxDoublings\n description: The time between retries will double `max_doublings` times.\n A job's retry interval starts at min_backoff_duration, then doubles\n `max_doublings` times, then increases linearly, and finally retries\n at intervals of max_backoff_duration up to retry_count times. For\n example, if min_backoff_duration is 10s, max_backoff_duration is 300s,\n and `max_doublings` is 3, then the a job will first be retried in\n 10s. The retry interval will double three times, and then increase\n linearly by 2^3 * 10s. Finally, the job will retry at intervals of\n max_backoff_duration until the job has been attempted retry_count\n times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,\n 240s, 300s, 300s, .... The default value of this field is 5.\n maxRetryDuration:\n type: string\n x-dcl-go-name: MaxRetryDuration\n description: The time limit for retrying a failed job, measured from\n time when an execution was first attempted. If specified with retry_count,\n the job will be retried until both limits are reached. The default\n value for max_retry_duration is zero, which means retry duration is\n unlimited.\n minBackoffDuration:\n type: string\n x-dcl-go-name: MinBackoffDuration\n description: The minimum amount of time to wait before retrying a job\n after it fails. The default value of this field is 5 seconds.\n retryCount:\n type: integer\n format: int64\n x-dcl-go-name: RetryCount\n description: The number of attempts that the system will make to run\n a job using the exponential backoff procedure described by max_doublings.\n The default value of retry_count is zero. If retry_count is zero,\n a job attempt will *not* be retried if it fails. Instead the Cloud\n Scheduler system will wait for the next scheduled execution time.\n If retry_count is set to a non-zero number then Cloud Scheduler will\n retry failed attempts, using exponential backoff, retry_count times,\n or until the next scheduled execution time, whichever comes first.\n Values greater than 5 and negative values are not allowed.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Required, except when used with UpdateJob. Describes the schedule\n on which the job will be executed. The schedule can be either of the following\n types: * [Crontab](http://en.wikipedia.org/wiki/Cron#Overview) * English-like\n [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules)\n As a general rule, execution `n + 1` of a job will not begin until execution\n `n` has finished. Cloud Scheduler will never allow two simultaneously\n outstanding executions. For example, this implies that if the `n+1`th\n execution is scheduled to run at 16:00 but the `n`th execution takes until\n 16:15, the `n+1`th execution will not start until `16:15`. A scheduled\n start time will be delayed if the previous execution has not ended when\n its scheduled time occurs. If retry_count > 0 and a job attempt fails,\n the job will be tried a total of retry_count times, with exponential backoff,\n until the next scheduled start time.'\n scheduleTime:\n type: string\n format: date-time\n x-dcl-go-name: ScheduleTime\n readOnly: true\n description: Output only. The next time the job is scheduled. Note that\n this may be a retry of a previously failed attempt or the next execution\n time according to the schedule.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: JobStateEnum\n readOnly: true\n description: 'Output only. State of the job. Possible values: STATE_UNSPECIFIED,\n ENABLED, PAUSED, DISABLED, UPDATE_FAILED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLED\n - PAUSED\n - DISABLED\n - UPDATE_FAILED\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: JobStatus\n readOnly: true\n description: Output only. The response from the target for the last attempted\n execution.\n x-kubernetes-immutable: true\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of google.rpc.Code.\n x-kubernetes-immutable: true\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details. There\n is a common set of message types for APIs to use.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobStatusDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies the\n type of the serialized protocol buffer message. This string\n must contain at least one \"/\" character. The last segment of\n the URL''s path must represent the fully qualified name of the\n type (as in `path/google.protobuf.Duration`). The name should\n be in a canonical form (e.g., leading \".\" is not accepted).\n In practice, teams usually precompile into the binary all types\n that they expect it to use in the context of Any. However, for\n URLs which use the scheme `http`, `https`, or no scheme, one\n can optionally set up a type server that maps type URLs to message\n definitions as follows: * If no scheme is provided, `https`\n is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL, or have\n them precompiled into a binary to avoid any lookup. Therefore,\n binary compatibility needs to be preserved on changes to types.\n (Use versioned type names to manage breaking changes.) Note:\n this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning\n with type.googleapis.com. Schemes other than `http`, `https`\n (or the empty scheme) might be used with implementation specific\n semantics.'\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer of the\n above specified type.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be in English.\n Any user-facing error message should be localized and sent in the\n google.rpc.Status.details field, or localized by the client.\n x-kubernetes-immutable: true\n timeZone:\n type: string\n x-dcl-go-name: TimeZone\n description: Specifies the time zone to be used in interpreting schedule.\n The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database).\n Note that some time zones include a provision for daylight savings time.\n The rules for daylight saving time are determined by the chosen tz. For\n UTC use the string \"utc\". If a time zone is not specified, the default\n will be in UTC (also known as GMT).\n userUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: UserUpdateTime\n readOnly: true\n description: Output only. The creation time of the job.\n x-kubernetes-immutable: true\n") -// 27210 bytes -// MD5: b72861e7512adcfca21573742bd37cb7 +// 27235 bytes +// MD5: 294011d46aea6bb77e0b33b15b733a33 diff --git a/services/google/cloudscheduler/beta/job_schema.go b/services/google/cloudscheduler/beta/job_schema.go index 5b16151f1d..f209c46926 100755 --- a/services/google/cloudscheduler/beta/job_schema.go +++ b/services/google/cloudscheduler/beta/job_schema.go @@ -23,6 +23,7 @@ func DCLJobSchema() *dcl.Schema { Title: "CloudScheduler/Job", Description: "The CloudScheduler Job resource", StructName: "Job", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudscheduler/job.yaml b/services/google/cloudscheduler/job.yaml index 5f2a331ebb..58de82545f 100755 --- a/services/google/cloudscheduler/job.yaml +++ b/services/google/cloudscheduler/job.yaml @@ -15,6 +15,7 @@ info: title: CloudScheduler/Job description: The CloudScheduler Job resource x-dcl-struct-name: Job + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/cloudscheduler/job_schema.go b/services/google/cloudscheduler/job_schema.go index 5641f034d5..99bb5ec964 100755 --- a/services/google/cloudscheduler/job_schema.go +++ b/services/google/cloudscheduler/job_schema.go @@ -23,6 +23,7 @@ func DCLJobSchema() *dcl.Schema { Title: "CloudScheduler/Job", Description: "The CloudScheduler Job resource", StructName: "Job", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/cloudscheduler/job_yaml_embed.go b/services/google/cloudscheduler/job_yaml_embed.go index 4e787a1315..3ea31db70c 100755 --- a/services/google/cloudscheduler/job_yaml_embed.go +++ b/services/google/cloudscheduler/job_yaml_embed.go @@ -17,7 +17,7 @@ package cloudscheduler // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudscheduler/job.yaml -var YAML_job = []byte("info:\n title: CloudScheduler/Job\n description: The CloudScheduler Job resource\n x-dcl-struct-name: Job\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n apply:\n description: The function used to apply information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n delete:\n description: The function used to delete a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n deleteAll:\n description: The function used to delete all Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Job:\n title: Job\n x-dcl-id: projects/{{project}}/locations/{{location}}/jobs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n appEngineHttpTarget:\n type: object\n x-dcl-go-name: AppEngineHttpTarget\n x-dcl-go-type: JobAppEngineHttpTarget\n description: App Engine HTTP target.\n properties:\n appEngineRouting:\n type: object\n x-dcl-go-name: AppEngineRouting\n x-dcl-go-type: JobAppEngineHttpTargetAppEngineRouting\n description: App Engine Routing setting for the job.\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n readOnly: true\n description: 'Output only. The host that the job is sent to. For\n more information about how App Engine requests are routed, see\n [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).\n The host is constructed as: * `host = [application_domain_name]`\n `| [service] + ''.'' + [application_domain_name]` `| [version]\n + ''.'' + [application_domain_name]` `| [version_dot_service]+\n ''.'' + [application_domain_name]` `| [instance] + ''.'' + [application_domain_name]`\n `| [instance_dot_service] + ''.'' + [application_domain_name]`\n `| [instance_dot_version] + ''.'' + [application_domain_name]`\n `| [instance_dot_version_dot_service] + ''.'' + [application_domain_name]`\n * `application_domain_name` = The domain name of the app, for\n example .appspot.com, which is associated with the job''s project\n ID. * `service =` service * `version =` version * `version_dot_service\n =` version `+ ''.'' +` service * `instance =` instance * `instance_dot_service\n =` instance `+ ''.'' +` service * `instance_dot_version =` instance\n `+ ''.'' +` version * `instance_dot_version_dot_service =` instance\n `+ ''.'' +` version `+ ''.'' +` service If service is empty, then\n the job will be sent to the service which is the default service\n when the job is attempted. If version is empty, then the job will\n be sent to the version which is the default version when the job\n is attempted. If instance is empty, then the job will be sent\n to an instance which is available when the job is attempted. If\n service, version, or instance is invalid, then the job will be\n sent to the default version of the default service when the job\n is attempted.'\n instance:\n type: string\n x-dcl-go-name: Instance\n description: App instance. By default, the job is sent to an instance\n which is available when the job is attempted. Requests can only\n be sent to a specific instance if [manual scaling is used in App\n Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes).\n App Engine Flex does not support instances. For more information,\n see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\n and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).\n service:\n type: string\n x-dcl-go-name: Service\n description: App service. By default, the job is sent to the service\n which is the default service when the job is attempted.\n version:\n type: string\n x-dcl-go-name: Version\n description: App version. By default, the job is sent to the version\n which is the default version when the job is attempted.\n body:\n type: string\n x-dcl-go-name: Body\n description: Body. HTTP request body. A request body is allowed only\n if the HTTP method is POST or PUT. It will result in invalid argument\n error to set a body on a job with an incompatible HttpMethod.\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: 'HTTP request headers. This map contains the header field\n names and values. Headers can be set when the job is created. Cloud\n Scheduler sets some headers to default values: * `User-Agent`: By\n default, this header is `\"App Engine-Google; (+http://code.google.com/appengine)\"`.\n This header can be modified, but Cloud Scheduler will append `\"App\n Engine-Google; (+http://code.google.com/appengine)\"` to the modified\n `User-Agent`. * `X-CloudScheduler`: This header will be set to true.\n The headers below are output only. They cannot be set or overridden:\n * `X-Google-*`: For Google internal use only. * `X-App Engine-*`:\n For Google internal use only. In addition, some App Engine headers,\n which contain job-specific information, are also be sent to the job\n handler.'\n httpMethod:\n type: string\n x-dcl-go-name: HttpMethod\n x-dcl-go-type: JobAppEngineHttpTargetHttpMethodEnum\n description: 'The HTTP method to use for the request. PATCH and OPTIONS\n are not permitted. Possible values: HTTP_METHOD_UNSPECIFIED, POST,\n GET, HEAD, PUT, DELETE, PATCH, OPTIONS'\n enum:\n - HTTP_METHOD_UNSPECIFIED\n - POST\n - GET\n - HEAD\n - PUT\n - DELETE\n - PATCH\n - OPTIONS\n relativeUri:\n type: string\n x-dcl-go-name: RelativeUri\n description: The relative URI. The relative URL must begin with \"/\"\n and must be a valid HTTP relative URL. It can contain a path, query\n string arguments, and `#` fragments. If the relative URL is empty,\n then the root path \"/\" will be used. No spaces are allowed, and the\n maximum length allowed is 2083 characters.\n attemptDeadline:\n type: string\n x-dcl-go-name: AttemptDeadline\n description: 'The deadline for job attempts. If the request handler does\n not respond by this deadline then the request is cancelled and the attempt\n is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be\n viewed in execution logs. Cloud Scheduler will retry the job according\n to the RetryConfig. The allowed duration for this deadline is: * For HTTP\n targets, between 15 seconds and 30 minutes. * For App Engine HTTP targets,\n between 15 seconds and 24 hours.'\n description:\n type: string\n x-dcl-go-name: Description\n description: Optionally caller-specified in CreateJob or UpdateJob. A human-readable\n description for the job. This string must not contain more than 500 characters.\n httpTarget:\n type: object\n x-dcl-go-name: HttpTarget\n x-dcl-go-type: JobHttpTarget\n description: HTTP target.\n required:\n - uri\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: HTTP request body. A request body is allowed only if the\n HTTP method is POST, PUT, or PATCH. It is an error to set body on\n a job with an incompatible HttpMethod.\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: 'The user can specify HTTP request headers to send with\n the job''s HTTP request. This map contains the header field names\n and values. Repeated headers are not supported, but a header value\n can contain commas. These headers represent a subset of the headers\n that will accompany the job''s HTTP request. Some HTTP request headers\n will be ignored or replaced. A partial list of headers that will be\n ignored or replaced is below: - Host: This will be computed by Cloud\n Scheduler and derived from uri. * `Content-Length`: This will be computed\n by Cloud Scheduler. * `User-Agent`: This will be set to `\"Google-Cloud-Scheduler\"`.\n * `X-Google-*`: Google internal use only. * `X-appengine-*`: Google\n internal use only. The total size of headers must be less than 80KB.'\n httpMethod:\n type: string\n x-dcl-go-name: HttpMethod\n x-dcl-go-type: JobHttpTargetHttpMethodEnum\n description: 'Which HTTP method to use for the request. Possible values:\n HTTP_METHOD_UNSPECIFIED, POST, GET, HEAD, PUT, DELETE, PATCH, OPTIONS'\n enum:\n - HTTP_METHOD_UNSPECIFIED\n - POST\n - GET\n - HEAD\n - PUT\n - DELETE\n - PATCH\n - OPTIONS\n oauthToken:\n type: object\n x-dcl-go-name: OAuthToken\n x-dcl-go-type: JobHttpTargetOAuthToken\n description: If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2)\n will be generated and attached as an `Authorization` header in the\n HTTP request. This type of authorization should generally only be\n used when calling Google APIs hosted on *.googleapis.com.\n properties:\n scope:\n type: string\n x-dcl-go-name: Scope\n description: OAuth scope to be used for generating OAuth access\n token. If not specified, \"https://www.googleapis.com/auth/cloud-platform\"\n will be used.\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: '[Service account email](https://cloud.google.com/iam/docs/service-accounts)\n to be used for generating OAuth token. The service account must\n be within the same project as the job. The caller must have iam.serviceAccounts.actAs\n permission for the service account.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n oidcToken:\n type: object\n x-dcl-go-name: OidcToken\n x-dcl-go-type: JobHttpTargetOidcToken\n description: If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)\n token will be generated and attached as an `Authorization` header\n in the HTTP request. This type of authorization can be used for many\n scenarios, including calling Cloud Run, or endpoints where you intend\n to validate the token yourself.\n properties:\n audience:\n type: string\n x-dcl-go-name: Audience\n description: Audience to be used when generating OIDC token. If\n not specified, the URI specified in target will be used.\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: '[Service account email](https://cloud.google.com/iam/docs/service-accounts)\n to be used for generating OIDC token. The service account must\n be within the same project as the job. The caller must have iam.serviceAccounts.actAs\n permission for the service account.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n uri:\n type: string\n x-dcl-go-name: Uri\n description: 'Required. The full URI path that the request will be sent\n to. This string must begin with either \"http://\" or \"https://\". Some\n examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`.\n Cloud Scheduler will encode some characters for safety and compatibility.\n The maximum allowed URL length is 2083 characters after encoding.'\n lastAttemptTime:\n type: string\n format: date-time\n x-dcl-go-name: LastAttemptTime\n readOnly: true\n description: Output only. The time the last job attempt started.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Optionally caller-specified in CreateJob, after which it becomes\n output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.\n * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens\n (-), colons (:), or periods (.). For more information, see [Identifying\n projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)\n * `LOCATION_ID` is the canonical ID for the job''s location. The list\n of available locations can be obtained by calling ListLocations. For more\n information, see https://cloud.google.com/about/locations/. * `JOB_ID`\n can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or\n underscores (_). The maximum length is 500 characters.'\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pubsubTarget:\n type: object\n x-dcl-go-name: PubsubTarget\n x-dcl-go-type: JobPubsubTarget\n description: Pub/Sub target.\n required:\n - topicName\n properties:\n attributes:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Attributes\n description: Attributes for PubsubMessage. Pubsub message must contain\n either non-empty data, or at least one attribute.\n data:\n type: string\n x-dcl-go-name: Data\n description: The message payload for PubsubMessage. Pubsub message must\n contain either non-empty data, or at least one attribute.\n topicName:\n type: string\n x-dcl-go-name: TopicName\n description: Required. The name of the Cloud Pub/Sub topic to which\n messages will be published when a job is delivered. The topic name\n must be in the same format as required by Pub/Sub's [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest),\n for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must\n be in the same project as the Cloud Scheduler job.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n retryConfig:\n type: object\n x-dcl-go-name: RetryConfig\n x-dcl-go-type: JobRetryConfig\n description: Settings that determine the retry behavior.\n properties:\n maxBackoffDuration:\n type: string\n x-dcl-go-name: MaxBackoffDuration\n description: The maximum amount of time to wait before retrying a job\n after it fails. The default value of this field is 1 hour.\n maxDoublings:\n type: integer\n format: int64\n x-dcl-go-name: MaxDoublings\n description: The time between retries will double `max_doublings` times.\n A job's retry interval starts at min_backoff_duration, then doubles\n `max_doublings` times, then increases linearly, and finally retries\n at intervals of max_backoff_duration up to retry_count times. For\n example, if min_backoff_duration is 10s, max_backoff_duration is 300s,\n and `max_doublings` is 3, then the a job will first be retried in\n 10s. The retry interval will double three times, and then increase\n linearly by 2^3 * 10s. Finally, the job will retry at intervals of\n max_backoff_duration until the job has been attempted retry_count\n times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,\n 240s, 300s, 300s, .... The default value of this field is 5.\n maxRetryDuration:\n type: string\n x-dcl-go-name: MaxRetryDuration\n description: The time limit for retrying a failed job, measured from\n time when an execution was first attempted. If specified with retry_count,\n the job will be retried until both limits are reached. The default\n value for max_retry_duration is zero, which means retry duration is\n unlimited.\n minBackoffDuration:\n type: string\n x-dcl-go-name: MinBackoffDuration\n description: The minimum amount of time to wait before retrying a job\n after it fails. The default value of this field is 5 seconds.\n retryCount:\n type: integer\n format: int64\n x-dcl-go-name: RetryCount\n description: The number of attempts that the system will make to run\n a job using the exponential backoff procedure described by max_doublings.\n The default value of retry_count is zero. If retry_count is zero,\n a job attempt will *not* be retried if it fails. Instead the Cloud\n Scheduler system will wait for the next scheduled execution time.\n If retry_count is set to a non-zero number then Cloud Scheduler will\n retry failed attempts, using exponential backoff, retry_count times,\n or until the next scheduled execution time, whichever comes first.\n Values greater than 5 and negative values are not allowed.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Required, except when used with UpdateJob. Describes the schedule\n on which the job will be executed. The schedule can be either of the following\n types: * [Crontab](http://en.wikipedia.org/wiki/Cron#Overview) * English-like\n [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules)\n As a general rule, execution `n + 1` of a job will not begin until execution\n `n` has finished. Cloud Scheduler will never allow two simultaneously\n outstanding executions. For example, this implies that if the `n+1`th\n execution is scheduled to run at 16:00 but the `n`th execution takes until\n 16:15, the `n+1`th execution will not start until `16:15`. A scheduled\n start time will be delayed if the previous execution has not ended when\n its scheduled time occurs. If retry_count > 0 and a job attempt fails,\n the job will be tried a total of retry_count times, with exponential backoff,\n until the next scheduled start time.'\n scheduleTime:\n type: string\n format: date-time\n x-dcl-go-name: ScheduleTime\n readOnly: true\n description: Output only. The next time the job is scheduled. Note that\n this may be a retry of a previously failed attempt or the next execution\n time according to the schedule.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: JobStateEnum\n readOnly: true\n description: 'Output only. State of the job. Possible values: STATE_UNSPECIFIED,\n ENABLED, PAUSED, DISABLED, UPDATE_FAILED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLED\n - PAUSED\n - DISABLED\n - UPDATE_FAILED\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: JobStatus\n readOnly: true\n description: Output only. The response from the target for the last attempted\n execution.\n x-kubernetes-immutable: true\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of google.rpc.Code.\n x-kubernetes-immutable: true\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details. There\n is a common set of message types for APIs to use.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobStatusDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies the\n type of the serialized protocol buffer message. This string\n must contain at least one \"/\" character. The last segment of\n the URL''s path must represent the fully qualified name of the\n type (as in `path/google.protobuf.Duration`). The name should\n be in a canonical form (e.g., leading \".\" is not accepted).\n In practice, teams usually precompile into the binary all types\n that they expect it to use in the context of Any. However, for\n URLs which use the scheme `http`, `https`, or no scheme, one\n can optionally set up a type server that maps type URLs to message\n definitions as follows: * If no scheme is provided, `https`\n is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL, or have\n them precompiled into a binary to avoid any lookup. Therefore,\n binary compatibility needs to be preserved on changes to types.\n (Use versioned type names to manage breaking changes.) Note:\n this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning\n with type.googleapis.com. Schemes other than `http`, `https`\n (or the empty scheme) might be used with implementation specific\n semantics.'\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer of the\n above specified type.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be in English.\n Any user-facing error message should be localized and sent in the\n google.rpc.Status.details field, or localized by the client.\n x-kubernetes-immutable: true\n timeZone:\n type: string\n x-dcl-go-name: TimeZone\n description: Specifies the time zone to be used in interpreting schedule.\n The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database).\n Note that some time zones include a provision for daylight savings time.\n The rules for daylight saving time are determined by the chosen tz. For\n UTC use the string \"utc\". If a time zone is not specified, the default\n will be in UTC (also known as GMT).\n userUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: UserUpdateTime\n readOnly: true\n description: Output only. The creation time of the job.\n x-kubernetes-immutable: true\n") +var YAML_job = []byte("info:\n title: CloudScheduler/Job\n description: The CloudScheduler Job resource\n x-dcl-struct-name: Job\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n apply:\n description: The function used to apply information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n delete:\n description: The function used to delete a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n deleteAll:\n description: The function used to delete all Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Job:\n title: Job\n x-dcl-id: projects/{{project}}/locations/{{location}}/jobs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n appEngineHttpTarget:\n type: object\n x-dcl-go-name: AppEngineHttpTarget\n x-dcl-go-type: JobAppEngineHttpTarget\n description: App Engine HTTP target.\n properties:\n appEngineRouting:\n type: object\n x-dcl-go-name: AppEngineRouting\n x-dcl-go-type: JobAppEngineHttpTargetAppEngineRouting\n description: App Engine Routing setting for the job.\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n readOnly: true\n description: 'Output only. The host that the job is sent to. For\n more information about how App Engine requests are routed, see\n [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).\n The host is constructed as: * `host = [application_domain_name]`\n `| [service] + ''.'' + [application_domain_name]` `| [version]\n + ''.'' + [application_domain_name]` `| [version_dot_service]+\n ''.'' + [application_domain_name]` `| [instance] + ''.'' + [application_domain_name]`\n `| [instance_dot_service] + ''.'' + [application_domain_name]`\n `| [instance_dot_version] + ''.'' + [application_domain_name]`\n `| [instance_dot_version_dot_service] + ''.'' + [application_domain_name]`\n * `application_domain_name` = The domain name of the app, for\n example .appspot.com, which is associated with the job''s project\n ID. * `service =` service * `version =` version * `version_dot_service\n =` version `+ ''.'' +` service * `instance =` instance * `instance_dot_service\n =` instance `+ ''.'' +` service * `instance_dot_version =` instance\n `+ ''.'' +` version * `instance_dot_version_dot_service =` instance\n `+ ''.'' +` version `+ ''.'' +` service If service is empty, then\n the job will be sent to the service which is the default service\n when the job is attempted. If version is empty, then the job will\n be sent to the version which is the default version when the job\n is attempted. If instance is empty, then the job will be sent\n to an instance which is available when the job is attempted. If\n service, version, or instance is invalid, then the job will be\n sent to the default version of the default service when the job\n is attempted.'\n instance:\n type: string\n x-dcl-go-name: Instance\n description: App instance. By default, the job is sent to an instance\n which is available when the job is attempted. Requests can only\n be sent to a specific instance if [manual scaling is used in App\n Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes).\n App Engine Flex does not support instances. For more information,\n see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\n and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).\n service:\n type: string\n x-dcl-go-name: Service\n description: App service. By default, the job is sent to the service\n which is the default service when the job is attempted.\n version:\n type: string\n x-dcl-go-name: Version\n description: App version. By default, the job is sent to the version\n which is the default version when the job is attempted.\n body:\n type: string\n x-dcl-go-name: Body\n description: Body. HTTP request body. A request body is allowed only\n if the HTTP method is POST or PUT. It will result in invalid argument\n error to set a body on a job with an incompatible HttpMethod.\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: 'HTTP request headers. This map contains the header field\n names and values. Headers can be set when the job is created. Cloud\n Scheduler sets some headers to default values: * `User-Agent`: By\n default, this header is `\"App Engine-Google; (+http://code.google.com/appengine)\"`.\n This header can be modified, but Cloud Scheduler will append `\"App\n Engine-Google; (+http://code.google.com/appengine)\"` to the modified\n `User-Agent`. * `X-CloudScheduler`: This header will be set to true.\n The headers below are output only. They cannot be set or overridden:\n * `X-Google-*`: For Google internal use only. * `X-App Engine-*`:\n For Google internal use only. In addition, some App Engine headers,\n which contain job-specific information, are also be sent to the job\n handler.'\n httpMethod:\n type: string\n x-dcl-go-name: HttpMethod\n x-dcl-go-type: JobAppEngineHttpTargetHttpMethodEnum\n description: 'The HTTP method to use for the request. PATCH and OPTIONS\n are not permitted. Possible values: HTTP_METHOD_UNSPECIFIED, POST,\n GET, HEAD, PUT, DELETE, PATCH, OPTIONS'\n enum:\n - HTTP_METHOD_UNSPECIFIED\n - POST\n - GET\n - HEAD\n - PUT\n - DELETE\n - PATCH\n - OPTIONS\n relativeUri:\n type: string\n x-dcl-go-name: RelativeUri\n description: The relative URI. The relative URL must begin with \"/\"\n and must be a valid HTTP relative URL. It can contain a path, query\n string arguments, and `#` fragments. If the relative URL is empty,\n then the root path \"/\" will be used. No spaces are allowed, and the\n maximum length allowed is 2083 characters.\n attemptDeadline:\n type: string\n x-dcl-go-name: AttemptDeadline\n description: 'The deadline for job attempts. If the request handler does\n not respond by this deadline then the request is cancelled and the attempt\n is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be\n viewed in execution logs. Cloud Scheduler will retry the job according\n to the RetryConfig. The allowed duration for this deadline is: * For HTTP\n targets, between 15 seconds and 30 minutes. * For App Engine HTTP targets,\n between 15 seconds and 24 hours.'\n description:\n type: string\n x-dcl-go-name: Description\n description: Optionally caller-specified in CreateJob or UpdateJob. A human-readable\n description for the job. This string must not contain more than 500 characters.\n httpTarget:\n type: object\n x-dcl-go-name: HttpTarget\n x-dcl-go-type: JobHttpTarget\n description: HTTP target.\n required:\n - uri\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: HTTP request body. A request body is allowed only if the\n HTTP method is POST, PUT, or PATCH. It is an error to set body on\n a job with an incompatible HttpMethod.\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: 'The user can specify HTTP request headers to send with\n the job''s HTTP request. This map contains the header field names\n and values. Repeated headers are not supported, but a header value\n can contain commas. These headers represent a subset of the headers\n that will accompany the job''s HTTP request. Some HTTP request headers\n will be ignored or replaced. A partial list of headers that will be\n ignored or replaced is below: - Host: This will be computed by Cloud\n Scheduler and derived from uri. * `Content-Length`: This will be computed\n by Cloud Scheduler. * `User-Agent`: This will be set to `\"Google-Cloud-Scheduler\"`.\n * `X-Google-*`: Google internal use only. * `X-appengine-*`: Google\n internal use only. The total size of headers must be less than 80KB.'\n httpMethod:\n type: string\n x-dcl-go-name: HttpMethod\n x-dcl-go-type: JobHttpTargetHttpMethodEnum\n description: 'Which HTTP method to use for the request. Possible values:\n HTTP_METHOD_UNSPECIFIED, POST, GET, HEAD, PUT, DELETE, PATCH, OPTIONS'\n enum:\n - HTTP_METHOD_UNSPECIFIED\n - POST\n - GET\n - HEAD\n - PUT\n - DELETE\n - PATCH\n - OPTIONS\n oauthToken:\n type: object\n x-dcl-go-name: OAuthToken\n x-dcl-go-type: JobHttpTargetOAuthToken\n description: If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2)\n will be generated and attached as an `Authorization` header in the\n HTTP request. This type of authorization should generally only be\n used when calling Google APIs hosted on *.googleapis.com.\n properties:\n scope:\n type: string\n x-dcl-go-name: Scope\n description: OAuth scope to be used for generating OAuth access\n token. If not specified, \"https://www.googleapis.com/auth/cloud-platform\"\n will be used.\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: '[Service account email](https://cloud.google.com/iam/docs/service-accounts)\n to be used for generating OAuth token. The service account must\n be within the same project as the job. The caller must have iam.serviceAccounts.actAs\n permission for the service account.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n oidcToken:\n type: object\n x-dcl-go-name: OidcToken\n x-dcl-go-type: JobHttpTargetOidcToken\n description: If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)\n token will be generated and attached as an `Authorization` header\n in the HTTP request. This type of authorization can be used for many\n scenarios, including calling Cloud Run, or endpoints where you intend\n to validate the token yourself.\n properties:\n audience:\n type: string\n x-dcl-go-name: Audience\n description: Audience to be used when generating OIDC token. If\n not specified, the URI specified in target will be used.\n serviceAccountEmail:\n type: string\n x-dcl-go-name: ServiceAccountEmail\n description: '[Service account email](https://cloud.google.com/iam/docs/service-accounts)\n to be used for generating OIDC token. The service account must\n be within the same project as the job. The caller must have iam.serviceAccounts.actAs\n permission for the service account.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n uri:\n type: string\n x-dcl-go-name: Uri\n description: 'Required. The full URI path that the request will be sent\n to. This string must begin with either \"http://\" or \"https://\". Some\n examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`.\n Cloud Scheduler will encode some characters for safety and compatibility.\n The maximum allowed URL length is 2083 characters after encoding.'\n lastAttemptTime:\n type: string\n format: date-time\n x-dcl-go-name: LastAttemptTime\n readOnly: true\n description: Output only. The time the last job attempt started.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Optionally caller-specified in CreateJob, after which it becomes\n output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.\n * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens\n (-), colons (:), or periods (.). For more information, see [Identifying\n projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)\n * `LOCATION_ID` is the canonical ID for the job''s location. The list\n of available locations can be obtained by calling ListLocations. For more\n information, see https://cloud.google.com/about/locations/. * `JOB_ID`\n can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or\n underscores (_). The maximum length is 500 characters.'\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pubsubTarget:\n type: object\n x-dcl-go-name: PubsubTarget\n x-dcl-go-type: JobPubsubTarget\n description: Pub/Sub target.\n required:\n - topicName\n properties:\n attributes:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Attributes\n description: Attributes for PubsubMessage. Pubsub message must contain\n either non-empty data, or at least one attribute.\n data:\n type: string\n x-dcl-go-name: Data\n description: The message payload for PubsubMessage. Pubsub message must\n contain either non-empty data, or at least one attribute.\n topicName:\n type: string\n x-dcl-go-name: TopicName\n description: Required. The name of the Cloud Pub/Sub topic to which\n messages will be published when a job is delivered. The topic name\n must be in the same format as required by Pub/Sub's [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest),\n for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must\n be in the same project as the Cloud Scheduler job.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n retryConfig:\n type: object\n x-dcl-go-name: RetryConfig\n x-dcl-go-type: JobRetryConfig\n description: Settings that determine the retry behavior.\n properties:\n maxBackoffDuration:\n type: string\n x-dcl-go-name: MaxBackoffDuration\n description: The maximum amount of time to wait before retrying a job\n after it fails. The default value of this field is 1 hour.\n maxDoublings:\n type: integer\n format: int64\n x-dcl-go-name: MaxDoublings\n description: The time between retries will double `max_doublings` times.\n A job's retry interval starts at min_backoff_duration, then doubles\n `max_doublings` times, then increases linearly, and finally retries\n at intervals of max_backoff_duration up to retry_count times. For\n example, if min_backoff_duration is 10s, max_backoff_duration is 300s,\n and `max_doublings` is 3, then the a job will first be retried in\n 10s. The retry interval will double three times, and then increase\n linearly by 2^3 * 10s. Finally, the job will retry at intervals of\n max_backoff_duration until the job has been attempted retry_count\n times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,\n 240s, 300s, 300s, .... The default value of this field is 5.\n maxRetryDuration:\n type: string\n x-dcl-go-name: MaxRetryDuration\n description: The time limit for retrying a failed job, measured from\n time when an execution was first attempted. If specified with retry_count,\n the job will be retried until both limits are reached. The default\n value for max_retry_duration is zero, which means retry duration is\n unlimited.\n minBackoffDuration:\n type: string\n x-dcl-go-name: MinBackoffDuration\n description: The minimum amount of time to wait before retrying a job\n after it fails. The default value of this field is 5 seconds.\n retryCount:\n type: integer\n format: int64\n x-dcl-go-name: RetryCount\n description: The number of attempts that the system will make to run\n a job using the exponential backoff procedure described by max_doublings.\n The default value of retry_count is zero. If retry_count is zero,\n a job attempt will *not* be retried if it fails. Instead the Cloud\n Scheduler system will wait for the next scheduled execution time.\n If retry_count is set to a non-zero number then Cloud Scheduler will\n retry failed attempts, using exponential backoff, retry_count times,\n or until the next scheduled execution time, whichever comes first.\n Values greater than 5 and negative values are not allowed.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Required, except when used with UpdateJob. Describes the schedule\n on which the job will be executed. The schedule can be either of the following\n types: * [Crontab](http://en.wikipedia.org/wiki/Cron#Overview) * English-like\n [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules)\n As a general rule, execution `n + 1` of a job will not begin until execution\n `n` has finished. Cloud Scheduler will never allow two simultaneously\n outstanding executions. For example, this implies that if the `n+1`th\n execution is scheduled to run at 16:00 but the `n`th execution takes until\n 16:15, the `n+1`th execution will not start until `16:15`. A scheduled\n start time will be delayed if the previous execution has not ended when\n its scheduled time occurs. If retry_count > 0 and a job attempt fails,\n the job will be tried a total of retry_count times, with exponential backoff,\n until the next scheduled start time.'\n scheduleTime:\n type: string\n format: date-time\n x-dcl-go-name: ScheduleTime\n readOnly: true\n description: Output only. The next time the job is scheduled. Note that\n this may be a retry of a previously failed attempt or the next execution\n time according to the schedule.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: JobStateEnum\n readOnly: true\n description: 'Output only. State of the job. Possible values: STATE_UNSPECIFIED,\n ENABLED, PAUSED, DISABLED, UPDATE_FAILED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLED\n - PAUSED\n - DISABLED\n - UPDATE_FAILED\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: JobStatus\n readOnly: true\n description: Output only. The response from the target for the last attempted\n execution.\n x-kubernetes-immutable: true\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of google.rpc.Code.\n x-kubernetes-immutable: true\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details. There\n is a common set of message types for APIs to use.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobStatusDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies the\n type of the serialized protocol buffer message. This string\n must contain at least one \"/\" character. The last segment of\n the URL''s path must represent the fully qualified name of the\n type (as in `path/google.protobuf.Duration`). The name should\n be in a canonical form (e.g., leading \".\" is not accepted).\n In practice, teams usually precompile into the binary all types\n that they expect it to use in the context of Any. However, for\n URLs which use the scheme `http`, `https`, or no scheme, one\n can optionally set up a type server that maps type URLs to message\n definitions as follows: * If no scheme is provided, `https`\n is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL, or have\n them precompiled into a binary to avoid any lookup. Therefore,\n binary compatibility needs to be preserved on changes to types.\n (Use versioned type names to manage breaking changes.) Note:\n this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning\n with type.googleapis.com. Schemes other than `http`, `https`\n (or the empty scheme) might be used with implementation specific\n semantics.'\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer of the\n above specified type.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be in English.\n Any user-facing error message should be localized and sent in the\n google.rpc.Status.details field, or localized by the client.\n x-kubernetes-immutable: true\n timeZone:\n type: string\n x-dcl-go-name: TimeZone\n description: Specifies the time zone to be used in interpreting schedule.\n The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database).\n Note that some time zones include a provision for daylight savings time.\n The rules for daylight saving time are determined by the chosen tz. For\n UTC use the string \"utc\". If a time zone is not specified, the default\n will be in UTC (also known as GMT).\n userUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: UserUpdateTime\n readOnly: true\n description: Output only. The creation time of the job.\n x-kubernetes-immutable: true\n") -// 27210 bytes -// MD5: b72861e7512adcfca21573742bd37cb7 +// 27235 bytes +// MD5: 294011d46aea6bb77e0b33b15b733a33 diff --git a/services/google/compute/address.yaml b/services/google/compute/address.yaml index 6b77c84e7e..7f5cad49fb 100755 --- a/services/google/compute/address.yaml +++ b/services/google/compute/address.yaml @@ -15,6 +15,7 @@ info: title: Compute/Address description: The Compute Address resource x-dcl-struct-name: Address + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/address.yaml b/services/google/compute/alpha/address.yaml index a3b48c2039..c7caa596a1 100755 --- a/services/google/compute/alpha/address.yaml +++ b/services/google/compute/alpha/address.yaml @@ -15,6 +15,7 @@ info: title: Compute/Address description: The Compute Address resource x-dcl-struct-name: Address + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/autoscaler.yaml b/services/google/compute/alpha/autoscaler.yaml index be19659765..7a37b9ed96 100755 --- a/services/google/compute/alpha/autoscaler.yaml +++ b/services/google/compute/alpha/autoscaler.yaml @@ -15,6 +15,7 @@ info: title: Compute/Autoscaler description: The Compute Autoscaler resource x-dcl-struct-name: Autoscaler + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/backend_bucket.yaml b/services/google/compute/alpha/backend_bucket.yaml index 008bede272..90935573cf 100755 --- a/services/google/compute/alpha/backend_bucket.yaml +++ b/services/google/compute/alpha/backend_bucket.yaml @@ -15,6 +15,7 @@ info: title: Compute/BackendBucket description: The Compute BackendBucket resource x-dcl-struct-name: BackendBucket + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/backend_service.yaml b/services/google/compute/alpha/backend_service.yaml index e2bddc9499..245191f6fb 100755 --- a/services/google/compute/alpha/backend_service.yaml +++ b/services/google/compute/alpha/backend_service.yaml @@ -15,6 +15,7 @@ info: title: Compute/BackendService description: The Compute BackendService resource x-dcl-struct-name: BackendService + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/disk.yaml b/services/google/compute/alpha/disk.yaml index 02d4ad826d..520d839672 100755 --- a/services/google/compute/alpha/disk.yaml +++ b/services/google/compute/alpha/disk.yaml @@ -15,6 +15,7 @@ info: title: Compute/Disk description: The Compute Disk resource x-dcl-struct-name: Disk + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/firewall.yaml b/services/google/compute/alpha/firewall.yaml index b108f58312..edab780ecd 100755 --- a/services/google/compute/alpha/firewall.yaml +++ b/services/google/compute/alpha/firewall.yaml @@ -15,6 +15,7 @@ info: title: Compute/Firewall description: The Compute Firewall resource x-dcl-struct-name: Firewall + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/firewall_policy.yaml b/services/google/compute/alpha/firewall_policy.yaml index 72b840f2b2..45be105ab1 100755 --- a/services/google/compute/alpha/firewall_policy.yaml +++ b/services/google/compute/alpha/firewall_policy.yaml @@ -15,6 +15,7 @@ info: title: Compute/FirewallPolicy description: The Compute FirewallPolicy resource x-dcl-struct-name: FirewallPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/firewall_policy_alpha_yaml_embed.go b/services/google/compute/alpha/firewall_policy_alpha_yaml_embed.go index a365e44120..dcc7cdf4f0 100755 --- a/services/google/compute/alpha/firewall_policy_alpha_yaml_embed.go +++ b/services/google/compute/alpha/firewall_policy_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/firewall_policy.yaml -var YAML_firewall_policy = []byte("info:\n title: Compute/FirewallPolicy\n description: The Compute FirewallPolicy resource\n x-dcl-struct-name: FirewallPolicy\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n apply:\n description: The function used to apply information about a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n delete:\n description: The function used to delete a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n deleteAll:\n description: The function used to delete all FirewallPolicy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicy:\n title: FirewallPolicy\n x-dcl-id: locations/global/firewallPolicies/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - shortName\n - parent\n properties:\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of the resource. This field is used internally\n during updates of this resource.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. It is a numeric ID allocated by GCP which\n uniquely identifies the Firewall Policy.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the firewall policy.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n ruleTupleCount:\n type: integer\n format: int64\n x-dcl-go-name: RuleTupleCount\n readOnly: true\n description: Total count of all firewall policy rule tuples. A firewall\n policy can not exceed a set number of tuples.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n selfLinkWithId:\n type: string\n x-dcl-go-name: SelfLinkWithId\n readOnly: true\n description: Server-defined URL for this resource with the resource id.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n description: User-provided name of the Organization firewall policy. The\n name should be unique in the organization in which the firewall policy\n is created. The name must be 1-63 characters long, and comply with RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n") +var YAML_firewall_policy = []byte("info:\n title: Compute/FirewallPolicy\n description: The Compute FirewallPolicy resource\n x-dcl-struct-name: FirewallPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n apply:\n description: The function used to apply information about a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n delete:\n description: The function used to delete a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n deleteAll:\n description: The function used to delete all FirewallPolicy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicy:\n title: FirewallPolicy\n x-dcl-id: locations/global/firewallPolicies/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - shortName\n - parent\n properties:\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of the resource. This field is used internally\n during updates of this resource.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. It is a numeric ID allocated by GCP which\n uniquely identifies the Firewall Policy.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the firewall policy.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n ruleTupleCount:\n type: integer\n format: int64\n x-dcl-go-name: RuleTupleCount\n readOnly: true\n description: Total count of all firewall policy rule tuples. A firewall\n policy can not exceed a set number of tuples.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n selfLinkWithId:\n type: string\n x-dcl-go-name: SelfLinkWithId\n readOnly: true\n description: Server-defined URL for this resource with the resource id.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n description: User-provided name of the Organization firewall policy. The\n name should be unique in the organization in which the firewall policy\n is created. The name must be 1-63 characters long, and comply with RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n") -// 4547 bytes -// MD5: 520759c7a7c840fed498ef1e34e585ce +// 4572 bytes +// MD5: 25e32e16313511a1c680439b470b4200 diff --git a/services/google/compute/alpha/firewall_policy_association.yaml b/services/google/compute/alpha/firewall_policy_association.yaml index 8b6b120396..93906fbf8e 100755 --- a/services/google/compute/alpha/firewall_policy_association.yaml +++ b/services/google/compute/alpha/firewall_policy_association.yaml @@ -15,6 +15,7 @@ info: title: Compute/FirewallPolicyAssociation description: The Compute FirewallPolicyAssociation resource x-dcl-struct-name: FirewallPolicyAssociation + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/firewall_policy_association_alpha_yaml_embed.go b/services/google/compute/alpha/firewall_policy_association_alpha_yaml_embed.go index 7bb33d554e..6651bbe965 100755 --- a/services/google/compute/alpha/firewall_policy_association_alpha_yaml_embed.go +++ b/services/google/compute/alpha/firewall_policy_association_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/firewall_policy_association.yaml -var YAML_firewall_policy_association = []byte("info:\n title: Compute/FirewallPolicyAssociation\n description: The Compute FirewallPolicyAssociation resource\n x-dcl-struct-name: FirewallPolicyAssociation\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n apply:\n description: The function used to apply information about a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n delete:\n description: The function used to delete a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n deleteAll:\n description: The function used to delete all FirewallPolicyAssociation\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicyAssociation\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicyAssociation:\n title: FirewallPolicyAssociation\n x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/associations/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - attachmentTarget\n - firewallPolicy\n properties:\n attachmentTarget:\n type: string\n x-dcl-go-name: AttachmentTarget\n description: The target that the firewall policy is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n firewallPolicy:\n type: string\n x-dcl-go-name: FirewallPolicy\n description: The firewall policy ID of the association.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/FirewallPolicy\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name for an association.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n readOnly: true\n description: The short name of the firewall policy of the association.\n x-kubernetes-immutable: true\n") +var YAML_firewall_policy_association = []byte("info:\n title: Compute/FirewallPolicyAssociation\n description: The Compute FirewallPolicyAssociation resource\n x-dcl-struct-name: FirewallPolicyAssociation\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n apply:\n description: The function used to apply information about a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n delete:\n description: The function used to delete a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n deleteAll:\n description: The function used to delete all FirewallPolicyAssociation\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicyAssociation\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicyAssociation:\n title: FirewallPolicyAssociation\n x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/associations/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - attachmentTarget\n - firewallPolicy\n properties:\n attachmentTarget:\n type: string\n x-dcl-go-name: AttachmentTarget\n description: The target that the firewall policy is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n firewallPolicy:\n type: string\n x-dcl-go-name: FirewallPolicy\n description: The firewall policy ID of the association.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/FirewallPolicy\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name for an association.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n readOnly: true\n description: The short name of the firewall policy of the association.\n x-kubernetes-immutable: true\n") -// 2719 bytes -// MD5: a9cc86b33b5bc6ae73f2786bb91293a0 +// 2744 bytes +// MD5: 1047e8bee32ceedbecc6708453a37854 diff --git a/services/google/compute/alpha/firewall_policy_association_schema.go b/services/google/compute/alpha/firewall_policy_association_schema.go index a78294d2ee..1119d993a6 100755 --- a/services/google/compute/alpha/firewall_policy_association_schema.go +++ b/services/google/compute/alpha/firewall_policy_association_schema.go @@ -23,6 +23,7 @@ func DCLFirewallPolicyAssociationSchema() *dcl.Schema { Title: "Compute/FirewallPolicyAssociation", Description: "The Compute FirewallPolicyAssociation resource", StructName: "FirewallPolicyAssociation", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/alpha/firewall_policy_rule.yaml b/services/google/compute/alpha/firewall_policy_rule.yaml index 817b601c0b..234965b45f 100755 --- a/services/google/compute/alpha/firewall_policy_rule.yaml +++ b/services/google/compute/alpha/firewall_policy_rule.yaml @@ -15,6 +15,7 @@ info: title: Compute/FirewallPolicyRule description: The Compute FirewallPolicyRule resource x-dcl-struct-name: FirewallPolicyRule + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/firewall_policy_rule_alpha_yaml_embed.go b/services/google/compute/alpha/firewall_policy_rule_alpha_yaml_embed.go index fc02e49377..04fcc34507 100755 --- a/services/google/compute/alpha/firewall_policy_rule_alpha_yaml_embed.go +++ b/services/google/compute/alpha/firewall_policy_rule_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/firewall_policy_rule.yaml -var YAML_firewall_policy_rule = []byte("info:\n title: Compute/FirewallPolicyRule\n description: The Compute FirewallPolicyRule resource\n x-dcl-struct-name: FirewallPolicyRule\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n apply:\n description: The function used to apply information about a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n delete:\n description: The function used to delete a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n deleteAll:\n description: The function used to delete all FirewallPolicyRule\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicyRule\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicyRule:\n title: FirewallPolicyRule\n x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/rules/{{priority}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - priority\n - match\n - action\n - direction\n - firewallPolicy\n properties:\n action:\n type: string\n x-dcl-go-name: Action\n description: The Action to perform when the client connection triggers the\n rule. Can currently be either \"allow\" or \"deny()\" where valid values for\n status are 403, 404, and 502.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description for this resource.\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: FirewallPolicyRuleDirectionEnum\n description: 'The direction in which this rule applies. Possible values:\n INGRESS, EGRESS'\n enum:\n - INGRESS\n - EGRESS\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Denotes whether the firewall policy rule is disabled. When\n set to true, the firewall policy rule is not enforced and traffic behaves\n as if it did not exist. If this is unspecified, the firewall policy rule\n will be enabled.\n enableLogging:\n type: boolean\n x-dcl-go-name: EnableLogging\n description: 'Denotes whether to enable logging for a particular rule. If\n logging is enabled, logs will be exported to the configured export destination\n in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you\n cannot enable logging on \"goto_next\" rules.'\n firewallPolicy:\n type: string\n x-dcl-go-name: FirewallPolicy\n description: The firewall policy of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/FirewallPolicy\n field: name\n parent: true\n kind:\n type: string\n x-dcl-go-name: Kind\n readOnly: true\n description: Type of the resource. Always `compute#firewallPolicyRule` for\n firewall policy rules\n x-kubernetes-immutable: true\n match:\n type: object\n x-dcl-go-name: Match\n x-dcl-go-type: FirewallPolicyRuleMatch\n description: A match condition that incoming traffic is evaluated against.\n If it evaluates to true, the corresponding 'action' is enforced.\n required:\n - layer4Configs\n properties:\n destIPRanges:\n type: array\n x-dcl-go-name: DestIPRanges\n description: CIDR IP address range. Maximum number of destination CIDR\n IP ranges allowed is 256.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n layer4Configs:\n type: array\n x-dcl-go-name: Layer4Configs\n description: Pairs of IP protocols and ports that the rule should match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: FirewallPolicyRuleMatchLayer4Configs\n required:\n - ipProtocol\n properties:\n ipProtocol:\n type: string\n x-dcl-go-name: IPProtocol\n description: The IP protocol to which this rule applies. The protocol\n type is required when creating a firewall rule. This value can\n either be one of the following well known protocol strings (`tcp`,\n `udp`, `icmp`, `esp`, `ah`, `ipip`, `sctp`), or the IP protocol\n number.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'An optional list of ports to which this rule applies.\n This field is only applicable for UDP or TCP protocol. Each\n entry must be either an integer or a range. If not specified,\n this rule applies to connections through any port. Example inputs\n include: ``.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n srcIPRanges:\n type: array\n x-dcl-go-name: SrcIPRanges\n description: CIDR IP address range. Maximum number of source CIDR IP\n ranges allowed is 256.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: An integer indicating the priority of a rule in the list. The\n priority must be a positive value between 0 and 2147483647. Rules are\n evaluated from highest to lowest priority where 0 is the highest priority\n and 2147483647 is the lowest prority.\n x-kubernetes-immutable: true\n ruleTupleCount:\n type: integer\n format: int64\n x-dcl-go-name: RuleTupleCount\n readOnly: true\n description: Calculation of the complexity of a single firewall policy rule.\n targetResources:\n type: array\n x-dcl-go-name: TargetResources\n description: A list of network resource URLs to which this rule applies.\n This field allows you to control which network's VMs get this rule. If\n this field is left blank, all VMs within the organization will receive\n the rule.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n targetServiceAccounts:\n type: array\n x-dcl-go-name: TargetServiceAccounts\n description: A list of service accounts indicating the sets of instances\n that are applied with this rule.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: name\n") +var YAML_firewall_policy_rule = []byte("info:\n title: Compute/FirewallPolicyRule\n description: The Compute FirewallPolicyRule resource\n x-dcl-struct-name: FirewallPolicyRule\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n apply:\n description: The function used to apply information about a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n delete:\n description: The function used to delete a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n deleteAll:\n description: The function used to delete all FirewallPolicyRule\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicyRule\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicyRule:\n title: FirewallPolicyRule\n x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/rules/{{priority}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - priority\n - match\n - action\n - direction\n - firewallPolicy\n properties:\n action:\n type: string\n x-dcl-go-name: Action\n description: The Action to perform when the client connection triggers the\n rule. Can currently be either \"allow\" or \"deny()\" where valid values for\n status are 403, 404, and 502.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description for this resource.\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: FirewallPolicyRuleDirectionEnum\n description: 'The direction in which this rule applies. Possible values:\n INGRESS, EGRESS'\n enum:\n - INGRESS\n - EGRESS\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Denotes whether the firewall policy rule is disabled. When\n set to true, the firewall policy rule is not enforced and traffic behaves\n as if it did not exist. If this is unspecified, the firewall policy rule\n will be enabled.\n enableLogging:\n type: boolean\n x-dcl-go-name: EnableLogging\n description: 'Denotes whether to enable logging for a particular rule. If\n logging is enabled, logs will be exported to the configured export destination\n in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you\n cannot enable logging on \"goto_next\" rules.'\n firewallPolicy:\n type: string\n x-dcl-go-name: FirewallPolicy\n description: The firewall policy of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/FirewallPolicy\n field: name\n parent: true\n kind:\n type: string\n x-dcl-go-name: Kind\n readOnly: true\n description: Type of the resource. Always `compute#firewallPolicyRule` for\n firewall policy rules\n x-kubernetes-immutable: true\n match:\n type: object\n x-dcl-go-name: Match\n x-dcl-go-type: FirewallPolicyRuleMatch\n description: A match condition that incoming traffic is evaluated against.\n If it evaluates to true, the corresponding 'action' is enforced.\n required:\n - layer4Configs\n properties:\n destIPRanges:\n type: array\n x-dcl-go-name: DestIPRanges\n description: CIDR IP address range. Maximum number of destination CIDR\n IP ranges allowed is 256.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n layer4Configs:\n type: array\n x-dcl-go-name: Layer4Configs\n description: Pairs of IP protocols and ports that the rule should match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: FirewallPolicyRuleMatchLayer4Configs\n required:\n - ipProtocol\n properties:\n ipProtocol:\n type: string\n x-dcl-go-name: IPProtocol\n description: The IP protocol to which this rule applies. The protocol\n type is required when creating a firewall rule. This value can\n either be one of the following well known protocol strings (`tcp`,\n `udp`, `icmp`, `esp`, `ah`, `ipip`, `sctp`), or the IP protocol\n number.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'An optional list of ports to which this rule applies.\n This field is only applicable for UDP or TCP protocol. Each\n entry must be either an integer or a range. If not specified,\n this rule applies to connections through any port. Example inputs\n include: ``.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n srcIPRanges:\n type: array\n x-dcl-go-name: SrcIPRanges\n description: CIDR IP address range. Maximum number of source CIDR IP\n ranges allowed is 256.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: An integer indicating the priority of a rule in the list. The\n priority must be a positive value between 0 and 2147483647. Rules are\n evaluated from highest to lowest priority where 0 is the highest priority\n and 2147483647 is the lowest prority.\n x-kubernetes-immutable: true\n ruleTupleCount:\n type: integer\n format: int64\n x-dcl-go-name: RuleTupleCount\n readOnly: true\n description: Calculation of the complexity of a single firewall policy rule.\n targetResources:\n type: array\n x-dcl-go-name: TargetResources\n description: A list of network resource URLs to which this rule applies.\n This field allows you to control which network's VMs get this rule. If\n this field is left blank, all VMs within the organization will receive\n the rule.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n targetServiceAccounts:\n type: array\n x-dcl-go-name: TargetServiceAccounts\n description: A list of service accounts indicating the sets of instances\n that are applied with this rule.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: name\n") -// 8049 bytes -// MD5: b29c8e0f9f0d6a6b69cf70d9b91573bc +// 8074 bytes +// MD5: 8094612a613129b6d5b2530996f5e82d diff --git a/services/google/compute/alpha/firewall_policy_rule_schema.go b/services/google/compute/alpha/firewall_policy_rule_schema.go index aaa0701e32..18cce84ce1 100755 --- a/services/google/compute/alpha/firewall_policy_rule_schema.go +++ b/services/google/compute/alpha/firewall_policy_rule_schema.go @@ -23,6 +23,7 @@ func DCLFirewallPolicyRuleSchema() *dcl.Schema { Title: "Compute/FirewallPolicyRule", Description: "The Compute FirewallPolicyRule resource", StructName: "FirewallPolicyRule", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/alpha/firewall_policy_schema.go b/services/google/compute/alpha/firewall_policy_schema.go index 65bd378f65..d95af6c783 100755 --- a/services/google/compute/alpha/firewall_policy_schema.go +++ b/services/google/compute/alpha/firewall_policy_schema.go @@ -23,6 +23,7 @@ func DCLFirewallPolicySchema() *dcl.Schema { Title: "Compute/FirewallPolicy", Description: "The Compute FirewallPolicy resource", StructName: "FirewallPolicy", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/alpha/forwarding_rule.yaml b/services/google/compute/alpha/forwarding_rule.yaml index 54a92354ce..f5cd6a6c59 100755 --- a/services/google/compute/alpha/forwarding_rule.yaml +++ b/services/google/compute/alpha/forwarding_rule.yaml @@ -15,6 +15,7 @@ info: title: Compute/ForwardingRule description: The Compute ForwardingRule resource x-dcl-struct-name: ForwardingRule + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/forwarding_rule_alpha_yaml_embed.go b/services/google/compute/alpha/forwarding_rule_alpha_yaml_embed.go index 954ab2f720..d6593dada7 100755 --- a/services/google/compute/alpha/forwarding_rule_alpha_yaml_embed.go +++ b/services/google/compute/alpha/forwarding_rule_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/forwarding_rule.yaml -var YAML_forwarding_rule = []byte("info:\n title: Compute/ForwardingRule\n description: The Compute ForwardingRule resource\n x-dcl-struct-name: ForwardingRule\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n apply:\n description: The function used to apply information about a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n delete:\n description: The function used to delete a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n deleteAll:\n description: The function used to delete all ForwardingRule\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ForwardingRule\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ForwardingRule:\n title: ForwardingRule\n x-dcl-id: projects/{{project}}/global/forwardingRules/{{name}}\n x-dcl-locations:\n - region\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n allPorts:\n type: boolean\n x-dcl-go-name: AllPorts\n description: This field is used along with the `backend_service` field for\n internal load balancing or with the `target` field for internal TargetInstance.\n This field cannot be used with `port` or `portRange` fields. When the\n load balancing scheme is `INTERNAL` and protocol is TCP/UDP, specify this\n field to allow packets addressed to any ports will be forwarded to the\n backends configured with this forwarding rule.\n x-kubernetes-immutable: true\n allowGlobalAccess:\n type: boolean\n x-dcl-go-name: AllowGlobalAccess\n description: This field is used along with the `backend_service` field for\n internal load balancing or with the `target` field for internal TargetInstance.\n If the field is set to `TRUE`, clients can access ILB from all regions.\n Otherwise only allows access from clients in the same region as the internal\n load balancer.\n backendService:\n type: string\n x-dcl-go-name: BackendService\n description: This field is only used for `INTERNAL` load balancing. For\n internal load balancing, this field identifies the BackendService resource\n to receive the matched traffic.\n x-kubernetes-immutable: true\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: '[Output Only] Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.'\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n x-kubernetes-immutable: true\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: 'IP address that this forwarding rule serves. When a client\n sends traffic to this IP address, the forwarding rule directs the traffic\n to the target that you specify in the forwarding rule. If you don''t specify\n a reserved IP address, an ephemeral IP address is assigned. Methods for\n specifying an IP address: * IPv4 dotted decimal, as in `100.1.2.3` * Full\n URL, as in `https://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name`\n * Partial URL or by name, as in: * `projects/project_id/regions/region/addresses/address-name`\n * `regions/region/addresses/address-name` * `global/addresses/address-name`\n * `address-name` The loadBalancingScheme and the forwarding rule''s target\n determine the type of IP address that you can use. For detailed information,\n refer to [IP address specifications](/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n ipProtocol:\n type: string\n x-dcl-go-name: IPProtocol\n x-dcl-go-type: ForwardingRuleIPProtocolEnum\n description: The IP protocol to which this rule applies. For protocol forwarding,\n valid options are `TCP`, `UDP`, `ESP`, `AH`, `SCTP` or `ICMP`. For Internal\n TCP/UDP Load Balancing, the load balancing scheme is `INTERNAL`, and one\n of `TCP` or `UDP` are valid. For Traffic Director, the load balancing\n scheme is `INTERNAL_SELF_MANAGED`, and only `TCP`is valid. For Internal\n HTTP(S) Load Balancing, the load balancing scheme is `INTERNAL_MANAGED`,\n and only `TCP` is valid. For HTTP(S), SSL Proxy, and TCP Proxy Load Balancing,\n the load balancing scheme is `EXTERNAL` and only `TCP` is valid. For Network\n TCP/UDP Load Balancing, the load balancing scheme is `EXTERNAL`, and one\n of `TCP` or `UDP` is valid.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TCP\n - UDP\n - ESP\n - AH\n - SCTP\n - ICMP\n - L3_DEFAULT\n ipVersion:\n type: string\n x-dcl-go-name: IPVersion\n x-dcl-go-type: ForwardingRuleIPVersionEnum\n description: 'The IP Version that will be used by this forwarding rule.\n Valid options are `IPV4` or `IPV6`. This can only be specified for an\n external global forwarding rule. Possible values: UNSPECIFIED_VERSION,\n IPV4, IPV6'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED_VERSION\n - IPV4\n - IPV6\n isMirroringCollector:\n type: boolean\n x-dcl-go-name: IsMirroringCollector\n description: Indicates whether or not this load balancer can be used as\n a collector for packet mirroring. To prevent mirroring loops, instances\n behind this load balancer will not have their traffic mirrored even if\n a `PacketMirroring` rule applies to them. This can only be set to true\n for load balancers that have their `loadBalancingScheme` set to `INTERNAL`.\n x-kubernetes-immutable: true\n labelFingerprint:\n type: string\n x-dcl-go-name: LabelFingerprint\n readOnly: true\n description: Used internally during label updates.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels to apply to this rule.\n loadBalancingScheme:\n type: string\n x-dcl-go-name: LoadBalancingScheme\n x-dcl-go-type: ForwardingRuleLoadBalancingSchemeEnum\n description: \"Specifies the forwarding rule type.\\n\\n* `EXTERNAL` is used\n for:\\n * Classic Cloud VPN gateways\\n * Protocol forwarding\n to VMs from an external IP address\\n * The following load balancers:\n HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP\\n* `INTERNAL` is\n used for:\\n * Protocol forwarding to VMs from an internal IP address\\n\n \\ * Internal TCP/UDP load balancers\\n* `INTERNAL_MANAGED` is used\n for:\\n * Internal HTTP(S) load balancers\\n* `INTERNAL_SELF_MANAGED`\n is used for:\\n * Traffic Director\\n* `EXTERNAL_MANAGED` is used\n for:\\n * Global external HTTP(S) load balancers \\n\\nFor more information\n about forwarding rules, refer to [Forwarding rule concepts](/load-balancing/docs/forwarding-rule-concepts).\n Possible values: INVALID, INTERNAL, INTERNAL_MANAGED, INTERNAL_SELF_MANAGED,\n EXTERNAL, EXTERNAL_MANAGED\"\n x-kubernetes-immutable: true\n enum:\n - INVALID\n - INTERNAL\n - INTERNAL_MANAGED\n - INTERNAL_SELF_MANAGED\n - EXTERNAL\n - EXTERNAL_MANAGED\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of this resource.\n x-kubernetes-immutable: true\n metadataFilter:\n type: array\n x-dcl-go-name: MetadataFilter\n description: |-\n Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set of [xDS](https://github.com/envoyproxy/data-plane-api/blob/master/XDS_PROTOCOL.md) compliant clients. In their xDS requests to Loadbalancer, xDS clients present [node metadata](https://github.com/envoyproxy/data-plane-api/search?q=%22message+Node%22+in%3A%2Fenvoy%2Fapi%2Fv2%2Fcore%2Fbase.proto&). If a match takes place, the relevant configuration is made available to those proxies. Otherwise, all the resources (e.g. `TargetHttpProxy`, `UrlMap`) referenced by the `ForwardingRule` will not be visible to those proxies.\n\n For each `metadataFilter` in this list, if its `filterMatchCriteria` is set to MATCH_ANY, at least one of the `filterLabel`s must match the corresponding label provided in the metadata. If its `filterMatchCriteria` is set to MATCH_ALL, then all of its `filterLabel`s must match with corresponding labels provided in the metadata.\n\n `metadataFilters` specified here will be applifed before those specified in the `UrlMap` that this `ForwardingRule` references.\n\n `metadataFilters` only applies to Loadbalancers that have their loadBalancingScheme set to `INTERNAL_SELF_MANAGED`.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleMetadataFilter\n required:\n - filterMatchCriteria\n - filterLabel\n properties:\n filterLabel:\n type: array\n x-dcl-go-name: FilterLabel\n description: |-\n The list of label value pairs that must match labels in the provided metadata based on `filterMatchCriteria`\n\n This list must not be empty and can have at the most 64 entries.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleMetadataFilterFilterLabel\n required:\n - name\n - value\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: |-\n Name of metadata label.\n\n The name can have a maximum length of 1024 characters and must be at least 1 character long.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: |-\n The value of the label must match the specified value.\n\n value can have a maximum length of 1024 characters.\n x-kubernetes-immutable: true\n filterMatchCriteria:\n type: string\n x-dcl-go-name: FilterMatchCriteria\n x-dcl-go-type: ForwardingRuleMetadataFilterFilterMatchCriteriaEnum\n description: |-\n Specifies how individual `filterLabel` matches within the list of `filterLabel`s contribute towards the overall `metadataFilter` match.\n\n Supported values are:\n\n * MATCH_ANY: At least one of the `filterLabels` must have a matching label in the provided metadata.\n * MATCH_ALL: All `filterLabels` must have matching labels in the provided metadata. Possible values: NOT_SET, MATCH_ALL, MATCH_ANY\n x-kubernetes-immutable: true\n enum:\n - NOT_SET\n - MATCH_ALL\n - MATCH_ANY\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource; provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: This field is not used for external load balancing. For `INTERNAL`\n and `INTERNAL_SELF_MANAGED` load balancing, this field identifies the\n network that the load balanced IP should belong to for this Forwarding\n Rule. If this field is not specified, the default network will be used.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: ForwardingRuleNetworkTierEnum\n description: 'This signifies the networking tier used for configuring this\n load balancer and can only take the following values: `PREMIUM`, `STANDARD`.\n For regional ForwardingRule, the valid values are `PREMIUM` and `STANDARD`.\n For GlobalForwardingRule, the valid value is `PREMIUM`. If this field\n is not specified, it is assumed to be `PREMIUM`. If `IPAddress` is specified,\n this value must be equal to the networkTier of the Address.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - PREMIUM\n - STANDARD\n portRange:\n type: string\n x-dcl-go-name: PortRange\n description: |-\n When the load balancing scheme is `EXTERNAL`, `INTERNAL_SELF_MANAGED` and `INTERNAL_MANAGED`, you can specify a `port_range`. Use with a forwarding rule that points to a target proxy or a target pool. Do not use with a forwarding rule that points to a backend service. This field is used along with the `target` field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. Applicable only when `IPProtocol` is `TCP`, `UDP`, or `SCTP`, only packets addressed to ports in the specified range will be forwarded to `target`. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. Some types of forwarding target have constraints on the acceptable ports:\n\n * TargetHttpProxy: 80, 8080\n * TargetHttpsProxy: 443\n * TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n * TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n * TargetVpnGateway: 500, 4500\n\n @pattern: d+(?:-d+)?\n x-kubernetes-immutable: true\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'This field is used along with the `backend_service` field\n for internal load balancing. When the load balancing scheme is `INTERNAL`,\n a list of ports can be configured, for example, [''80''], [''8000'',''9000''].\n Only packets addressed to these ports are forwarded to the backends configured\n with the forwarding rule. If the forwarding rule''s loadBalancingScheme\n is INTERNAL, you can specify ports in one of the following ways: * A list\n of up to five ports, which can be non-contiguous * Keyword `ALL`, which\n causes the forwarding rule to forward traffic on any port of the forwarding\n rule''s protocol. @pattern: d+(?:-d+)? For more information, refer to\n [Port specifications](/load-balancing/docs/forwarding-rule-concepts#port_specifications).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project this resource belongs in.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pscConnectionId:\n type: string\n x-dcl-go-name: PscConnectionId\n readOnly: true\n description: The PSC connection id of the PSC Forwarding Rule.\n x-kubernetes-immutable: true\n pscConnectionStatus:\n type: string\n x-dcl-go-name: PscConnectionStatus\n x-dcl-go-type: ForwardingRulePscConnectionStatusEnum\n readOnly: true\n description: 'The PSC connection status of the PSC Forwarding Rule. Possible\n values: STATUS_UNSPECIFIED, PENDING, ACCEPTED, REJECTED, CLOSED'\n x-kubernetes-immutable: true\n enum:\n - STATUS_UNSPECIFIED\n - PENDING\n - ACCEPTED\n - REJECTED\n - CLOSED\n region:\n type: string\n x-dcl-go-name: Region\n description: '[Output Only] URL of the region where the regional forwarding\n rule resides. This field is not applicable to global forwarding rules.\n You must specify this field as part of the HTTP request URL. It is not\n settable as a field in the request body.'\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined URL for the resource.'\n x-kubernetes-immutable: true\n serviceDirectoryRegistrations:\n type: array\n x-dcl-go-name: ServiceDirectoryRegistrations\n description: Service Directory resources to register this forwarding rule\n with. Currently, only supports a single Service Directory resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleServiceDirectoryRegistrations\n properties:\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: Service Directory namespace to register the forwarding\n rule under.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n service:\n type: string\n x-dcl-go-name: Service\n description: Service Directory service to register the forwarding\n rule under.\n x-kubernetes-immutable: true\n serviceLabel:\n type: string\n x-dcl-go-name: ServiceLabel\n description: An optional prefix to the service name for this Forwarding\n Rule. If specified, the prefix is the first label of the fully qualified\n service name. The label must be 1-63 characters long, and comply with\n [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, the label\n must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`\n which means the first character must be a lowercase letter, and all following\n characters must be a dash, lowercase letter, or digit, except the last\n character, which cannot be a dash. This field is only used for internal\n load balancing.\n x-kubernetes-immutable: true\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n readOnly: true\n description: '[Output Only] The internal fully qualified service name for\n this Forwarding Rule. This field is only used for internal load balancing.'\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: This field is only used for `INTERNAL` load balancing. For\n internal load balancing, this field identifies the subnetwork that the\n load balanced IP should belong to for this Forwarding Rule. If the network\n specified is in auto subnet mode, this field is optional. However, if\n the network is in custom subnet mode, a subnetwork must be specified.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n target:\n type: string\n x-dcl-go-name: Target\n description: The URL of the target resource to receive the matched traffic.\n For regional forwarding rules, this target must live in the same region\n as the forwarding rule. For global forwarding rules, this target must\n be a global load balancing resource. The forwarded traffic must be of\n a type appropriate to the target object. For `INTERNAL_SELF_MANAGED` load\n balancing, only `targetHttpProxy` is valid, not `targetHttpsProxy`.\n") +var YAML_forwarding_rule = []byte("info:\n title: Compute/ForwardingRule\n description: The Compute ForwardingRule resource\n x-dcl-struct-name: ForwardingRule\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n apply:\n description: The function used to apply information about a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n delete:\n description: The function used to delete a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n deleteAll:\n description: The function used to delete all ForwardingRule\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ForwardingRule\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ForwardingRule:\n title: ForwardingRule\n x-dcl-id: projects/{{project}}/global/forwardingRules/{{name}}\n x-dcl-locations:\n - region\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n allPorts:\n type: boolean\n x-dcl-go-name: AllPorts\n description: This field is used along with the `backend_service` field for\n internal load balancing or with the `target` field for internal TargetInstance.\n This field cannot be used with `port` or `portRange` fields. When the\n load balancing scheme is `INTERNAL` and protocol is TCP/UDP, specify this\n field to allow packets addressed to any ports will be forwarded to the\n backends configured with this forwarding rule.\n x-kubernetes-immutable: true\n allowGlobalAccess:\n type: boolean\n x-dcl-go-name: AllowGlobalAccess\n description: This field is used along with the `backend_service` field for\n internal load balancing or with the `target` field for internal TargetInstance.\n If the field is set to `TRUE`, clients can access ILB from all regions.\n Otherwise only allows access from clients in the same region as the internal\n load balancer.\n backendService:\n type: string\n x-dcl-go-name: BackendService\n description: This field is only used for `INTERNAL` load balancing. For\n internal load balancing, this field identifies the BackendService resource\n to receive the matched traffic.\n x-kubernetes-immutable: true\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: '[Output Only] Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.'\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n x-kubernetes-immutable: true\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: 'IP address that this forwarding rule serves. When a client\n sends traffic to this IP address, the forwarding rule directs the traffic\n to the target that you specify in the forwarding rule. If you don''t specify\n a reserved IP address, an ephemeral IP address is assigned. Methods for\n specifying an IP address: * IPv4 dotted decimal, as in `100.1.2.3` * Full\n URL, as in `https://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name`\n * Partial URL or by name, as in: * `projects/project_id/regions/region/addresses/address-name`\n * `regions/region/addresses/address-name` * `global/addresses/address-name`\n * `address-name` The loadBalancingScheme and the forwarding rule''s target\n determine the type of IP address that you can use. For detailed information,\n refer to [IP address specifications](/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n ipProtocol:\n type: string\n x-dcl-go-name: IPProtocol\n x-dcl-go-type: ForwardingRuleIPProtocolEnum\n description: The IP protocol to which this rule applies. For protocol forwarding,\n valid options are `TCP`, `UDP`, `ESP`, `AH`, `SCTP` or `ICMP`. For Internal\n TCP/UDP Load Balancing, the load balancing scheme is `INTERNAL`, and one\n of `TCP` or `UDP` are valid. For Traffic Director, the load balancing\n scheme is `INTERNAL_SELF_MANAGED`, and only `TCP`is valid. For Internal\n HTTP(S) Load Balancing, the load balancing scheme is `INTERNAL_MANAGED`,\n and only `TCP` is valid. For HTTP(S), SSL Proxy, and TCP Proxy Load Balancing,\n the load balancing scheme is `EXTERNAL` and only `TCP` is valid. For Network\n TCP/UDP Load Balancing, the load balancing scheme is `EXTERNAL`, and one\n of `TCP` or `UDP` is valid.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TCP\n - UDP\n - ESP\n - AH\n - SCTP\n - ICMP\n - L3_DEFAULT\n ipVersion:\n type: string\n x-dcl-go-name: IPVersion\n x-dcl-go-type: ForwardingRuleIPVersionEnum\n description: 'The IP Version that will be used by this forwarding rule.\n Valid options are `IPV4` or `IPV6`. This can only be specified for an\n external global forwarding rule. Possible values: UNSPECIFIED_VERSION,\n IPV4, IPV6'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED_VERSION\n - IPV4\n - IPV6\n isMirroringCollector:\n type: boolean\n x-dcl-go-name: IsMirroringCollector\n description: Indicates whether or not this load balancer can be used as\n a collector for packet mirroring. To prevent mirroring loops, instances\n behind this load balancer will not have their traffic mirrored even if\n a `PacketMirroring` rule applies to them. This can only be set to true\n for load balancers that have their `loadBalancingScheme` set to `INTERNAL`.\n x-kubernetes-immutable: true\n labelFingerprint:\n type: string\n x-dcl-go-name: LabelFingerprint\n readOnly: true\n description: Used internally during label updates.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels to apply to this rule.\n loadBalancingScheme:\n type: string\n x-dcl-go-name: LoadBalancingScheme\n x-dcl-go-type: ForwardingRuleLoadBalancingSchemeEnum\n description: \"Specifies the forwarding rule type.\\n\\n* `EXTERNAL` is used\n for:\\n * Classic Cloud VPN gateways\\n * Protocol forwarding\n to VMs from an external IP address\\n * The following load balancers:\n HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP\\n* `INTERNAL` is\n used for:\\n * Protocol forwarding to VMs from an internal IP address\\n\n \\ * Internal TCP/UDP load balancers\\n* `INTERNAL_MANAGED` is used\n for:\\n * Internal HTTP(S) load balancers\\n* `INTERNAL_SELF_MANAGED`\n is used for:\\n * Traffic Director\\n* `EXTERNAL_MANAGED` is used\n for:\\n * Global external HTTP(S) load balancers \\n\\nFor more information\n about forwarding rules, refer to [Forwarding rule concepts](/load-balancing/docs/forwarding-rule-concepts).\n Possible values: INVALID, INTERNAL, INTERNAL_MANAGED, INTERNAL_SELF_MANAGED,\n EXTERNAL, EXTERNAL_MANAGED\"\n x-kubernetes-immutable: true\n enum:\n - INVALID\n - INTERNAL\n - INTERNAL_MANAGED\n - INTERNAL_SELF_MANAGED\n - EXTERNAL\n - EXTERNAL_MANAGED\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of this resource.\n x-kubernetes-immutable: true\n metadataFilter:\n type: array\n x-dcl-go-name: MetadataFilter\n description: |-\n Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set of [xDS](https://github.com/envoyproxy/data-plane-api/blob/master/XDS_PROTOCOL.md) compliant clients. In their xDS requests to Loadbalancer, xDS clients present [node metadata](https://github.com/envoyproxy/data-plane-api/search?q=%22message+Node%22+in%3A%2Fenvoy%2Fapi%2Fv2%2Fcore%2Fbase.proto&). If a match takes place, the relevant configuration is made available to those proxies. Otherwise, all the resources (e.g. `TargetHttpProxy`, `UrlMap`) referenced by the `ForwardingRule` will not be visible to those proxies.\n\n For each `metadataFilter` in this list, if its `filterMatchCriteria` is set to MATCH_ANY, at least one of the `filterLabel`s must match the corresponding label provided in the metadata. If its `filterMatchCriteria` is set to MATCH_ALL, then all of its `filterLabel`s must match with corresponding labels provided in the metadata.\n\n `metadataFilters` specified here will be applifed before those specified in the `UrlMap` that this `ForwardingRule` references.\n\n `metadataFilters` only applies to Loadbalancers that have their loadBalancingScheme set to `INTERNAL_SELF_MANAGED`.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleMetadataFilter\n required:\n - filterMatchCriteria\n - filterLabel\n properties:\n filterLabel:\n type: array\n x-dcl-go-name: FilterLabel\n description: |-\n The list of label value pairs that must match labels in the provided metadata based on `filterMatchCriteria`\n\n This list must not be empty and can have at the most 64 entries.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleMetadataFilterFilterLabel\n required:\n - name\n - value\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: |-\n Name of metadata label.\n\n The name can have a maximum length of 1024 characters and must be at least 1 character long.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: |-\n The value of the label must match the specified value.\n\n value can have a maximum length of 1024 characters.\n x-kubernetes-immutable: true\n filterMatchCriteria:\n type: string\n x-dcl-go-name: FilterMatchCriteria\n x-dcl-go-type: ForwardingRuleMetadataFilterFilterMatchCriteriaEnum\n description: |-\n Specifies how individual `filterLabel` matches within the list of `filterLabel`s contribute towards the overall `metadataFilter` match.\n\n Supported values are:\n\n * MATCH_ANY: At least one of the `filterLabels` must have a matching label in the provided metadata.\n * MATCH_ALL: All `filterLabels` must have matching labels in the provided metadata. Possible values: NOT_SET, MATCH_ALL, MATCH_ANY\n x-kubernetes-immutable: true\n enum:\n - NOT_SET\n - MATCH_ALL\n - MATCH_ANY\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource; provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: This field is not used for external load balancing. For `INTERNAL`\n and `INTERNAL_SELF_MANAGED` load balancing, this field identifies the\n network that the load balanced IP should belong to for this Forwarding\n Rule. If this field is not specified, the default network will be used.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: ForwardingRuleNetworkTierEnum\n description: 'This signifies the networking tier used for configuring this\n load balancer and can only take the following values: `PREMIUM`, `STANDARD`.\n For regional ForwardingRule, the valid values are `PREMIUM` and `STANDARD`.\n For GlobalForwardingRule, the valid value is `PREMIUM`. If this field\n is not specified, it is assumed to be `PREMIUM`. If `IPAddress` is specified,\n this value must be equal to the networkTier of the Address.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - PREMIUM\n - STANDARD\n portRange:\n type: string\n x-dcl-go-name: PortRange\n description: |-\n When the load balancing scheme is `EXTERNAL`, `INTERNAL_SELF_MANAGED` and `INTERNAL_MANAGED`, you can specify a `port_range`. Use with a forwarding rule that points to a target proxy or a target pool. Do not use with a forwarding rule that points to a backend service. This field is used along with the `target` field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. Applicable only when `IPProtocol` is `TCP`, `UDP`, or `SCTP`, only packets addressed to ports in the specified range will be forwarded to `target`. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. Some types of forwarding target have constraints on the acceptable ports:\n\n * TargetHttpProxy: 80, 8080\n * TargetHttpsProxy: 443\n * TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n * TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n * TargetVpnGateway: 500, 4500\n\n @pattern: d+(?:-d+)?\n x-kubernetes-immutable: true\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'This field is used along with the `backend_service` field\n for internal load balancing. When the load balancing scheme is `INTERNAL`,\n a list of ports can be configured, for example, [''80''], [''8000'',''9000''].\n Only packets addressed to these ports are forwarded to the backends configured\n with the forwarding rule. If the forwarding rule''s loadBalancingScheme\n is INTERNAL, you can specify ports in one of the following ways: * A list\n of up to five ports, which can be non-contiguous * Keyword `ALL`, which\n causes the forwarding rule to forward traffic on any port of the forwarding\n rule''s protocol. @pattern: d+(?:-d+)? For more information, refer to\n [Port specifications](/load-balancing/docs/forwarding-rule-concepts#port_specifications).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project this resource belongs in.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pscConnectionId:\n type: string\n x-dcl-go-name: PscConnectionId\n readOnly: true\n description: The PSC connection id of the PSC Forwarding Rule.\n x-kubernetes-immutable: true\n pscConnectionStatus:\n type: string\n x-dcl-go-name: PscConnectionStatus\n x-dcl-go-type: ForwardingRulePscConnectionStatusEnum\n readOnly: true\n description: 'The PSC connection status of the PSC Forwarding Rule. Possible\n values: STATUS_UNSPECIFIED, PENDING, ACCEPTED, REJECTED, CLOSED'\n x-kubernetes-immutable: true\n enum:\n - STATUS_UNSPECIFIED\n - PENDING\n - ACCEPTED\n - REJECTED\n - CLOSED\n region:\n type: string\n x-dcl-go-name: Region\n description: '[Output Only] URL of the region where the regional forwarding\n rule resides. This field is not applicable to global forwarding rules.\n You must specify this field as part of the HTTP request URL. It is not\n settable as a field in the request body.'\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined URL for the resource.'\n x-kubernetes-immutable: true\n serviceDirectoryRegistrations:\n type: array\n x-dcl-go-name: ServiceDirectoryRegistrations\n description: Service Directory resources to register this forwarding rule\n with. Currently, only supports a single Service Directory resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleServiceDirectoryRegistrations\n properties:\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: Service Directory namespace to register the forwarding\n rule under.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n service:\n type: string\n x-dcl-go-name: Service\n description: Service Directory service to register the forwarding\n rule under.\n x-kubernetes-immutable: true\n serviceLabel:\n type: string\n x-dcl-go-name: ServiceLabel\n description: An optional prefix to the service name for this Forwarding\n Rule. If specified, the prefix is the first label of the fully qualified\n service name. The label must be 1-63 characters long, and comply with\n [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, the label\n must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`\n which means the first character must be a lowercase letter, and all following\n characters must be a dash, lowercase letter, or digit, except the last\n character, which cannot be a dash. This field is only used for internal\n load balancing.\n x-kubernetes-immutable: true\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n readOnly: true\n description: '[Output Only] The internal fully qualified service name for\n this Forwarding Rule. This field is only used for internal load balancing.'\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: This field is only used for `INTERNAL` load balancing. For\n internal load balancing, this field identifies the subnetwork that the\n load balanced IP should belong to for this Forwarding Rule. If the network\n specified is in auto subnet mode, this field is optional. However, if\n the network is in custom subnet mode, a subnetwork must be specified.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n target:\n type: string\n x-dcl-go-name: Target\n description: The URL of the target resource to receive the matched traffic.\n For regional forwarding rules, this target must live in the same region\n as the forwarding rule. For global forwarding rules, this target must\n be a global load balancing resource. The forwarded traffic must be of\n a type appropriate to the target object. For `INTERNAL_SELF_MANAGED` load\n balancing, only `targetHttpProxy` is valid, not `targetHttpsProxy`.\n") -// 22305 bytes -// MD5: 2c85d11f2fa3111863b817f7632b281b +// 22330 bytes +// MD5: 2f83402f588a0c93b1b12f465b4d9fed diff --git a/services/google/compute/alpha/forwarding_rule_schema.go b/services/google/compute/alpha/forwarding_rule_schema.go index 8a5acdc461..973cdef8f5 100755 --- a/services/google/compute/alpha/forwarding_rule_schema.go +++ b/services/google/compute/alpha/forwarding_rule_schema.go @@ -23,6 +23,7 @@ func DCLForwardingRuleSchema() *dcl.Schema { Title: "Compute/ForwardingRule", Description: "The Compute ForwardingRule resource", StructName: "ForwardingRule", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/alpha/health_check.yaml b/services/google/compute/alpha/health_check.yaml index ea693b7679..78b783d1cb 100755 --- a/services/google/compute/alpha/health_check.yaml +++ b/services/google/compute/alpha/health_check.yaml @@ -15,6 +15,7 @@ info: title: Compute/HealthCheck description: The Compute HealthCheck resource x-dcl-struct-name: HealthCheck + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/http_health_check.yaml b/services/google/compute/alpha/http_health_check.yaml index ab817ef239..67d856a493 100755 --- a/services/google/compute/alpha/http_health_check.yaml +++ b/services/google/compute/alpha/http_health_check.yaml @@ -15,6 +15,7 @@ info: title: Compute/HttpHealthCheck description: The Compute HttpHealthCheck resource x-dcl-struct-name: HttpHealthCheck + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/https_health_check.yaml b/services/google/compute/alpha/https_health_check.yaml index e7de6effcb..0d4f4302f5 100755 --- a/services/google/compute/alpha/https_health_check.yaml +++ b/services/google/compute/alpha/https_health_check.yaml @@ -15,6 +15,7 @@ info: title: Compute/HttpsHealthCheck description: The Compute HttpsHealthCheck resource x-dcl-struct-name: HttpsHealthCheck + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/image.yaml b/services/google/compute/alpha/image.yaml index 7cff36e953..82d78b367b 100755 --- a/services/google/compute/alpha/image.yaml +++ b/services/google/compute/alpha/image.yaml @@ -15,6 +15,7 @@ info: title: Compute/Image description: The Compute Image resource x-dcl-struct-name: Image + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/instance.yaml b/services/google/compute/alpha/instance.yaml index 43a5a6f664..9d576d1a68 100755 --- a/services/google/compute/alpha/instance.yaml +++ b/services/google/compute/alpha/instance.yaml @@ -15,6 +15,7 @@ info: title: Compute/Instance description: The Compute Instance resource x-dcl-struct-name: Instance + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/compute/alpha/instance_alpha_yaml_embed.go b/services/google/compute/alpha/instance_alpha_yaml_embed.go index f1f9ae80e6..a8ecd2d253 100755 --- a/services/google/compute/alpha/instance_alpha_yaml_embed.go +++ b/services/google/compute/alpha/instance_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/instance.yaml -var YAML_instance = []byte("info:\n title: Compute/Instance\n description: The Compute Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/zones/{{zone}}/instances/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - zone\n - project\n properties:\n canIPForward:\n type: boolean\n x-dcl-go-name: CanIPForward\n description: Allows this instance to send and receive packets with non-matching\n destination or source IPs. This is required if you plan to use this instance\n to forward routes.\n x-kubernetes-immutable: true\n cpuPlatform:\n type: string\n x-dcl-go-name: CpuPlatform\n readOnly: true\n description: The CPU platform used by this instance.\n x-kubernetes-immutable: true\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n deletionProtection:\n type: boolean\n x-dcl-go-name: DeletionProtection\n description: Whether the resource should be protected against deletion.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n x-kubernetes-immutable: true\n disks:\n type: array\n x-dcl-go-name: Disks\n description: An array of disks that are associated with the instances that\n are created from this template.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceDisks\n properties:\n autoDelete:\n type: boolean\n x-dcl-go-name: AutoDelete\n description: 'Specifies whether the disk will be auto-deleted when\n the instance is deleted (but not when the disk is detached from\n the instance). Tip: Disks should be set to autoDelete=true so that\n leftover disks are not left behind on machine deletion.'\n x-kubernetes-immutable: true\n boot:\n type: boolean\n x-dcl-go-name: Boot\n description: Indicates that this is a boot disk. The virtual machine\n will use the first partition of the disk for its root filesystem.\n x-kubernetes-immutable: true\n deviceName:\n type: string\n x-dcl-go-name: DeviceName\n description: Specifies a unique device name of your choice that is\n reflected into the /dev/disk/by-id/google-* tree of a Linux operating\n system running within the instance. This name can be used to reference\n the device for mounting, resizing, and so on, from within the instance.\n x-kubernetes-immutable: true\n diskEncryptionKey:\n type: object\n x-dcl-go-name: DiskEncryptionKey\n x-dcl-go-type: InstanceDisksDiskEncryptionKey\n description: Encrypts or decrypts a disk using a customer-supplied\n encryption key.\n x-kubernetes-immutable: true\n properties:\n rawKey:\n type: string\n x-dcl-go-name: RawKey\n description: Specifies a 256-bit customer-supplied encryption\n key, encoded in RFC 4648 base64 to either encrypt or decrypt\n this resource.\n x-kubernetes-immutable: true\n rsaEncryptedKey:\n type: string\n x-dcl-go-name: RsaEncryptedKey\n description: Specifies an RFC 4648 base64 encoded, RSA-wrapped\n 2048-bit customer-supplied encryption key to either encrypt\n or decrypt this resource.\n x-kubernetes-immutable: true\n sha256:\n type: string\n x-dcl-go-name: Sha256\n readOnly: true\n description: The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied\n encryption key that protects this resource.\n x-kubernetes-immutable: true\n index:\n type: integer\n format: int64\n x-dcl-go-name: Index\n description: Assigns a zero-based index to this disk, where 0 is reserved\n for the boot disk. For example, if you have many disks attached\n to an instance, each disk would have a unique index number. If not\n specified, the server will choose an appropriate value.\n x-kubernetes-immutable: true\n initializeParams:\n type: object\n x-dcl-go-name: InitializeParams\n x-dcl-go-type: InstanceDisksInitializeParams\n description: Specifies the parameters for a new disk that will be\n created alongside the new instance. Use initialization parameters\n to create boot disks or local SSDs attached to the new instance.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n diskName:\n type: string\n x-dcl-go-name: DiskName\n description: Specifies the disk name. If not specified, the default\n is to use the name of the instance.\n x-kubernetes-immutable: true\n diskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: DiskSizeGb\n description: Specifies the size of the disk in base-2 GB.\n x-kubernetes-immutable: true\n diskType:\n type: string\n x-dcl-go-name: DiskType\n description: Reference to a disk type. Specifies the disk type\n to use to create the instance. If not specified, the default\n is pd-standard.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/DiskType\n field: name\n sourceImage:\n type: string\n x-dcl-go-name: SourceImage\n description: The source image to create this disk. When creating\n a new instance, one of initializeParams.sourceImage or disks.source\n is required. To create a disk with one of the public operating\n system images, specify the image by its family name.\n x-kubernetes-immutable: true\n sourceImageEncryptionKey:\n type: object\n x-dcl-go-name: SourceImageEncryptionKey\n x-dcl-go-type: InstanceDisksInitializeParamsSourceImageEncryptionKey\n description: The customer-supplied encryption key of the source\n image. Required if the source image is protected by a customer-supplied\n encryption key. Instance templates do not store customer-supplied\n encryption keys, so you cannot create disks for instances in\n a managed instance group if the source images are encrypted\n with your own keys.\n x-kubernetes-immutable: true\n properties:\n rawKey:\n type: string\n x-dcl-go-name: RawKey\n description: Specifies a 256-bit customer-supplied encryption\n key, encoded in RFC 4648 base64 to either encrypt or decrypt\n this resource.\n x-kubernetes-immutable: true\n sha256:\n type: string\n x-dcl-go-name: Sha256\n readOnly: true\n description: The RFC 4648 base64 encoded SHA-256 hash of the\n customer-supplied encryption key that protects this resource.\n x-kubernetes-immutable: true\n interface:\n type: string\n x-dcl-go-name: Interface\n x-dcl-go-type: InstanceDisksInterfaceEnum\n description: Specifies the disk interface to use for attaching this\n disk, which is either SCSI or NVME. The default is SCSI. Persistent\n disks must always use SCSI and the request will fail if you attempt\n to attach a persistent disk in any other format than SCSI.\n x-kubernetes-immutable: true\n enum:\n - SCSI\n - NVME\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: InstanceDisksModeEnum\n description: The mode in which to attach this disk, either READ_WRITE\n or READ_ONLY. If not specified, the default is to attach the disk\n in READ_WRITE mode.\n x-kubernetes-immutable: true\n enum:\n - READ_WRITE\n - READ_ONLY\n source:\n type: string\n x-dcl-go-name: Source\n description: Reference to a disk. When creating a new instance, one\n of initializeParams.sourceImage or disks.source is required. If\n desired, you can also attach existing non-root persistent disks\n using this property. This field is only applicable for persistent\n disks.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Disk\n field: selfLink\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceDisksTypeEnum\n description: Specifies the type of the disk, either SCRATCH or PERSISTENT.\n If not specified, the default is PERSISTENT.\n x-kubernetes-immutable: true\n enum:\n - SCRATCH\n - PERSISTENT\n x-dcl-mutable-unreadable: true\n guestAccelerators:\n type: array\n x-dcl-go-name: GuestAccelerators\n description: List of the type and count of accelerator cards attached to\n the instance\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGuestAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the guest accelerator cards exposed to\n this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: Full or partial URL of the accelerator type resource\n to expose to this instance.\n x-kubernetes-immutable: true\n hostname:\n type: string\n x-dcl-go-name: Hostname\n description: The hostname of the instance to be created. The specified hostname\n must be RFC1035 compliant. If hostname is not specified, the default hostname\n is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS,\n and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels to apply to this instance. A list of key->value pairs.\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: A reference to a machine type which defines VM kind.\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Compute/MachineType\n field: name\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The metadata key/value pairs to assign to instances that are\n created from this template. These pairs can consist of custom metadata\n or predefined keys.\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Specifies a minimum CPU platform for the VM instance. Applicable\n values are the friendly names of CPU platforms\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the resource, provided by the client when initially\n creating the resource. The resource name must be 1-63 characters long,\n and comply with RFC1035. Specifically, the name must be 1-63 characters\n long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which\n means the first character must be a lowercase letter, and all following\n characters must be a dash, lowercase letter, or digit, except the last\n character, which cannot be a dash.\n x-kubernetes-immutable: true\n networkInterfaces:\n type: array\n x-dcl-go-name: NetworkInterfaces\n description: An array of configurations for this interface. This specifies\n how this interface is configured to interact with other network services,\n such as connecting to the internet. Only one network interface is supported\n per instance.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfaces\n properties:\n accessConfigs:\n type: array\n x-dcl-go-name: AccessConfigs\n description: An array of configurations for this interface. Currently,\n only one access config, ONE_TO_ONE_NAT, is supported. If there are\n no accessConfigs specified, then this instance will have no external\n internet access.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigs\n required:\n - name\n - type\n properties:\n externalIPv6:\n type: string\n x-dcl-go-name: ExternalIPv6\n readOnly: true\n description: The first IPv6 address of the external IPv6 range\n associated with this instance, prefix length is stored in\n externalIpv6PrefixLength in ipv6AccessConfig. The field is\n output only, an IPv6 address from a subnetwork associated\n with the instance will be allocated dynamically.\n x-kubernetes-immutable: true\n externalIPv6PrefixLength:\n type: string\n x-dcl-go-name: ExternalIPv6PrefixLength\n readOnly: true\n description: The prefix length of the external IPv6 range.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this access configuration. The default\n and recommended name is External NAT but you can use any arbitrary\n string you would like. For example, My external IP or Network\n Access.\n x-kubernetes-immutable: true\n natIP:\n type: string\n x-dcl-go-name: NatIP\n description: Reference to an address. An external IP address\n associated with this instance. Specify an unused static external\n IP address available to the project or leave this field undefined\n to use an IP from a shared ephemeral IP address pool. If you\n specify a static external IP address, it must live in the\n same region as the zone of the instance.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Address\n field: selfLink\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsNetworkTierEnum\n description: 'This signifies the networking tier used for configuring\n this access configuration and can only take the following\n values: PREMIUM, STANDARD. If an AccessConfig is specified\n without a valid external IP address, an ephemeral IP will\n be created with this networkTier. If an AccessConfig with\n a valid external IP address is specified, it must match that\n of the networkTier associated with the Address resource owning\n that IP.'\n x-kubernetes-immutable: true\n enum:\n - PREMIUM\n - STANDARD\n publicPtrDomainName:\n type: string\n x-dcl-go-name: PublicPtrDomainName\n description: The DNS domain name for the public PTR record.\n You can set this field only if the setPublicPtr field is enabled.\n x-kubernetes-immutable: true\n setPublicPtr:\n type: boolean\n x-dcl-go-name: SetPublicPtr\n description: Specifies whether a public DNS 'PTR' record should\n be created to map the external IP address of the instance\n to a DNS domain name.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsTypeEnum\n description: The type of configuration. The default and only\n option is ONE_TO_ONE_NAT.\n x-kubernetes-immutable: true\n enum:\n - ONE_TO_ONE_NAT\n aliasIPRanges:\n type: array\n x-dcl-go-name: AliasIPRanges\n description: An array of alias IP ranges for this network interface.\n Can only be specified for network interfaces on subnet-mode networks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesAliasIPRanges\n properties:\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: The IP CIDR range represented by this alias IP\n range. This IP CIDR range must belong to the specified subnetwork\n and cannot contain IP addresses reserved by system or used\n by other network interfaces. This range may be a single IP\n address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format\n string (e.g. 10.1.2.0/24).\n x-kubernetes-immutable: true\n subnetworkRangeName:\n type: string\n x-dcl-go-name: SubnetworkRangeName\n description: Optional subnetwork secondary range name specifying\n the secondary range from which to allocate the IP CIDR range\n for this alias IP range. If left unspecified, the primary\n range of the subnetwork will be used.\n x-kubernetes-immutable: true\n ipv6AccessConfigs:\n type: array\n x-dcl-go-name: IPv6AccessConfigs\n description: An array of IPv6 access configurations for this interface.\n Currently, only one IPv6 access config, DIRECT_IPV6, is supported.\n If there is no ipv6AccessConfig specified, then this instance will\n have no external IPv6 Internet access.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigs\n required:\n - name\n - type\n properties:\n externalIPv6:\n type: string\n x-dcl-go-name: ExternalIPv6\n readOnly: true\n description: The first IPv6 address of the external IPv6 range\n associated with this instance, prefix length is stored in\n externalIpv6PrefixLength in ipv6AccessConfig. The field is\n output only, an IPv6 address from a subnetwork associated\n with the instance will be allocated dynamically.\n x-kubernetes-immutable: true\n externalIPv6PrefixLength:\n type: string\n x-dcl-go-name: ExternalIPv6PrefixLength\n readOnly: true\n description: The prefix length of the external IPv6 range.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this access configuration. The default\n and recommended name is External NAT but you can use any arbitrary\n string you would like. For example, My external IP or Network\n Access.\n x-kubernetes-immutable: true\n natIP:\n type: string\n x-dcl-go-name: NatIP\n description: Reference to an address. An external IP address\n associated with this instance. Specify an unused static external\n IP address available to the project or leave this field undefined\n to use an IP from a shared ephemeral IP address pool. If you\n specify a static external IP address, it must live in the\n same region as the zone of the instance.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Address\n field: selfLink\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum\n description: 'This signifies the networking tier used for configuring\n this access configuration and can only take the following\n values: PREMIUM, STANDARD. If an AccessConfig is specified\n without a valid external IP address, an ephemeral IP will\n be created with this networkTier. If an AccessConfig with\n a valid external IP address is specified, it must match that\n of the networkTier associated with the Address resource owning\n that IP.'\n x-kubernetes-immutable: true\n enum:\n - PREMIUM\n - STANDARD\n publicPtrDomainName:\n type: string\n x-dcl-go-name: PublicPtrDomainName\n description: The DNS domain name for the public PTR record.\n You can set this field only if the setPublicPtr field is enabled.\n x-kubernetes-immutable: true\n setPublicPtr:\n type: boolean\n x-dcl-go-name: SetPublicPtr\n description: Specifies whether a public DNS 'PTR' record should\n be created to map the external IP address of the instance\n to a DNS domain name.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum\n description: The type of configuration. The default and only\n option is ONE_TO_ONE_NAT.\n x-kubernetes-immutable: true\n enum:\n - ONE_TO_ONE_NAT\n name:\n type: string\n x-dcl-go-name: Name\n readOnly: true\n description: The name of the network interface, generated by the server.\n For network devices, these are eth0, eth1, etc\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Specifies the title of an existing network. When creating\n an instance, if neither the network nor the subnetwork is specified,\n the default network global/networks/default is used; if the network\n is not specified but the subnetwork is specified, the network is\n inferred.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n networkIP:\n type: string\n x-dcl-go-name: NetworkIP\n description: An IPv4 internal network address to assign to the instance\n for this network interface. If not specified by the user, an unused\n internal IP is assigned by the system.\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: Reference to a VPC network. If the network resource is\n in legacy mode, do not provide this property. If the network is\n in auto subnet mode, providing the subnetwork is optional. If the\n network is in custom subnet mode, then this field should be specified.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n scheduling:\n type: object\n x-dcl-go-name: Scheduling\n x-dcl-go-type: InstanceScheduling\n description: Sets the scheduling options for this instance.\n x-kubernetes-immutable: true\n properties:\n automaticRestart:\n type: boolean\n x-dcl-go-name: AutomaticRestart\n description: Specifies whether the instance should be automatically\n restarted if it is terminated by Compute Engine (not terminated by\n a user). You can only set the automatic restart option for standard\n instances. Preemptible instances cannot be automatically restarted.\n x-kubernetes-immutable: true\n onHostMaintenance:\n type: string\n x-dcl-go-name: OnHostMaintenance\n description: Defines the maintenance behavior for this instance. For\n standard instances, the default behavior is MIGRATE. For preemptible\n instances, the default and only possible behavior is TERMINATE. For\n more information, see Setting Instance Scheduling Options.\n x-kubernetes-immutable: true\n preemptible:\n type: boolean\n x-dcl-go-name: Preemptible\n description: Defines whether the instance is preemptible. This can only\n be set during instance creation, it cannot be set or changed after\n the instance has been created.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: The self link of the instance\n x-kubernetes-immutable: true\n serviceAccounts:\n type: array\n x-dcl-go-name: ServiceAccounts\n description: A list of service accounts, with their specified scopes, authorized\n for this instance. Only one service account per VM instance is supported.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceServiceAccounts\n properties:\n email:\n type: string\n x-dcl-go-name: Email\n description: Email address of the service account.\n x-kubernetes-immutable: true\n scopes:\n type: array\n x-dcl-go-name: Scopes\n description: The list of scopes to be made available for this service\n account.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n shieldedInstanceConfig:\n type: object\n x-dcl-go-name: ShieldedInstanceConfig\n x-dcl-go-type: InstanceShieldedInstanceConfig\n description: Configuration for various parameters related to shielded instances.\n properties:\n enableIntegrityMonitoring:\n type: boolean\n x-dcl-go-name: EnableIntegrityMonitoring\n description: Defines whether the instance has integrity monitoring enabled.\n enableSecureBoot:\n type: boolean\n x-dcl-go-name: EnableSecureBoot\n description: Defines whether the instance has Secure Boot enabled.\n enableVtpm:\n type: boolean\n x-dcl-go-name: EnableVtpm\n description: Defines whether the instance has the vTPM enabled\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: InstanceStatusEnum\n description: 'The status of the instance. One of the following values: PROVISIONING,\n STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and TERMINATED. As\n a user, use RUNNING to keep a machine \"on\" and TERMINATED to turn a machine\n off'\n x-kubernetes-immutable: true\n enum:\n - PROVISIONING\n - STAGING\n - RUNNING\n - STOPPING\n - SUSPENDING\n - SUSPENDED\n - TERMINATED\n statusMessage:\n type: string\n x-dcl-go-name: StatusMessage\n readOnly: true\n description: An optional, human-readable explanation of the status.\n x-kubernetes-immutable: true\n tags:\n type: array\n x-dcl-go-name: Tags\n description: A list of tags to apply to this instance. Tags are used to\n identify valid sources or targets for network firewalls and are specified\n by the client during instance creation. Each tag within the list must\n comply with RFC1035.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: A reference to the zone where the machine resides.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Zone\n field: name\n parent: true\n") +var YAML_instance = []byte("info:\n title: Compute/Instance\n description: The Compute Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/zones/{{zone}}/instances/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - zone\n - project\n properties:\n canIPForward:\n type: boolean\n x-dcl-go-name: CanIPForward\n description: Allows this instance to send and receive packets with non-matching\n destination or source IPs. This is required if you plan to use this instance\n to forward routes.\n x-kubernetes-immutable: true\n cpuPlatform:\n type: string\n x-dcl-go-name: CpuPlatform\n readOnly: true\n description: The CPU platform used by this instance.\n x-kubernetes-immutable: true\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n deletionProtection:\n type: boolean\n x-dcl-go-name: DeletionProtection\n description: Whether the resource should be protected against deletion.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n x-kubernetes-immutable: true\n disks:\n type: array\n x-dcl-go-name: Disks\n description: An array of disks that are associated with the instances that\n are created from this template.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceDisks\n properties:\n autoDelete:\n type: boolean\n x-dcl-go-name: AutoDelete\n description: 'Specifies whether the disk will be auto-deleted when\n the instance is deleted (but not when the disk is detached from\n the instance). Tip: Disks should be set to autoDelete=true so that\n leftover disks are not left behind on machine deletion.'\n x-kubernetes-immutable: true\n boot:\n type: boolean\n x-dcl-go-name: Boot\n description: Indicates that this is a boot disk. The virtual machine\n will use the first partition of the disk for its root filesystem.\n x-kubernetes-immutable: true\n deviceName:\n type: string\n x-dcl-go-name: DeviceName\n description: Specifies a unique device name of your choice that is\n reflected into the /dev/disk/by-id/google-* tree of a Linux operating\n system running within the instance. This name can be used to reference\n the device for mounting, resizing, and so on, from within the instance.\n x-kubernetes-immutable: true\n diskEncryptionKey:\n type: object\n x-dcl-go-name: DiskEncryptionKey\n x-dcl-go-type: InstanceDisksDiskEncryptionKey\n description: Encrypts or decrypts a disk using a customer-supplied\n encryption key.\n x-kubernetes-immutable: true\n properties:\n rawKey:\n type: string\n x-dcl-go-name: RawKey\n description: Specifies a 256-bit customer-supplied encryption\n key, encoded in RFC 4648 base64 to either encrypt or decrypt\n this resource.\n x-kubernetes-immutable: true\n rsaEncryptedKey:\n type: string\n x-dcl-go-name: RsaEncryptedKey\n description: Specifies an RFC 4648 base64 encoded, RSA-wrapped\n 2048-bit customer-supplied encryption key to either encrypt\n or decrypt this resource.\n x-kubernetes-immutable: true\n sha256:\n type: string\n x-dcl-go-name: Sha256\n readOnly: true\n description: The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied\n encryption key that protects this resource.\n x-kubernetes-immutable: true\n index:\n type: integer\n format: int64\n x-dcl-go-name: Index\n description: Assigns a zero-based index to this disk, where 0 is reserved\n for the boot disk. For example, if you have many disks attached\n to an instance, each disk would have a unique index number. If not\n specified, the server will choose an appropriate value.\n x-kubernetes-immutable: true\n initializeParams:\n type: object\n x-dcl-go-name: InitializeParams\n x-dcl-go-type: InstanceDisksInitializeParams\n description: Specifies the parameters for a new disk that will be\n created alongside the new instance. Use initialization parameters\n to create boot disks or local SSDs attached to the new instance.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n diskName:\n type: string\n x-dcl-go-name: DiskName\n description: Specifies the disk name. If not specified, the default\n is to use the name of the instance.\n x-kubernetes-immutable: true\n diskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: DiskSizeGb\n description: Specifies the size of the disk in base-2 GB.\n x-kubernetes-immutable: true\n diskType:\n type: string\n x-dcl-go-name: DiskType\n description: Reference to a disk type. Specifies the disk type\n to use to create the instance. If not specified, the default\n is pd-standard.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/DiskType\n field: name\n sourceImage:\n type: string\n x-dcl-go-name: SourceImage\n description: The source image to create this disk. When creating\n a new instance, one of initializeParams.sourceImage or disks.source\n is required. To create a disk with one of the public operating\n system images, specify the image by its family name.\n x-kubernetes-immutable: true\n sourceImageEncryptionKey:\n type: object\n x-dcl-go-name: SourceImageEncryptionKey\n x-dcl-go-type: InstanceDisksInitializeParamsSourceImageEncryptionKey\n description: The customer-supplied encryption key of the source\n image. Required if the source image is protected by a customer-supplied\n encryption key. Instance templates do not store customer-supplied\n encryption keys, so you cannot create disks for instances in\n a managed instance group if the source images are encrypted\n with your own keys.\n x-kubernetes-immutable: true\n properties:\n rawKey:\n type: string\n x-dcl-go-name: RawKey\n description: Specifies a 256-bit customer-supplied encryption\n key, encoded in RFC 4648 base64 to either encrypt or decrypt\n this resource.\n x-kubernetes-immutable: true\n sha256:\n type: string\n x-dcl-go-name: Sha256\n readOnly: true\n description: The RFC 4648 base64 encoded SHA-256 hash of the\n customer-supplied encryption key that protects this resource.\n x-kubernetes-immutable: true\n interface:\n type: string\n x-dcl-go-name: Interface\n x-dcl-go-type: InstanceDisksInterfaceEnum\n description: Specifies the disk interface to use for attaching this\n disk, which is either SCSI or NVME. The default is SCSI. Persistent\n disks must always use SCSI and the request will fail if you attempt\n to attach a persistent disk in any other format than SCSI.\n x-kubernetes-immutable: true\n enum:\n - SCSI\n - NVME\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: InstanceDisksModeEnum\n description: The mode in which to attach this disk, either READ_WRITE\n or READ_ONLY. If not specified, the default is to attach the disk\n in READ_WRITE mode.\n x-kubernetes-immutable: true\n enum:\n - READ_WRITE\n - READ_ONLY\n source:\n type: string\n x-dcl-go-name: Source\n description: Reference to a disk. When creating a new instance, one\n of initializeParams.sourceImage or disks.source is required. If\n desired, you can also attach existing non-root persistent disks\n using this property. This field is only applicable for persistent\n disks.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Disk\n field: selfLink\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceDisksTypeEnum\n description: Specifies the type of the disk, either SCRATCH or PERSISTENT.\n If not specified, the default is PERSISTENT.\n x-kubernetes-immutable: true\n enum:\n - SCRATCH\n - PERSISTENT\n x-dcl-mutable-unreadable: true\n guestAccelerators:\n type: array\n x-dcl-go-name: GuestAccelerators\n description: List of the type and count of accelerator cards attached to\n the instance\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGuestAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the guest accelerator cards exposed to\n this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: Full or partial URL of the accelerator type resource\n to expose to this instance.\n x-kubernetes-immutable: true\n hostname:\n type: string\n x-dcl-go-name: Hostname\n description: The hostname of the instance to be created. The specified hostname\n must be RFC1035 compliant. If hostname is not specified, the default hostname\n is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS,\n and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels to apply to this instance. A list of key->value pairs.\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: A reference to a machine type which defines VM kind.\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Compute/MachineType\n field: name\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The metadata key/value pairs to assign to instances that are\n created from this template. These pairs can consist of custom metadata\n or predefined keys.\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Specifies a minimum CPU platform for the VM instance. Applicable\n values are the friendly names of CPU platforms\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the resource, provided by the client when initially\n creating the resource. The resource name must be 1-63 characters long,\n and comply with RFC1035. Specifically, the name must be 1-63 characters\n long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which\n means the first character must be a lowercase letter, and all following\n characters must be a dash, lowercase letter, or digit, except the last\n character, which cannot be a dash.\n x-kubernetes-immutable: true\n networkInterfaces:\n type: array\n x-dcl-go-name: NetworkInterfaces\n description: An array of configurations for this interface. This specifies\n how this interface is configured to interact with other network services,\n such as connecting to the internet. Only one network interface is supported\n per instance.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfaces\n properties:\n accessConfigs:\n type: array\n x-dcl-go-name: AccessConfigs\n description: An array of configurations for this interface. Currently,\n only one access config, ONE_TO_ONE_NAT, is supported. If there are\n no accessConfigs specified, then this instance will have no external\n internet access.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigs\n required:\n - name\n - type\n properties:\n externalIPv6:\n type: string\n x-dcl-go-name: ExternalIPv6\n readOnly: true\n description: The first IPv6 address of the external IPv6 range\n associated with this instance, prefix length is stored in\n externalIpv6PrefixLength in ipv6AccessConfig. The field is\n output only, an IPv6 address from a subnetwork associated\n with the instance will be allocated dynamically.\n x-kubernetes-immutable: true\n externalIPv6PrefixLength:\n type: string\n x-dcl-go-name: ExternalIPv6PrefixLength\n readOnly: true\n description: The prefix length of the external IPv6 range.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this access configuration. The default\n and recommended name is External NAT but you can use any arbitrary\n string you would like. For example, My external IP or Network\n Access.\n x-kubernetes-immutable: true\n natIP:\n type: string\n x-dcl-go-name: NatIP\n description: Reference to an address. An external IP address\n associated with this instance. Specify an unused static external\n IP address available to the project or leave this field undefined\n to use an IP from a shared ephemeral IP address pool. If you\n specify a static external IP address, it must live in the\n same region as the zone of the instance.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Address\n field: selfLink\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsNetworkTierEnum\n description: 'This signifies the networking tier used for configuring\n this access configuration and can only take the following\n values: PREMIUM, STANDARD. If an AccessConfig is specified\n without a valid external IP address, an ephemeral IP will\n be created with this networkTier. If an AccessConfig with\n a valid external IP address is specified, it must match that\n of the networkTier associated with the Address resource owning\n that IP.'\n x-kubernetes-immutable: true\n enum:\n - PREMIUM\n - STANDARD\n publicPtrDomainName:\n type: string\n x-dcl-go-name: PublicPtrDomainName\n description: The DNS domain name for the public PTR record.\n You can set this field only if the setPublicPtr field is enabled.\n x-kubernetes-immutable: true\n setPublicPtr:\n type: boolean\n x-dcl-go-name: SetPublicPtr\n description: Specifies whether a public DNS 'PTR' record should\n be created to map the external IP address of the instance\n to a DNS domain name.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsTypeEnum\n description: The type of configuration. The default and only\n option is ONE_TO_ONE_NAT.\n x-kubernetes-immutable: true\n enum:\n - ONE_TO_ONE_NAT\n aliasIPRanges:\n type: array\n x-dcl-go-name: AliasIPRanges\n description: An array of alias IP ranges for this network interface.\n Can only be specified for network interfaces on subnet-mode networks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesAliasIPRanges\n properties:\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: The IP CIDR range represented by this alias IP\n range. This IP CIDR range must belong to the specified subnetwork\n and cannot contain IP addresses reserved by system or used\n by other network interfaces. This range may be a single IP\n address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format\n string (e.g. 10.1.2.0/24).\n x-kubernetes-immutable: true\n subnetworkRangeName:\n type: string\n x-dcl-go-name: SubnetworkRangeName\n description: Optional subnetwork secondary range name specifying\n the secondary range from which to allocate the IP CIDR range\n for this alias IP range. If left unspecified, the primary\n range of the subnetwork will be used.\n x-kubernetes-immutable: true\n ipv6AccessConfigs:\n type: array\n x-dcl-go-name: IPv6AccessConfigs\n description: An array of IPv6 access configurations for this interface.\n Currently, only one IPv6 access config, DIRECT_IPV6, is supported.\n If there is no ipv6AccessConfig specified, then this instance will\n have no external IPv6 Internet access.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigs\n required:\n - name\n - type\n properties:\n externalIPv6:\n type: string\n x-dcl-go-name: ExternalIPv6\n readOnly: true\n description: The first IPv6 address of the external IPv6 range\n associated with this instance, prefix length is stored in\n externalIpv6PrefixLength in ipv6AccessConfig. The field is\n output only, an IPv6 address from a subnetwork associated\n with the instance will be allocated dynamically.\n x-kubernetes-immutable: true\n externalIPv6PrefixLength:\n type: string\n x-dcl-go-name: ExternalIPv6PrefixLength\n readOnly: true\n description: The prefix length of the external IPv6 range.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this access configuration. The default\n and recommended name is External NAT but you can use any arbitrary\n string you would like. For example, My external IP or Network\n Access.\n x-kubernetes-immutable: true\n natIP:\n type: string\n x-dcl-go-name: NatIP\n description: Reference to an address. An external IP address\n associated with this instance. Specify an unused static external\n IP address available to the project or leave this field undefined\n to use an IP from a shared ephemeral IP address pool. If you\n specify a static external IP address, it must live in the\n same region as the zone of the instance.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Address\n field: selfLink\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum\n description: 'This signifies the networking tier used for configuring\n this access configuration and can only take the following\n values: PREMIUM, STANDARD. If an AccessConfig is specified\n without a valid external IP address, an ephemeral IP will\n be created with this networkTier. If an AccessConfig with\n a valid external IP address is specified, it must match that\n of the networkTier associated with the Address resource owning\n that IP.'\n x-kubernetes-immutable: true\n enum:\n - PREMIUM\n - STANDARD\n publicPtrDomainName:\n type: string\n x-dcl-go-name: PublicPtrDomainName\n description: The DNS domain name for the public PTR record.\n You can set this field only if the setPublicPtr field is enabled.\n x-kubernetes-immutable: true\n setPublicPtr:\n type: boolean\n x-dcl-go-name: SetPublicPtr\n description: Specifies whether a public DNS 'PTR' record should\n be created to map the external IP address of the instance\n to a DNS domain name.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum\n description: The type of configuration. The default and only\n option is ONE_TO_ONE_NAT.\n x-kubernetes-immutable: true\n enum:\n - ONE_TO_ONE_NAT\n name:\n type: string\n x-dcl-go-name: Name\n readOnly: true\n description: The name of the network interface, generated by the server.\n For network devices, these are eth0, eth1, etc\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Specifies the title of an existing network. When creating\n an instance, if neither the network nor the subnetwork is specified,\n the default network global/networks/default is used; if the network\n is not specified but the subnetwork is specified, the network is\n inferred.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n networkIP:\n type: string\n x-dcl-go-name: NetworkIP\n description: An IPv4 internal network address to assign to the instance\n for this network interface. If not specified by the user, an unused\n internal IP is assigned by the system.\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: Reference to a VPC network. If the network resource is\n in legacy mode, do not provide this property. If the network is\n in auto subnet mode, providing the subnetwork is optional. If the\n network is in custom subnet mode, then this field should be specified.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n scheduling:\n type: object\n x-dcl-go-name: Scheduling\n x-dcl-go-type: InstanceScheduling\n description: Sets the scheduling options for this instance.\n x-kubernetes-immutable: true\n properties:\n automaticRestart:\n type: boolean\n x-dcl-go-name: AutomaticRestart\n description: Specifies whether the instance should be automatically\n restarted if it is terminated by Compute Engine (not terminated by\n a user). You can only set the automatic restart option for standard\n instances. Preemptible instances cannot be automatically restarted.\n x-kubernetes-immutable: true\n onHostMaintenance:\n type: string\n x-dcl-go-name: OnHostMaintenance\n description: Defines the maintenance behavior for this instance. For\n standard instances, the default behavior is MIGRATE. For preemptible\n instances, the default and only possible behavior is TERMINATE. For\n more information, see Setting Instance Scheduling Options.\n x-kubernetes-immutable: true\n preemptible:\n type: boolean\n x-dcl-go-name: Preemptible\n description: Defines whether the instance is preemptible. This can only\n be set during instance creation, it cannot be set or changed after\n the instance has been created.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: The self link of the instance\n x-kubernetes-immutable: true\n serviceAccounts:\n type: array\n x-dcl-go-name: ServiceAccounts\n description: A list of service accounts, with their specified scopes, authorized\n for this instance. Only one service account per VM instance is supported.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceServiceAccounts\n properties:\n email:\n type: string\n x-dcl-go-name: Email\n description: Email address of the service account.\n x-kubernetes-immutable: true\n scopes:\n type: array\n x-dcl-go-name: Scopes\n description: The list of scopes to be made available for this service\n account.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n shieldedInstanceConfig:\n type: object\n x-dcl-go-name: ShieldedInstanceConfig\n x-dcl-go-type: InstanceShieldedInstanceConfig\n description: Configuration for various parameters related to shielded instances.\n properties:\n enableIntegrityMonitoring:\n type: boolean\n x-dcl-go-name: EnableIntegrityMonitoring\n description: Defines whether the instance has integrity monitoring enabled.\n enableSecureBoot:\n type: boolean\n x-dcl-go-name: EnableSecureBoot\n description: Defines whether the instance has Secure Boot enabled.\n enableVtpm:\n type: boolean\n x-dcl-go-name: EnableVtpm\n description: Defines whether the instance has the vTPM enabled\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: InstanceStatusEnum\n description: 'The status of the instance. One of the following values: PROVISIONING,\n STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and TERMINATED. As\n a user, use RUNNING to keep a machine \"on\" and TERMINATED to turn a machine\n off'\n x-kubernetes-immutable: true\n enum:\n - PROVISIONING\n - STAGING\n - RUNNING\n - STOPPING\n - SUSPENDING\n - SUSPENDED\n - TERMINATED\n statusMessage:\n type: string\n x-dcl-go-name: StatusMessage\n readOnly: true\n description: An optional, human-readable explanation of the status.\n x-kubernetes-immutable: true\n tags:\n type: array\n x-dcl-go-name: Tags\n description: A list of tags to apply to this instance. Tags are used to\n identify valid sources or targets for network firewalls and are specified\n by the client during instance creation. Each tag within the list must\n comply with RFC1035.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: A reference to the zone where the machine resides.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Zone\n field: name\n parent: true\n") -// 35469 bytes -// MD5: 04873fdb274cd69a8a7b9b45dfed105c +// 35494 bytes +// MD5: b486d66c3affa0501097eb967f52b296 diff --git a/services/google/compute/alpha/instance_group_manager.yaml b/services/google/compute/alpha/instance_group_manager.yaml index a37f72b22b..48e212f626 100755 --- a/services/google/compute/alpha/instance_group_manager.yaml +++ b/services/google/compute/alpha/instance_group_manager.yaml @@ -15,6 +15,7 @@ info: title: Compute/InstanceGroupManager description: The Compute InstanceGroupManager resource x-dcl-struct-name: InstanceGroupManager + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/instance_group_manager_alpha_yaml_embed.go b/services/google/compute/alpha/instance_group_manager_alpha_yaml_embed.go index 4b2cbe6cc4..a977a140ed 100755 --- a/services/google/compute/alpha/instance_group_manager_alpha_yaml_embed.go +++ b/services/google/compute/alpha/instance_group_manager_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/instance_group_manager.yaml -var YAML_instance_group_manager = []byte("info:\n title: Compute/InstanceGroupManager\n description: The Compute InstanceGroupManager resource\n x-dcl-struct-name: InstanceGroupManager\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n apply:\n description: The function used to apply information about a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n delete:\n description: The function used to delete a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n deleteAll:\n description: The function used to delete all InstanceGroupManager\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InstanceGroupManager\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InstanceGroupManager:\n title: InstanceGroupManager\n x-dcl-locations:\n - zone\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - targetSize\n - project\n properties:\n autoHealingPolicies:\n type: array\n x-dcl-go-name: AutoHealingPolicies\n description: The autohealing policy for this managed instance group. You\n can specify only one value.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerAutoHealingPolicies\n properties:\n healthCheck:\n type: string\n x-dcl-go-name: HealthCheck\n description: The URL for the health check that signals autohealing.\n x-dcl-references:\n - resource: Compute/HealthCheck\n field: selfLink\n initialDelaySec:\n type: integer\n format: int64\n x-dcl-go-name: InitialDelaySec\n description: The number of seconds that the managed instance group\n waits before it applies autohealing policies to new instances or\n recently recreated instances. This initial delay allows instances\n to initialize and run their startup scripts before the instance\n group determines that they are UNHEALTHY. This prevents the managed\n instance group from recreating its instances prematurely. This value\n must be from range [0, 3600].\n baseInstanceName:\n type: string\n x-dcl-go-name: BaseInstanceName\n description: The base instance name to use for instances in this group.\n The value must be 1-58 characters long. Instances are named by appending\n a hyphen and a random four-character string to the base instance name.\n The base instance name must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: The creation timestamp for this managed instance group in \\[RFC3339\\](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n currentActions:\n type: object\n x-dcl-go-name: CurrentActions\n x-dcl-go-type: InstanceGroupManagerCurrentActions\n readOnly: true\n description: '[Output Only] The list of instance actions and the number\n of instances in this managed instance group that are scheduled for each\n of those actions.'\n x-kubernetes-immutable: true\n properties:\n abandoning:\n type: integer\n format: int64\n x-dcl-go-name: Abandoning\n readOnly: true\n description: '[Output Only] The total number of instances in the managed\n instance group that are scheduled to be abandoned. Abandoning an instance\n removes it from the managed instance group without deleting it.'\n x-kubernetes-immutable: true\n creating:\n type: integer\n format: int64\n x-dcl-go-name: Creating\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be created or are currently being created.\n If the group fails to create any of these instances, it tries again\n until it creates the instance successfully. If you have disabled creation\n retries, this field will not be populated; instead, the `creatingWithoutRetries`\n field will be populated.'\n x-kubernetes-immutable: true\n creatingWithoutRetries:\n type: integer\n format: int64\n x-dcl-go-name: CreatingWithoutRetries\n readOnly: true\n description: '[Output Only] The number of instances that the managed\n instance group will attempt to create. The group attempts to create\n each instance only once. If the group fails to create any of these\n instances, it decreases the group''s `targetSize` value accordingly.'\n x-kubernetes-immutable: true\n deleting:\n type: integer\n format: int64\n x-dcl-go-name: Deleting\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be deleted or are currently being deleted.'\n x-kubernetes-immutable: true\n none:\n type: integer\n format: int64\n x-dcl-go-name: None\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are running and have no scheduled actions.'\n x-kubernetes-immutable: true\n recreating:\n type: integer\n format: int64\n x-dcl-go-name: Recreating\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be recreated or are currently being being\n recreated. Recreating an instance deletes the existing root persistent\n disk and creates a new disk from the image that is defined in the\n instance template.'\n x-kubernetes-immutable: true\n refreshing:\n type: integer\n format: int64\n x-dcl-go-name: Refreshing\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are being reconfigured with properties that do not require\n a restart or a recreate action. For example, setting or removing target\n pools for the instance.'\n x-kubernetes-immutable: true\n restarting:\n type: integer\n format: int64\n x-dcl-go-name: Restarting\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be restarted or are currently being restarted.'\n x-kubernetes-immutable: true\n verifying:\n type: integer\n format: int64\n x-dcl-go-name: Verifying\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are being verified. See the `managedInstances[].currentAction`\n property in the `listManagedInstances` method documentation.'\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n x-kubernetes-immutable: true\n distributionPolicy:\n type: object\n x-dcl-go-name: DistributionPolicy\n x-dcl-go-type: InstanceGroupManagerDistributionPolicy\n description: Policy specifying the intended distribution of managed instances\n across zones in a regional managed instance group.\n properties:\n targetShape:\n type: string\n x-dcl-go-name: TargetShape\n x-dcl-go-type: InstanceGroupManagerDistributionPolicyTargetShapeEnum\n description: 'The distribution shape to which the group converges either\n proactively or on resize events (depending on the value set in `updatePolicy.instanceRedistributionType`).\n Possible values: TARGET_SHAPE_UNSPECIFIED, ANY, BALANCED, ANY_SINGLE_ZONE'\n enum:\n - TARGET_SHAPE_UNSPECIFIED\n - ANY\n - BALANCED\n - ANY_SINGLE_ZONE\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Zones where the regional managed instance group will create\n and manage its instances.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerDistributionPolicyZones\n properties:\n zone:\n type: string\n x-dcl-go-name: Zone\n description: The URL of the [zone](/compute/docs/regions-zones/#available).\n The zone must exist in the region where the managed instance\n group is located.\n x-kubernetes-immutable: true\n failoverAction:\n type: string\n x-dcl-go-name: FailoverAction\n x-dcl-go-type: InstanceGroupManagerFailoverActionEnum\n description: 'The action to perform in case of zone failure. Only one value\n is supported, `NO_FAILOVER`. The default is `NO_FAILOVER`. Possible values:\n UNKNOWN, NO_FAILOVER'\n enum:\n - UNKNOWN\n - NO_FAILOVER\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of this resource. This field may be used in optimistic\n locking. It will be ignored when inserting an InstanceGroupManager. An\n up-to-date fingerprint must be provided in order to update the InstanceGroupManager,\n otherwise the request will fail with error `412 conditionNotMet`. To see\n the latest fingerprint, make a `get()` request to retrieve an InstanceGroupManager.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: '[Output Only] A unique identifier for this resource type.\n The server generates this identifier.'\n x-kubernetes-immutable: true\n instanceGroup:\n type: string\n x-dcl-go-name: InstanceGroup\n readOnly: true\n description: '[Output Only] The URL of the Instance Group resource.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/InstanceGroup\n field: selfLink\n instanceTemplate:\n type: string\n x-dcl-go-name: InstanceTemplate\n description: The URL of the instance template that is specified for this\n managed instance group. The group uses this template to create all new\n instances in the managed instance group. The templates for existing instances\n in the group do not change unless you run `recreateInstances`, run `applyUpdatesToInstances`,\n or set the group's `updatePolicy.type` to `PROACTIVE`.\n x-dcl-conflicts:\n - versions\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Compute/InstanceTemplate\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of this resource.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the managed instance group. The name must be 1-63\n characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n x-kubernetes-immutable: true\n namedPorts:\n type: array\n x-dcl-go-name: NamedPorts\n description: Named ports configured for the Instance Groups complementary\n to this Instance Group Manager.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerNamedPorts\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name for this named port. The name must be 1-63 characters\n long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n x-kubernetes-immutable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: The port number, which can be a value between 1 and 65535.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: '[Output Only] The URL of the [region](/compute/docs/regions-zones/#available)\n where the managed instance group resides (for regional resources).'\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] The URL for this managed instance group. The\n server defines this URL.'\n x-kubernetes-immutable: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: 'The service account to be used as credentials for all operations\n performed by the managed instance group on instances. The service accounts\n needs all permissions required to create and delete instances. By default,\n the service account: {projectNumber}@cloudservices.gserviceaccount.com\n is used.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n statefulPolicy:\n type: object\n x-dcl-go-name: StatefulPolicy\n x-dcl-go-type: InstanceGroupManagerStatefulPolicy\n description: Stateful configuration for this Instanced Group Manager\n properties:\n preservedState:\n type: object\n x-dcl-go-name: PreservedState\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedState\n properties:\n disks:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisks\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum\n description: 'These stateful disks will never be deleted during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the disk should be deleted\n after it is no longer used by the group, e.g. when the given\n instance or the whole group is deleted. Note: disks attached\n in READ_ONLY mode cannot be auto-deleted. Possible values:\n NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: Disks\n description: Disks created on the instances that will be preserved\n on instance delete, update, etc. This map is keyed with the device\n names of the disks.\n externalIps:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateExternalIps\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateExternalIpsAutoDeleteEnum\n description: 'These stateful IPs will never be released during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the IP reservation should\n be deleted after it is no longer used by the group, e.g.\n when the given instance or the whole group is deleted. Possible\n values: NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: ExternalIps\n description: External network IPs assigned to the instances that\n will be preserved on instance delete, update, etc. This map is\n keyed with the network interface name.\n internalIps:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateInternalIps\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateInternalIpsAutoDeleteEnum\n description: 'These stateful IPs will never be released during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the IP reservation should\n be deleted after it is no longer used by the group, e.g.\n when the given instance or the whole group is deleted. Possible\n values: NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: InternalIps\n description: Internal network IPs assigned to the instances that\n will be preserved on instance delete, update, etc. This map is\n keyed with the network interface name.\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: InstanceGroupManagerStatus\n readOnly: true\n description: '[Output Only] The status of this managed instance group.'\n properties:\n autoscaler:\n type: string\n x-dcl-go-name: Autoscaler\n readOnly: true\n description: '[Output Only] The URL of the [Autoscaler](/compute/docs/autoscaler/)\n that targets this instance group manager.'\n x-kubernetes-immutable: true\n isStable:\n type: boolean\n x-dcl-go-name: IsStable\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed instance\n group is in a stable state. A stable state means that: none of the\n instances in the managed instance group is currently undergoing any\n type of change (for example, creation, restart, or deletion); no future\n changes are scheduled for instances in the managed instance group;\n and the managed instance group itself is not being modified.'\n x-kubernetes-immutable: true\n stateful:\n type: object\n x-dcl-go-name: Stateful\n x-dcl-go-type: InstanceGroupManagerStatusStateful\n readOnly: true\n description: '[Output Only] Stateful status of the given Instance Group\n Manager.'\n properties:\n hasStatefulConfig:\n type: boolean\n x-dcl-go-name: HasStatefulConfig\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed\n instance group has stateful configuration, that is, if you have\n configured any items in a stateful policy or in per-instance configs.\n The group might report that it has no stateful config even when\n there is still some preserved state on a managed instance, for\n example, if you have deleted all PICs but not yet applied those\n deletions.'\n x-kubernetes-immutable: true\n isStateful:\n type: boolean\n x-dcl-go-name: IsStateful\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed\n instance group has stateful configuration, that is, if you have\n configured any items in a stateful policy or in per-instance configs.\n The group might report that it has no stateful config even when\n there is still some preserved state on a managed instance, for\n example, if you have deleted all PICs but not yet applied those\n deletions. This field is deprecated in favor of has_stateful_config.'\n x-kubernetes-immutable: true\n perInstanceConfigs:\n type: object\n x-dcl-go-name: PerInstanceConfigs\n x-dcl-go-type: InstanceGroupManagerStatusStatefulPerInstanceConfigs\n readOnly: true\n description: '[Output Only] Status of per-instance configs on the\n instance.'\n properties:\n allEffective:\n type: boolean\n x-dcl-go-name: AllEffective\n description: A bit indicating if all of the group's per-instance\n configs (listed in the output of a listPerInstanceConfigs\n API call) have status `EFFECTIVE` or there are no per-instance-configs.\n versionTarget:\n type: object\n x-dcl-go-name: VersionTarget\n x-dcl-go-type: InstanceGroupManagerStatusVersionTarget\n readOnly: true\n description: '[Output Only] A status of consistency of Instances'' versions\n with their target version specified by `version` field on Instance\n Group Manager.'\n x-kubernetes-immutable: true\n properties:\n isReached:\n type: boolean\n x-dcl-go-name: IsReached\n readOnly: true\n description: '[Output Only] A bit indicating whether version target\n has been reached in this managed instance group, i.e. all instances\n are in their target version. Instances'' target version are specified\n by `version` field on Instance Group Manager.'\n x-kubernetes-immutable: true\n targetPools:\n type: array\n x-dcl-go-name: TargetPools\n description: The URLs for all TargetPool resources to which instances in\n the `instanceGroup` field are added. The target pools automatically apply\n to all of the instances in the managed instance group.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/TargetPool\n field: selfLink\n targetSize:\n type: integer\n format: int64\n x-dcl-go-name: TargetSize\n description: The target number of running instances for this managed instance\n group. You can reduce this number by using the instanceGroupManager deleteInstances\n or abandonInstances methods. Resizing the group also changes this number.\n updatePolicy:\n type: object\n x-dcl-go-name: UpdatePolicy\n x-dcl-go-type: InstanceGroupManagerUpdatePolicy\n description: The update policy for this managed instance group.\n properties:\n instanceRedistributionType:\n type: string\n x-dcl-go-name: InstanceRedistributionType\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum\n description: 'The [instance redistribution policy](/compute/docs/instance-groups/regional-migs#proactive_instance_redistribution)\n for regional managed instance groups. Valid values are: - `PROACTIVE`\n (default): The group attempts to maintain an even distribution of\n VM instances across zones in the region. - `NONE`: For non-autoscaled\n groups, proactive redistribution is disabled.'\n enum:\n - NONE\n - PROACTIVE\n maxSurge:\n type: object\n x-dcl-go-name: MaxSurge\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxSurge\n description: The maximum number of instances that can be created above\n the specified `targetSize` during the update process. This value can\n be either a fixed number or, if the group has 10 or more instances,\n a percentage. If you set a percentage, the number of instances is\n rounded if necessary. The default value for `maxSurge` is a fixed\n value equal to the number of zones in which the managed instance group\n operates. At least one of either `maxSurge` or `maxUnavailable` must\n be greater than 0. Learn more about [`maxSurge`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_surge).\n x-dcl-send-empty: true\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then the\n `calculated` value is equal to the `fixed` value. - If the value\n is a `percent`, then the `calculated` value is `percent`/100 *\n `targetSize`. For example, the `calculated` value of a 80% of\n a managed instance group with 150 instances would be (80/100 *\n 150) = 120 VM instances. If there is a remainder, the number is\n rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to 100%,\n inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n maxUnavailable:\n type: object\n x-dcl-go-name: MaxUnavailable\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxUnavailable\n description: 'The maximum number of instances that can be unavailable\n during the update process. An instance is considered available if\n all of the following conditions are satisfied: - The instance''s [status](/compute/docs/instances/checking-instance-status)\n is `RUNNING`. - If there is a [health check](/compute/docs/instance-groups/autohealing-instances-in-migs)\n on the instance group, the instance''s health check status must be\n `HEALTHY` at least once. If there is no health check on the group,\n then the instance only needs to have a status of `RUNNING` to be considered\n available. This value can be either a fixed number or, if the group\n has 10 or more instances, a percentage. If you set a percentage, the\n number of instances is rounded if necessary. The default value for\n `maxUnavailable` is a fixed value equal to the number of zones in\n which the managed instance group operates. At least one of either\n `maxSurge` or `maxUnavailable` must be greater than 0. Learn more\n about [`maxUnavailable`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_unavailable).'\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then the\n `calculated` value is equal to the `fixed` value. - If the value\n is a `percent`, then the `calculated` value is `percent`/100 *\n `targetSize`. For example, the `calculated` value of a 80% of\n a managed instance group with 150 instances would be (80/100 *\n 150) = 120 VM instances. If there is a remainder, the number is\n rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to 100%,\n inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n minReadySec:\n type: integer\n format: int64\n x-dcl-go-name: MinReadySec\n description: Minimum number of seconds to wait for after a newly created\n instance becomes available. This value must be from range [0, 3600].\n minimalAction:\n type: string\n x-dcl-go-name: MinimalAction\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMinimalActionEnum\n description: Minimal action to be taken on an instance. You can specify\n either `RESTART` to restart existing instances or `REPLACE` to delete\n and create new instances from the target template. If you specify\n a `RESTART`, the Updater will attempt to perform that action only.\n However, if the Updater determines that the minimal action you specify\n is not enough to perform the update, it might perform a more disruptive\n action.\n enum:\n - REPLACE\n - RESTART\n - REFRESH\n - NONE\n mostDisruptiveAllowedAction:\n type: string\n x-dcl-go-name: MostDisruptiveAllowedAction\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnum\n description: Most disruptive action that is allowed to be taken on an\n instance. You can specify either `NONE` to forbid any actions, `REFRESH`\n to allow actions that do not need instance restart, `RESTART` to allow\n actions that can be applied without instance replacing or `REPLACE`\n to allow all possible actions. If the Updater determines that the\n minimal update action needed is more disruptive than most disruptive\n allowed action you specify it will not perform the update at all.\n enum:\n - REPLACE\n - RESTART\n - REFRESH\n - NONE\n replacementMethod:\n type: string\n x-dcl-go-name: ReplacementMethod\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyReplacementMethodEnum\n description: 'What action should be used to replace instances. See minimal_action.REPLACE\n Possible values: SUBSTITUTE, RECREATE'\n enum:\n - SUBSTITUTE\n - RECREATE\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyTypeEnum\n description: The type of update process. You can specify either `PROACTIVE`\n so that the instance group manager proactively executes actions in\n order to bring instances to their target versions or `OPPORTUNISTIC`\n so that no action is proactively executed but the update will be performed\n as part of other actions (for example, resizes or `recreateInstances`\n calls).\n enum:\n - OPPORTUNISTIC\n - PROACTIVE\n versions:\n type: array\n x-dcl-go-name: Versions\n description: Specifies the instance templates used by this managed instance\n group to create instances. Each version is defined by an `instanceTemplate`\n and a `name`. Every version can appear at most once per instance group.\n This field overrides the top-level `instanceTemplate` field. Read more\n about the [relationships between these fields](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#relationship_between_versions_and_instancetemplate_properties_for_a_managed_instance_group).\n Exactly one `version` must leave the `targetSize` field unset. That version\n will be applied to all remaining instances. For more information, read\n about [canary updates](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update).\n x-dcl-conflicts:\n - instanceTemplate\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerVersions\n properties:\n instanceTemplate:\n type: string\n x-dcl-go-name: InstanceTemplate\n description: The URL of the instance template that is specified for\n this managed instance group. The group uses this template to create\n new instances in the managed instance group until the `targetSize`\n for this version is reached. The templates for existing instances\n in the group do not change unless you run `recreateInstances`, run\n `applyUpdatesToInstances`, or set the group's `updatePolicy.type`\n to `PROACTIVE`; in those cases, existing instances are updated until\n the `targetSize` for this version is reached.\n x-dcl-references:\n - resource: Compute/InstanceTemplate\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the version. Unique among all versions in the\n scope of this managed instance group.\n targetSize:\n type: object\n x-dcl-go-name: TargetSize\n x-dcl-go-type: InstanceGroupManagerVersionsTargetSize\n description: 'Specifies the intended number of instances to be created\n from the `instanceTemplate`. The final number of instances created\n from the template will be equal to: - If expressed as a fixed number,\n the minimum of either `targetSize.fixed` or `instanceGroupManager.targetSize`\n is used. - if expressed as a `percent`, the `targetSize` would be\n `(targetSize.percent/100 * InstanceGroupManager.targetSize)` If\n there is a remainder, the number is rounded. If unset, this version\n will update any remaining instances not updated by another `version`.\n Read [Starting a canary update](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update)\n for more information.'\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then\n the `calculated` value is equal to the `fixed` value. - If the\n value is a `percent`, then the `calculated` value is `percent`/100\n * `targetSize`. For example, the `calculated` value of a 80%\n of a managed instance group with 150 instances would be (80/100\n * 150) = 120 VM instances. If there is a remainder, the number\n is rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to\n 100%, inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n zone:\n type: string\n x-dcl-go-name: Zone\n readOnly: true\n description: '[Output Only] The URL of a [zone](/compute/docs/regions-zones/#available)\n where the managed instance group is located (for zonal resources).'\n x-kubernetes-immutable: true\n") +var YAML_instance_group_manager = []byte("info:\n title: Compute/InstanceGroupManager\n description: The Compute InstanceGroupManager resource\n x-dcl-struct-name: InstanceGroupManager\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n apply:\n description: The function used to apply information about a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n delete:\n description: The function used to delete a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n deleteAll:\n description: The function used to delete all InstanceGroupManager\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InstanceGroupManager\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InstanceGroupManager:\n title: InstanceGroupManager\n x-dcl-locations:\n - zone\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - targetSize\n - project\n properties:\n autoHealingPolicies:\n type: array\n x-dcl-go-name: AutoHealingPolicies\n description: The autohealing policy for this managed instance group. You\n can specify only one value.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerAutoHealingPolicies\n properties:\n healthCheck:\n type: string\n x-dcl-go-name: HealthCheck\n description: The URL for the health check that signals autohealing.\n x-dcl-references:\n - resource: Compute/HealthCheck\n field: selfLink\n initialDelaySec:\n type: integer\n format: int64\n x-dcl-go-name: InitialDelaySec\n description: The number of seconds that the managed instance group\n waits before it applies autohealing policies to new instances or\n recently recreated instances. This initial delay allows instances\n to initialize and run their startup scripts before the instance\n group determines that they are UNHEALTHY. This prevents the managed\n instance group from recreating its instances prematurely. This value\n must be from range [0, 3600].\n baseInstanceName:\n type: string\n x-dcl-go-name: BaseInstanceName\n description: The base instance name to use for instances in this group.\n The value must be 1-58 characters long. Instances are named by appending\n a hyphen and a random four-character string to the base instance name.\n The base instance name must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: The creation timestamp for this managed instance group in \\[RFC3339\\](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n currentActions:\n type: object\n x-dcl-go-name: CurrentActions\n x-dcl-go-type: InstanceGroupManagerCurrentActions\n readOnly: true\n description: '[Output Only] The list of instance actions and the number\n of instances in this managed instance group that are scheduled for each\n of those actions.'\n x-kubernetes-immutable: true\n properties:\n abandoning:\n type: integer\n format: int64\n x-dcl-go-name: Abandoning\n readOnly: true\n description: '[Output Only] The total number of instances in the managed\n instance group that are scheduled to be abandoned. Abandoning an instance\n removes it from the managed instance group without deleting it.'\n x-kubernetes-immutable: true\n creating:\n type: integer\n format: int64\n x-dcl-go-name: Creating\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be created or are currently being created.\n If the group fails to create any of these instances, it tries again\n until it creates the instance successfully. If you have disabled creation\n retries, this field will not be populated; instead, the `creatingWithoutRetries`\n field will be populated.'\n x-kubernetes-immutable: true\n creatingWithoutRetries:\n type: integer\n format: int64\n x-dcl-go-name: CreatingWithoutRetries\n readOnly: true\n description: '[Output Only] The number of instances that the managed\n instance group will attempt to create. The group attempts to create\n each instance only once. If the group fails to create any of these\n instances, it decreases the group''s `targetSize` value accordingly.'\n x-kubernetes-immutable: true\n deleting:\n type: integer\n format: int64\n x-dcl-go-name: Deleting\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be deleted or are currently being deleted.'\n x-kubernetes-immutable: true\n none:\n type: integer\n format: int64\n x-dcl-go-name: None\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are running and have no scheduled actions.'\n x-kubernetes-immutable: true\n recreating:\n type: integer\n format: int64\n x-dcl-go-name: Recreating\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be recreated or are currently being being\n recreated. Recreating an instance deletes the existing root persistent\n disk and creates a new disk from the image that is defined in the\n instance template.'\n x-kubernetes-immutable: true\n refreshing:\n type: integer\n format: int64\n x-dcl-go-name: Refreshing\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are being reconfigured with properties that do not require\n a restart or a recreate action. For example, setting or removing target\n pools for the instance.'\n x-kubernetes-immutable: true\n restarting:\n type: integer\n format: int64\n x-dcl-go-name: Restarting\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be restarted or are currently being restarted.'\n x-kubernetes-immutable: true\n verifying:\n type: integer\n format: int64\n x-dcl-go-name: Verifying\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are being verified. See the `managedInstances[].currentAction`\n property in the `listManagedInstances` method documentation.'\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n x-kubernetes-immutable: true\n distributionPolicy:\n type: object\n x-dcl-go-name: DistributionPolicy\n x-dcl-go-type: InstanceGroupManagerDistributionPolicy\n description: Policy specifying the intended distribution of managed instances\n across zones in a regional managed instance group.\n properties:\n targetShape:\n type: string\n x-dcl-go-name: TargetShape\n x-dcl-go-type: InstanceGroupManagerDistributionPolicyTargetShapeEnum\n description: 'The distribution shape to which the group converges either\n proactively or on resize events (depending on the value set in `updatePolicy.instanceRedistributionType`).\n Possible values: TARGET_SHAPE_UNSPECIFIED, ANY, BALANCED, ANY_SINGLE_ZONE'\n enum:\n - TARGET_SHAPE_UNSPECIFIED\n - ANY\n - BALANCED\n - ANY_SINGLE_ZONE\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Zones where the regional managed instance group will create\n and manage its instances.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerDistributionPolicyZones\n properties:\n zone:\n type: string\n x-dcl-go-name: Zone\n description: The URL of the [zone](/compute/docs/regions-zones/#available).\n The zone must exist in the region where the managed instance\n group is located.\n x-kubernetes-immutable: true\n failoverAction:\n type: string\n x-dcl-go-name: FailoverAction\n x-dcl-go-type: InstanceGroupManagerFailoverActionEnum\n description: 'The action to perform in case of zone failure. Only one value\n is supported, `NO_FAILOVER`. The default is `NO_FAILOVER`. Possible values:\n UNKNOWN, NO_FAILOVER'\n enum:\n - UNKNOWN\n - NO_FAILOVER\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of this resource. This field may be used in optimistic\n locking. It will be ignored when inserting an InstanceGroupManager. An\n up-to-date fingerprint must be provided in order to update the InstanceGroupManager,\n otherwise the request will fail with error `412 conditionNotMet`. To see\n the latest fingerprint, make a `get()` request to retrieve an InstanceGroupManager.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: '[Output Only] A unique identifier for this resource type.\n The server generates this identifier.'\n x-kubernetes-immutable: true\n instanceGroup:\n type: string\n x-dcl-go-name: InstanceGroup\n readOnly: true\n description: '[Output Only] The URL of the Instance Group resource.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/InstanceGroup\n field: selfLink\n instanceTemplate:\n type: string\n x-dcl-go-name: InstanceTemplate\n description: The URL of the instance template that is specified for this\n managed instance group. The group uses this template to create all new\n instances in the managed instance group. The templates for existing instances\n in the group do not change unless you run `recreateInstances`, run `applyUpdatesToInstances`,\n or set the group's `updatePolicy.type` to `PROACTIVE`.\n x-dcl-conflicts:\n - versions\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Compute/InstanceTemplate\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of this resource.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the managed instance group. The name must be 1-63\n characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n x-kubernetes-immutable: true\n namedPorts:\n type: array\n x-dcl-go-name: NamedPorts\n description: Named ports configured for the Instance Groups complementary\n to this Instance Group Manager.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerNamedPorts\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name for this named port. The name must be 1-63 characters\n long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n x-kubernetes-immutable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: The port number, which can be a value between 1 and 65535.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: '[Output Only] The URL of the [region](/compute/docs/regions-zones/#available)\n where the managed instance group resides (for regional resources).'\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] The URL for this managed instance group. The\n server defines this URL.'\n x-kubernetes-immutable: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: 'The service account to be used as credentials for all operations\n performed by the managed instance group on instances. The service accounts\n needs all permissions required to create and delete instances. By default,\n the service account: {projectNumber}@cloudservices.gserviceaccount.com\n is used.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n statefulPolicy:\n type: object\n x-dcl-go-name: StatefulPolicy\n x-dcl-go-type: InstanceGroupManagerStatefulPolicy\n description: Stateful configuration for this Instanced Group Manager\n properties:\n preservedState:\n type: object\n x-dcl-go-name: PreservedState\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedState\n properties:\n disks:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisks\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum\n description: 'These stateful disks will never be deleted during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the disk should be deleted\n after it is no longer used by the group, e.g. when the given\n instance or the whole group is deleted. Note: disks attached\n in READ_ONLY mode cannot be auto-deleted. Possible values:\n NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: Disks\n description: Disks created on the instances that will be preserved\n on instance delete, update, etc. This map is keyed with the device\n names of the disks.\n externalIps:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateExternalIps\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateExternalIpsAutoDeleteEnum\n description: 'These stateful IPs will never be released during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the IP reservation should\n be deleted after it is no longer used by the group, e.g.\n when the given instance or the whole group is deleted. Possible\n values: NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: ExternalIps\n description: External network IPs assigned to the instances that\n will be preserved on instance delete, update, etc. This map is\n keyed with the network interface name.\n internalIps:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateInternalIps\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateInternalIpsAutoDeleteEnum\n description: 'These stateful IPs will never be released during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the IP reservation should\n be deleted after it is no longer used by the group, e.g.\n when the given instance or the whole group is deleted. Possible\n values: NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: InternalIps\n description: Internal network IPs assigned to the instances that\n will be preserved on instance delete, update, etc. This map is\n keyed with the network interface name.\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: InstanceGroupManagerStatus\n readOnly: true\n description: '[Output Only] The status of this managed instance group.'\n properties:\n autoscaler:\n type: string\n x-dcl-go-name: Autoscaler\n readOnly: true\n description: '[Output Only] The URL of the [Autoscaler](/compute/docs/autoscaler/)\n that targets this instance group manager.'\n x-kubernetes-immutable: true\n isStable:\n type: boolean\n x-dcl-go-name: IsStable\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed instance\n group is in a stable state. A stable state means that: none of the\n instances in the managed instance group is currently undergoing any\n type of change (for example, creation, restart, or deletion); no future\n changes are scheduled for instances in the managed instance group;\n and the managed instance group itself is not being modified.'\n x-kubernetes-immutable: true\n stateful:\n type: object\n x-dcl-go-name: Stateful\n x-dcl-go-type: InstanceGroupManagerStatusStateful\n readOnly: true\n description: '[Output Only] Stateful status of the given Instance Group\n Manager.'\n properties:\n hasStatefulConfig:\n type: boolean\n x-dcl-go-name: HasStatefulConfig\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed\n instance group has stateful configuration, that is, if you have\n configured any items in a stateful policy or in per-instance configs.\n The group might report that it has no stateful config even when\n there is still some preserved state on a managed instance, for\n example, if you have deleted all PICs but not yet applied those\n deletions.'\n x-kubernetes-immutable: true\n isStateful:\n type: boolean\n x-dcl-go-name: IsStateful\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed\n instance group has stateful configuration, that is, if you have\n configured any items in a stateful policy or in per-instance configs.\n The group might report that it has no stateful config even when\n there is still some preserved state on a managed instance, for\n example, if you have deleted all PICs but not yet applied those\n deletions. This field is deprecated in favor of has_stateful_config.'\n x-kubernetes-immutable: true\n perInstanceConfigs:\n type: object\n x-dcl-go-name: PerInstanceConfigs\n x-dcl-go-type: InstanceGroupManagerStatusStatefulPerInstanceConfigs\n readOnly: true\n description: '[Output Only] Status of per-instance configs on the\n instance.'\n properties:\n allEffective:\n type: boolean\n x-dcl-go-name: AllEffective\n description: A bit indicating if all of the group's per-instance\n configs (listed in the output of a listPerInstanceConfigs\n API call) have status `EFFECTIVE` or there are no per-instance-configs.\n versionTarget:\n type: object\n x-dcl-go-name: VersionTarget\n x-dcl-go-type: InstanceGroupManagerStatusVersionTarget\n readOnly: true\n description: '[Output Only] A status of consistency of Instances'' versions\n with their target version specified by `version` field on Instance\n Group Manager.'\n x-kubernetes-immutable: true\n properties:\n isReached:\n type: boolean\n x-dcl-go-name: IsReached\n readOnly: true\n description: '[Output Only] A bit indicating whether version target\n has been reached in this managed instance group, i.e. all instances\n are in their target version. Instances'' target version are specified\n by `version` field on Instance Group Manager.'\n x-kubernetes-immutable: true\n targetPools:\n type: array\n x-dcl-go-name: TargetPools\n description: The URLs for all TargetPool resources to which instances in\n the `instanceGroup` field are added. The target pools automatically apply\n to all of the instances in the managed instance group.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/TargetPool\n field: selfLink\n targetSize:\n type: integer\n format: int64\n x-dcl-go-name: TargetSize\n description: The target number of running instances for this managed instance\n group. You can reduce this number by using the instanceGroupManager deleteInstances\n or abandonInstances methods. Resizing the group also changes this number.\n updatePolicy:\n type: object\n x-dcl-go-name: UpdatePolicy\n x-dcl-go-type: InstanceGroupManagerUpdatePolicy\n description: The update policy for this managed instance group.\n properties:\n instanceRedistributionType:\n type: string\n x-dcl-go-name: InstanceRedistributionType\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum\n description: 'The [instance redistribution policy](/compute/docs/instance-groups/regional-migs#proactive_instance_redistribution)\n for regional managed instance groups. Valid values are: - `PROACTIVE`\n (default): The group attempts to maintain an even distribution of\n VM instances across zones in the region. - `NONE`: For non-autoscaled\n groups, proactive redistribution is disabled.'\n enum:\n - NONE\n - PROACTIVE\n maxSurge:\n type: object\n x-dcl-go-name: MaxSurge\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxSurge\n description: The maximum number of instances that can be created above\n the specified `targetSize` during the update process. This value can\n be either a fixed number or, if the group has 10 or more instances,\n a percentage. If you set a percentage, the number of instances is\n rounded if necessary. The default value for `maxSurge` is a fixed\n value equal to the number of zones in which the managed instance group\n operates. At least one of either `maxSurge` or `maxUnavailable` must\n be greater than 0. Learn more about [`maxSurge`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_surge).\n x-dcl-send-empty: true\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then the\n `calculated` value is equal to the `fixed` value. - If the value\n is a `percent`, then the `calculated` value is `percent`/100 *\n `targetSize`. For example, the `calculated` value of a 80% of\n a managed instance group with 150 instances would be (80/100 *\n 150) = 120 VM instances. If there is a remainder, the number is\n rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to 100%,\n inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n maxUnavailable:\n type: object\n x-dcl-go-name: MaxUnavailable\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxUnavailable\n description: 'The maximum number of instances that can be unavailable\n during the update process. An instance is considered available if\n all of the following conditions are satisfied: - The instance''s [status](/compute/docs/instances/checking-instance-status)\n is `RUNNING`. - If there is a [health check](/compute/docs/instance-groups/autohealing-instances-in-migs)\n on the instance group, the instance''s health check status must be\n `HEALTHY` at least once. If there is no health check on the group,\n then the instance only needs to have a status of `RUNNING` to be considered\n available. This value can be either a fixed number or, if the group\n has 10 or more instances, a percentage. If you set a percentage, the\n number of instances is rounded if necessary. The default value for\n `maxUnavailable` is a fixed value equal to the number of zones in\n which the managed instance group operates. At least one of either\n `maxSurge` or `maxUnavailable` must be greater than 0. Learn more\n about [`maxUnavailable`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_unavailable).'\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then the\n `calculated` value is equal to the `fixed` value. - If the value\n is a `percent`, then the `calculated` value is `percent`/100 *\n `targetSize`. For example, the `calculated` value of a 80% of\n a managed instance group with 150 instances would be (80/100 *\n 150) = 120 VM instances. If there is a remainder, the number is\n rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to 100%,\n inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n minReadySec:\n type: integer\n format: int64\n x-dcl-go-name: MinReadySec\n description: Minimum number of seconds to wait for after a newly created\n instance becomes available. This value must be from range [0, 3600].\n minimalAction:\n type: string\n x-dcl-go-name: MinimalAction\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMinimalActionEnum\n description: Minimal action to be taken on an instance. You can specify\n either `RESTART` to restart existing instances or `REPLACE` to delete\n and create new instances from the target template. If you specify\n a `RESTART`, the Updater will attempt to perform that action only.\n However, if the Updater determines that the minimal action you specify\n is not enough to perform the update, it might perform a more disruptive\n action.\n enum:\n - REPLACE\n - RESTART\n - REFRESH\n - NONE\n mostDisruptiveAllowedAction:\n type: string\n x-dcl-go-name: MostDisruptiveAllowedAction\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnum\n description: Most disruptive action that is allowed to be taken on an\n instance. You can specify either `NONE` to forbid any actions, `REFRESH`\n to allow actions that do not need instance restart, `RESTART` to allow\n actions that can be applied without instance replacing or `REPLACE`\n to allow all possible actions. If the Updater determines that the\n minimal update action needed is more disruptive than most disruptive\n allowed action you specify it will not perform the update at all.\n enum:\n - REPLACE\n - RESTART\n - REFRESH\n - NONE\n replacementMethod:\n type: string\n x-dcl-go-name: ReplacementMethod\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyReplacementMethodEnum\n description: 'What action should be used to replace instances. See minimal_action.REPLACE\n Possible values: SUBSTITUTE, RECREATE'\n enum:\n - SUBSTITUTE\n - RECREATE\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyTypeEnum\n description: The type of update process. You can specify either `PROACTIVE`\n so that the instance group manager proactively executes actions in\n order to bring instances to their target versions or `OPPORTUNISTIC`\n so that no action is proactively executed but the update will be performed\n as part of other actions (for example, resizes or `recreateInstances`\n calls).\n enum:\n - OPPORTUNISTIC\n - PROACTIVE\n versions:\n type: array\n x-dcl-go-name: Versions\n description: Specifies the instance templates used by this managed instance\n group to create instances. Each version is defined by an `instanceTemplate`\n and a `name`. Every version can appear at most once per instance group.\n This field overrides the top-level `instanceTemplate` field. Read more\n about the [relationships between these fields](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#relationship_between_versions_and_instancetemplate_properties_for_a_managed_instance_group).\n Exactly one `version` must leave the `targetSize` field unset. That version\n will be applied to all remaining instances. For more information, read\n about [canary updates](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update).\n x-dcl-conflicts:\n - instanceTemplate\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerVersions\n properties:\n instanceTemplate:\n type: string\n x-dcl-go-name: InstanceTemplate\n description: The URL of the instance template that is specified for\n this managed instance group. The group uses this template to create\n new instances in the managed instance group until the `targetSize`\n for this version is reached. The templates for existing instances\n in the group do not change unless you run `recreateInstances`, run\n `applyUpdatesToInstances`, or set the group's `updatePolicy.type`\n to `PROACTIVE`; in those cases, existing instances are updated until\n the `targetSize` for this version is reached.\n x-dcl-references:\n - resource: Compute/InstanceTemplate\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the version. Unique among all versions in the\n scope of this managed instance group.\n targetSize:\n type: object\n x-dcl-go-name: TargetSize\n x-dcl-go-type: InstanceGroupManagerVersionsTargetSize\n description: 'Specifies the intended number of instances to be created\n from the `instanceTemplate`. The final number of instances created\n from the template will be equal to: - If expressed as a fixed number,\n the minimum of either `targetSize.fixed` or `instanceGroupManager.targetSize`\n is used. - if expressed as a `percent`, the `targetSize` would be\n `(targetSize.percent/100 * InstanceGroupManager.targetSize)` If\n there is a remainder, the number is rounded. If unset, this version\n will update any remaining instances not updated by another `version`.\n Read [Starting a canary update](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update)\n for more information.'\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then\n the `calculated` value is equal to the `fixed` value. - If the\n value is a `percent`, then the `calculated` value is `percent`/100\n * `targetSize`. For example, the `calculated` value of a 80%\n of a managed instance group with 150 instances would be (80/100\n * 150) = 120 VM instances. If there is a remainder, the number\n is rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to\n 100%, inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n zone:\n type: string\n x-dcl-go-name: Zone\n readOnly: true\n description: '[Output Only] The URL of a [zone](/compute/docs/regions-zones/#available)\n where the managed instance group is located (for zonal resources).'\n x-kubernetes-immutable: true\n") -// 40688 bytes -// MD5: 3447cfdf6f1028f66afa75a345792798 +// 40713 bytes +// MD5: dfbf11436c52e1fcb7c3f31e87af988f diff --git a/services/google/compute/alpha/instance_group_manager_schema.go b/services/google/compute/alpha/instance_group_manager_schema.go index 20f96c6454..aa52e292f4 100755 --- a/services/google/compute/alpha/instance_group_manager_schema.go +++ b/services/google/compute/alpha/instance_group_manager_schema.go @@ -23,6 +23,7 @@ func DCLInstanceGroupManagerSchema() *dcl.Schema { Title: "Compute/InstanceGroupManager", Description: "The Compute InstanceGroupManager resource", StructName: "InstanceGroupManager", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/alpha/instance_schema.go b/services/google/compute/alpha/instance_schema.go index 09673f15bc..283c718d0e 100755 --- a/services/google/compute/alpha/instance_schema.go +++ b/services/google/compute/alpha/instance_schema.go @@ -23,6 +23,7 @@ func DCLInstanceSchema() *dcl.Schema { Title: "Compute/Instance", Description: "The Compute Instance resource", StructName: "Instance", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/compute/alpha/instance_template.yaml b/services/google/compute/alpha/instance_template.yaml index 252c981095..e491dfb8ee 100755 --- a/services/google/compute/alpha/instance_template.yaml +++ b/services/google/compute/alpha/instance_template.yaml @@ -15,6 +15,7 @@ info: title: Compute/InstanceTemplate description: The Compute InstanceTemplate resource x-dcl-struct-name: InstanceTemplate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/interconnect.yaml b/services/google/compute/alpha/interconnect.yaml index f9806950d1..1965ce9f84 100755 --- a/services/google/compute/alpha/interconnect.yaml +++ b/services/google/compute/alpha/interconnect.yaml @@ -15,6 +15,7 @@ info: title: Compute/Interconnect description: The Compute Interconnect resource x-dcl-struct-name: Interconnect + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/interconnect_attachment.yaml b/services/google/compute/alpha/interconnect_attachment.yaml index 388d80c536..bd628d2384 100755 --- a/services/google/compute/alpha/interconnect_attachment.yaml +++ b/services/google/compute/alpha/interconnect_attachment.yaml @@ -15,6 +15,7 @@ info: title: Compute/InterconnectAttachment description: The Compute InterconnectAttachment resource x-dcl-struct-name: InterconnectAttachment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/interconnect_attachment_alpha_yaml_embed.go b/services/google/compute/alpha/interconnect_attachment_alpha_yaml_embed.go index 2a66077323..fa436de4b2 100755 --- a/services/google/compute/alpha/interconnect_attachment_alpha_yaml_embed.go +++ b/services/google/compute/alpha/interconnect_attachment_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/interconnect_attachment.yaml -var YAML_interconnect_attachment = []byte("info:\n title: Compute/InterconnectAttachment\n description: The Compute InterconnectAttachment resource\n x-dcl-struct-name: InterconnectAttachment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n apply:\n description: The function used to apply information about a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n delete:\n description: The function used to delete a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n deleteAll:\n description: The function used to delete all InterconnectAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InterconnectAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InterconnectAttachment:\n title: InterconnectAttachment\n x-dcl-id: projects/{{project}}/regions/{{region}}/interconnectAttachments/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - region\n - project\n properties:\n adminEnabled:\n type: boolean\n x-dcl-go-name: AdminEnabled\n description: Determines whether this Attachment will carry packets. Not\n present for PARTNER_PROVIDER.\n bandwidth:\n type: string\n x-dcl-go-name: Bandwidth\n x-dcl-go-type: InterconnectAttachmentBandwidthEnum\n description: 'Provisioned bandwidth capacity for the interconnect attachment.\n For attachments of type DEDICATED, the user can set the bandwidth. For\n attachments of type PARTNER, the Google Partner that is operating the\n interconnect must set the bandwidth. Output only for PARTNER type, mutable\n for PARTNER_PROVIDER and DEDICATED, and can take one of the following\n values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s\n - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s -\n BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s\n - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s'\n enum:\n - BPS_50M\n - BPS_100M\n - BPS_200M\n - BPS_300M\n - BPS_400M\n - BPS_500M\n - BPS_1G\n - BPS_2G\n - BPS_5G\n - BPS_10G\n - BPS_20G\n - BPS_50G\n candidateSubnets:\n type: array\n x-dcl-go-name: CandidateSubnets\n description: Up to 16 candidate prefixes that can be used to restrict the\n allocation of cloudRouterIpAddress and customerRouterIpAddress for this\n attachment. All prefixes must be within link-local address space (169.254.0.0/16)\n and must be /29 or shorter (/28, /27, etc). Google will attempt to select\n an unused /29 from the supplied candidate prefix(es). The request will\n fail if all possible /29s are in use on Google's edge. If not supplied,\n Google will randomly select an unused /29 from all of link-local space.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n cloudRouterIPAddress:\n type: string\n x-dcl-go-name: CloudRouterIPAddress\n readOnly: true\n description: IPv4 address + prefix length to be configured on Cloud Router\n Interface for this interconnect attachment.\n x-kubernetes-immutable: true\n customerRouterIPAddress:\n type: string\n x-dcl-go-name: CustomerRouterIPAddress\n readOnly: true\n description: IPv4 address + prefix length to be configured on the customer\n router subinterface for this interconnect attachment.\n x-kubernetes-immutable: true\n dataplaneVersion:\n type: integer\n format: int64\n x-dcl-go-name: DataplaneVersion\n description: Dataplane version for this InterconnectAttachment. This field\n is only present for Dataplane version 2 and higher. Absence of this field\n in the API output indicates that the Dataplane is version 1.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n edgeAvailabilityDomain:\n type: string\n x-dcl-go-name: EdgeAvailabilityDomain\n x-dcl-go-type: InterconnectAttachmentEdgeAvailabilityDomainEnum\n description: 'Desired availability domain for the attachment. Only available\n for type PARTNER, at creation time, and can take one of the following\n values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2\n For improved reliability, customers should configure a pair of attachments,\n one per availability domain. The selected availability domain will be\n provided to the Partner via the pairing key, so that the provisioned circuit\n will lie in the specified domain. If not specified, the value will default\n to AVAILABILITY_DOMAIN_ANY.'\n enum:\n - AVAILABILITY_DOMAIN_ANY\n - AVAILABILITY_DOMAIN_1\n - AVAILABILITY_DOMAIN_2\n encryption:\n type: string\n x-dcl-go-name: Encryption\n x-dcl-go-type: InterconnectAttachmentEncryptionEnum\n description: 'Indicates the user-supplied encryption option of this VLAN\n attachment (interconnectAttachment). Can only be specified at attachment\n creation for PARTNER or DEDICATED attachments. Possible values are: -\n `NONE` - This is the default value, which means that the VLAN attachment\n carries unencrypted traffic. VMs are able to send traffic to, or receive\n traffic from, such a VLAN attachment. - `IPSEC` - The VLAN attachment\n carries only encrypted traffic that is encrypted by an IPsec device, such\n as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send\n traffic to, or receive traffic from, such a VLAN attachment. To use _IPsec-encrypted\n Cloud Interconnect_, the VLAN attachment must be created with this option.\n Not currently available publicly.'\n enum:\n - NONE\n - IPSEC\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n interconnect:\n type: string\n x-dcl-go-name: Interconnect\n description: URL of the underlying Interconnect object that this attachment's\n traffic will traverse through.\n ipsecInternalAddresses:\n type: array\n x-dcl-go-name: IpsecInternalAddresses\n description: A list of URLs of addresses that have been reserved for the\n VLAN attachment. Used only for the VLAN attachment that has the encryption\n option as IPSEC. The addresses must be regional internal IP address ranges.\n When creating an HA VPN gateway over the VLAN attachment, if the attachment\n is configured to use a regional internal IP address, then the VPN gateway's\n IP address is allocated from the IP address range specified here. For\n example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment,\n then a regional internal IP address for the VPN gateway interface 0 will\n be allocated from the IP address specified for this VLAN attachment. If\n this field is not specified when creating the VLAN attachment, then later\n on when creating an HA VPN gateway on this VLAN attachment, the HA VPN\n gateway's IP address is allocated from the regional external IP address\n pool. Not currently available publicly.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labelFingerprint:\n type: string\n x-dcl-go-name: LabelFingerprint\n description: A fingerprint for the labels being applied to this InterconnectAttachment,\n which is essentially a hash of the labels set used for optimistic locking.\n The fingerprint is initially generated by Compute Engine and changes after\n every request to modify or update labels. You must always provide an up-to-date\n fingerprint hash in order to update or change labels, otherwise the request\n will fail with error `412 conditionNotMet`. To see the latest fingerprint,\n make a `get()` request to retrieve an InterconnectAttachment.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels for this resource. These can only be added or modified\n by the `setLabels` method. Each label key/value pair must comply with\n [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty.\n mtu:\n type: integer\n format: int64\n x-dcl-go-name: Mtu\n description: Maximum Transmission Unit (MTU), in bytes, of packets passing\n through this interconnect attachment. Only 1440 and 1500 are allowed.\n If not specified, the value will default to 1440.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n operationalStatus:\n type: string\n x-dcl-go-name: OperationalStatus\n x-dcl-go-type: InterconnectAttachmentOperationalStatusEnum\n readOnly: true\n description: 'The current status of whether or not this interconnect attachment\n is functional, which can take one of the following values: - OS_ACTIVE:\n The attachment has been turned up and is ready to use. - OS_UNPROVISIONED:\n The attachment is not ready to use yet, because turnup is not complete.'\n x-kubernetes-immutable: true\n enum:\n - OS_ACTIVE\n - OS_UNPROVISIONED\n pairingKey:\n type: string\n x-dcl-go-name: PairingKey\n description: The opaque identifier of an PARTNER attachment used to initiate\n provisioning with a selected partner. Of the form \"XXXXX/region/domain\"\n partnerAsn:\n type: integer\n format: int64\n x-dcl-go-name: PartnerAsn\n description: Optional BGP ASN for the router supplied by a Layer 3 Partner\n if they configured BGP on behalf of the customer. Output only for PARTNER\n type, input only for PARTNER_PROVIDER, not available for DEDICATED.\n partnerMetadata:\n type: object\n x-dcl-go-name: PartnerMetadata\n x-dcl-go-type: InterconnectAttachmentPartnerMetadata\n description: Informational metadata about Partner attachments from Partners\n to display to customers. Output only for for PARTNER type, mutable for\n PARTNER_PROVIDER, not available for DEDICATED.\n properties:\n interconnectName:\n type: string\n x-dcl-go-name: InterconnectName\n description: Plain text name of the Interconnect this attachment is\n connected to, as displayed in the Partner's portal. For instance \"Chicago\n 1\". This value may be validated to match approved Partner values.\n partnerName:\n type: string\n x-dcl-go-name: PartnerName\n description: Plain text name of the Partner providing this attachment.\n This value may be validated to match approved Partner values.\n portalUrl:\n type: string\n x-dcl-go-name: PortalUrl\n description: URL of the Partner's portal for this Attachment. Partners\n may customise this to be a deep link to the specific resource on the\n Partner portal. This value may be validated to match approved Partner\n values.\n privateInterconnectInfo:\n type: object\n x-dcl-go-name: PrivateInterconnectInfo\n x-dcl-go-type: InterconnectAttachmentPrivateInterconnectInfo\n readOnly: true\n description: Information specific to an InterconnectAttachment. This property\n is populated if the interconnect that this is attached to is of type DEDICATED.\n x-kubernetes-immutable: true\n properties:\n tag8021q:\n type: integer\n format: int64\n x-dcl-go-name: Tag8021q\n readOnly: true\n description: 802.1q encapsulation tag to be used for traffic between\n Google and the customer, going to and from this network and region.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: URL of the region where the regional interconnect attachment\n resides. You must specify this field as part of the HTTP request URL.\n It is not settable as a field in the request body.\n x-kubernetes-immutable: true\n router:\n type: string\n x-dcl-go-name: Router\n description: URL of the Cloud Router to be used for dynamic routing. This\n router must be in the same region as this InterconnectAttachment. The\n InterconnectAttachment will automatically connect the Interconnect to\n the network & region within which the Cloud Router is configured.\n satisfiesPzs:\n type: boolean\n x-dcl-go-name: SatisfiesPzs\n readOnly: true\n description: Set to true if the resource satisfies the zone separation organization\n policy constraints and false otherwise. Defaults to false if the field\n is not present.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InterconnectAttachmentStateEnum\n readOnly: true\n description: 'The current state of this attachment''s functionality. Enum\n values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER,\n and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER,\n PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER\n and PARTNER_PROVIDER interconnect attachments. This state can take one\n of the following values: - ACTIVE: The attachment has been turned up and\n is ready to use. - UNPROVISIONED: The attachment is not ready to use yet,\n because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER\n attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED:\n A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER\n attachment was created that references it. - PENDING_CUSTOMER: A PARTNER\n or PARTNER_PROVIDER attachment that is waiting for a customer to activate\n it. - DEFUNCT: The attachment was deleted externally and is no longer\n functional. This could be because the associated Interconnect was removed,\n or because the other side of a Partner attachment was deleted. Possible\n values: DEPRECATED, OBSOLETE, DELETED, ACTIVE'\n x-kubernetes-immutable: true\n enum:\n - DEPRECATED\n - OBSOLETE\n - DELETED\n - ACTIVE\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InterconnectAttachmentTypeEnum\n description: 'The type of interconnect attachment this is, which can take\n one of the following values: - DEDICATED: an attachment to a Dedicated\n Interconnect. - PARTNER: an attachment to a Partner Interconnect, created\n by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect,\n created by the partner. Possible values: PATH, OTHER, PARAMETER'\n enum:\n - PATH\n - OTHER\n - PARAMETER\n vlanTag8021q:\n type: integer\n format: int64\n x-dcl-go-name: VlanTag8021q\n description: The IEEE 802.1Q VLAN tag for this attachment, in the range\n 2-4094. Only specified at creation time.\n") +var YAML_interconnect_attachment = []byte("info:\n title: Compute/InterconnectAttachment\n description: The Compute InterconnectAttachment resource\n x-dcl-struct-name: InterconnectAttachment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n apply:\n description: The function used to apply information about a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n delete:\n description: The function used to delete a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n deleteAll:\n description: The function used to delete all InterconnectAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InterconnectAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InterconnectAttachment:\n title: InterconnectAttachment\n x-dcl-id: projects/{{project}}/regions/{{region}}/interconnectAttachments/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - region\n - project\n properties:\n adminEnabled:\n type: boolean\n x-dcl-go-name: AdminEnabled\n description: Determines whether this Attachment will carry packets. Not\n present for PARTNER_PROVIDER.\n bandwidth:\n type: string\n x-dcl-go-name: Bandwidth\n x-dcl-go-type: InterconnectAttachmentBandwidthEnum\n description: 'Provisioned bandwidth capacity for the interconnect attachment.\n For attachments of type DEDICATED, the user can set the bandwidth. For\n attachments of type PARTNER, the Google Partner that is operating the\n interconnect must set the bandwidth. Output only for PARTNER type, mutable\n for PARTNER_PROVIDER and DEDICATED, and can take one of the following\n values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s\n - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s -\n BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s\n - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s'\n enum:\n - BPS_50M\n - BPS_100M\n - BPS_200M\n - BPS_300M\n - BPS_400M\n - BPS_500M\n - BPS_1G\n - BPS_2G\n - BPS_5G\n - BPS_10G\n - BPS_20G\n - BPS_50G\n candidateSubnets:\n type: array\n x-dcl-go-name: CandidateSubnets\n description: Up to 16 candidate prefixes that can be used to restrict the\n allocation of cloudRouterIpAddress and customerRouterIpAddress for this\n attachment. All prefixes must be within link-local address space (169.254.0.0/16)\n and must be /29 or shorter (/28, /27, etc). Google will attempt to select\n an unused /29 from the supplied candidate prefix(es). The request will\n fail if all possible /29s are in use on Google's edge. If not supplied,\n Google will randomly select an unused /29 from all of link-local space.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n cloudRouterIPAddress:\n type: string\n x-dcl-go-name: CloudRouterIPAddress\n readOnly: true\n description: IPv4 address + prefix length to be configured on Cloud Router\n Interface for this interconnect attachment.\n x-kubernetes-immutable: true\n customerRouterIPAddress:\n type: string\n x-dcl-go-name: CustomerRouterIPAddress\n readOnly: true\n description: IPv4 address + prefix length to be configured on the customer\n router subinterface for this interconnect attachment.\n x-kubernetes-immutable: true\n dataplaneVersion:\n type: integer\n format: int64\n x-dcl-go-name: DataplaneVersion\n description: Dataplane version for this InterconnectAttachment. This field\n is only present for Dataplane version 2 and higher. Absence of this field\n in the API output indicates that the Dataplane is version 1.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n edgeAvailabilityDomain:\n type: string\n x-dcl-go-name: EdgeAvailabilityDomain\n x-dcl-go-type: InterconnectAttachmentEdgeAvailabilityDomainEnum\n description: 'Desired availability domain for the attachment. Only available\n for type PARTNER, at creation time, and can take one of the following\n values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2\n For improved reliability, customers should configure a pair of attachments,\n one per availability domain. The selected availability domain will be\n provided to the Partner via the pairing key, so that the provisioned circuit\n will lie in the specified domain. If not specified, the value will default\n to AVAILABILITY_DOMAIN_ANY.'\n enum:\n - AVAILABILITY_DOMAIN_ANY\n - AVAILABILITY_DOMAIN_1\n - AVAILABILITY_DOMAIN_2\n encryption:\n type: string\n x-dcl-go-name: Encryption\n x-dcl-go-type: InterconnectAttachmentEncryptionEnum\n description: 'Indicates the user-supplied encryption option of this VLAN\n attachment (interconnectAttachment). Can only be specified at attachment\n creation for PARTNER or DEDICATED attachments. Possible values are: -\n `NONE` - This is the default value, which means that the VLAN attachment\n carries unencrypted traffic. VMs are able to send traffic to, or receive\n traffic from, such a VLAN attachment. - `IPSEC` - The VLAN attachment\n carries only encrypted traffic that is encrypted by an IPsec device, such\n as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send\n traffic to, or receive traffic from, such a VLAN attachment. To use _IPsec-encrypted\n Cloud Interconnect_, the VLAN attachment must be created with this option.\n Not currently available publicly.'\n enum:\n - NONE\n - IPSEC\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n interconnect:\n type: string\n x-dcl-go-name: Interconnect\n description: URL of the underlying Interconnect object that this attachment's\n traffic will traverse through.\n ipsecInternalAddresses:\n type: array\n x-dcl-go-name: IpsecInternalAddresses\n description: A list of URLs of addresses that have been reserved for the\n VLAN attachment. Used only for the VLAN attachment that has the encryption\n option as IPSEC. The addresses must be regional internal IP address ranges.\n When creating an HA VPN gateway over the VLAN attachment, if the attachment\n is configured to use a regional internal IP address, then the VPN gateway's\n IP address is allocated from the IP address range specified here. For\n example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment,\n then a regional internal IP address for the VPN gateway interface 0 will\n be allocated from the IP address specified for this VLAN attachment. If\n this field is not specified when creating the VLAN attachment, then later\n on when creating an HA VPN gateway on this VLAN attachment, the HA VPN\n gateway's IP address is allocated from the regional external IP address\n pool. Not currently available publicly.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labelFingerprint:\n type: string\n x-dcl-go-name: LabelFingerprint\n description: A fingerprint for the labels being applied to this InterconnectAttachment,\n which is essentially a hash of the labels set used for optimistic locking.\n The fingerprint is initially generated by Compute Engine and changes after\n every request to modify or update labels. You must always provide an up-to-date\n fingerprint hash in order to update or change labels, otherwise the request\n will fail with error `412 conditionNotMet`. To see the latest fingerprint,\n make a `get()` request to retrieve an InterconnectAttachment.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels for this resource. These can only be added or modified\n by the `setLabels` method. Each label key/value pair must comply with\n [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty.\n mtu:\n type: integer\n format: int64\n x-dcl-go-name: Mtu\n description: Maximum Transmission Unit (MTU), in bytes, of packets passing\n through this interconnect attachment. Only 1440 and 1500 are allowed.\n If not specified, the value will default to 1440.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n operationalStatus:\n type: string\n x-dcl-go-name: OperationalStatus\n x-dcl-go-type: InterconnectAttachmentOperationalStatusEnum\n readOnly: true\n description: 'The current status of whether or not this interconnect attachment\n is functional, which can take one of the following values: - OS_ACTIVE:\n The attachment has been turned up and is ready to use. - OS_UNPROVISIONED:\n The attachment is not ready to use yet, because turnup is not complete.'\n x-kubernetes-immutable: true\n enum:\n - OS_ACTIVE\n - OS_UNPROVISIONED\n pairingKey:\n type: string\n x-dcl-go-name: PairingKey\n description: The opaque identifier of an PARTNER attachment used to initiate\n provisioning with a selected partner. Of the form \"XXXXX/region/domain\"\n partnerAsn:\n type: integer\n format: int64\n x-dcl-go-name: PartnerAsn\n description: Optional BGP ASN for the router supplied by a Layer 3 Partner\n if they configured BGP on behalf of the customer. Output only for PARTNER\n type, input only for PARTNER_PROVIDER, not available for DEDICATED.\n partnerMetadata:\n type: object\n x-dcl-go-name: PartnerMetadata\n x-dcl-go-type: InterconnectAttachmentPartnerMetadata\n description: Informational metadata about Partner attachments from Partners\n to display to customers. Output only for for PARTNER type, mutable for\n PARTNER_PROVIDER, not available for DEDICATED.\n properties:\n interconnectName:\n type: string\n x-dcl-go-name: InterconnectName\n description: Plain text name of the Interconnect this attachment is\n connected to, as displayed in the Partner's portal. For instance \"Chicago\n 1\". This value may be validated to match approved Partner values.\n partnerName:\n type: string\n x-dcl-go-name: PartnerName\n description: Plain text name of the Partner providing this attachment.\n This value may be validated to match approved Partner values.\n portalUrl:\n type: string\n x-dcl-go-name: PortalUrl\n description: URL of the Partner's portal for this Attachment. Partners\n may customise this to be a deep link to the specific resource on the\n Partner portal. This value may be validated to match approved Partner\n values.\n privateInterconnectInfo:\n type: object\n x-dcl-go-name: PrivateInterconnectInfo\n x-dcl-go-type: InterconnectAttachmentPrivateInterconnectInfo\n readOnly: true\n description: Information specific to an InterconnectAttachment. This property\n is populated if the interconnect that this is attached to is of type DEDICATED.\n x-kubernetes-immutable: true\n properties:\n tag8021q:\n type: integer\n format: int64\n x-dcl-go-name: Tag8021q\n readOnly: true\n description: 802.1q encapsulation tag to be used for traffic between\n Google and the customer, going to and from this network and region.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: URL of the region where the regional interconnect attachment\n resides. You must specify this field as part of the HTTP request URL.\n It is not settable as a field in the request body.\n x-kubernetes-immutable: true\n router:\n type: string\n x-dcl-go-name: Router\n description: URL of the Cloud Router to be used for dynamic routing. This\n router must be in the same region as this InterconnectAttachment. The\n InterconnectAttachment will automatically connect the Interconnect to\n the network & region within which the Cloud Router is configured.\n satisfiesPzs:\n type: boolean\n x-dcl-go-name: SatisfiesPzs\n readOnly: true\n description: Set to true if the resource satisfies the zone separation organization\n policy constraints and false otherwise. Defaults to false if the field\n is not present.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InterconnectAttachmentStateEnum\n readOnly: true\n description: 'The current state of this attachment''s functionality. Enum\n values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER,\n and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER,\n PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER\n and PARTNER_PROVIDER interconnect attachments. This state can take one\n of the following values: - ACTIVE: The attachment has been turned up and\n is ready to use. - UNPROVISIONED: The attachment is not ready to use yet,\n because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER\n attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED:\n A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER\n attachment was created that references it. - PENDING_CUSTOMER: A PARTNER\n or PARTNER_PROVIDER attachment that is waiting for a customer to activate\n it. - DEFUNCT: The attachment was deleted externally and is no longer\n functional. This could be because the associated Interconnect was removed,\n or because the other side of a Partner attachment was deleted. Possible\n values: DEPRECATED, OBSOLETE, DELETED, ACTIVE'\n x-kubernetes-immutable: true\n enum:\n - DEPRECATED\n - OBSOLETE\n - DELETED\n - ACTIVE\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InterconnectAttachmentTypeEnum\n description: 'The type of interconnect attachment this is, which can take\n one of the following values: - DEDICATED: an attachment to a Dedicated\n Interconnect. - PARTNER: an attachment to a Partner Interconnect, created\n by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect,\n created by the partner. Possible values: PATH, OTHER, PARAMETER'\n enum:\n - PATH\n - OTHER\n - PARAMETER\n vlanTag8021q:\n type: integer\n format: int64\n x-dcl-go-name: VlanTag8021q\n description: The IEEE 802.1Q VLAN tag for this attachment, in the range\n 2-4094. Only specified at creation time.\n") -// 18461 bytes -// MD5: c2bb8a82007abe1927f0d8e2332a23c2 +// 18486 bytes +// MD5: f3ea8c086dd7a8c10626d94aa9435e43 diff --git a/services/google/compute/alpha/interconnect_attachment_schema.go b/services/google/compute/alpha/interconnect_attachment_schema.go index bd5598dc35..bbcd097519 100755 --- a/services/google/compute/alpha/interconnect_attachment_schema.go +++ b/services/google/compute/alpha/interconnect_attachment_schema.go @@ -23,6 +23,7 @@ func DCLInterconnectAttachmentSchema() *dcl.Schema { Title: "Compute/InterconnectAttachment", Description: "The Compute InterconnectAttachment resource", StructName: "InterconnectAttachment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/alpha/managed_ssl_certificate.yaml b/services/google/compute/alpha/managed_ssl_certificate.yaml index 0d5cb25438..caec5527e5 100755 --- a/services/google/compute/alpha/managed_ssl_certificate.yaml +++ b/services/google/compute/alpha/managed_ssl_certificate.yaml @@ -15,6 +15,7 @@ info: title: Compute/ManagedSslCertificate description: The Compute ManagedSslCertificate resource x-dcl-struct-name: ManagedSslCertificate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/network.yaml b/services/google/compute/alpha/network.yaml index d050d771b9..24d700e08a 100755 --- a/services/google/compute/alpha/network.yaml +++ b/services/google/compute/alpha/network.yaml @@ -15,6 +15,7 @@ info: title: Compute/Network description: The Compute Network resource x-dcl-struct-name: Network + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/network_alpha_yaml_embed.go b/services/google/compute/alpha/network_alpha_yaml_embed.go index 02ecb9fe1b..140c20eb84 100755 --- a/services/google/compute/alpha/network_alpha_yaml_embed.go +++ b/services/google/compute/alpha/network_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/network.yaml -var YAML_network = []byte("info:\n title: Compute/Network\n description: The Compute Network resource\n x-dcl-struct-name: Network\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n apply:\n description: The function used to apply information about a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n delete:\n description: The function used to delete a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n deleteAll:\n description: The function used to delete all Network\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Network\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Network:\n title: Network\n x-dcl-id: projects/{{project}}/global/networks/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n autoCreateSubnetworks:\n type: boolean\n x-dcl-go-name: AutoCreateSubnetworks\n description: 'When set to `true`, the network is created in \"auto subnet\n mode\" and it will create a subnet for each region automatically across\n the `10.128.0.0/9` address range. When set to `false`, the network is\n created in \"custom subnet mode\" so the user can explicitly connect subnetwork\n resources. '\n x-kubernetes-immutable: true\n default: true\n x-dcl-send-empty: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'An optional description of this resource. The resource must\n be recreated to modify this field. '\n x-kubernetes-immutable: true\n gatewayIPv4:\n type: string\n x-dcl-go-name: GatewayIPv4\n readOnly: true\n description: 'The gateway address for default routing out of the network.\n This value is selected by GCP. '\n x-kubernetes-immutable: true\n mtu:\n type: integer\n format: int64\n x-dcl-go-name: Mtu\n description: Maximum Transmission Unit in bytes. The minimum value for this\n field is 1460 and the maximum value is 1500 bytes.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash. '\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routingConfig:\n type: object\n x-dcl-go-name: RoutingConfig\n x-dcl-go-type: NetworkRoutingConfig\n description: 'The network-level routing configuration for this network.\n Used by Cloud Router to determine what type of network-wide routing behavior\n to enforce. '\n properties:\n routingMode:\n type: string\n x-dcl-go-name: RoutingMode\n x-dcl-go-type: NetworkRoutingConfigRoutingModeEnum\n description: 'The network-wide routing mode to use. If set to `REGIONAL`,\n this network''s cloud routers will only advertise routes with subnetworks\n of this network in the same region as the router. If set to `GLOBAL`,\n this network''s cloud routers will advertise routes with all subnetworks\n of this network, across regions. '\n x-dcl-server-default: true\n enum:\n - REGIONAL\n - GLOBAL\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n selfLinkWithId:\n type: string\n x-dcl-go-name: SelfLinkWithId\n readOnly: true\n description: Server-defined URL for the resource containing the network\n ID.\n x-kubernetes-immutable: true\n") +var YAML_network = []byte("info:\n title: Compute/Network\n description: The Compute Network resource\n x-dcl-struct-name: Network\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n apply:\n description: The function used to apply information about a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n delete:\n description: The function used to delete a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n deleteAll:\n description: The function used to delete all Network\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Network\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Network:\n title: Network\n x-dcl-id: projects/{{project}}/global/networks/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n autoCreateSubnetworks:\n type: boolean\n x-dcl-go-name: AutoCreateSubnetworks\n description: 'When set to `true`, the network is created in \"auto subnet\n mode\" and it will create a subnet for each region automatically across\n the `10.128.0.0/9` address range. When set to `false`, the network is\n created in \"custom subnet mode\" so the user can explicitly connect subnetwork\n resources. '\n x-kubernetes-immutable: true\n default: true\n x-dcl-send-empty: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'An optional description of this resource. The resource must\n be recreated to modify this field. '\n x-kubernetes-immutable: true\n gatewayIPv4:\n type: string\n x-dcl-go-name: GatewayIPv4\n readOnly: true\n description: 'The gateway address for default routing out of the network.\n This value is selected by GCP. '\n x-kubernetes-immutable: true\n mtu:\n type: integer\n format: int64\n x-dcl-go-name: Mtu\n description: Maximum Transmission Unit in bytes. The minimum value for this\n field is 1460 and the maximum value is 1500 bytes.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash. '\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routingConfig:\n type: object\n x-dcl-go-name: RoutingConfig\n x-dcl-go-type: NetworkRoutingConfig\n description: 'The network-level routing configuration for this network.\n Used by Cloud Router to determine what type of network-wide routing behavior\n to enforce. '\n properties:\n routingMode:\n type: string\n x-dcl-go-name: RoutingMode\n x-dcl-go-type: NetworkRoutingConfigRoutingModeEnum\n description: 'The network-wide routing mode to use. If set to `REGIONAL`,\n this network''s cloud routers will only advertise routes with subnetworks\n of this network in the same region as the router. If set to `GLOBAL`,\n this network''s cloud routers will advertise routes with all subnetworks\n of this network, across regions. '\n x-dcl-server-default: true\n enum:\n - REGIONAL\n - GLOBAL\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n selfLinkWithId:\n type: string\n x-dcl-go-name: SelfLinkWithId\n readOnly: true\n description: Server-defined URL for the resource containing the network\n ID.\n x-kubernetes-immutable: true\n") -// 5045 bytes -// MD5: f52eeb51cd2a9b4f0551ee37e7ac376c +// 5070 bytes +// MD5: 87576b2b07b097f22c4efc4ab958eee4 diff --git a/services/google/compute/alpha/network_endpoint.yaml b/services/google/compute/alpha/network_endpoint.yaml index 3f138d3a32..f11a8bc6c5 100755 --- a/services/google/compute/alpha/network_endpoint.yaml +++ b/services/google/compute/alpha/network_endpoint.yaml @@ -15,6 +15,7 @@ info: title: Compute/NetworkEndpoint description: The Compute NetworkEndpoint resource x-dcl-struct-name: NetworkEndpoint + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/network_endpoint_group.yaml b/services/google/compute/alpha/network_endpoint_group.yaml index 2f5bec1f3e..b0fd430f50 100755 --- a/services/google/compute/alpha/network_endpoint_group.yaml +++ b/services/google/compute/alpha/network_endpoint_group.yaml @@ -15,6 +15,7 @@ info: title: Compute/NetworkEndpointGroup description: The Compute NetworkEndpointGroup resource x-dcl-struct-name: NetworkEndpointGroup + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/network_peering.yaml b/services/google/compute/alpha/network_peering.yaml index 3f00c45df8..9e34b4d66b 100755 --- a/services/google/compute/alpha/network_peering.yaml +++ b/services/google/compute/alpha/network_peering.yaml @@ -15,6 +15,7 @@ info: title: Compute/NetworkPeering description: The Compute NetworkPeering resource x-dcl-struct-name: NetworkPeering + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/network_schema.go b/services/google/compute/alpha/network_schema.go index a0cd68d116..b9b94a725e 100755 --- a/services/google/compute/alpha/network_schema.go +++ b/services/google/compute/alpha/network_schema.go @@ -23,6 +23,7 @@ func DCLNetworkSchema() *dcl.Schema { Title: "Compute/Network", Description: "The Compute Network resource", StructName: "Network", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/alpha/packet_mirroring.yaml b/services/google/compute/alpha/packet_mirroring.yaml index d63e46a06a..c67cc5bf34 100755 --- a/services/google/compute/alpha/packet_mirroring.yaml +++ b/services/google/compute/alpha/packet_mirroring.yaml @@ -17,6 +17,7 @@ info: You can use the collected traffic to help you detect security threats and monitor application performance. x-dcl-struct-name: PacketMirroring + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API documentation diff --git a/services/google/compute/alpha/packet_mirroring_alpha_yaml_embed.go b/services/google/compute/alpha/packet_mirroring_alpha_yaml_embed.go index fb3d4614c2..cd7ad7fa8d 100755 --- a/services/google/compute/alpha/packet_mirroring_alpha_yaml_embed.go +++ b/services/google/compute/alpha/packet_mirroring_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/packet_mirroring.yaml -var YAML_packet_mirroring = []byte("info:\n title: Compute/PacketMirroring\n description: Packet Mirroring mirrors traffic to and from particular VM instances.\n You can use the collected traffic to help you detect security threats and monitor\n application performance.\n x-dcl-struct-name: PacketMirroring\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/reference/rest/beta/packetMirrorings\n x-dcl-guides:\n - text: Using Packet Mirroring\n url: https://cloud.google.com/vpc/docs/using-packet-mirroring\npaths:\n get:\n description: The function used to get information about a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n apply:\n description: The function used to apply information about a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n delete:\n description: The function used to delete a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n deleteAll:\n description: The function used to delete all PacketMirroring\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PacketMirroring\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PacketMirroring:\n title: PacketMirroring\n x-dcl-id: projects/{{project}}/regions/{{location}}/packetMirrorings/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - network\n - collectorIlb\n - mirroredResources\n - project\n - location\n properties:\n collectorIlb:\n type: object\n x-dcl-go-name: CollectorIlb\n x-dcl-go-type: PacketMirroringCollectorIlb\n description: The Forwarding Rule resource of type `loadBalancingScheme=INTERNAL`\n that will be used as collector for mirrored traffic. The specified forwarding\n rule must have `isMirroringCollector` set to true.\n required:\n - url\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the forwarding rule;\n defined by the server.\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the forwarding rule representing the ILB\n configured as destination of the mirrored traffic.\n x-dcl-references:\n - resource: Compute/ForwardingRule\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n enable:\n type: string\n x-dcl-go-name: Enable\n x-dcl-go-type: PacketMirroringEnableEnum\n description: Indicates whether or not this packet mirroring takes effect.\n If set to FALSE, this packet mirroring policy will not be enforced on\n the network. The default is TRUE.\n x-dcl-server-default: true\n enum:\n - \"TRUE\"\n - \"FALSE\"\n filter:\n type: object\n x-dcl-go-name: Filter\n x-dcl-go-type: PacketMirroringFilter\n description: Filter for mirrored traffic. If unspecified, all traffic is\n mirrored.\n properties:\n cidrRanges:\n type: array\n x-dcl-go-name: CidrRanges\n description: IP CIDR ranges that apply as filter on the source (ingress)\n or destination (egress) IP in the IP header. Only IPv4 is supported.\n If no ranges are specified, all traffic that matches the specified\n IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is\n specified, all traffic is mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: PacketMirroringFilterDirectionEnum\n description: Direction of traffic to mirror, either INGRESS, EGRESS,\n or BOTH. The default is BOTH.\n enum:\n - INGRESS\n - EGRESS\n ipProtocols:\n type: array\n x-dcl-go-name: IPProtocols\n description: Protocols that apply as filter on mirrored traffic. If\n no protocols are specified, all traffic that matches the specified\n CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is\n specified, all traffic is mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: Output only. The unique identifier for the resource. This identifier\n is defined by the server.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n mirroredResources:\n type: object\n x-dcl-go-name: MirroredResources\n x-dcl-go-type: PacketMirroringMirroredResources\n description: PacketMirroring mirroredResourceInfos. MirroredResourceInfo\n specifies a set of mirrored VM instances, subnetworks and/or tags for\n which traffic from/to all VM instances will be mirrored.\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: A set of virtual machine instances that are being mirrored.\n They must live in zones contained in the same region as this packetMirroring.\n Note that this config will apply only to those network interfaces\n of the Instances that belong to the network specified in this packetMirroring.\n You may specify a maximum of 50 Instances.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PacketMirroringMirroredResourcesInstances\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the instance;\n defined by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the virtual machine instance which\n is being mirrored.\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n subnetworks:\n type: array\n x-dcl-go-name: Subnetworks\n description: A set of subnetworks for which traffic from/to all VM instances\n will be mirrored. They must live in the same region as this packetMirroring.\n You may specify a maximum of 5 subnetworks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PacketMirroringMirroredResourcesSubnetworks\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the subnetwork;\n defined by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the subnetwork for which traffic\n from/to all VM instances will be mirrored.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: A set of mirrored tags. Traffic from/to all VM instances\n that have one or more of these tags will be mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource; provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `)?` which means the first character must be a lowercase letter,\n and all following characters must be a dash, lowercase letter, or digit,\n except the last character, which cannot be a dash.\n x-kubernetes-immutable: true\n network:\n type: object\n x-dcl-go-name: Network\n x-dcl-go-type: PacketMirroringNetwork\n description: Specifies the mirrored VPC network. Only packets in this network\n will be mirrored. All mirrored VMs should have a NIC in the given network.\n All mirrored subnetworks should belong to the given network.\n x-kubernetes-immutable: true\n required:\n - url\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the network; defined\n by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: URL of the network resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: The priority of applying this configuration. Priority is used\n to break ties in cases where there is more than one matching rule. In\n the case of two rules that apply for a given Instance, the one with the\n lowest-numbered priority value wins. Default value is 1000. Valid range\n is 0 through 65535.\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: URI of the region where the packetMirroring resides.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n") +var YAML_packet_mirroring = []byte("info:\n title: Compute/PacketMirroring\n description: Packet Mirroring mirrors traffic to and from particular VM instances.\n You can use the collected traffic to help you detect security threats and monitor\n application performance.\n x-dcl-struct-name: PacketMirroring\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/reference/rest/beta/packetMirrorings\n x-dcl-guides:\n - text: Using Packet Mirroring\n url: https://cloud.google.com/vpc/docs/using-packet-mirroring\npaths:\n get:\n description: The function used to get information about a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n apply:\n description: The function used to apply information about a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n delete:\n description: The function used to delete a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n deleteAll:\n description: The function used to delete all PacketMirroring\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PacketMirroring\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PacketMirroring:\n title: PacketMirroring\n x-dcl-id: projects/{{project}}/regions/{{location}}/packetMirrorings/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - network\n - collectorIlb\n - mirroredResources\n - project\n - location\n properties:\n collectorIlb:\n type: object\n x-dcl-go-name: CollectorIlb\n x-dcl-go-type: PacketMirroringCollectorIlb\n description: The Forwarding Rule resource of type `loadBalancingScheme=INTERNAL`\n that will be used as collector for mirrored traffic. The specified forwarding\n rule must have `isMirroringCollector` set to true.\n required:\n - url\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the forwarding rule;\n defined by the server.\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the forwarding rule representing the ILB\n configured as destination of the mirrored traffic.\n x-dcl-references:\n - resource: Compute/ForwardingRule\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n enable:\n type: string\n x-dcl-go-name: Enable\n x-dcl-go-type: PacketMirroringEnableEnum\n description: Indicates whether or not this packet mirroring takes effect.\n If set to FALSE, this packet mirroring policy will not be enforced on\n the network. The default is TRUE.\n x-dcl-server-default: true\n enum:\n - \"TRUE\"\n - \"FALSE\"\n filter:\n type: object\n x-dcl-go-name: Filter\n x-dcl-go-type: PacketMirroringFilter\n description: Filter for mirrored traffic. If unspecified, all traffic is\n mirrored.\n properties:\n cidrRanges:\n type: array\n x-dcl-go-name: CidrRanges\n description: IP CIDR ranges that apply as filter on the source (ingress)\n or destination (egress) IP in the IP header. Only IPv4 is supported.\n If no ranges are specified, all traffic that matches the specified\n IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is\n specified, all traffic is mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: PacketMirroringFilterDirectionEnum\n description: Direction of traffic to mirror, either INGRESS, EGRESS,\n or BOTH. The default is BOTH.\n enum:\n - INGRESS\n - EGRESS\n ipProtocols:\n type: array\n x-dcl-go-name: IPProtocols\n description: Protocols that apply as filter on mirrored traffic. If\n no protocols are specified, all traffic that matches the specified\n CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is\n specified, all traffic is mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: Output only. The unique identifier for the resource. This identifier\n is defined by the server.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n mirroredResources:\n type: object\n x-dcl-go-name: MirroredResources\n x-dcl-go-type: PacketMirroringMirroredResources\n description: PacketMirroring mirroredResourceInfos. MirroredResourceInfo\n specifies a set of mirrored VM instances, subnetworks and/or tags for\n which traffic from/to all VM instances will be mirrored.\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: A set of virtual machine instances that are being mirrored.\n They must live in zones contained in the same region as this packetMirroring.\n Note that this config will apply only to those network interfaces\n of the Instances that belong to the network specified in this packetMirroring.\n You may specify a maximum of 50 Instances.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PacketMirroringMirroredResourcesInstances\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the instance;\n defined by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the virtual machine instance which\n is being mirrored.\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n subnetworks:\n type: array\n x-dcl-go-name: Subnetworks\n description: A set of subnetworks for which traffic from/to all VM instances\n will be mirrored. They must live in the same region as this packetMirroring.\n You may specify a maximum of 5 subnetworks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PacketMirroringMirroredResourcesSubnetworks\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the subnetwork;\n defined by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the subnetwork for which traffic\n from/to all VM instances will be mirrored.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: A set of mirrored tags. Traffic from/to all VM instances\n that have one or more of these tags will be mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource; provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `)?` which means the first character must be a lowercase letter,\n and all following characters must be a dash, lowercase letter, or digit,\n except the last character, which cannot be a dash.\n x-kubernetes-immutable: true\n network:\n type: object\n x-dcl-go-name: Network\n x-dcl-go-type: PacketMirroringNetwork\n description: Specifies the mirrored VPC network. Only packets in this network\n will be mirrored. All mirrored VMs should have a NIC in the given network.\n All mirrored subnetworks should belong to the given network.\n x-kubernetes-immutable: true\n required:\n - url\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the network; defined\n by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: URL of the network resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: The priority of applying this configuration. Priority is used\n to break ties in cases where there is more than one matching rule. In\n the case of two rules that apply for a given Instance, the one with the\n lowest-numbered priority value wins. Default value is 1000. Valid range\n is 0 through 65535.\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: URI of the region where the packetMirroring resides.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n") -// 12404 bytes -// MD5: 8e0c78a220bdf9210aa38af9011f96ea +// 12429 bytes +// MD5: 40583e5d74372435856f51c0334202e7 diff --git a/services/google/compute/alpha/packet_mirroring_schema.go b/services/google/compute/alpha/packet_mirroring_schema.go index 14e2442b18..81e9d383d8 100755 --- a/services/google/compute/alpha/packet_mirroring_schema.go +++ b/services/google/compute/alpha/packet_mirroring_schema.go @@ -23,6 +23,7 @@ func DCLPacketMirroringSchema() *dcl.Schema { Title: "Compute/PacketMirroring", Description: "Packet Mirroring mirrors traffic to and from particular VM instances. You can use the collected traffic to help you detect security threats and monitor application performance.", StructName: "PacketMirroring", + HasCreate: true, Reference: &dcl.Link{ Text: "API documentation", URL: "https://cloud.google.com/compute/docs/reference/rest/beta/packetMirrorings", diff --git a/services/google/compute/alpha/reservation.yaml b/services/google/compute/alpha/reservation.yaml index bc4cd54279..d79bc3f645 100755 --- a/services/google/compute/alpha/reservation.yaml +++ b/services/google/compute/alpha/reservation.yaml @@ -15,6 +15,7 @@ info: title: Compute/Reservation description: The Compute Reservation resource x-dcl-struct-name: Reservation + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/route.yaml b/services/google/compute/alpha/route.yaml index 0f9520ccbc..f579bba2e8 100755 --- a/services/google/compute/alpha/route.yaml +++ b/services/google/compute/alpha/route.yaml @@ -15,6 +15,7 @@ info: title: Compute/Route description: The Compute Route resource x-dcl-struct-name: Route + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/route_alpha_yaml_embed.go b/services/google/compute/alpha/route_alpha_yaml_embed.go index 127be2342c..dec85592c9 100755 --- a/services/google/compute/alpha/route_alpha_yaml_embed.go +++ b/services/google/compute/alpha/route_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/route.yaml -var YAML_route = []byte("info:\n title: Compute/Route\n description: The Compute Route resource\n x-dcl-struct-name: Route\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n apply:\n description: The function used to apply information about a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n delete:\n description: The function used to delete a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n deleteAll:\n description: The function used to delete all Route\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Route\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Route:\n title: Route\n x-dcl-id: projects/{{project}}/global/routes/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - network\n - destRange\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: |-\n An optional description of this resource. Provide this field when you\n create the resource.\n x-kubernetes-immutable: true\n destRange:\n type: string\n x-dcl-go-name: DestRange\n description: The destination range of the route.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: |-\n [Output Only] The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: |-\n Name of the resource. Provided by the client when the resource is created.\n The name must be 1-63 characters long, and comply with\n RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a\n lowercase letter, and all following characters (except for the last\n character) must be a dash, lowercase letter, or digit. The last character\n must be a lowercase letter or digit.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Fully-qualified URL of the network that this route applies\n to.\n x-kubernetes-immutable: true\n nextHopGateway:\n type: string\n x-dcl-go-name: NextHopGateway\n description: |-\n The URL to a gateway that should handle matching packets.\n You can only specify the internet gateway using a full or\n partial valid URL:
\n projects/project/global/gateways/default-internet-gateway\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopInstance\n - nextHopIlb\n nextHopIP:\n type: string\n x-dcl-go-name: NextHopIP\n description: |-\n The network IP address of an instance that should handle matching packets.\n Only IPv4 is supported.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopInstance\n - nextHopGateway\n - nextHopIlb\n x-dcl-server-default: true\n nextHopIlb:\n type: string\n x-dcl-go-name: NextHopIlb\n description: |-\n The URL to a forwarding rule of type\n loadBalancingScheme=INTERNAL that should handle matching\n packets. You can only specify the forwarding rule as a partial or full\n URL. For example, the following are all valid URLs:\n
    \n
  • https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
  • regions/region/forwardingRules/forwardingRule
  • \n
\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopInstance\n - nextHopGateway\n nextHopInstance:\n type: string\n x-dcl-go-name: NextHopInstance\n description: |-\n The URL to an instance that should handle matching packets. You can specify\n this as a full or partial URL.\n For example:
\n https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopGateway\n - nextHopIlb\n nextHopNetwork:\n type: string\n x-dcl-go-name: NextHopNetwork\n readOnly: true\n description: The URL of the local network if it should handle matching packets.\n x-kubernetes-immutable: true\n nextHopPeering:\n type: string\n x-dcl-go-name: NextHopPeering\n readOnly: true\n description: |-\n [Output Only] The network peering name that should handle matching packets,\n which should conform to RFC1035.\n x-kubernetes-immutable: true\n nextHopVpnTunnel:\n type: string\n x-dcl-go-name: NextHopVpnTunnel\n description: The URL to a VpnTunnel that should handle matching packets.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopIP\n - nextHopInstance\n - nextHopGateway\n - nextHopIlb\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: The priority of the peering route.\n x-kubernetes-immutable: true\n default: 1000\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined fully-qualified URL for this\n resource.'\n x-kubernetes-immutable: true\n tag:\n type: array\n x-dcl-go-name: Tag\n description: A list of instance tags to which this route applies.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n warning:\n type: array\n x-dcl-go-name: Warning\n readOnly: true\n description: |-\n [Output Only] If potential misconfigurations are detected for this\n route, this field will be populated with warning messages.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RouteWarning\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: RouteWarningCodeEnum\n readOnly: true\n description: |-\n [Output Only] A warning code, if applicable. For example, Compute\n Engine returns NO_RESULTS_ON_PAGE if there\n are no results in the response. Possible values: BAD_REQUEST, FORBIDDEN, NOT_FOUND, CONFLICT, GONE, PRECONDITION_FAILED, INTERNAL_ERROR, SERVICE_UNAVAILABLE\n x-kubernetes-immutable: true\n enum:\n - BAD_REQUEST\n - FORBIDDEN\n - NOT_FOUND\n - CONFLICT\n - GONE\n - PRECONDITION_FAILED\n - INTERNAL_ERROR\n - SERVICE_UNAVAILABLE\n data:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Data\n readOnly: true\n description: |-\n [Output Only] Metadata about this warning in key:\n value format. For example:\n
\"data\": [\n                   : {\n                     \"key\": \"scope\",\n                     \"value\": \"zones/us-east1-d\"\n                    }
\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n readOnly: true\n description: '[Output Only] A human-readable description of the warning\n code.'\n x-kubernetes-immutable: true\n") +var YAML_route = []byte("info:\n title: Compute/Route\n description: The Compute Route resource\n x-dcl-struct-name: Route\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n apply:\n description: The function used to apply information about a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n delete:\n description: The function used to delete a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n deleteAll:\n description: The function used to delete all Route\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Route\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Route:\n title: Route\n x-dcl-id: projects/{{project}}/global/routes/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - network\n - destRange\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: |-\n An optional description of this resource. Provide this field when you\n create the resource.\n x-kubernetes-immutable: true\n destRange:\n type: string\n x-dcl-go-name: DestRange\n description: The destination range of the route.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: |-\n [Output Only] The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: |-\n Name of the resource. Provided by the client when the resource is created.\n The name must be 1-63 characters long, and comply with\n RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a\n lowercase letter, and all following characters (except for the last\n character) must be a dash, lowercase letter, or digit. The last character\n must be a lowercase letter or digit.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Fully-qualified URL of the network that this route applies\n to.\n x-kubernetes-immutable: true\n nextHopGateway:\n type: string\n x-dcl-go-name: NextHopGateway\n description: |-\n The URL to a gateway that should handle matching packets.\n You can only specify the internet gateway using a full or\n partial valid URL:
\n projects/project/global/gateways/default-internet-gateway\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopInstance\n - nextHopIlb\n nextHopIP:\n type: string\n x-dcl-go-name: NextHopIP\n description: |-\n The network IP address of an instance that should handle matching packets.\n Only IPv4 is supported.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopInstance\n - nextHopGateway\n - nextHopIlb\n x-dcl-server-default: true\n nextHopIlb:\n type: string\n x-dcl-go-name: NextHopIlb\n description: |-\n The URL to a forwarding rule of type\n loadBalancingScheme=INTERNAL that should handle matching\n packets. You can only specify the forwarding rule as a partial or full\n URL. For example, the following are all valid URLs:\n
    \n
  • https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
  • regions/region/forwardingRules/forwardingRule
  • \n
\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopInstance\n - nextHopGateway\n nextHopInstance:\n type: string\n x-dcl-go-name: NextHopInstance\n description: |-\n The URL to an instance that should handle matching packets. You can specify\n this as a full or partial URL.\n For example:
\n https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopGateway\n - nextHopIlb\n nextHopNetwork:\n type: string\n x-dcl-go-name: NextHopNetwork\n readOnly: true\n description: The URL of the local network if it should handle matching packets.\n x-kubernetes-immutable: true\n nextHopPeering:\n type: string\n x-dcl-go-name: NextHopPeering\n readOnly: true\n description: |-\n [Output Only] The network peering name that should handle matching packets,\n which should conform to RFC1035.\n x-kubernetes-immutable: true\n nextHopVpnTunnel:\n type: string\n x-dcl-go-name: NextHopVpnTunnel\n description: The URL to a VpnTunnel that should handle matching packets.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopIP\n - nextHopInstance\n - nextHopGateway\n - nextHopIlb\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: The priority of the peering route.\n x-kubernetes-immutable: true\n default: 1000\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined fully-qualified URL for this\n resource.'\n x-kubernetes-immutable: true\n tag:\n type: array\n x-dcl-go-name: Tag\n description: A list of instance tags to which this route applies.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n warning:\n type: array\n x-dcl-go-name: Warning\n readOnly: true\n description: |-\n [Output Only] If potential misconfigurations are detected for this\n route, this field will be populated with warning messages.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RouteWarning\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: RouteWarningCodeEnum\n readOnly: true\n description: |-\n [Output Only] A warning code, if applicable. For example, Compute\n Engine returns NO_RESULTS_ON_PAGE if there\n are no results in the response. Possible values: BAD_REQUEST, FORBIDDEN, NOT_FOUND, CONFLICT, GONE, PRECONDITION_FAILED, INTERNAL_ERROR, SERVICE_UNAVAILABLE\n x-kubernetes-immutable: true\n enum:\n - BAD_REQUEST\n - FORBIDDEN\n - NOT_FOUND\n - CONFLICT\n - GONE\n - PRECONDITION_FAILED\n - INTERNAL_ERROR\n - SERVICE_UNAVAILABLE\n data:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Data\n readOnly: true\n description: |-\n [Output Only] Metadata about this warning in key:\n value format. For example:\n
\"data\": [\n                   : {\n                     \"key\": \"scope\",\n                     \"value\": \"zones/us-east1-d\"\n                    }
\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n readOnly: true\n description: '[Output Only] A human-readable description of the warning\n code.'\n x-kubernetes-immutable: true\n") -// 9833 bytes -// MD5: 899dad2330aec4276bb00def9da0a2df +// 9858 bytes +// MD5: a90316f159418222610a5d50c70b17ce diff --git a/services/google/compute/alpha/route_schema.go b/services/google/compute/alpha/route_schema.go index 290cc33d0d..69084b5e0d 100755 --- a/services/google/compute/alpha/route_schema.go +++ b/services/google/compute/alpha/route_schema.go @@ -23,6 +23,7 @@ func DCLRouteSchema() *dcl.Schema { Title: "Compute/Route", Description: "The Compute Route resource", StructName: "Route", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/alpha/router.yaml b/services/google/compute/alpha/router.yaml index f8175637b4..dca4743b1d 100755 --- a/services/google/compute/alpha/router.yaml +++ b/services/google/compute/alpha/router.yaml @@ -15,6 +15,7 @@ info: title: Compute/Router description: The Compute Router resource x-dcl-struct-name: Router + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/router_interface.yaml b/services/google/compute/alpha/router_interface.yaml index 46baff5a39..3859546dd4 100755 --- a/services/google/compute/alpha/router_interface.yaml +++ b/services/google/compute/alpha/router_interface.yaml @@ -15,6 +15,7 @@ info: title: Compute/RouterInterface description: The Compute RouterInterface resource x-dcl-struct-name: RouterInterface + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/router_peer.yaml b/services/google/compute/alpha/router_peer.yaml index 5ab7b759fc..91e314a9d9 100755 --- a/services/google/compute/alpha/router_peer.yaml +++ b/services/google/compute/alpha/router_peer.yaml @@ -15,6 +15,7 @@ info: title: Compute/RouterPeer description: The Compute RouterPeer resource x-dcl-struct-name: RouterPeer + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/service_attachment.yaml b/services/google/compute/alpha/service_attachment.yaml index db5911e92d..bf0eab24b8 100755 --- a/services/google/compute/alpha/service_attachment.yaml +++ b/services/google/compute/alpha/service_attachment.yaml @@ -15,6 +15,7 @@ info: title: Compute/ServiceAttachment description: Represents a ServiceAttachment resource. x-dcl-struct-name: ServiceAttachment + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API documentation diff --git a/services/google/compute/alpha/service_attachment_alpha_yaml_embed.go b/services/google/compute/alpha/service_attachment_alpha_yaml_embed.go index 724b41695e..38fa82e2b4 100755 --- a/services/google/compute/alpha/service_attachment_alpha_yaml_embed.go +++ b/services/google/compute/alpha/service_attachment_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/service_attachment.yaml -var YAML_service_attachment = []byte("info:\n title: Compute/ServiceAttachment\n description: Represents a ServiceAttachment resource.\n x-dcl-struct-name: ServiceAttachment\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/reference/rest/beta/serviceAttachments\n x-dcl-guides:\n - text: Configuring Private Service Connect to access services\n url: https://cloud.google.com/vpc/docs/configure-private-service-connect-services\npaths:\n get:\n description: The function used to get information about a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n apply:\n description: The function used to apply information about a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n delete:\n description: The function used to delete a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n deleteAll:\n description: The function used to delete all ServiceAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceAttachment:\n title: ServiceAttachment\n x-dcl-id: projects/{{project}}/regions/{{location}}/serviceAttachments/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - targetService\n - connectionPreference\n - natSubnets\n - project\n - location\n properties:\n connectedEndpoints:\n type: array\n x-dcl-go-name: ConnectedEndpoints\n readOnly: true\n description: An array of connections for all the consumers connected to\n this service attachment.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAttachmentConnectedEndpoints\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The url of a connected endpoint.\n pscConnectionId:\n type: integer\n format: int64\n x-dcl-go-name: PscConnectionId\n description: The PSC connection id of the connected endpoint.\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: ServiceAttachmentConnectedEndpointsStatusEnum\n description: 'The status of a connected endpoint to this service attachment.\n Possible values: PENDING, RUNNING, DONE'\n enum:\n - PENDING\n - RUNNING\n - DONE\n connectionPreference:\n type: string\n x-dcl-go-name: ConnectionPreference\n x-dcl-go-type: ServiceAttachmentConnectionPreferenceEnum\n description: 'The connection preference of service attachment. The value\n can be set to `ACCEPT_AUTOMATIC`. An `ACCEPT_AUTOMATIC` service attachment\n is one that always accepts the connection from consumer forwarding rules.\n Possible values: CONNECTION_PREFERENCE_UNSPECIFIED, ACCEPT_AUTOMATIC,\n ACCEPT_MANUAL'\n enum:\n - CONNECTION_PREFERENCE_UNSPECIFIED\n - ACCEPT_AUTOMATIC\n - ACCEPT_MANUAL\n consumerAcceptLists:\n type: array\n x-dcl-go-name: ConsumerAcceptLists\n description: Projects that are allowed to connect to this service attachment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAttachmentConsumerAcceptLists\n required:\n - projectIdOrNum\n properties:\n connectionLimit:\n type: integer\n format: int64\n x-dcl-go-name: ConnectionLimit\n description: The value of the limit to set.\n projectIdOrNum:\n type: string\n x-dcl-go-name: ProjectIdOrNum\n description: The project id or number for the project to set the limit\n for.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n consumerRejectLists:\n type: array\n x-dcl-go-name: ConsumerRejectLists\n description: Projects that are not allowed to connect to this service attachment.\n The project can be specified using its id or number.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n enableProxyProtocol:\n type: boolean\n x-dcl-go-name: EnableProxyProtocol\n description: If true, enable the proxy protocol which is for supplying client\n TCP/IP address data in TCP connections that traverse proxies on their\n way to destination servers.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of this resource. This field is used internally\n during updates of this resource.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource type. The server generates\n this identifier.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `)?` which means the first character must be a lowercase letter,\n and all following characters must be a dash, lowercase letter, or digit,\n except the last character, which cannot be a dash.\n x-kubernetes-immutable: true\n natSubnets:\n type: array\n x-dcl-go-name: NatSubnets\n description: An array of URLs where each entry is the URL of a subnet provided\n by the service producer to use for NAT in this service attachment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pscServiceAttachmentId:\n type: object\n x-dcl-go-name: PscServiceAttachmentId\n x-dcl-go-type: ServiceAttachmentPscServiceAttachmentId\n readOnly: true\n description: An 128-bit global unique ID of the PSC service attachment.\n x-kubernetes-immutable: true\n properties:\n high:\n type: integer\n format: int64\n x-dcl-go-name: High\n readOnly: true\n x-kubernetes-immutable: true\n low:\n type: integer\n format: int64\n x-dcl-go-name: Low\n readOnly: true\n x-kubernetes-immutable: true\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: URL of the region where the service attachment resides. This\n field applies only to the region resource. You must specify this field\n as part of the HTTP request URL. It is not settable as a field in the\n request body.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n targetService:\n type: string\n x-dcl-go-name: TargetService\n description: The URL of a service serving the endpoint identified by this\n service attachment.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/ForwardingRule\n field: selfLink\n") +var YAML_service_attachment = []byte("info:\n title: Compute/ServiceAttachment\n description: Represents a ServiceAttachment resource.\n x-dcl-struct-name: ServiceAttachment\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/reference/rest/beta/serviceAttachments\n x-dcl-guides:\n - text: Configuring Private Service Connect to access services\n url: https://cloud.google.com/vpc/docs/configure-private-service-connect-services\npaths:\n get:\n description: The function used to get information about a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n apply:\n description: The function used to apply information about a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n delete:\n description: The function used to delete a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n deleteAll:\n description: The function used to delete all ServiceAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceAttachment:\n title: ServiceAttachment\n x-dcl-id: projects/{{project}}/regions/{{location}}/serviceAttachments/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - targetService\n - connectionPreference\n - natSubnets\n - project\n - location\n properties:\n connectedEndpoints:\n type: array\n x-dcl-go-name: ConnectedEndpoints\n readOnly: true\n description: An array of connections for all the consumers connected to\n this service attachment.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAttachmentConnectedEndpoints\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The url of a connected endpoint.\n pscConnectionId:\n type: integer\n format: int64\n x-dcl-go-name: PscConnectionId\n description: The PSC connection id of the connected endpoint.\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: ServiceAttachmentConnectedEndpointsStatusEnum\n description: 'The status of a connected endpoint to this service attachment.\n Possible values: PENDING, RUNNING, DONE'\n enum:\n - PENDING\n - RUNNING\n - DONE\n connectionPreference:\n type: string\n x-dcl-go-name: ConnectionPreference\n x-dcl-go-type: ServiceAttachmentConnectionPreferenceEnum\n description: 'The connection preference of service attachment. The value\n can be set to `ACCEPT_AUTOMATIC`. An `ACCEPT_AUTOMATIC` service attachment\n is one that always accepts the connection from consumer forwarding rules.\n Possible values: CONNECTION_PREFERENCE_UNSPECIFIED, ACCEPT_AUTOMATIC,\n ACCEPT_MANUAL'\n enum:\n - CONNECTION_PREFERENCE_UNSPECIFIED\n - ACCEPT_AUTOMATIC\n - ACCEPT_MANUAL\n consumerAcceptLists:\n type: array\n x-dcl-go-name: ConsumerAcceptLists\n description: Projects that are allowed to connect to this service attachment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAttachmentConsumerAcceptLists\n required:\n - projectIdOrNum\n properties:\n connectionLimit:\n type: integer\n format: int64\n x-dcl-go-name: ConnectionLimit\n description: The value of the limit to set.\n projectIdOrNum:\n type: string\n x-dcl-go-name: ProjectIdOrNum\n description: The project id or number for the project to set the limit\n for.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n consumerRejectLists:\n type: array\n x-dcl-go-name: ConsumerRejectLists\n description: Projects that are not allowed to connect to this service attachment.\n The project can be specified using its id or number.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n enableProxyProtocol:\n type: boolean\n x-dcl-go-name: EnableProxyProtocol\n description: If true, enable the proxy protocol which is for supplying client\n TCP/IP address data in TCP connections that traverse proxies on their\n way to destination servers.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of this resource. This field is used internally\n during updates of this resource.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource type. The server generates\n this identifier.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `)?` which means the first character must be a lowercase letter,\n and all following characters must be a dash, lowercase letter, or digit,\n except the last character, which cannot be a dash.\n x-kubernetes-immutable: true\n natSubnets:\n type: array\n x-dcl-go-name: NatSubnets\n description: An array of URLs where each entry is the URL of a subnet provided\n by the service producer to use for NAT in this service attachment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pscServiceAttachmentId:\n type: object\n x-dcl-go-name: PscServiceAttachmentId\n x-dcl-go-type: ServiceAttachmentPscServiceAttachmentId\n readOnly: true\n description: An 128-bit global unique ID of the PSC service attachment.\n x-kubernetes-immutable: true\n properties:\n high:\n type: integer\n format: int64\n x-dcl-go-name: High\n readOnly: true\n x-kubernetes-immutable: true\n low:\n type: integer\n format: int64\n x-dcl-go-name: Low\n readOnly: true\n x-kubernetes-immutable: true\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: URL of the region where the service attachment resides. This\n field applies only to the region resource. You must specify this field\n as part of the HTTP request URL. It is not settable as a field in the\n request body.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n targetService:\n type: string\n x-dcl-go-name: TargetService\n description: The URL of a service serving the endpoint identified by this\n service attachment.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/ForwardingRule\n field: selfLink\n") -// 9707 bytes -// MD5: 2551b1222bb48aadaf35ce2d3b27be6d +// 9732 bytes +// MD5: 5d614c16aad7ed5e9a39153fdfe4ff88 diff --git a/services/google/compute/alpha/service_attachment_schema.go b/services/google/compute/alpha/service_attachment_schema.go index 203ae88380..7d9d8ddd04 100755 --- a/services/google/compute/alpha/service_attachment_schema.go +++ b/services/google/compute/alpha/service_attachment_schema.go @@ -23,6 +23,7 @@ func DCLServiceAttachmentSchema() *dcl.Schema { Title: "Compute/ServiceAttachment", Description: "Represents a ServiceAttachment resource.", StructName: "ServiceAttachment", + HasCreate: true, Reference: &dcl.Link{ Text: "API documentation", URL: "https://cloud.google.com/compute/docs/reference/rest/beta/serviceAttachments", diff --git a/services/google/compute/alpha/snapshot.yaml b/services/google/compute/alpha/snapshot.yaml index 3ee90c650c..3b7dc5b8bc 100755 --- a/services/google/compute/alpha/snapshot.yaml +++ b/services/google/compute/alpha/snapshot.yaml @@ -15,6 +15,7 @@ info: title: Compute/Snapshot description: The Compute Snapshot resource x-dcl-struct-name: Snapshot + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/ssl_certificate.yaml b/services/google/compute/alpha/ssl_certificate.yaml index 5c73ecce0b..979eabca69 100755 --- a/services/google/compute/alpha/ssl_certificate.yaml +++ b/services/google/compute/alpha/ssl_certificate.yaml @@ -15,6 +15,7 @@ info: title: Compute/SslCertificate description: The Compute SslCertificate resource x-dcl-struct-name: SslCertificate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/ssl_policy.yaml b/services/google/compute/alpha/ssl_policy.yaml index 2eb115ccfd..800549e71c 100755 --- a/services/google/compute/alpha/ssl_policy.yaml +++ b/services/google/compute/alpha/ssl_policy.yaml @@ -15,6 +15,7 @@ info: title: Compute/SslPolicy description: The Compute SslPolicy resource x-dcl-struct-name: SslPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/subnetwork.yaml b/services/google/compute/alpha/subnetwork.yaml index 1865e45ab8..1b415206bc 100755 --- a/services/google/compute/alpha/subnetwork.yaml +++ b/services/google/compute/alpha/subnetwork.yaml @@ -15,6 +15,7 @@ info: title: Compute/Subnetwork description: The Compute Subnetwork resource x-dcl-struct-name: Subnetwork + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/subnetwork_alpha_yaml_embed.go b/services/google/compute/alpha/subnetwork_alpha_yaml_embed.go index 09d3cf7b3c..4646234740 100755 --- a/services/google/compute/alpha/subnetwork_alpha_yaml_embed.go +++ b/services/google/compute/alpha/subnetwork_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/subnetwork.yaml -var YAML_subnetwork = []byte("info:\n title: Compute/Subnetwork\n description: The Compute Subnetwork resource\n x-dcl-struct-name: Subnetwork\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n apply:\n description: The function used to apply information about a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n delete:\n description: The function used to delete a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n deleteAll:\n description: The function used to delete all Subnetwork\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Subnetwork\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Subnetwork:\n title: Subnetwork\n x-dcl-id: projects/{{project}}/regions/{{region}}/subnetworks/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - ipCidrRange\n - name\n - network\n - region\n - project\n properties:\n creationTimestamp:\n type: string\n format: date-time\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'An optional description of this resource. Provide this property\n when you create the resource. This field can be set only at resource creation\n time. '\n x-kubernetes-immutable: true\n enableFlowLogs:\n type: boolean\n x-dcl-go-name: EnableFlowLogs\n description: Whether to enable flow logging for this subnetwork. If this\n field is not explicitly set, it will not appear in `get` listings. If\n not set the default behavior is to disable flow logging. This field isn't\n supported with the `purpose` field set to `INTERNAL_HTTPS_LOAD_BALANCER`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: 'Fingerprint of this resource. This field is used internally\n during updates of this resource. '\n x-kubernetes-immutable: true\n gatewayAddress:\n type: string\n x-dcl-go-name: GatewayAddress\n readOnly: true\n description: 'The gateway address for default routes to reach destination\n addresses outside this subnetwork. '\n x-kubernetes-immutable: true\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of internal addresses that are owned by this subnetwork.\n Provide this property when you create the subnetwork. For example, 10.0.0.0/8\n or 192.168.0.0/16. Ranges must be unique and non-overlapping within a\n network. Only IPv4 is supported. '\n logConfig:\n type: object\n x-dcl-go-name: LogConfig\n x-dcl-go-type: SubnetworkLogConfig\n description: 'Denotes the logging options for the subnetwork flow logs.\n If logging is enabled logs will be exported to Cloud Logging. '\n properties:\n aggregationInterval:\n type: string\n x-dcl-go-name: AggregationInterval\n x-dcl-go-type: SubnetworkLogConfigAggregationIntervalEnum\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. Toggles the aggregation interval for collecting flow logs.\n Increasing the interval time will reduce the amount of generated flow\n logs for long lasting connections. Default is an interval of 5 seconds\n per connection. Possible values are INTERVAL_5_SEC, INTERVAL_30_SEC,\n INTERVAL_1_MIN, INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN '\n default: INTERVAL_5_SEC\n enum:\n - INTERVAL_5_SEC\n - INTERVAL_30_SEC\n - INTERVAL_1_MIN\n - INTERVAL_5_MIN\n - INTERVAL_10_MIN\n - INTERVAL_15_MIN\n flowSampling:\n type: number\n format: double\n x-dcl-go-name: FlowSampling\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. The value of the field must be in [0, 1]. Set the sampling\n rate of VPC flow logs within the subnetwork where 1.0 means all collected\n logs are reported and 0.0 means no logs are reported. Default is 0.5\n which means half of all collected logs are reported. '\n default: 0.5\n metadata:\n type: string\n x-dcl-go-name: Metadata\n x-dcl-go-type: SubnetworkLogConfigMetadataEnum\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. Configures whether metadata fields should be added to\n the reported VPC flow logs. Default is `INCLUDE_ALL_METADATA`. Possible\n values: EXCLUDE_ALL_METADATA, INCLUDE_ALL_METADATA'\n default: INCLUDE_ALL_METADATA\n enum:\n - EXCLUDE_ALL_METADATA\n - INCLUDE_ALL_METADATA\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of the resource, provided by the client when initially\n creating the resource. The name must be 1-63 characters long, and comply\n with RFC1035. Specifically, the name must be 1-63 characters long and\n match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means\n the first character must be a lowercase letter, and all following characters\n must be a dash, lowercase letter, or digit, except the last character,\n which cannot be a dash. '\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'The network this subnet belongs to. Only networks that are\n in the distributed mode can have subnetworks. '\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n privateIPGoogleAccess:\n type: boolean\n x-dcl-go-name: PrivateIPGoogleAccess\n description: 'When enabled, VMs in this subnetwork without external IP addresses\n can access Google APIs and services by using Private Google Access. '\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: SubnetworkPurposeEnum\n description: 'The purpose of the resource. This field can be either PRIVATE\n or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER\n is a user-created subnetwork that is reserved for Internal HTTP(S) Load\n Balancing. If unspecified, the purpose defaults to PRIVATE. If set to\n INTERNAL_HTTPS_LOAD_BALANCER you must also set the role. '\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - INTERNAL_HTTPS_LOAD_BALANCER\n - PRIVATE\n - AGGREGATE\n - PRIVATE_SERVICE_CONNECT\n - CLOUD_EXTENSION\n - PRIVATE_NAT\n region:\n type: string\n x-dcl-go-name: Region\n description: 'The GCP region for this subnetwork. '\n x-kubernetes-immutable: true\n role:\n type: string\n x-dcl-go-name: Role\n x-dcl-go-type: SubnetworkRoleEnum\n description: 'The role of subnetwork. Currenly, this field is only used\n when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE\n or BACKUP. An ACTIVE subnetwork is one that is currently being used for\n Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready\n to be promoted to ACTIVE or is currently draining. '\n enum:\n - ACTIVE\n - BACKUP\n secondaryIPRanges:\n type: array\n x-dcl-go-name: SecondaryIPRanges\n description: 'An array of configurations for secondary IP ranges for VM\n instances contained in this subnetwork. The primary IP of such VM must\n belong to the primary ipCidrRange of the subnetwork. The alias IPs may\n belong to either primary or secondary ranges. This field uses attr-as-block\n mode to avoid breaking users during the 0.12 upgrade. See [the Attr-as-Block\n page](https://www.terraform.io/docs/configuration/attr-as-blocks.html)\n for more details. '\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SubnetworkSecondaryIPRanges\n required:\n - rangeName\n - ipCidrRange\n properties:\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of IP addresses belonging to this subnetwork\n secondary range. Provide this property when you create the subnetwork.\n Ranges must be unique and non-overlapping with all primary and secondary\n IP ranges within a network. Only IPv4 is supported. '\n rangeName:\n type: string\n x-dcl-go-name: RangeName\n description: 'The name associated with this subnetwork secondary range,\n used when adding an alias IP range to a VM instance. The name must\n be 1-63 characters long, and comply with RFC1035. The name must\n be unique within the subnetwork. '\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined URL for the resource.'\n x-kubernetes-immutable: true\n") +var YAML_subnetwork = []byte("info:\n title: Compute/Subnetwork\n description: The Compute Subnetwork resource\n x-dcl-struct-name: Subnetwork\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n apply:\n description: The function used to apply information about a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n delete:\n description: The function used to delete a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n deleteAll:\n description: The function used to delete all Subnetwork\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Subnetwork\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Subnetwork:\n title: Subnetwork\n x-dcl-id: projects/{{project}}/regions/{{region}}/subnetworks/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - ipCidrRange\n - name\n - network\n - region\n - project\n properties:\n creationTimestamp:\n type: string\n format: date-time\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'An optional description of this resource. Provide this property\n when you create the resource. This field can be set only at resource creation\n time. '\n x-kubernetes-immutable: true\n enableFlowLogs:\n type: boolean\n x-dcl-go-name: EnableFlowLogs\n description: Whether to enable flow logging for this subnetwork. If this\n field is not explicitly set, it will not appear in `get` listings. If\n not set the default behavior is to disable flow logging. This field isn't\n supported with the `purpose` field set to `INTERNAL_HTTPS_LOAD_BALANCER`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: 'Fingerprint of this resource. This field is used internally\n during updates of this resource. '\n x-kubernetes-immutable: true\n gatewayAddress:\n type: string\n x-dcl-go-name: GatewayAddress\n readOnly: true\n description: 'The gateway address for default routes to reach destination\n addresses outside this subnetwork. '\n x-kubernetes-immutable: true\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of internal addresses that are owned by this subnetwork.\n Provide this property when you create the subnetwork. For example, 10.0.0.0/8\n or 192.168.0.0/16. Ranges must be unique and non-overlapping within a\n network. Only IPv4 is supported. '\n logConfig:\n type: object\n x-dcl-go-name: LogConfig\n x-dcl-go-type: SubnetworkLogConfig\n description: 'Denotes the logging options for the subnetwork flow logs.\n If logging is enabled logs will be exported to Cloud Logging. '\n properties:\n aggregationInterval:\n type: string\n x-dcl-go-name: AggregationInterval\n x-dcl-go-type: SubnetworkLogConfigAggregationIntervalEnum\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. Toggles the aggregation interval for collecting flow logs.\n Increasing the interval time will reduce the amount of generated flow\n logs for long lasting connections. Default is an interval of 5 seconds\n per connection. Possible values are INTERVAL_5_SEC, INTERVAL_30_SEC,\n INTERVAL_1_MIN, INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN '\n default: INTERVAL_5_SEC\n enum:\n - INTERVAL_5_SEC\n - INTERVAL_30_SEC\n - INTERVAL_1_MIN\n - INTERVAL_5_MIN\n - INTERVAL_10_MIN\n - INTERVAL_15_MIN\n flowSampling:\n type: number\n format: double\n x-dcl-go-name: FlowSampling\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. The value of the field must be in [0, 1]. Set the sampling\n rate of VPC flow logs within the subnetwork where 1.0 means all collected\n logs are reported and 0.0 means no logs are reported. Default is 0.5\n which means half of all collected logs are reported. '\n default: 0.5\n metadata:\n type: string\n x-dcl-go-name: Metadata\n x-dcl-go-type: SubnetworkLogConfigMetadataEnum\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. Configures whether metadata fields should be added to\n the reported VPC flow logs. Default is `INCLUDE_ALL_METADATA`. Possible\n values: EXCLUDE_ALL_METADATA, INCLUDE_ALL_METADATA'\n default: INCLUDE_ALL_METADATA\n enum:\n - EXCLUDE_ALL_METADATA\n - INCLUDE_ALL_METADATA\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of the resource, provided by the client when initially\n creating the resource. The name must be 1-63 characters long, and comply\n with RFC1035. Specifically, the name must be 1-63 characters long and\n match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means\n the first character must be a lowercase letter, and all following characters\n must be a dash, lowercase letter, or digit, except the last character,\n which cannot be a dash. '\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'The network this subnet belongs to. Only networks that are\n in the distributed mode can have subnetworks. '\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n privateIPGoogleAccess:\n type: boolean\n x-dcl-go-name: PrivateIPGoogleAccess\n description: 'When enabled, VMs in this subnetwork without external IP addresses\n can access Google APIs and services by using Private Google Access. '\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: SubnetworkPurposeEnum\n description: 'The purpose of the resource. This field can be either PRIVATE\n or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER\n is a user-created subnetwork that is reserved for Internal HTTP(S) Load\n Balancing. If unspecified, the purpose defaults to PRIVATE. If set to\n INTERNAL_HTTPS_LOAD_BALANCER you must also set the role. '\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - INTERNAL_HTTPS_LOAD_BALANCER\n - PRIVATE\n - AGGREGATE\n - PRIVATE_SERVICE_CONNECT\n - CLOUD_EXTENSION\n - PRIVATE_NAT\n region:\n type: string\n x-dcl-go-name: Region\n description: 'The GCP region for this subnetwork. '\n x-kubernetes-immutable: true\n role:\n type: string\n x-dcl-go-name: Role\n x-dcl-go-type: SubnetworkRoleEnum\n description: 'The role of subnetwork. Currenly, this field is only used\n when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE\n or BACKUP. An ACTIVE subnetwork is one that is currently being used for\n Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready\n to be promoted to ACTIVE or is currently draining. '\n enum:\n - ACTIVE\n - BACKUP\n secondaryIPRanges:\n type: array\n x-dcl-go-name: SecondaryIPRanges\n description: 'An array of configurations for secondary IP ranges for VM\n instances contained in this subnetwork. The primary IP of such VM must\n belong to the primary ipCidrRange of the subnetwork. The alias IPs may\n belong to either primary or secondary ranges. This field uses attr-as-block\n mode to avoid breaking users during the 0.12 upgrade. See [the Attr-as-Block\n page](https://www.terraform.io/docs/configuration/attr-as-blocks.html)\n for more details. '\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SubnetworkSecondaryIPRanges\n required:\n - rangeName\n - ipCidrRange\n properties:\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of IP addresses belonging to this subnetwork\n secondary range. Provide this property when you create the subnetwork.\n Ranges must be unique and non-overlapping with all primary and secondary\n IP ranges within a network. Only IPv4 is supported. '\n rangeName:\n type: string\n x-dcl-go-name: RangeName\n description: 'The name associated with this subnetwork secondary range,\n used when adding an alias IP range to a VM instance. The name must\n be 1-63 characters long, and comply with RFC1035. The name must\n be unique within the subnetwork. '\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined URL for the resource.'\n x-kubernetes-immutable: true\n") -// 11143 bytes -// MD5: 3bb928ee594b985abee08b18eb1ff6e7 +// 11168 bytes +// MD5: 1c275e3dc08365a2f6f395a4b5248124 diff --git a/services/google/compute/alpha/subnetwork_schema.go b/services/google/compute/alpha/subnetwork_schema.go index e59a2f0045..61b5d84557 100755 --- a/services/google/compute/alpha/subnetwork_schema.go +++ b/services/google/compute/alpha/subnetwork_schema.go @@ -23,6 +23,7 @@ func DCLSubnetworkSchema() *dcl.Schema { Title: "Compute/Subnetwork", Description: "The Compute Subnetwork resource", StructName: "Subnetwork", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/alpha/target_http_proxy.yaml b/services/google/compute/alpha/target_http_proxy.yaml index 42cb742019..7f9605a61e 100755 --- a/services/google/compute/alpha/target_http_proxy.yaml +++ b/services/google/compute/alpha/target_http_proxy.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetHttpProxy description: The Compute TargetHttpProxy resource x-dcl-struct-name: TargetHttpProxy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/target_https_proxy.yaml b/services/google/compute/alpha/target_https_proxy.yaml index 3b62b01f68..fcb5e2dca1 100755 --- a/services/google/compute/alpha/target_https_proxy.yaml +++ b/services/google/compute/alpha/target_https_proxy.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetHttpsProxy description: The Compute TargetHttpsProxy resource x-dcl-struct-name: TargetHttpsProxy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/target_pool.yaml b/services/google/compute/alpha/target_pool.yaml index 313cb30b25..68f1d3fb06 100755 --- a/services/google/compute/alpha/target_pool.yaml +++ b/services/google/compute/alpha/target_pool.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetPool description: The Compute TargetPool resource x-dcl-struct-name: TargetPool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/target_ssl_proxy.yaml b/services/google/compute/alpha/target_ssl_proxy.yaml index 82181db89c..bf480910a0 100755 --- a/services/google/compute/alpha/target_ssl_proxy.yaml +++ b/services/google/compute/alpha/target_ssl_proxy.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetSslProxy description: The Compute TargetSslProxy resource x-dcl-struct-name: TargetSslProxy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/target_vpn_gateway.yaml b/services/google/compute/alpha/target_vpn_gateway.yaml index a7ec0072d3..d3419b9f8c 100755 --- a/services/google/compute/alpha/target_vpn_gateway.yaml +++ b/services/google/compute/alpha/target_vpn_gateway.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetVpnGateway description: The Compute TargetVpnGateway resource x-dcl-struct-name: TargetVpnGateway + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/url_map.yaml b/services/google/compute/alpha/url_map.yaml index 03d780ad1b..0a738c0763 100755 --- a/services/google/compute/alpha/url_map.yaml +++ b/services/google/compute/alpha/url_map.yaml @@ -15,6 +15,7 @@ info: title: Compute/UrlMap description: The Compute UrlMap resource x-dcl-struct-name: UrlMap + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/vpn_gateway.yaml b/services/google/compute/alpha/vpn_gateway.yaml index 79b1bdc74a..e09dad92db 100755 --- a/services/google/compute/alpha/vpn_gateway.yaml +++ b/services/google/compute/alpha/vpn_gateway.yaml @@ -15,6 +15,7 @@ info: title: Compute/VpnGateway description: The Compute VpnGateway resource x-dcl-struct-name: VpnGateway + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/vpn_tunnel.yaml b/services/google/compute/alpha/vpn_tunnel.yaml index 60dc123327..899dbadcd3 100755 --- a/services/google/compute/alpha/vpn_tunnel.yaml +++ b/services/google/compute/alpha/vpn_tunnel.yaml @@ -15,6 +15,7 @@ info: title: Compute/VpnTunnel description: The Compute VpnTunnel resource x-dcl-struct-name: VpnTunnel + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/alpha/vpn_tunnel_alpha_yaml_embed.go b/services/google/compute/alpha/vpn_tunnel_alpha_yaml_embed.go index c8d9cfa762..21de500784 100755 --- a/services/google/compute/alpha/vpn_tunnel_alpha_yaml_embed.go +++ b/services/google/compute/alpha/vpn_tunnel_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/vpn_tunnel.yaml -var YAML_vpn_tunnel = []byte("info:\n title: Compute/VpnTunnel\n description: The Compute VpnTunnel resource\n x-dcl-struct-name: VpnTunnel\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n apply:\n description: The function used to apply information about a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n delete:\n description: The function used to delete a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n deleteAll:\n description: The function used to delete all VpnTunnel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many VpnTunnel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n VpnTunnel:\n title: VpnTunnel\n x-dcl-id: projects/{{project}}/regions/{{region}}/vpnTunnels/{{name}}\n x-dcl-locations:\n - region\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - sharedSecret\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n x-kubernetes-immutable: true\n detailedStatus:\n type: string\n x-dcl-go-name: DetailedStatus\n readOnly: true\n description: Detailed status message for the VPN tunnel.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n ikeVersion:\n type: integer\n format: int64\n x-dcl-go-name: IkeVersion\n description: IKE protocol version to use when establishing the VPN tunnel\n with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default\n version is 2.\n x-kubernetes-immutable: true\n default: 2\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels for this VPN Tunnel\n localTrafficSelector:\n type: array\n x-dcl-go-name: LocalTrafficSelector\n description: 'Local traffic selector to use when establishing the VPN tunnel\n with the peer VPN gateway. The value should be a CIDR formatted string,\n for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is\n supported.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt)\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n peerExternalGateway:\n type: string\n x-dcl-go-name: PeerExternalGateway\n description: URL of the peer side external VPN gateway to which this VPN\n tunnel is connected. Provided by the client when the VPN tunnel is created.\n This field is exclusive with the field peerGcpGateway.\n x-kubernetes-immutable: true\n peerExternalGatewayInterface:\n type: integer\n format: int64\n x-dcl-go-name: PeerExternalGatewayInterface\n description: The interface ID of the external VPN gateway to which this\n VPN tunnel is connected. Provided by the client when the VPN tunnel is\n created.\n x-kubernetes-immutable: true\n peerGcpGateway:\n type: string\n x-dcl-go-name: PeerGcpGateway\n description: URL of the peer side HA GCP VPN gateway to which this VPN tunnel\n is connected. Provided by the client when the VPN tunnel is created. This\n field can be used when creating highly available VPN from VPC network\n to VPC network, the field is exclusive with the field peerExternalGateway.\n If provided, the VPN tunnel will automatically use the same vpnGatewayInterface\n ID in the peer GCP VPN gateway.\n x-kubernetes-immutable: true\n peerIP:\n type: string\n x-dcl-go-name: PeerIP\n description: IP address of the peer VPN gateway. Only IPv4 is supported.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: URL of the region where the VPN tunnel resides. You must specify\n this field as part of the HTTP request URL. It is not settable as a field\n in the request body.\n x-kubernetes-immutable: true\n remoteTrafficSelector:\n type: array\n x-dcl-go-name: RemoteTrafficSelector\n description: 'Remote traffic selectors to use when establishing the VPN\n tunnel with the peer VPN gateway. The value should be a CIDR formatted\n string, for example: 192.168.0.0/16. The ranges should be disjoint. Only\n IPv4 is supported.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n router:\n type: string\n x-dcl-go-name: Router\n description: URL of the router resource to be used for dynamic routing.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Router\n field: selfLink\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n sharedSecret:\n type: string\n x-dcl-go-name: SharedSecret\n description: Shared secret used to set the secure session between the Cloud\n VPN gateway and the peer VPN gateway.\n x-kubernetes-immutable: true\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n sharedSecretHash:\n type: string\n x-dcl-go-name: SharedSecretHash\n readOnly: true\n description: Hash of the shared secret.\n x-kubernetes-immutable: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: VpnTunnelStatusEnum\n readOnly: true\n description: 'The status of the VPN tunnel, which can be one of the following: *\n PROVISIONING: Resource is being allocated for the VPN tunnel. * WAITING_FOR_FULL_CONFIG:\n Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway,\n VpnTunnel, ForwardingRule, and Route resources are needed to setup the\n VPN tunnel. * FIRST_HANDSHAKE: Successful first handshake with the peer\n VPN. * ESTABLISHED: Secure session is successfully established with the\n peer VPN. * NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS *\n AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). * NEGOTIATION_FAILURE:\n Handshake failed. * DEPROVISIONING: Resources are being deallocated for\n the VPN tunnel. * FAILED: Tunnel creation has failed and the tunnel is\n not ready to be used. * NO_INCOMING_PACKETS: No incoming packets from\n peer. * REJECTED: Tunnel configuration was rejected, can be result of\n being blocklisted. * ALLOCATING_RESOURCES: Cloud VPN is in the process\n of allocating all required resources. * STOPPED: Tunnel is stopped due\n to its Forwarding Rules being deleted for Classic VPN tunnels or the project\n is in frozen state. * PEER_IDENTITY_MISMATCH: Peer identity does not\n match peer IP, probably behind NAT. * TS_NARROWING_NOT_ALLOWED: Traffic\n selector narrowing not allowed for an HA-VPN tunnel.'\n x-kubernetes-immutable: true\n enum:\n - PROVISIONING\n - WAITING_FOR_FULL_CONFIG\n - FIRST_HANDSHAKE\n - ESTABLISHED\n - NO_INCOMING_PACKETS\n - AUTHORIZATION_ERROR\n - NEGOTIATION_FAILURE\n - DEPROVISIONING\n - FAILED\n - REJECTED\n - ALLOCATING_RESOURCES\n - STOPPED\n - PEER_IDENTITY_MISMATCH\n - TS_NARROWING_NOT_ALLOWED\n targetVpnGateway:\n type: string\n x-dcl-go-name: TargetVpnGateway\n description: URL of the Target VPN gateway with which this VPN tunnel is\n associated. Provided by the client when the VPN tunnel is created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/TargetVpnGateway\n field: selfLink\n vpnGateway:\n type: string\n x-dcl-go-name: VpnGateway\n description: URL of the VPN gateway with which this VPN tunnel is associated.\n Provided by the client when the VPN tunnel is created. This must be used\n (instead of target_vpn_gateway) if a High Availability VPN gateway resource\n is created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/VpnGateway\n field: selfLink\n vpnGatewayInterface:\n type: integer\n format: int64\n x-dcl-go-name: VpnGatewayInterface\n description: The interface ID of the VPN gateway with which this VPN tunnel\n is associated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n") +var YAML_vpn_tunnel = []byte("info:\n title: Compute/VpnTunnel\n description: The Compute VpnTunnel resource\n x-dcl-struct-name: VpnTunnel\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n apply:\n description: The function used to apply information about a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n delete:\n description: The function used to delete a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n deleteAll:\n description: The function used to delete all VpnTunnel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many VpnTunnel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n VpnTunnel:\n title: VpnTunnel\n x-dcl-id: projects/{{project}}/regions/{{region}}/vpnTunnels/{{name}}\n x-dcl-locations:\n - region\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - sharedSecret\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n x-kubernetes-immutable: true\n detailedStatus:\n type: string\n x-dcl-go-name: DetailedStatus\n readOnly: true\n description: Detailed status message for the VPN tunnel.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n ikeVersion:\n type: integer\n format: int64\n x-dcl-go-name: IkeVersion\n description: IKE protocol version to use when establishing the VPN tunnel\n with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default\n version is 2.\n x-kubernetes-immutable: true\n default: 2\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels for this VPN Tunnel\n localTrafficSelector:\n type: array\n x-dcl-go-name: LocalTrafficSelector\n description: 'Local traffic selector to use when establishing the VPN tunnel\n with the peer VPN gateway. The value should be a CIDR formatted string,\n for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is\n supported.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt)\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n peerExternalGateway:\n type: string\n x-dcl-go-name: PeerExternalGateway\n description: URL of the peer side external VPN gateway to which this VPN\n tunnel is connected. Provided by the client when the VPN tunnel is created.\n This field is exclusive with the field peerGcpGateway.\n x-kubernetes-immutable: true\n peerExternalGatewayInterface:\n type: integer\n format: int64\n x-dcl-go-name: PeerExternalGatewayInterface\n description: The interface ID of the external VPN gateway to which this\n VPN tunnel is connected. Provided by the client when the VPN tunnel is\n created.\n x-kubernetes-immutable: true\n peerGcpGateway:\n type: string\n x-dcl-go-name: PeerGcpGateway\n description: URL of the peer side HA GCP VPN gateway to which this VPN tunnel\n is connected. Provided by the client when the VPN tunnel is created. This\n field can be used when creating highly available VPN from VPC network\n to VPC network, the field is exclusive with the field peerExternalGateway.\n If provided, the VPN tunnel will automatically use the same vpnGatewayInterface\n ID in the peer GCP VPN gateway.\n x-kubernetes-immutable: true\n peerIP:\n type: string\n x-dcl-go-name: PeerIP\n description: IP address of the peer VPN gateway. Only IPv4 is supported.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: URL of the region where the VPN tunnel resides. You must specify\n this field as part of the HTTP request URL. It is not settable as a field\n in the request body.\n x-kubernetes-immutable: true\n remoteTrafficSelector:\n type: array\n x-dcl-go-name: RemoteTrafficSelector\n description: 'Remote traffic selectors to use when establishing the VPN\n tunnel with the peer VPN gateway. The value should be a CIDR formatted\n string, for example: 192.168.0.0/16. The ranges should be disjoint. Only\n IPv4 is supported.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n router:\n type: string\n x-dcl-go-name: Router\n description: URL of the router resource to be used for dynamic routing.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Router\n field: selfLink\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n sharedSecret:\n type: string\n x-dcl-go-name: SharedSecret\n description: Shared secret used to set the secure session between the Cloud\n VPN gateway and the peer VPN gateway.\n x-kubernetes-immutable: true\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n sharedSecretHash:\n type: string\n x-dcl-go-name: SharedSecretHash\n readOnly: true\n description: Hash of the shared secret.\n x-kubernetes-immutable: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: VpnTunnelStatusEnum\n readOnly: true\n description: 'The status of the VPN tunnel, which can be one of the following: *\n PROVISIONING: Resource is being allocated for the VPN tunnel. * WAITING_FOR_FULL_CONFIG:\n Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway,\n VpnTunnel, ForwardingRule, and Route resources are needed to setup the\n VPN tunnel. * FIRST_HANDSHAKE: Successful first handshake with the peer\n VPN. * ESTABLISHED: Secure session is successfully established with the\n peer VPN. * NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS *\n AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). * NEGOTIATION_FAILURE:\n Handshake failed. * DEPROVISIONING: Resources are being deallocated for\n the VPN tunnel. * FAILED: Tunnel creation has failed and the tunnel is\n not ready to be used. * NO_INCOMING_PACKETS: No incoming packets from\n peer. * REJECTED: Tunnel configuration was rejected, can be result of\n being blocklisted. * ALLOCATING_RESOURCES: Cloud VPN is in the process\n of allocating all required resources. * STOPPED: Tunnel is stopped due\n to its Forwarding Rules being deleted for Classic VPN tunnels or the project\n is in frozen state. * PEER_IDENTITY_MISMATCH: Peer identity does not\n match peer IP, probably behind NAT. * TS_NARROWING_NOT_ALLOWED: Traffic\n selector narrowing not allowed for an HA-VPN tunnel.'\n x-kubernetes-immutable: true\n enum:\n - PROVISIONING\n - WAITING_FOR_FULL_CONFIG\n - FIRST_HANDSHAKE\n - ESTABLISHED\n - NO_INCOMING_PACKETS\n - AUTHORIZATION_ERROR\n - NEGOTIATION_FAILURE\n - DEPROVISIONING\n - FAILED\n - REJECTED\n - ALLOCATING_RESOURCES\n - STOPPED\n - PEER_IDENTITY_MISMATCH\n - TS_NARROWING_NOT_ALLOWED\n targetVpnGateway:\n type: string\n x-dcl-go-name: TargetVpnGateway\n description: URL of the Target VPN gateway with which this VPN tunnel is\n associated. Provided by the client when the VPN tunnel is created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/TargetVpnGateway\n field: selfLink\n vpnGateway:\n type: string\n x-dcl-go-name: VpnGateway\n description: URL of the VPN gateway with which this VPN tunnel is associated.\n Provided by the client when the VPN tunnel is created. This must be used\n (instead of target_vpn_gateway) if a High Availability VPN gateway resource\n is created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/VpnGateway\n field: selfLink\n vpnGatewayInterface:\n type: integer\n format: int64\n x-dcl-go-name: VpnGatewayInterface\n description: The interface ID of the VPN gateway with which this VPN tunnel\n is associated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n") -// 11283 bytes -// MD5: 6d3c073c390468a1c980c03b2a9eee2e +// 11308 bytes +// MD5: 92ed8c393d2919fd45139c967f9a8c5f diff --git a/services/google/compute/alpha/vpn_tunnel_schema.go b/services/google/compute/alpha/vpn_tunnel_schema.go index f6b1b93e6c..36dda4cb9a 100755 --- a/services/google/compute/alpha/vpn_tunnel_schema.go +++ b/services/google/compute/alpha/vpn_tunnel_schema.go @@ -23,6 +23,7 @@ func DCLVpnTunnelSchema() *dcl.Schema { Title: "Compute/VpnTunnel", Description: "The Compute VpnTunnel resource", StructName: "VpnTunnel", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/autoscaler.yaml b/services/google/compute/autoscaler.yaml index 9da656135c..3e5744c94e 100755 --- a/services/google/compute/autoscaler.yaml +++ b/services/google/compute/autoscaler.yaml @@ -15,6 +15,7 @@ info: title: Compute/Autoscaler description: The Compute Autoscaler resource x-dcl-struct-name: Autoscaler + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/backend_bucket.yaml b/services/google/compute/backend_bucket.yaml index 008bede272..90935573cf 100755 --- a/services/google/compute/backend_bucket.yaml +++ b/services/google/compute/backend_bucket.yaml @@ -15,6 +15,7 @@ info: title: Compute/BackendBucket description: The Compute BackendBucket resource x-dcl-struct-name: BackendBucket + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/backend_service.yaml b/services/google/compute/backend_service.yaml index 97a73e6274..361e7d2350 100755 --- a/services/google/compute/backend_service.yaml +++ b/services/google/compute/backend_service.yaml @@ -15,6 +15,7 @@ info: title: Compute/BackendService description: The Compute BackendService resource x-dcl-struct-name: BackendService + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/address.yaml b/services/google/compute/beta/address.yaml index a3b48c2039..c7caa596a1 100755 --- a/services/google/compute/beta/address.yaml +++ b/services/google/compute/beta/address.yaml @@ -15,6 +15,7 @@ info: title: Compute/Address description: The Compute Address resource x-dcl-struct-name: Address + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/autoscaler.yaml b/services/google/compute/beta/autoscaler.yaml index be19659765..7a37b9ed96 100755 --- a/services/google/compute/beta/autoscaler.yaml +++ b/services/google/compute/beta/autoscaler.yaml @@ -15,6 +15,7 @@ info: title: Compute/Autoscaler description: The Compute Autoscaler resource x-dcl-struct-name: Autoscaler + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/backend_bucket.yaml b/services/google/compute/beta/backend_bucket.yaml index 008bede272..90935573cf 100755 --- a/services/google/compute/beta/backend_bucket.yaml +++ b/services/google/compute/beta/backend_bucket.yaml @@ -15,6 +15,7 @@ info: title: Compute/BackendBucket description: The Compute BackendBucket resource x-dcl-struct-name: BackendBucket + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/backend_service.yaml b/services/google/compute/beta/backend_service.yaml index e2bddc9499..245191f6fb 100755 --- a/services/google/compute/beta/backend_service.yaml +++ b/services/google/compute/beta/backend_service.yaml @@ -15,6 +15,7 @@ info: title: Compute/BackendService description: The Compute BackendService resource x-dcl-struct-name: BackendService + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/disk.yaml b/services/google/compute/beta/disk.yaml index 02d4ad826d..520d839672 100755 --- a/services/google/compute/beta/disk.yaml +++ b/services/google/compute/beta/disk.yaml @@ -15,6 +15,7 @@ info: title: Compute/Disk description: The Compute Disk resource x-dcl-struct-name: Disk + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/firewall.yaml b/services/google/compute/beta/firewall.yaml index b108f58312..edab780ecd 100755 --- a/services/google/compute/beta/firewall.yaml +++ b/services/google/compute/beta/firewall.yaml @@ -15,6 +15,7 @@ info: title: Compute/Firewall description: The Compute Firewall resource x-dcl-struct-name: Firewall + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/firewall_policy.yaml b/services/google/compute/beta/firewall_policy.yaml index 72b840f2b2..45be105ab1 100755 --- a/services/google/compute/beta/firewall_policy.yaml +++ b/services/google/compute/beta/firewall_policy.yaml @@ -15,6 +15,7 @@ info: title: Compute/FirewallPolicy description: The Compute FirewallPolicy resource x-dcl-struct-name: FirewallPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/firewall_policy_association.yaml b/services/google/compute/beta/firewall_policy_association.yaml index 8b6b120396..93906fbf8e 100755 --- a/services/google/compute/beta/firewall_policy_association.yaml +++ b/services/google/compute/beta/firewall_policy_association.yaml @@ -15,6 +15,7 @@ info: title: Compute/FirewallPolicyAssociation description: The Compute FirewallPolicyAssociation resource x-dcl-struct-name: FirewallPolicyAssociation + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/firewall_policy_association_beta_yaml_embed.go b/services/google/compute/beta/firewall_policy_association_beta_yaml_embed.go index 2fab59bb9b..4d0d6da805 100755 --- a/services/google/compute/beta/firewall_policy_association_beta_yaml_embed.go +++ b/services/google/compute/beta/firewall_policy_association_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/firewall_policy_association.yaml -var YAML_firewall_policy_association = []byte("info:\n title: Compute/FirewallPolicyAssociation\n description: The Compute FirewallPolicyAssociation resource\n x-dcl-struct-name: FirewallPolicyAssociation\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n apply:\n description: The function used to apply information about a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n delete:\n description: The function used to delete a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n deleteAll:\n description: The function used to delete all FirewallPolicyAssociation\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicyAssociation\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicyAssociation:\n title: FirewallPolicyAssociation\n x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/associations/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - attachmentTarget\n - firewallPolicy\n properties:\n attachmentTarget:\n type: string\n x-dcl-go-name: AttachmentTarget\n description: The target that the firewall policy is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n firewallPolicy:\n type: string\n x-dcl-go-name: FirewallPolicy\n description: The firewall policy ID of the association.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/FirewallPolicy\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name for an association.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n readOnly: true\n description: The short name of the firewall policy of the association.\n x-kubernetes-immutable: true\n") +var YAML_firewall_policy_association = []byte("info:\n title: Compute/FirewallPolicyAssociation\n description: The Compute FirewallPolicyAssociation resource\n x-dcl-struct-name: FirewallPolicyAssociation\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n apply:\n description: The function used to apply information about a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n delete:\n description: The function used to delete a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n deleteAll:\n description: The function used to delete all FirewallPolicyAssociation\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicyAssociation\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicyAssociation:\n title: FirewallPolicyAssociation\n x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/associations/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - attachmentTarget\n - firewallPolicy\n properties:\n attachmentTarget:\n type: string\n x-dcl-go-name: AttachmentTarget\n description: The target that the firewall policy is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n firewallPolicy:\n type: string\n x-dcl-go-name: FirewallPolicy\n description: The firewall policy ID of the association.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/FirewallPolicy\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name for an association.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n readOnly: true\n description: The short name of the firewall policy of the association.\n x-kubernetes-immutable: true\n") -// 2719 bytes -// MD5: a9cc86b33b5bc6ae73f2786bb91293a0 +// 2744 bytes +// MD5: 1047e8bee32ceedbecc6708453a37854 diff --git a/services/google/compute/beta/firewall_policy_association_schema.go b/services/google/compute/beta/firewall_policy_association_schema.go index f459ba620a..d797466889 100755 --- a/services/google/compute/beta/firewall_policy_association_schema.go +++ b/services/google/compute/beta/firewall_policy_association_schema.go @@ -23,6 +23,7 @@ func DCLFirewallPolicyAssociationSchema() *dcl.Schema { Title: "Compute/FirewallPolicyAssociation", Description: "The Compute FirewallPolicyAssociation resource", StructName: "FirewallPolicyAssociation", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/beta/firewall_policy_beta_yaml_embed.go b/services/google/compute/beta/firewall_policy_beta_yaml_embed.go index bb621316af..1f088c9b39 100755 --- a/services/google/compute/beta/firewall_policy_beta_yaml_embed.go +++ b/services/google/compute/beta/firewall_policy_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/firewall_policy.yaml -var YAML_firewall_policy = []byte("info:\n title: Compute/FirewallPolicy\n description: The Compute FirewallPolicy resource\n x-dcl-struct-name: FirewallPolicy\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n apply:\n description: The function used to apply information about a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n delete:\n description: The function used to delete a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n deleteAll:\n description: The function used to delete all FirewallPolicy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicy:\n title: FirewallPolicy\n x-dcl-id: locations/global/firewallPolicies/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - shortName\n - parent\n properties:\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of the resource. This field is used internally\n during updates of this resource.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. It is a numeric ID allocated by GCP which\n uniquely identifies the Firewall Policy.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the firewall policy.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n ruleTupleCount:\n type: integer\n format: int64\n x-dcl-go-name: RuleTupleCount\n readOnly: true\n description: Total count of all firewall policy rule tuples. A firewall\n policy can not exceed a set number of tuples.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n selfLinkWithId:\n type: string\n x-dcl-go-name: SelfLinkWithId\n readOnly: true\n description: Server-defined URL for this resource with the resource id.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n description: User-provided name of the Organization firewall policy. The\n name should be unique in the organization in which the firewall policy\n is created. The name must be 1-63 characters long, and comply with RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n") +var YAML_firewall_policy = []byte("info:\n title: Compute/FirewallPolicy\n description: The Compute FirewallPolicy resource\n x-dcl-struct-name: FirewallPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n apply:\n description: The function used to apply information about a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n delete:\n description: The function used to delete a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n deleteAll:\n description: The function used to delete all FirewallPolicy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicy:\n title: FirewallPolicy\n x-dcl-id: locations/global/firewallPolicies/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - shortName\n - parent\n properties:\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of the resource. This field is used internally\n during updates of this resource.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. It is a numeric ID allocated by GCP which\n uniquely identifies the Firewall Policy.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the firewall policy.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n ruleTupleCount:\n type: integer\n format: int64\n x-dcl-go-name: RuleTupleCount\n readOnly: true\n description: Total count of all firewall policy rule tuples. A firewall\n policy can not exceed a set number of tuples.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n selfLinkWithId:\n type: string\n x-dcl-go-name: SelfLinkWithId\n readOnly: true\n description: Server-defined URL for this resource with the resource id.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n description: User-provided name of the Organization firewall policy. The\n name should be unique in the organization in which the firewall policy\n is created. The name must be 1-63 characters long, and comply with RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n") -// 4547 bytes -// MD5: 520759c7a7c840fed498ef1e34e585ce +// 4572 bytes +// MD5: 25e32e16313511a1c680439b470b4200 diff --git a/services/google/compute/beta/firewall_policy_rule.yaml b/services/google/compute/beta/firewall_policy_rule.yaml index 817b601c0b..234965b45f 100755 --- a/services/google/compute/beta/firewall_policy_rule.yaml +++ b/services/google/compute/beta/firewall_policy_rule.yaml @@ -15,6 +15,7 @@ info: title: Compute/FirewallPolicyRule description: The Compute FirewallPolicyRule resource x-dcl-struct-name: FirewallPolicyRule + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/firewall_policy_rule_beta_yaml_embed.go b/services/google/compute/beta/firewall_policy_rule_beta_yaml_embed.go index 05a79c2424..e3afb5d233 100755 --- a/services/google/compute/beta/firewall_policy_rule_beta_yaml_embed.go +++ b/services/google/compute/beta/firewall_policy_rule_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/firewall_policy_rule.yaml -var YAML_firewall_policy_rule = []byte("info:\n title: Compute/FirewallPolicyRule\n description: The Compute FirewallPolicyRule resource\n x-dcl-struct-name: FirewallPolicyRule\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n apply:\n description: The function used to apply information about a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n delete:\n description: The function used to delete a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n deleteAll:\n description: The function used to delete all FirewallPolicyRule\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicyRule\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicyRule:\n title: FirewallPolicyRule\n x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/rules/{{priority}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - priority\n - match\n - action\n - direction\n - firewallPolicy\n properties:\n action:\n type: string\n x-dcl-go-name: Action\n description: The Action to perform when the client connection triggers the\n rule. Can currently be either \"allow\" or \"deny()\" where valid values for\n status are 403, 404, and 502.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description for this resource.\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: FirewallPolicyRuleDirectionEnum\n description: 'The direction in which this rule applies. Possible values:\n INGRESS, EGRESS'\n enum:\n - INGRESS\n - EGRESS\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Denotes whether the firewall policy rule is disabled. When\n set to true, the firewall policy rule is not enforced and traffic behaves\n as if it did not exist. If this is unspecified, the firewall policy rule\n will be enabled.\n enableLogging:\n type: boolean\n x-dcl-go-name: EnableLogging\n description: 'Denotes whether to enable logging for a particular rule. If\n logging is enabled, logs will be exported to the configured export destination\n in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you\n cannot enable logging on \"goto_next\" rules.'\n firewallPolicy:\n type: string\n x-dcl-go-name: FirewallPolicy\n description: The firewall policy of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/FirewallPolicy\n field: name\n parent: true\n kind:\n type: string\n x-dcl-go-name: Kind\n readOnly: true\n description: Type of the resource. Always `compute#firewallPolicyRule` for\n firewall policy rules\n x-kubernetes-immutable: true\n match:\n type: object\n x-dcl-go-name: Match\n x-dcl-go-type: FirewallPolicyRuleMatch\n description: A match condition that incoming traffic is evaluated against.\n If it evaluates to true, the corresponding 'action' is enforced.\n required:\n - layer4Configs\n properties:\n destIPRanges:\n type: array\n x-dcl-go-name: DestIPRanges\n description: CIDR IP address range. Maximum number of destination CIDR\n IP ranges allowed is 256.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n layer4Configs:\n type: array\n x-dcl-go-name: Layer4Configs\n description: Pairs of IP protocols and ports that the rule should match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: FirewallPolicyRuleMatchLayer4Configs\n required:\n - ipProtocol\n properties:\n ipProtocol:\n type: string\n x-dcl-go-name: IPProtocol\n description: The IP protocol to which this rule applies. The protocol\n type is required when creating a firewall rule. This value can\n either be one of the following well known protocol strings (`tcp`,\n `udp`, `icmp`, `esp`, `ah`, `ipip`, `sctp`), or the IP protocol\n number.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'An optional list of ports to which this rule applies.\n This field is only applicable for UDP or TCP protocol. Each\n entry must be either an integer or a range. If not specified,\n this rule applies to connections through any port. Example inputs\n include: ``.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n srcIPRanges:\n type: array\n x-dcl-go-name: SrcIPRanges\n description: CIDR IP address range. Maximum number of source CIDR IP\n ranges allowed is 256.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: An integer indicating the priority of a rule in the list. The\n priority must be a positive value between 0 and 2147483647. Rules are\n evaluated from highest to lowest priority where 0 is the highest priority\n and 2147483647 is the lowest prority.\n x-kubernetes-immutable: true\n ruleTupleCount:\n type: integer\n format: int64\n x-dcl-go-name: RuleTupleCount\n readOnly: true\n description: Calculation of the complexity of a single firewall policy rule.\n targetResources:\n type: array\n x-dcl-go-name: TargetResources\n description: A list of network resource URLs to which this rule applies.\n This field allows you to control which network's VMs get this rule. If\n this field is left blank, all VMs within the organization will receive\n the rule.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n targetServiceAccounts:\n type: array\n x-dcl-go-name: TargetServiceAccounts\n description: A list of service accounts indicating the sets of instances\n that are applied with this rule.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: name\n") +var YAML_firewall_policy_rule = []byte("info:\n title: Compute/FirewallPolicyRule\n description: The Compute FirewallPolicyRule resource\n x-dcl-struct-name: FirewallPolicyRule\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n apply:\n description: The function used to apply information about a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n delete:\n description: The function used to delete a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n deleteAll:\n description: The function used to delete all FirewallPolicyRule\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicyRule\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicyRule:\n title: FirewallPolicyRule\n x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/rules/{{priority}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - priority\n - match\n - action\n - direction\n - firewallPolicy\n properties:\n action:\n type: string\n x-dcl-go-name: Action\n description: The Action to perform when the client connection triggers the\n rule. Can currently be either \"allow\" or \"deny()\" where valid values for\n status are 403, 404, and 502.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description for this resource.\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: FirewallPolicyRuleDirectionEnum\n description: 'The direction in which this rule applies. Possible values:\n INGRESS, EGRESS'\n enum:\n - INGRESS\n - EGRESS\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Denotes whether the firewall policy rule is disabled. When\n set to true, the firewall policy rule is not enforced and traffic behaves\n as if it did not exist. If this is unspecified, the firewall policy rule\n will be enabled.\n enableLogging:\n type: boolean\n x-dcl-go-name: EnableLogging\n description: 'Denotes whether to enable logging for a particular rule. If\n logging is enabled, logs will be exported to the configured export destination\n in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you\n cannot enable logging on \"goto_next\" rules.'\n firewallPolicy:\n type: string\n x-dcl-go-name: FirewallPolicy\n description: The firewall policy of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/FirewallPolicy\n field: name\n parent: true\n kind:\n type: string\n x-dcl-go-name: Kind\n readOnly: true\n description: Type of the resource. Always `compute#firewallPolicyRule` for\n firewall policy rules\n x-kubernetes-immutable: true\n match:\n type: object\n x-dcl-go-name: Match\n x-dcl-go-type: FirewallPolicyRuleMatch\n description: A match condition that incoming traffic is evaluated against.\n If it evaluates to true, the corresponding 'action' is enforced.\n required:\n - layer4Configs\n properties:\n destIPRanges:\n type: array\n x-dcl-go-name: DestIPRanges\n description: CIDR IP address range. Maximum number of destination CIDR\n IP ranges allowed is 256.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n layer4Configs:\n type: array\n x-dcl-go-name: Layer4Configs\n description: Pairs of IP protocols and ports that the rule should match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: FirewallPolicyRuleMatchLayer4Configs\n required:\n - ipProtocol\n properties:\n ipProtocol:\n type: string\n x-dcl-go-name: IPProtocol\n description: The IP protocol to which this rule applies. The protocol\n type is required when creating a firewall rule. This value can\n either be one of the following well known protocol strings (`tcp`,\n `udp`, `icmp`, `esp`, `ah`, `ipip`, `sctp`), or the IP protocol\n number.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'An optional list of ports to which this rule applies.\n This field is only applicable for UDP or TCP protocol. Each\n entry must be either an integer or a range. If not specified,\n this rule applies to connections through any port. Example inputs\n include: ``.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n srcIPRanges:\n type: array\n x-dcl-go-name: SrcIPRanges\n description: CIDR IP address range. Maximum number of source CIDR IP\n ranges allowed is 256.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: An integer indicating the priority of a rule in the list. The\n priority must be a positive value between 0 and 2147483647. Rules are\n evaluated from highest to lowest priority where 0 is the highest priority\n and 2147483647 is the lowest prority.\n x-kubernetes-immutable: true\n ruleTupleCount:\n type: integer\n format: int64\n x-dcl-go-name: RuleTupleCount\n readOnly: true\n description: Calculation of the complexity of a single firewall policy rule.\n targetResources:\n type: array\n x-dcl-go-name: TargetResources\n description: A list of network resource URLs to which this rule applies.\n This field allows you to control which network's VMs get this rule. If\n this field is left blank, all VMs within the organization will receive\n the rule.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n targetServiceAccounts:\n type: array\n x-dcl-go-name: TargetServiceAccounts\n description: A list of service accounts indicating the sets of instances\n that are applied with this rule.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: name\n") -// 8049 bytes -// MD5: b29c8e0f9f0d6a6b69cf70d9b91573bc +// 8074 bytes +// MD5: 8094612a613129b6d5b2530996f5e82d diff --git a/services/google/compute/beta/firewall_policy_rule_schema.go b/services/google/compute/beta/firewall_policy_rule_schema.go index bd691d56bf..0a7c01bf60 100755 --- a/services/google/compute/beta/firewall_policy_rule_schema.go +++ b/services/google/compute/beta/firewall_policy_rule_schema.go @@ -23,6 +23,7 @@ func DCLFirewallPolicyRuleSchema() *dcl.Schema { Title: "Compute/FirewallPolicyRule", Description: "The Compute FirewallPolicyRule resource", StructName: "FirewallPolicyRule", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/beta/firewall_policy_schema.go b/services/google/compute/beta/firewall_policy_schema.go index 05619b9a42..9a1d441080 100755 --- a/services/google/compute/beta/firewall_policy_schema.go +++ b/services/google/compute/beta/firewall_policy_schema.go @@ -23,6 +23,7 @@ func DCLFirewallPolicySchema() *dcl.Schema { Title: "Compute/FirewallPolicy", Description: "The Compute FirewallPolicy resource", StructName: "FirewallPolicy", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/beta/forwarding_rule.yaml b/services/google/compute/beta/forwarding_rule.yaml index 54a92354ce..f5cd6a6c59 100755 --- a/services/google/compute/beta/forwarding_rule.yaml +++ b/services/google/compute/beta/forwarding_rule.yaml @@ -15,6 +15,7 @@ info: title: Compute/ForwardingRule description: The Compute ForwardingRule resource x-dcl-struct-name: ForwardingRule + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/forwarding_rule_beta_yaml_embed.go b/services/google/compute/beta/forwarding_rule_beta_yaml_embed.go index b89682143d..67b213fcf3 100755 --- a/services/google/compute/beta/forwarding_rule_beta_yaml_embed.go +++ b/services/google/compute/beta/forwarding_rule_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/forwarding_rule.yaml -var YAML_forwarding_rule = []byte("info:\n title: Compute/ForwardingRule\n description: The Compute ForwardingRule resource\n x-dcl-struct-name: ForwardingRule\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n apply:\n description: The function used to apply information about a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n delete:\n description: The function used to delete a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n deleteAll:\n description: The function used to delete all ForwardingRule\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ForwardingRule\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ForwardingRule:\n title: ForwardingRule\n x-dcl-id: projects/{{project}}/global/forwardingRules/{{name}}\n x-dcl-locations:\n - region\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n allPorts:\n type: boolean\n x-dcl-go-name: AllPorts\n description: This field is used along with the `backend_service` field for\n internal load balancing or with the `target` field for internal TargetInstance.\n This field cannot be used with `port` or `portRange` fields. When the\n load balancing scheme is `INTERNAL` and protocol is TCP/UDP, specify this\n field to allow packets addressed to any ports will be forwarded to the\n backends configured with this forwarding rule.\n x-kubernetes-immutable: true\n allowGlobalAccess:\n type: boolean\n x-dcl-go-name: AllowGlobalAccess\n description: This field is used along with the `backend_service` field for\n internal load balancing or with the `target` field for internal TargetInstance.\n If the field is set to `TRUE`, clients can access ILB from all regions.\n Otherwise only allows access from clients in the same region as the internal\n load balancer.\n backendService:\n type: string\n x-dcl-go-name: BackendService\n description: This field is only used for `INTERNAL` load balancing. For\n internal load balancing, this field identifies the BackendService resource\n to receive the matched traffic.\n x-kubernetes-immutable: true\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: '[Output Only] Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.'\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n x-kubernetes-immutable: true\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: 'IP address that this forwarding rule serves. When a client\n sends traffic to this IP address, the forwarding rule directs the traffic\n to the target that you specify in the forwarding rule. If you don''t specify\n a reserved IP address, an ephemeral IP address is assigned. Methods for\n specifying an IP address: * IPv4 dotted decimal, as in `100.1.2.3` * Full\n URL, as in `https://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name`\n * Partial URL or by name, as in: * `projects/project_id/regions/region/addresses/address-name`\n * `regions/region/addresses/address-name` * `global/addresses/address-name`\n * `address-name` The loadBalancingScheme and the forwarding rule''s target\n determine the type of IP address that you can use. For detailed information,\n refer to [IP address specifications](/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n ipProtocol:\n type: string\n x-dcl-go-name: IPProtocol\n x-dcl-go-type: ForwardingRuleIPProtocolEnum\n description: The IP protocol to which this rule applies. For protocol forwarding,\n valid options are `TCP`, `UDP`, `ESP`, `AH`, `SCTP` or `ICMP`. For Internal\n TCP/UDP Load Balancing, the load balancing scheme is `INTERNAL`, and one\n of `TCP` or `UDP` are valid. For Traffic Director, the load balancing\n scheme is `INTERNAL_SELF_MANAGED`, and only `TCP`is valid. For Internal\n HTTP(S) Load Balancing, the load balancing scheme is `INTERNAL_MANAGED`,\n and only `TCP` is valid. For HTTP(S), SSL Proxy, and TCP Proxy Load Balancing,\n the load balancing scheme is `EXTERNAL` and only `TCP` is valid. For Network\n TCP/UDP Load Balancing, the load balancing scheme is `EXTERNAL`, and one\n of `TCP` or `UDP` is valid.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TCP\n - UDP\n - ESP\n - AH\n - SCTP\n - ICMP\n - L3_DEFAULT\n ipVersion:\n type: string\n x-dcl-go-name: IPVersion\n x-dcl-go-type: ForwardingRuleIPVersionEnum\n description: 'The IP Version that will be used by this forwarding rule.\n Valid options are `IPV4` or `IPV6`. This can only be specified for an\n external global forwarding rule. Possible values: UNSPECIFIED_VERSION,\n IPV4, IPV6'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED_VERSION\n - IPV4\n - IPV6\n isMirroringCollector:\n type: boolean\n x-dcl-go-name: IsMirroringCollector\n description: Indicates whether or not this load balancer can be used as\n a collector for packet mirroring. To prevent mirroring loops, instances\n behind this load balancer will not have their traffic mirrored even if\n a `PacketMirroring` rule applies to them. This can only be set to true\n for load balancers that have their `loadBalancingScheme` set to `INTERNAL`.\n x-kubernetes-immutable: true\n labelFingerprint:\n type: string\n x-dcl-go-name: LabelFingerprint\n readOnly: true\n description: Used internally during label updates.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels to apply to this rule.\n loadBalancingScheme:\n type: string\n x-dcl-go-name: LoadBalancingScheme\n x-dcl-go-type: ForwardingRuleLoadBalancingSchemeEnum\n description: \"Specifies the forwarding rule type.\\n\\n* `EXTERNAL` is used\n for:\\n * Classic Cloud VPN gateways\\n * Protocol forwarding\n to VMs from an external IP address\\n * The following load balancers:\n HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP\\n* `INTERNAL` is\n used for:\\n * Protocol forwarding to VMs from an internal IP address\\n\n \\ * Internal TCP/UDP load balancers\\n* `INTERNAL_MANAGED` is used\n for:\\n * Internal HTTP(S) load balancers\\n* `INTERNAL_SELF_MANAGED`\n is used for:\\n * Traffic Director\\n* `EXTERNAL_MANAGED` is used\n for:\\n * Global external HTTP(S) load balancers \\n\\nFor more information\n about forwarding rules, refer to [Forwarding rule concepts](/load-balancing/docs/forwarding-rule-concepts).\n Possible values: INVALID, INTERNAL, INTERNAL_MANAGED, INTERNAL_SELF_MANAGED,\n EXTERNAL, EXTERNAL_MANAGED\"\n x-kubernetes-immutable: true\n enum:\n - INVALID\n - INTERNAL\n - INTERNAL_MANAGED\n - INTERNAL_SELF_MANAGED\n - EXTERNAL\n - EXTERNAL_MANAGED\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of this resource.\n x-kubernetes-immutable: true\n metadataFilter:\n type: array\n x-dcl-go-name: MetadataFilter\n description: |-\n Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set of [xDS](https://github.com/envoyproxy/data-plane-api/blob/master/XDS_PROTOCOL.md) compliant clients. In their xDS requests to Loadbalancer, xDS clients present [node metadata](https://github.com/envoyproxy/data-plane-api/search?q=%22message+Node%22+in%3A%2Fenvoy%2Fapi%2Fv2%2Fcore%2Fbase.proto&). If a match takes place, the relevant configuration is made available to those proxies. Otherwise, all the resources (e.g. `TargetHttpProxy`, `UrlMap`) referenced by the `ForwardingRule` will not be visible to those proxies.\n\n For each `metadataFilter` in this list, if its `filterMatchCriteria` is set to MATCH_ANY, at least one of the `filterLabel`s must match the corresponding label provided in the metadata. If its `filterMatchCriteria` is set to MATCH_ALL, then all of its `filterLabel`s must match with corresponding labels provided in the metadata.\n\n `metadataFilters` specified here will be applifed before those specified in the `UrlMap` that this `ForwardingRule` references.\n\n `metadataFilters` only applies to Loadbalancers that have their loadBalancingScheme set to `INTERNAL_SELF_MANAGED`.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleMetadataFilter\n required:\n - filterMatchCriteria\n - filterLabel\n properties:\n filterLabel:\n type: array\n x-dcl-go-name: FilterLabel\n description: |-\n The list of label value pairs that must match labels in the provided metadata based on `filterMatchCriteria`\n\n This list must not be empty and can have at the most 64 entries.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleMetadataFilterFilterLabel\n required:\n - name\n - value\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: |-\n Name of metadata label.\n\n The name can have a maximum length of 1024 characters and must be at least 1 character long.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: |-\n The value of the label must match the specified value.\n\n value can have a maximum length of 1024 characters.\n x-kubernetes-immutable: true\n filterMatchCriteria:\n type: string\n x-dcl-go-name: FilterMatchCriteria\n x-dcl-go-type: ForwardingRuleMetadataFilterFilterMatchCriteriaEnum\n description: |-\n Specifies how individual `filterLabel` matches within the list of `filterLabel`s contribute towards the overall `metadataFilter` match.\n\n Supported values are:\n\n * MATCH_ANY: At least one of the `filterLabels` must have a matching label in the provided metadata.\n * MATCH_ALL: All `filterLabels` must have matching labels in the provided metadata. Possible values: NOT_SET, MATCH_ALL, MATCH_ANY\n x-kubernetes-immutable: true\n enum:\n - NOT_SET\n - MATCH_ALL\n - MATCH_ANY\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource; provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: This field is not used for external load balancing. For `INTERNAL`\n and `INTERNAL_SELF_MANAGED` load balancing, this field identifies the\n network that the load balanced IP should belong to for this Forwarding\n Rule. If this field is not specified, the default network will be used.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: ForwardingRuleNetworkTierEnum\n description: 'This signifies the networking tier used for configuring this\n load balancer and can only take the following values: `PREMIUM`, `STANDARD`.\n For regional ForwardingRule, the valid values are `PREMIUM` and `STANDARD`.\n For GlobalForwardingRule, the valid value is `PREMIUM`. If this field\n is not specified, it is assumed to be `PREMIUM`. If `IPAddress` is specified,\n this value must be equal to the networkTier of the Address.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - PREMIUM\n - STANDARD\n portRange:\n type: string\n x-dcl-go-name: PortRange\n description: |-\n When the load balancing scheme is `EXTERNAL`, `INTERNAL_SELF_MANAGED` and `INTERNAL_MANAGED`, you can specify a `port_range`. Use with a forwarding rule that points to a target proxy or a target pool. Do not use with a forwarding rule that points to a backend service. This field is used along with the `target` field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. Applicable only when `IPProtocol` is `TCP`, `UDP`, or `SCTP`, only packets addressed to ports in the specified range will be forwarded to `target`. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. Some types of forwarding target have constraints on the acceptable ports:\n\n * TargetHttpProxy: 80, 8080\n * TargetHttpsProxy: 443\n * TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n * TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n * TargetVpnGateway: 500, 4500\n\n @pattern: d+(?:-d+)?\n x-kubernetes-immutable: true\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'This field is used along with the `backend_service` field\n for internal load balancing. When the load balancing scheme is `INTERNAL`,\n a list of ports can be configured, for example, [''80''], [''8000'',''9000''].\n Only packets addressed to these ports are forwarded to the backends configured\n with the forwarding rule. If the forwarding rule''s loadBalancingScheme\n is INTERNAL, you can specify ports in one of the following ways: * A list\n of up to five ports, which can be non-contiguous * Keyword `ALL`, which\n causes the forwarding rule to forward traffic on any port of the forwarding\n rule''s protocol. @pattern: d+(?:-d+)? For more information, refer to\n [Port specifications](/load-balancing/docs/forwarding-rule-concepts#port_specifications).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project this resource belongs in.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pscConnectionId:\n type: string\n x-dcl-go-name: PscConnectionId\n readOnly: true\n description: The PSC connection id of the PSC Forwarding Rule.\n x-kubernetes-immutable: true\n pscConnectionStatus:\n type: string\n x-dcl-go-name: PscConnectionStatus\n x-dcl-go-type: ForwardingRulePscConnectionStatusEnum\n readOnly: true\n description: 'The PSC connection status of the PSC Forwarding Rule. Possible\n values: STATUS_UNSPECIFIED, PENDING, ACCEPTED, REJECTED, CLOSED'\n x-kubernetes-immutable: true\n enum:\n - STATUS_UNSPECIFIED\n - PENDING\n - ACCEPTED\n - REJECTED\n - CLOSED\n region:\n type: string\n x-dcl-go-name: Region\n description: '[Output Only] URL of the region where the regional forwarding\n rule resides. This field is not applicable to global forwarding rules.\n You must specify this field as part of the HTTP request URL. It is not\n settable as a field in the request body.'\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined URL for the resource.'\n x-kubernetes-immutable: true\n serviceDirectoryRegistrations:\n type: array\n x-dcl-go-name: ServiceDirectoryRegistrations\n description: Service Directory resources to register this forwarding rule\n with. Currently, only supports a single Service Directory resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleServiceDirectoryRegistrations\n properties:\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: Service Directory namespace to register the forwarding\n rule under.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n service:\n type: string\n x-dcl-go-name: Service\n description: Service Directory service to register the forwarding\n rule under.\n x-kubernetes-immutable: true\n serviceLabel:\n type: string\n x-dcl-go-name: ServiceLabel\n description: An optional prefix to the service name for this Forwarding\n Rule. If specified, the prefix is the first label of the fully qualified\n service name. The label must be 1-63 characters long, and comply with\n [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, the label\n must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`\n which means the first character must be a lowercase letter, and all following\n characters must be a dash, lowercase letter, or digit, except the last\n character, which cannot be a dash. This field is only used for internal\n load balancing.\n x-kubernetes-immutable: true\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n readOnly: true\n description: '[Output Only] The internal fully qualified service name for\n this Forwarding Rule. This field is only used for internal load balancing.'\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: This field is only used for `INTERNAL` load balancing. For\n internal load balancing, this field identifies the subnetwork that the\n load balanced IP should belong to for this Forwarding Rule. If the network\n specified is in auto subnet mode, this field is optional. However, if\n the network is in custom subnet mode, a subnetwork must be specified.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n target:\n type: string\n x-dcl-go-name: Target\n description: The URL of the target resource to receive the matched traffic.\n For regional forwarding rules, this target must live in the same region\n as the forwarding rule. For global forwarding rules, this target must\n be a global load balancing resource. The forwarded traffic must be of\n a type appropriate to the target object. For `INTERNAL_SELF_MANAGED` load\n balancing, only `targetHttpProxy` is valid, not `targetHttpsProxy`.\n") +var YAML_forwarding_rule = []byte("info:\n title: Compute/ForwardingRule\n description: The Compute ForwardingRule resource\n x-dcl-struct-name: ForwardingRule\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n apply:\n description: The function used to apply information about a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n delete:\n description: The function used to delete a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n deleteAll:\n description: The function used to delete all ForwardingRule\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ForwardingRule\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ForwardingRule:\n title: ForwardingRule\n x-dcl-id: projects/{{project}}/global/forwardingRules/{{name}}\n x-dcl-locations:\n - region\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n allPorts:\n type: boolean\n x-dcl-go-name: AllPorts\n description: This field is used along with the `backend_service` field for\n internal load balancing or with the `target` field for internal TargetInstance.\n This field cannot be used with `port` or `portRange` fields. When the\n load balancing scheme is `INTERNAL` and protocol is TCP/UDP, specify this\n field to allow packets addressed to any ports will be forwarded to the\n backends configured with this forwarding rule.\n x-kubernetes-immutable: true\n allowGlobalAccess:\n type: boolean\n x-dcl-go-name: AllowGlobalAccess\n description: This field is used along with the `backend_service` field for\n internal load balancing or with the `target` field for internal TargetInstance.\n If the field is set to `TRUE`, clients can access ILB from all regions.\n Otherwise only allows access from clients in the same region as the internal\n load balancer.\n backendService:\n type: string\n x-dcl-go-name: BackendService\n description: This field is only used for `INTERNAL` load balancing. For\n internal load balancing, this field identifies the BackendService resource\n to receive the matched traffic.\n x-kubernetes-immutable: true\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: '[Output Only] Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.'\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n x-kubernetes-immutable: true\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: 'IP address that this forwarding rule serves. When a client\n sends traffic to this IP address, the forwarding rule directs the traffic\n to the target that you specify in the forwarding rule. If you don''t specify\n a reserved IP address, an ephemeral IP address is assigned. Methods for\n specifying an IP address: * IPv4 dotted decimal, as in `100.1.2.3` * Full\n URL, as in `https://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name`\n * Partial URL or by name, as in: * `projects/project_id/regions/region/addresses/address-name`\n * `regions/region/addresses/address-name` * `global/addresses/address-name`\n * `address-name` The loadBalancingScheme and the forwarding rule''s target\n determine the type of IP address that you can use. For detailed information,\n refer to [IP address specifications](/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n ipProtocol:\n type: string\n x-dcl-go-name: IPProtocol\n x-dcl-go-type: ForwardingRuleIPProtocolEnum\n description: The IP protocol to which this rule applies. For protocol forwarding,\n valid options are `TCP`, `UDP`, `ESP`, `AH`, `SCTP` or `ICMP`. For Internal\n TCP/UDP Load Balancing, the load balancing scheme is `INTERNAL`, and one\n of `TCP` or `UDP` are valid. For Traffic Director, the load balancing\n scheme is `INTERNAL_SELF_MANAGED`, and only `TCP`is valid. For Internal\n HTTP(S) Load Balancing, the load balancing scheme is `INTERNAL_MANAGED`,\n and only `TCP` is valid. For HTTP(S), SSL Proxy, and TCP Proxy Load Balancing,\n the load balancing scheme is `EXTERNAL` and only `TCP` is valid. For Network\n TCP/UDP Load Balancing, the load balancing scheme is `EXTERNAL`, and one\n of `TCP` or `UDP` is valid.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TCP\n - UDP\n - ESP\n - AH\n - SCTP\n - ICMP\n - L3_DEFAULT\n ipVersion:\n type: string\n x-dcl-go-name: IPVersion\n x-dcl-go-type: ForwardingRuleIPVersionEnum\n description: 'The IP Version that will be used by this forwarding rule.\n Valid options are `IPV4` or `IPV6`. This can only be specified for an\n external global forwarding rule. Possible values: UNSPECIFIED_VERSION,\n IPV4, IPV6'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED_VERSION\n - IPV4\n - IPV6\n isMirroringCollector:\n type: boolean\n x-dcl-go-name: IsMirroringCollector\n description: Indicates whether or not this load balancer can be used as\n a collector for packet mirroring. To prevent mirroring loops, instances\n behind this load balancer will not have their traffic mirrored even if\n a `PacketMirroring` rule applies to them. This can only be set to true\n for load balancers that have their `loadBalancingScheme` set to `INTERNAL`.\n x-kubernetes-immutable: true\n labelFingerprint:\n type: string\n x-dcl-go-name: LabelFingerprint\n readOnly: true\n description: Used internally during label updates.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels to apply to this rule.\n loadBalancingScheme:\n type: string\n x-dcl-go-name: LoadBalancingScheme\n x-dcl-go-type: ForwardingRuleLoadBalancingSchemeEnum\n description: \"Specifies the forwarding rule type.\\n\\n* `EXTERNAL` is used\n for:\\n * Classic Cloud VPN gateways\\n * Protocol forwarding\n to VMs from an external IP address\\n * The following load balancers:\n HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP\\n* `INTERNAL` is\n used for:\\n * Protocol forwarding to VMs from an internal IP address\\n\n \\ * Internal TCP/UDP load balancers\\n* `INTERNAL_MANAGED` is used\n for:\\n * Internal HTTP(S) load balancers\\n* `INTERNAL_SELF_MANAGED`\n is used for:\\n * Traffic Director\\n* `EXTERNAL_MANAGED` is used\n for:\\n * Global external HTTP(S) load balancers \\n\\nFor more information\n about forwarding rules, refer to [Forwarding rule concepts](/load-balancing/docs/forwarding-rule-concepts).\n Possible values: INVALID, INTERNAL, INTERNAL_MANAGED, INTERNAL_SELF_MANAGED,\n EXTERNAL, EXTERNAL_MANAGED\"\n x-kubernetes-immutable: true\n enum:\n - INVALID\n - INTERNAL\n - INTERNAL_MANAGED\n - INTERNAL_SELF_MANAGED\n - EXTERNAL\n - EXTERNAL_MANAGED\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of this resource.\n x-kubernetes-immutable: true\n metadataFilter:\n type: array\n x-dcl-go-name: MetadataFilter\n description: |-\n Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set of [xDS](https://github.com/envoyproxy/data-plane-api/blob/master/XDS_PROTOCOL.md) compliant clients. In their xDS requests to Loadbalancer, xDS clients present [node metadata](https://github.com/envoyproxy/data-plane-api/search?q=%22message+Node%22+in%3A%2Fenvoy%2Fapi%2Fv2%2Fcore%2Fbase.proto&). If a match takes place, the relevant configuration is made available to those proxies. Otherwise, all the resources (e.g. `TargetHttpProxy`, `UrlMap`) referenced by the `ForwardingRule` will not be visible to those proxies.\n\n For each `metadataFilter` in this list, if its `filterMatchCriteria` is set to MATCH_ANY, at least one of the `filterLabel`s must match the corresponding label provided in the metadata. If its `filterMatchCriteria` is set to MATCH_ALL, then all of its `filterLabel`s must match with corresponding labels provided in the metadata.\n\n `metadataFilters` specified here will be applifed before those specified in the `UrlMap` that this `ForwardingRule` references.\n\n `metadataFilters` only applies to Loadbalancers that have their loadBalancingScheme set to `INTERNAL_SELF_MANAGED`.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleMetadataFilter\n required:\n - filterMatchCriteria\n - filterLabel\n properties:\n filterLabel:\n type: array\n x-dcl-go-name: FilterLabel\n description: |-\n The list of label value pairs that must match labels in the provided metadata based on `filterMatchCriteria`\n\n This list must not be empty and can have at the most 64 entries.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleMetadataFilterFilterLabel\n required:\n - name\n - value\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: |-\n Name of metadata label.\n\n The name can have a maximum length of 1024 characters and must be at least 1 character long.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: |-\n The value of the label must match the specified value.\n\n value can have a maximum length of 1024 characters.\n x-kubernetes-immutable: true\n filterMatchCriteria:\n type: string\n x-dcl-go-name: FilterMatchCriteria\n x-dcl-go-type: ForwardingRuleMetadataFilterFilterMatchCriteriaEnum\n description: |-\n Specifies how individual `filterLabel` matches within the list of `filterLabel`s contribute towards the overall `metadataFilter` match.\n\n Supported values are:\n\n * MATCH_ANY: At least one of the `filterLabels` must have a matching label in the provided metadata.\n * MATCH_ALL: All `filterLabels` must have matching labels in the provided metadata. Possible values: NOT_SET, MATCH_ALL, MATCH_ANY\n x-kubernetes-immutable: true\n enum:\n - NOT_SET\n - MATCH_ALL\n - MATCH_ANY\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource; provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: This field is not used for external load balancing. For `INTERNAL`\n and `INTERNAL_SELF_MANAGED` load balancing, this field identifies the\n network that the load balanced IP should belong to for this Forwarding\n Rule. If this field is not specified, the default network will be used.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: ForwardingRuleNetworkTierEnum\n description: 'This signifies the networking tier used for configuring this\n load balancer and can only take the following values: `PREMIUM`, `STANDARD`.\n For regional ForwardingRule, the valid values are `PREMIUM` and `STANDARD`.\n For GlobalForwardingRule, the valid value is `PREMIUM`. If this field\n is not specified, it is assumed to be `PREMIUM`. If `IPAddress` is specified,\n this value must be equal to the networkTier of the Address.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - PREMIUM\n - STANDARD\n portRange:\n type: string\n x-dcl-go-name: PortRange\n description: |-\n When the load balancing scheme is `EXTERNAL`, `INTERNAL_SELF_MANAGED` and `INTERNAL_MANAGED`, you can specify a `port_range`. Use with a forwarding rule that points to a target proxy or a target pool. Do not use with a forwarding rule that points to a backend service. This field is used along with the `target` field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. Applicable only when `IPProtocol` is `TCP`, `UDP`, or `SCTP`, only packets addressed to ports in the specified range will be forwarded to `target`. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. Some types of forwarding target have constraints on the acceptable ports:\n\n * TargetHttpProxy: 80, 8080\n * TargetHttpsProxy: 443\n * TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n * TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n * TargetVpnGateway: 500, 4500\n\n @pattern: d+(?:-d+)?\n x-kubernetes-immutable: true\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'This field is used along with the `backend_service` field\n for internal load balancing. When the load balancing scheme is `INTERNAL`,\n a list of ports can be configured, for example, [''80''], [''8000'',''9000''].\n Only packets addressed to these ports are forwarded to the backends configured\n with the forwarding rule. If the forwarding rule''s loadBalancingScheme\n is INTERNAL, you can specify ports in one of the following ways: * A list\n of up to five ports, which can be non-contiguous * Keyword `ALL`, which\n causes the forwarding rule to forward traffic on any port of the forwarding\n rule''s protocol. @pattern: d+(?:-d+)? For more information, refer to\n [Port specifications](/load-balancing/docs/forwarding-rule-concepts#port_specifications).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project this resource belongs in.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pscConnectionId:\n type: string\n x-dcl-go-name: PscConnectionId\n readOnly: true\n description: The PSC connection id of the PSC Forwarding Rule.\n x-kubernetes-immutable: true\n pscConnectionStatus:\n type: string\n x-dcl-go-name: PscConnectionStatus\n x-dcl-go-type: ForwardingRulePscConnectionStatusEnum\n readOnly: true\n description: 'The PSC connection status of the PSC Forwarding Rule. Possible\n values: STATUS_UNSPECIFIED, PENDING, ACCEPTED, REJECTED, CLOSED'\n x-kubernetes-immutable: true\n enum:\n - STATUS_UNSPECIFIED\n - PENDING\n - ACCEPTED\n - REJECTED\n - CLOSED\n region:\n type: string\n x-dcl-go-name: Region\n description: '[Output Only] URL of the region where the regional forwarding\n rule resides. This field is not applicable to global forwarding rules.\n You must specify this field as part of the HTTP request URL. It is not\n settable as a field in the request body.'\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined URL for the resource.'\n x-kubernetes-immutable: true\n serviceDirectoryRegistrations:\n type: array\n x-dcl-go-name: ServiceDirectoryRegistrations\n description: Service Directory resources to register this forwarding rule\n with. Currently, only supports a single Service Directory resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleServiceDirectoryRegistrations\n properties:\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: Service Directory namespace to register the forwarding\n rule under.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n service:\n type: string\n x-dcl-go-name: Service\n description: Service Directory service to register the forwarding\n rule under.\n x-kubernetes-immutable: true\n serviceLabel:\n type: string\n x-dcl-go-name: ServiceLabel\n description: An optional prefix to the service name for this Forwarding\n Rule. If specified, the prefix is the first label of the fully qualified\n service name. The label must be 1-63 characters long, and comply with\n [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, the label\n must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`\n which means the first character must be a lowercase letter, and all following\n characters must be a dash, lowercase letter, or digit, except the last\n character, which cannot be a dash. This field is only used for internal\n load balancing.\n x-kubernetes-immutable: true\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n readOnly: true\n description: '[Output Only] The internal fully qualified service name for\n this Forwarding Rule. This field is only used for internal load balancing.'\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: This field is only used for `INTERNAL` load balancing. For\n internal load balancing, this field identifies the subnetwork that the\n load balanced IP should belong to for this Forwarding Rule. If the network\n specified is in auto subnet mode, this field is optional. However, if\n the network is in custom subnet mode, a subnetwork must be specified.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n target:\n type: string\n x-dcl-go-name: Target\n description: The URL of the target resource to receive the matched traffic.\n For regional forwarding rules, this target must live in the same region\n as the forwarding rule. For global forwarding rules, this target must\n be a global load balancing resource. The forwarded traffic must be of\n a type appropriate to the target object. For `INTERNAL_SELF_MANAGED` load\n balancing, only `targetHttpProxy` is valid, not `targetHttpsProxy`.\n") -// 22305 bytes -// MD5: 2c85d11f2fa3111863b817f7632b281b +// 22330 bytes +// MD5: 2f83402f588a0c93b1b12f465b4d9fed diff --git a/services/google/compute/beta/forwarding_rule_schema.go b/services/google/compute/beta/forwarding_rule_schema.go index 79b214b8e4..7f05dc0c7c 100755 --- a/services/google/compute/beta/forwarding_rule_schema.go +++ b/services/google/compute/beta/forwarding_rule_schema.go @@ -23,6 +23,7 @@ func DCLForwardingRuleSchema() *dcl.Schema { Title: "Compute/ForwardingRule", Description: "The Compute ForwardingRule resource", StructName: "ForwardingRule", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/beta/health_check.yaml b/services/google/compute/beta/health_check.yaml index ea693b7679..78b783d1cb 100755 --- a/services/google/compute/beta/health_check.yaml +++ b/services/google/compute/beta/health_check.yaml @@ -15,6 +15,7 @@ info: title: Compute/HealthCheck description: The Compute HealthCheck resource x-dcl-struct-name: HealthCheck + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/http_health_check.yaml b/services/google/compute/beta/http_health_check.yaml index ab817ef239..67d856a493 100755 --- a/services/google/compute/beta/http_health_check.yaml +++ b/services/google/compute/beta/http_health_check.yaml @@ -15,6 +15,7 @@ info: title: Compute/HttpHealthCheck description: The Compute HttpHealthCheck resource x-dcl-struct-name: HttpHealthCheck + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/https_health_check.yaml b/services/google/compute/beta/https_health_check.yaml index e7de6effcb..0d4f4302f5 100755 --- a/services/google/compute/beta/https_health_check.yaml +++ b/services/google/compute/beta/https_health_check.yaml @@ -15,6 +15,7 @@ info: title: Compute/HttpsHealthCheck description: The Compute HttpsHealthCheck resource x-dcl-struct-name: HttpsHealthCheck + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/image.yaml b/services/google/compute/beta/image.yaml index 7cff36e953..82d78b367b 100755 --- a/services/google/compute/beta/image.yaml +++ b/services/google/compute/beta/image.yaml @@ -15,6 +15,7 @@ info: title: Compute/Image description: The Compute Image resource x-dcl-struct-name: Image + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/instance.yaml b/services/google/compute/beta/instance.yaml index 43a5a6f664..9d576d1a68 100755 --- a/services/google/compute/beta/instance.yaml +++ b/services/google/compute/beta/instance.yaml @@ -15,6 +15,7 @@ info: title: Compute/Instance description: The Compute Instance resource x-dcl-struct-name: Instance + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/compute/beta/instance_beta_yaml_embed.go b/services/google/compute/beta/instance_beta_yaml_embed.go index 491c31d54e..e3d8b8aa2d 100755 --- a/services/google/compute/beta/instance_beta_yaml_embed.go +++ b/services/google/compute/beta/instance_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/instance.yaml -var YAML_instance = []byte("info:\n title: Compute/Instance\n description: The Compute Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/zones/{{zone}}/instances/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - zone\n - project\n properties:\n canIPForward:\n type: boolean\n x-dcl-go-name: CanIPForward\n description: Allows this instance to send and receive packets with non-matching\n destination or source IPs. This is required if you plan to use this instance\n to forward routes.\n x-kubernetes-immutable: true\n cpuPlatform:\n type: string\n x-dcl-go-name: CpuPlatform\n readOnly: true\n description: The CPU platform used by this instance.\n x-kubernetes-immutable: true\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n deletionProtection:\n type: boolean\n x-dcl-go-name: DeletionProtection\n description: Whether the resource should be protected against deletion.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n x-kubernetes-immutable: true\n disks:\n type: array\n x-dcl-go-name: Disks\n description: An array of disks that are associated with the instances that\n are created from this template.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceDisks\n properties:\n autoDelete:\n type: boolean\n x-dcl-go-name: AutoDelete\n description: 'Specifies whether the disk will be auto-deleted when\n the instance is deleted (but not when the disk is detached from\n the instance). Tip: Disks should be set to autoDelete=true so that\n leftover disks are not left behind on machine deletion.'\n x-kubernetes-immutable: true\n boot:\n type: boolean\n x-dcl-go-name: Boot\n description: Indicates that this is a boot disk. The virtual machine\n will use the first partition of the disk for its root filesystem.\n x-kubernetes-immutable: true\n deviceName:\n type: string\n x-dcl-go-name: DeviceName\n description: Specifies a unique device name of your choice that is\n reflected into the /dev/disk/by-id/google-* tree of a Linux operating\n system running within the instance. This name can be used to reference\n the device for mounting, resizing, and so on, from within the instance.\n x-kubernetes-immutable: true\n diskEncryptionKey:\n type: object\n x-dcl-go-name: DiskEncryptionKey\n x-dcl-go-type: InstanceDisksDiskEncryptionKey\n description: Encrypts or decrypts a disk using a customer-supplied\n encryption key.\n x-kubernetes-immutable: true\n properties:\n rawKey:\n type: string\n x-dcl-go-name: RawKey\n description: Specifies a 256-bit customer-supplied encryption\n key, encoded in RFC 4648 base64 to either encrypt or decrypt\n this resource.\n x-kubernetes-immutable: true\n rsaEncryptedKey:\n type: string\n x-dcl-go-name: RsaEncryptedKey\n description: Specifies an RFC 4648 base64 encoded, RSA-wrapped\n 2048-bit customer-supplied encryption key to either encrypt\n or decrypt this resource.\n x-kubernetes-immutable: true\n sha256:\n type: string\n x-dcl-go-name: Sha256\n readOnly: true\n description: The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied\n encryption key that protects this resource.\n x-kubernetes-immutable: true\n index:\n type: integer\n format: int64\n x-dcl-go-name: Index\n description: Assigns a zero-based index to this disk, where 0 is reserved\n for the boot disk. For example, if you have many disks attached\n to an instance, each disk would have a unique index number. If not\n specified, the server will choose an appropriate value.\n x-kubernetes-immutable: true\n initializeParams:\n type: object\n x-dcl-go-name: InitializeParams\n x-dcl-go-type: InstanceDisksInitializeParams\n description: Specifies the parameters for a new disk that will be\n created alongside the new instance. Use initialization parameters\n to create boot disks or local SSDs attached to the new instance.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n diskName:\n type: string\n x-dcl-go-name: DiskName\n description: Specifies the disk name. If not specified, the default\n is to use the name of the instance.\n x-kubernetes-immutable: true\n diskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: DiskSizeGb\n description: Specifies the size of the disk in base-2 GB.\n x-kubernetes-immutable: true\n diskType:\n type: string\n x-dcl-go-name: DiskType\n description: Reference to a disk type. Specifies the disk type\n to use to create the instance. If not specified, the default\n is pd-standard.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/DiskType\n field: name\n sourceImage:\n type: string\n x-dcl-go-name: SourceImage\n description: The source image to create this disk. When creating\n a new instance, one of initializeParams.sourceImage or disks.source\n is required. To create a disk with one of the public operating\n system images, specify the image by its family name.\n x-kubernetes-immutable: true\n sourceImageEncryptionKey:\n type: object\n x-dcl-go-name: SourceImageEncryptionKey\n x-dcl-go-type: InstanceDisksInitializeParamsSourceImageEncryptionKey\n description: The customer-supplied encryption key of the source\n image. Required if the source image is protected by a customer-supplied\n encryption key. Instance templates do not store customer-supplied\n encryption keys, so you cannot create disks for instances in\n a managed instance group if the source images are encrypted\n with your own keys.\n x-kubernetes-immutable: true\n properties:\n rawKey:\n type: string\n x-dcl-go-name: RawKey\n description: Specifies a 256-bit customer-supplied encryption\n key, encoded in RFC 4648 base64 to either encrypt or decrypt\n this resource.\n x-kubernetes-immutable: true\n sha256:\n type: string\n x-dcl-go-name: Sha256\n readOnly: true\n description: The RFC 4648 base64 encoded SHA-256 hash of the\n customer-supplied encryption key that protects this resource.\n x-kubernetes-immutable: true\n interface:\n type: string\n x-dcl-go-name: Interface\n x-dcl-go-type: InstanceDisksInterfaceEnum\n description: Specifies the disk interface to use for attaching this\n disk, which is either SCSI or NVME. The default is SCSI. Persistent\n disks must always use SCSI and the request will fail if you attempt\n to attach a persistent disk in any other format than SCSI.\n x-kubernetes-immutable: true\n enum:\n - SCSI\n - NVME\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: InstanceDisksModeEnum\n description: The mode in which to attach this disk, either READ_WRITE\n or READ_ONLY. If not specified, the default is to attach the disk\n in READ_WRITE mode.\n x-kubernetes-immutable: true\n enum:\n - READ_WRITE\n - READ_ONLY\n source:\n type: string\n x-dcl-go-name: Source\n description: Reference to a disk. When creating a new instance, one\n of initializeParams.sourceImage or disks.source is required. If\n desired, you can also attach existing non-root persistent disks\n using this property. This field is only applicable for persistent\n disks.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Disk\n field: selfLink\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceDisksTypeEnum\n description: Specifies the type of the disk, either SCRATCH or PERSISTENT.\n If not specified, the default is PERSISTENT.\n x-kubernetes-immutable: true\n enum:\n - SCRATCH\n - PERSISTENT\n x-dcl-mutable-unreadable: true\n guestAccelerators:\n type: array\n x-dcl-go-name: GuestAccelerators\n description: List of the type and count of accelerator cards attached to\n the instance\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGuestAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the guest accelerator cards exposed to\n this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: Full or partial URL of the accelerator type resource\n to expose to this instance.\n x-kubernetes-immutable: true\n hostname:\n type: string\n x-dcl-go-name: Hostname\n description: The hostname of the instance to be created. The specified hostname\n must be RFC1035 compliant. If hostname is not specified, the default hostname\n is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS,\n and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels to apply to this instance. A list of key->value pairs.\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: A reference to a machine type which defines VM kind.\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Compute/MachineType\n field: name\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The metadata key/value pairs to assign to instances that are\n created from this template. These pairs can consist of custom metadata\n or predefined keys.\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Specifies a minimum CPU platform for the VM instance. Applicable\n values are the friendly names of CPU platforms\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the resource, provided by the client when initially\n creating the resource. The resource name must be 1-63 characters long,\n and comply with RFC1035. Specifically, the name must be 1-63 characters\n long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which\n means the first character must be a lowercase letter, and all following\n characters must be a dash, lowercase letter, or digit, except the last\n character, which cannot be a dash.\n x-kubernetes-immutable: true\n networkInterfaces:\n type: array\n x-dcl-go-name: NetworkInterfaces\n description: An array of configurations for this interface. This specifies\n how this interface is configured to interact with other network services,\n such as connecting to the internet. Only one network interface is supported\n per instance.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfaces\n properties:\n accessConfigs:\n type: array\n x-dcl-go-name: AccessConfigs\n description: An array of configurations for this interface. Currently,\n only one access config, ONE_TO_ONE_NAT, is supported. If there are\n no accessConfigs specified, then this instance will have no external\n internet access.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigs\n required:\n - name\n - type\n properties:\n externalIPv6:\n type: string\n x-dcl-go-name: ExternalIPv6\n readOnly: true\n description: The first IPv6 address of the external IPv6 range\n associated with this instance, prefix length is stored in\n externalIpv6PrefixLength in ipv6AccessConfig. The field is\n output only, an IPv6 address from a subnetwork associated\n with the instance will be allocated dynamically.\n x-kubernetes-immutable: true\n externalIPv6PrefixLength:\n type: string\n x-dcl-go-name: ExternalIPv6PrefixLength\n readOnly: true\n description: The prefix length of the external IPv6 range.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this access configuration. The default\n and recommended name is External NAT but you can use any arbitrary\n string you would like. For example, My external IP or Network\n Access.\n x-kubernetes-immutable: true\n natIP:\n type: string\n x-dcl-go-name: NatIP\n description: Reference to an address. An external IP address\n associated with this instance. Specify an unused static external\n IP address available to the project or leave this field undefined\n to use an IP from a shared ephemeral IP address pool. If you\n specify a static external IP address, it must live in the\n same region as the zone of the instance.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Address\n field: selfLink\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsNetworkTierEnum\n description: 'This signifies the networking tier used for configuring\n this access configuration and can only take the following\n values: PREMIUM, STANDARD. If an AccessConfig is specified\n without a valid external IP address, an ephemeral IP will\n be created with this networkTier. If an AccessConfig with\n a valid external IP address is specified, it must match that\n of the networkTier associated with the Address resource owning\n that IP.'\n x-kubernetes-immutable: true\n enum:\n - PREMIUM\n - STANDARD\n publicPtrDomainName:\n type: string\n x-dcl-go-name: PublicPtrDomainName\n description: The DNS domain name for the public PTR record.\n You can set this field only if the setPublicPtr field is enabled.\n x-kubernetes-immutable: true\n setPublicPtr:\n type: boolean\n x-dcl-go-name: SetPublicPtr\n description: Specifies whether a public DNS 'PTR' record should\n be created to map the external IP address of the instance\n to a DNS domain name.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsTypeEnum\n description: The type of configuration. The default and only\n option is ONE_TO_ONE_NAT.\n x-kubernetes-immutable: true\n enum:\n - ONE_TO_ONE_NAT\n aliasIPRanges:\n type: array\n x-dcl-go-name: AliasIPRanges\n description: An array of alias IP ranges for this network interface.\n Can only be specified for network interfaces on subnet-mode networks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesAliasIPRanges\n properties:\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: The IP CIDR range represented by this alias IP\n range. This IP CIDR range must belong to the specified subnetwork\n and cannot contain IP addresses reserved by system or used\n by other network interfaces. This range may be a single IP\n address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format\n string (e.g. 10.1.2.0/24).\n x-kubernetes-immutable: true\n subnetworkRangeName:\n type: string\n x-dcl-go-name: SubnetworkRangeName\n description: Optional subnetwork secondary range name specifying\n the secondary range from which to allocate the IP CIDR range\n for this alias IP range. If left unspecified, the primary\n range of the subnetwork will be used.\n x-kubernetes-immutable: true\n ipv6AccessConfigs:\n type: array\n x-dcl-go-name: IPv6AccessConfigs\n description: An array of IPv6 access configurations for this interface.\n Currently, only one IPv6 access config, DIRECT_IPV6, is supported.\n If there is no ipv6AccessConfig specified, then this instance will\n have no external IPv6 Internet access.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigs\n required:\n - name\n - type\n properties:\n externalIPv6:\n type: string\n x-dcl-go-name: ExternalIPv6\n readOnly: true\n description: The first IPv6 address of the external IPv6 range\n associated with this instance, prefix length is stored in\n externalIpv6PrefixLength in ipv6AccessConfig. The field is\n output only, an IPv6 address from a subnetwork associated\n with the instance will be allocated dynamically.\n x-kubernetes-immutable: true\n externalIPv6PrefixLength:\n type: string\n x-dcl-go-name: ExternalIPv6PrefixLength\n readOnly: true\n description: The prefix length of the external IPv6 range.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this access configuration. The default\n and recommended name is External NAT but you can use any arbitrary\n string you would like. For example, My external IP or Network\n Access.\n x-kubernetes-immutable: true\n natIP:\n type: string\n x-dcl-go-name: NatIP\n description: Reference to an address. An external IP address\n associated with this instance. Specify an unused static external\n IP address available to the project or leave this field undefined\n to use an IP from a shared ephemeral IP address pool. If you\n specify a static external IP address, it must live in the\n same region as the zone of the instance.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Address\n field: selfLink\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum\n description: 'This signifies the networking tier used for configuring\n this access configuration and can only take the following\n values: PREMIUM, STANDARD. If an AccessConfig is specified\n without a valid external IP address, an ephemeral IP will\n be created with this networkTier. If an AccessConfig with\n a valid external IP address is specified, it must match that\n of the networkTier associated with the Address resource owning\n that IP.'\n x-kubernetes-immutable: true\n enum:\n - PREMIUM\n - STANDARD\n publicPtrDomainName:\n type: string\n x-dcl-go-name: PublicPtrDomainName\n description: The DNS domain name for the public PTR record.\n You can set this field only if the setPublicPtr field is enabled.\n x-kubernetes-immutable: true\n setPublicPtr:\n type: boolean\n x-dcl-go-name: SetPublicPtr\n description: Specifies whether a public DNS 'PTR' record should\n be created to map the external IP address of the instance\n to a DNS domain name.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum\n description: The type of configuration. The default and only\n option is ONE_TO_ONE_NAT.\n x-kubernetes-immutable: true\n enum:\n - ONE_TO_ONE_NAT\n name:\n type: string\n x-dcl-go-name: Name\n readOnly: true\n description: The name of the network interface, generated by the server.\n For network devices, these are eth0, eth1, etc\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Specifies the title of an existing network. When creating\n an instance, if neither the network nor the subnetwork is specified,\n the default network global/networks/default is used; if the network\n is not specified but the subnetwork is specified, the network is\n inferred.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n networkIP:\n type: string\n x-dcl-go-name: NetworkIP\n description: An IPv4 internal network address to assign to the instance\n for this network interface. If not specified by the user, an unused\n internal IP is assigned by the system.\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: Reference to a VPC network. If the network resource is\n in legacy mode, do not provide this property. If the network is\n in auto subnet mode, providing the subnetwork is optional. If the\n network is in custom subnet mode, then this field should be specified.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n scheduling:\n type: object\n x-dcl-go-name: Scheduling\n x-dcl-go-type: InstanceScheduling\n description: Sets the scheduling options for this instance.\n x-kubernetes-immutable: true\n properties:\n automaticRestart:\n type: boolean\n x-dcl-go-name: AutomaticRestart\n description: Specifies whether the instance should be automatically\n restarted if it is terminated by Compute Engine (not terminated by\n a user). You can only set the automatic restart option for standard\n instances. Preemptible instances cannot be automatically restarted.\n x-kubernetes-immutable: true\n onHostMaintenance:\n type: string\n x-dcl-go-name: OnHostMaintenance\n description: Defines the maintenance behavior for this instance. For\n standard instances, the default behavior is MIGRATE. For preemptible\n instances, the default and only possible behavior is TERMINATE. For\n more information, see Setting Instance Scheduling Options.\n x-kubernetes-immutable: true\n preemptible:\n type: boolean\n x-dcl-go-name: Preemptible\n description: Defines whether the instance is preemptible. This can only\n be set during instance creation, it cannot be set or changed after\n the instance has been created.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: The self link of the instance\n x-kubernetes-immutable: true\n serviceAccounts:\n type: array\n x-dcl-go-name: ServiceAccounts\n description: A list of service accounts, with their specified scopes, authorized\n for this instance. Only one service account per VM instance is supported.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceServiceAccounts\n properties:\n email:\n type: string\n x-dcl-go-name: Email\n description: Email address of the service account.\n x-kubernetes-immutable: true\n scopes:\n type: array\n x-dcl-go-name: Scopes\n description: The list of scopes to be made available for this service\n account.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n shieldedInstanceConfig:\n type: object\n x-dcl-go-name: ShieldedInstanceConfig\n x-dcl-go-type: InstanceShieldedInstanceConfig\n description: Configuration for various parameters related to shielded instances.\n properties:\n enableIntegrityMonitoring:\n type: boolean\n x-dcl-go-name: EnableIntegrityMonitoring\n description: Defines whether the instance has integrity monitoring enabled.\n enableSecureBoot:\n type: boolean\n x-dcl-go-name: EnableSecureBoot\n description: Defines whether the instance has Secure Boot enabled.\n enableVtpm:\n type: boolean\n x-dcl-go-name: EnableVtpm\n description: Defines whether the instance has the vTPM enabled\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: InstanceStatusEnum\n description: 'The status of the instance. One of the following values: PROVISIONING,\n STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and TERMINATED. As\n a user, use RUNNING to keep a machine \"on\" and TERMINATED to turn a machine\n off'\n x-kubernetes-immutable: true\n enum:\n - PROVISIONING\n - STAGING\n - RUNNING\n - STOPPING\n - SUSPENDING\n - SUSPENDED\n - TERMINATED\n statusMessage:\n type: string\n x-dcl-go-name: StatusMessage\n readOnly: true\n description: An optional, human-readable explanation of the status.\n x-kubernetes-immutable: true\n tags:\n type: array\n x-dcl-go-name: Tags\n description: A list of tags to apply to this instance. Tags are used to\n identify valid sources or targets for network firewalls and are specified\n by the client during instance creation. Each tag within the list must\n comply with RFC1035.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: A reference to the zone where the machine resides.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Zone\n field: name\n parent: true\n") +var YAML_instance = []byte("info:\n title: Compute/Instance\n description: The Compute Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/zones/{{zone}}/instances/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - zone\n - project\n properties:\n canIPForward:\n type: boolean\n x-dcl-go-name: CanIPForward\n description: Allows this instance to send and receive packets with non-matching\n destination or source IPs. This is required if you plan to use this instance\n to forward routes.\n x-kubernetes-immutable: true\n cpuPlatform:\n type: string\n x-dcl-go-name: CpuPlatform\n readOnly: true\n description: The CPU platform used by this instance.\n x-kubernetes-immutable: true\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n deletionProtection:\n type: boolean\n x-dcl-go-name: DeletionProtection\n description: Whether the resource should be protected against deletion.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n x-kubernetes-immutable: true\n disks:\n type: array\n x-dcl-go-name: Disks\n description: An array of disks that are associated with the instances that\n are created from this template.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceDisks\n properties:\n autoDelete:\n type: boolean\n x-dcl-go-name: AutoDelete\n description: 'Specifies whether the disk will be auto-deleted when\n the instance is deleted (but not when the disk is detached from\n the instance). Tip: Disks should be set to autoDelete=true so that\n leftover disks are not left behind on machine deletion.'\n x-kubernetes-immutable: true\n boot:\n type: boolean\n x-dcl-go-name: Boot\n description: Indicates that this is a boot disk. The virtual machine\n will use the first partition of the disk for its root filesystem.\n x-kubernetes-immutable: true\n deviceName:\n type: string\n x-dcl-go-name: DeviceName\n description: Specifies a unique device name of your choice that is\n reflected into the /dev/disk/by-id/google-* tree of a Linux operating\n system running within the instance. This name can be used to reference\n the device for mounting, resizing, and so on, from within the instance.\n x-kubernetes-immutable: true\n diskEncryptionKey:\n type: object\n x-dcl-go-name: DiskEncryptionKey\n x-dcl-go-type: InstanceDisksDiskEncryptionKey\n description: Encrypts or decrypts a disk using a customer-supplied\n encryption key.\n x-kubernetes-immutable: true\n properties:\n rawKey:\n type: string\n x-dcl-go-name: RawKey\n description: Specifies a 256-bit customer-supplied encryption\n key, encoded in RFC 4648 base64 to either encrypt or decrypt\n this resource.\n x-kubernetes-immutable: true\n rsaEncryptedKey:\n type: string\n x-dcl-go-name: RsaEncryptedKey\n description: Specifies an RFC 4648 base64 encoded, RSA-wrapped\n 2048-bit customer-supplied encryption key to either encrypt\n or decrypt this resource.\n x-kubernetes-immutable: true\n sha256:\n type: string\n x-dcl-go-name: Sha256\n readOnly: true\n description: The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied\n encryption key that protects this resource.\n x-kubernetes-immutable: true\n index:\n type: integer\n format: int64\n x-dcl-go-name: Index\n description: Assigns a zero-based index to this disk, where 0 is reserved\n for the boot disk. For example, if you have many disks attached\n to an instance, each disk would have a unique index number. If not\n specified, the server will choose an appropriate value.\n x-kubernetes-immutable: true\n initializeParams:\n type: object\n x-dcl-go-name: InitializeParams\n x-dcl-go-type: InstanceDisksInitializeParams\n description: Specifies the parameters for a new disk that will be\n created alongside the new instance. Use initialization parameters\n to create boot disks or local SSDs attached to the new instance.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n diskName:\n type: string\n x-dcl-go-name: DiskName\n description: Specifies the disk name. If not specified, the default\n is to use the name of the instance.\n x-kubernetes-immutable: true\n diskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: DiskSizeGb\n description: Specifies the size of the disk in base-2 GB.\n x-kubernetes-immutable: true\n diskType:\n type: string\n x-dcl-go-name: DiskType\n description: Reference to a disk type. Specifies the disk type\n to use to create the instance. If not specified, the default\n is pd-standard.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/DiskType\n field: name\n sourceImage:\n type: string\n x-dcl-go-name: SourceImage\n description: The source image to create this disk. When creating\n a new instance, one of initializeParams.sourceImage or disks.source\n is required. To create a disk with one of the public operating\n system images, specify the image by its family name.\n x-kubernetes-immutable: true\n sourceImageEncryptionKey:\n type: object\n x-dcl-go-name: SourceImageEncryptionKey\n x-dcl-go-type: InstanceDisksInitializeParamsSourceImageEncryptionKey\n description: The customer-supplied encryption key of the source\n image. Required if the source image is protected by a customer-supplied\n encryption key. Instance templates do not store customer-supplied\n encryption keys, so you cannot create disks for instances in\n a managed instance group if the source images are encrypted\n with your own keys.\n x-kubernetes-immutable: true\n properties:\n rawKey:\n type: string\n x-dcl-go-name: RawKey\n description: Specifies a 256-bit customer-supplied encryption\n key, encoded in RFC 4648 base64 to either encrypt or decrypt\n this resource.\n x-kubernetes-immutable: true\n sha256:\n type: string\n x-dcl-go-name: Sha256\n readOnly: true\n description: The RFC 4648 base64 encoded SHA-256 hash of the\n customer-supplied encryption key that protects this resource.\n x-kubernetes-immutable: true\n interface:\n type: string\n x-dcl-go-name: Interface\n x-dcl-go-type: InstanceDisksInterfaceEnum\n description: Specifies the disk interface to use for attaching this\n disk, which is either SCSI or NVME. The default is SCSI. Persistent\n disks must always use SCSI and the request will fail if you attempt\n to attach a persistent disk in any other format than SCSI.\n x-kubernetes-immutable: true\n enum:\n - SCSI\n - NVME\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: InstanceDisksModeEnum\n description: The mode in which to attach this disk, either READ_WRITE\n or READ_ONLY. If not specified, the default is to attach the disk\n in READ_WRITE mode.\n x-kubernetes-immutable: true\n enum:\n - READ_WRITE\n - READ_ONLY\n source:\n type: string\n x-dcl-go-name: Source\n description: Reference to a disk. When creating a new instance, one\n of initializeParams.sourceImage or disks.source is required. If\n desired, you can also attach existing non-root persistent disks\n using this property. This field is only applicable for persistent\n disks.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Disk\n field: selfLink\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceDisksTypeEnum\n description: Specifies the type of the disk, either SCRATCH or PERSISTENT.\n If not specified, the default is PERSISTENT.\n x-kubernetes-immutable: true\n enum:\n - SCRATCH\n - PERSISTENT\n x-dcl-mutable-unreadable: true\n guestAccelerators:\n type: array\n x-dcl-go-name: GuestAccelerators\n description: List of the type and count of accelerator cards attached to\n the instance\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGuestAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the guest accelerator cards exposed to\n this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: Full or partial URL of the accelerator type resource\n to expose to this instance.\n x-kubernetes-immutable: true\n hostname:\n type: string\n x-dcl-go-name: Hostname\n description: The hostname of the instance to be created. The specified hostname\n must be RFC1035 compliant. If hostname is not specified, the default hostname\n is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS,\n and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels to apply to this instance. A list of key->value pairs.\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: A reference to a machine type which defines VM kind.\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Compute/MachineType\n field: name\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The metadata key/value pairs to assign to instances that are\n created from this template. These pairs can consist of custom metadata\n or predefined keys.\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Specifies a minimum CPU platform for the VM instance. Applicable\n values are the friendly names of CPU platforms\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the resource, provided by the client when initially\n creating the resource. The resource name must be 1-63 characters long,\n and comply with RFC1035. Specifically, the name must be 1-63 characters\n long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which\n means the first character must be a lowercase letter, and all following\n characters must be a dash, lowercase letter, or digit, except the last\n character, which cannot be a dash.\n x-kubernetes-immutable: true\n networkInterfaces:\n type: array\n x-dcl-go-name: NetworkInterfaces\n description: An array of configurations for this interface. This specifies\n how this interface is configured to interact with other network services,\n such as connecting to the internet. Only one network interface is supported\n per instance.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfaces\n properties:\n accessConfigs:\n type: array\n x-dcl-go-name: AccessConfigs\n description: An array of configurations for this interface. Currently,\n only one access config, ONE_TO_ONE_NAT, is supported. If there are\n no accessConfigs specified, then this instance will have no external\n internet access.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigs\n required:\n - name\n - type\n properties:\n externalIPv6:\n type: string\n x-dcl-go-name: ExternalIPv6\n readOnly: true\n description: The first IPv6 address of the external IPv6 range\n associated with this instance, prefix length is stored in\n externalIpv6PrefixLength in ipv6AccessConfig. The field is\n output only, an IPv6 address from a subnetwork associated\n with the instance will be allocated dynamically.\n x-kubernetes-immutable: true\n externalIPv6PrefixLength:\n type: string\n x-dcl-go-name: ExternalIPv6PrefixLength\n readOnly: true\n description: The prefix length of the external IPv6 range.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this access configuration. The default\n and recommended name is External NAT but you can use any arbitrary\n string you would like. For example, My external IP or Network\n Access.\n x-kubernetes-immutable: true\n natIP:\n type: string\n x-dcl-go-name: NatIP\n description: Reference to an address. An external IP address\n associated with this instance. Specify an unused static external\n IP address available to the project or leave this field undefined\n to use an IP from a shared ephemeral IP address pool. If you\n specify a static external IP address, it must live in the\n same region as the zone of the instance.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Address\n field: selfLink\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsNetworkTierEnum\n description: 'This signifies the networking tier used for configuring\n this access configuration and can only take the following\n values: PREMIUM, STANDARD. If an AccessConfig is specified\n without a valid external IP address, an ephemeral IP will\n be created with this networkTier. If an AccessConfig with\n a valid external IP address is specified, it must match that\n of the networkTier associated with the Address resource owning\n that IP.'\n x-kubernetes-immutable: true\n enum:\n - PREMIUM\n - STANDARD\n publicPtrDomainName:\n type: string\n x-dcl-go-name: PublicPtrDomainName\n description: The DNS domain name for the public PTR record.\n You can set this field only if the setPublicPtr field is enabled.\n x-kubernetes-immutable: true\n setPublicPtr:\n type: boolean\n x-dcl-go-name: SetPublicPtr\n description: Specifies whether a public DNS 'PTR' record should\n be created to map the external IP address of the instance\n to a DNS domain name.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsTypeEnum\n description: The type of configuration. The default and only\n option is ONE_TO_ONE_NAT.\n x-kubernetes-immutable: true\n enum:\n - ONE_TO_ONE_NAT\n aliasIPRanges:\n type: array\n x-dcl-go-name: AliasIPRanges\n description: An array of alias IP ranges for this network interface.\n Can only be specified for network interfaces on subnet-mode networks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesAliasIPRanges\n properties:\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: The IP CIDR range represented by this alias IP\n range. This IP CIDR range must belong to the specified subnetwork\n and cannot contain IP addresses reserved by system or used\n by other network interfaces. This range may be a single IP\n address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format\n string (e.g. 10.1.2.0/24).\n x-kubernetes-immutable: true\n subnetworkRangeName:\n type: string\n x-dcl-go-name: SubnetworkRangeName\n description: Optional subnetwork secondary range name specifying\n the secondary range from which to allocate the IP CIDR range\n for this alias IP range. If left unspecified, the primary\n range of the subnetwork will be used.\n x-kubernetes-immutable: true\n ipv6AccessConfigs:\n type: array\n x-dcl-go-name: IPv6AccessConfigs\n description: An array of IPv6 access configurations for this interface.\n Currently, only one IPv6 access config, DIRECT_IPV6, is supported.\n If there is no ipv6AccessConfig specified, then this instance will\n have no external IPv6 Internet access.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigs\n required:\n - name\n - type\n properties:\n externalIPv6:\n type: string\n x-dcl-go-name: ExternalIPv6\n readOnly: true\n description: The first IPv6 address of the external IPv6 range\n associated with this instance, prefix length is stored in\n externalIpv6PrefixLength in ipv6AccessConfig. The field is\n output only, an IPv6 address from a subnetwork associated\n with the instance will be allocated dynamically.\n x-kubernetes-immutable: true\n externalIPv6PrefixLength:\n type: string\n x-dcl-go-name: ExternalIPv6PrefixLength\n readOnly: true\n description: The prefix length of the external IPv6 range.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this access configuration. The default\n and recommended name is External NAT but you can use any arbitrary\n string you would like. For example, My external IP or Network\n Access.\n x-kubernetes-immutable: true\n natIP:\n type: string\n x-dcl-go-name: NatIP\n description: Reference to an address. An external IP address\n associated with this instance. Specify an unused static external\n IP address available to the project or leave this field undefined\n to use an IP from a shared ephemeral IP address pool. If you\n specify a static external IP address, it must live in the\n same region as the zone of the instance.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Address\n field: selfLink\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum\n description: 'This signifies the networking tier used for configuring\n this access configuration and can only take the following\n values: PREMIUM, STANDARD. If an AccessConfig is specified\n without a valid external IP address, an ephemeral IP will\n be created with this networkTier. If an AccessConfig with\n a valid external IP address is specified, it must match that\n of the networkTier associated with the Address resource owning\n that IP.'\n x-kubernetes-immutable: true\n enum:\n - PREMIUM\n - STANDARD\n publicPtrDomainName:\n type: string\n x-dcl-go-name: PublicPtrDomainName\n description: The DNS domain name for the public PTR record.\n You can set this field only if the setPublicPtr field is enabled.\n x-kubernetes-immutable: true\n setPublicPtr:\n type: boolean\n x-dcl-go-name: SetPublicPtr\n description: Specifies whether a public DNS 'PTR' record should\n be created to map the external IP address of the instance\n to a DNS domain name.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum\n description: The type of configuration. The default and only\n option is ONE_TO_ONE_NAT.\n x-kubernetes-immutable: true\n enum:\n - ONE_TO_ONE_NAT\n name:\n type: string\n x-dcl-go-name: Name\n readOnly: true\n description: The name of the network interface, generated by the server.\n For network devices, these are eth0, eth1, etc\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Specifies the title of an existing network. When creating\n an instance, if neither the network nor the subnetwork is specified,\n the default network global/networks/default is used; if the network\n is not specified but the subnetwork is specified, the network is\n inferred.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n networkIP:\n type: string\n x-dcl-go-name: NetworkIP\n description: An IPv4 internal network address to assign to the instance\n for this network interface. If not specified by the user, an unused\n internal IP is assigned by the system.\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: Reference to a VPC network. If the network resource is\n in legacy mode, do not provide this property. If the network is\n in auto subnet mode, providing the subnetwork is optional. If the\n network is in custom subnet mode, then this field should be specified.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n scheduling:\n type: object\n x-dcl-go-name: Scheduling\n x-dcl-go-type: InstanceScheduling\n description: Sets the scheduling options for this instance.\n x-kubernetes-immutable: true\n properties:\n automaticRestart:\n type: boolean\n x-dcl-go-name: AutomaticRestart\n description: Specifies whether the instance should be automatically\n restarted if it is terminated by Compute Engine (not terminated by\n a user). You can only set the automatic restart option for standard\n instances. Preemptible instances cannot be automatically restarted.\n x-kubernetes-immutable: true\n onHostMaintenance:\n type: string\n x-dcl-go-name: OnHostMaintenance\n description: Defines the maintenance behavior for this instance. For\n standard instances, the default behavior is MIGRATE. For preemptible\n instances, the default and only possible behavior is TERMINATE. For\n more information, see Setting Instance Scheduling Options.\n x-kubernetes-immutable: true\n preemptible:\n type: boolean\n x-dcl-go-name: Preemptible\n description: Defines whether the instance is preemptible. This can only\n be set during instance creation, it cannot be set or changed after\n the instance has been created.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: The self link of the instance\n x-kubernetes-immutable: true\n serviceAccounts:\n type: array\n x-dcl-go-name: ServiceAccounts\n description: A list of service accounts, with their specified scopes, authorized\n for this instance. Only one service account per VM instance is supported.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceServiceAccounts\n properties:\n email:\n type: string\n x-dcl-go-name: Email\n description: Email address of the service account.\n x-kubernetes-immutable: true\n scopes:\n type: array\n x-dcl-go-name: Scopes\n description: The list of scopes to be made available for this service\n account.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n shieldedInstanceConfig:\n type: object\n x-dcl-go-name: ShieldedInstanceConfig\n x-dcl-go-type: InstanceShieldedInstanceConfig\n description: Configuration for various parameters related to shielded instances.\n properties:\n enableIntegrityMonitoring:\n type: boolean\n x-dcl-go-name: EnableIntegrityMonitoring\n description: Defines whether the instance has integrity monitoring enabled.\n enableSecureBoot:\n type: boolean\n x-dcl-go-name: EnableSecureBoot\n description: Defines whether the instance has Secure Boot enabled.\n enableVtpm:\n type: boolean\n x-dcl-go-name: EnableVtpm\n description: Defines whether the instance has the vTPM enabled\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: InstanceStatusEnum\n description: 'The status of the instance. One of the following values: PROVISIONING,\n STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and TERMINATED. As\n a user, use RUNNING to keep a machine \"on\" and TERMINATED to turn a machine\n off'\n x-kubernetes-immutable: true\n enum:\n - PROVISIONING\n - STAGING\n - RUNNING\n - STOPPING\n - SUSPENDING\n - SUSPENDED\n - TERMINATED\n statusMessage:\n type: string\n x-dcl-go-name: StatusMessage\n readOnly: true\n description: An optional, human-readable explanation of the status.\n x-kubernetes-immutable: true\n tags:\n type: array\n x-dcl-go-name: Tags\n description: A list of tags to apply to this instance. Tags are used to\n identify valid sources or targets for network firewalls and are specified\n by the client during instance creation. Each tag within the list must\n comply with RFC1035.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: A reference to the zone where the machine resides.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Zone\n field: name\n parent: true\n") -// 35469 bytes -// MD5: 04873fdb274cd69a8a7b9b45dfed105c +// 35494 bytes +// MD5: b486d66c3affa0501097eb967f52b296 diff --git a/services/google/compute/beta/instance_group_manager.yaml b/services/google/compute/beta/instance_group_manager.yaml index a37f72b22b..48e212f626 100755 --- a/services/google/compute/beta/instance_group_manager.yaml +++ b/services/google/compute/beta/instance_group_manager.yaml @@ -15,6 +15,7 @@ info: title: Compute/InstanceGroupManager description: The Compute InstanceGroupManager resource x-dcl-struct-name: InstanceGroupManager + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/instance_group_manager_beta_yaml_embed.go b/services/google/compute/beta/instance_group_manager_beta_yaml_embed.go index 031cec97a5..6427f69dd1 100755 --- a/services/google/compute/beta/instance_group_manager_beta_yaml_embed.go +++ b/services/google/compute/beta/instance_group_manager_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/instance_group_manager.yaml -var YAML_instance_group_manager = []byte("info:\n title: Compute/InstanceGroupManager\n description: The Compute InstanceGroupManager resource\n x-dcl-struct-name: InstanceGroupManager\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n apply:\n description: The function used to apply information about a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n delete:\n description: The function used to delete a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n deleteAll:\n description: The function used to delete all InstanceGroupManager\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InstanceGroupManager\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InstanceGroupManager:\n title: InstanceGroupManager\n x-dcl-locations:\n - zone\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - targetSize\n - project\n properties:\n autoHealingPolicies:\n type: array\n x-dcl-go-name: AutoHealingPolicies\n description: The autohealing policy for this managed instance group. You\n can specify only one value.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerAutoHealingPolicies\n properties:\n healthCheck:\n type: string\n x-dcl-go-name: HealthCheck\n description: The URL for the health check that signals autohealing.\n x-dcl-references:\n - resource: Compute/HealthCheck\n field: selfLink\n initialDelaySec:\n type: integer\n format: int64\n x-dcl-go-name: InitialDelaySec\n description: The number of seconds that the managed instance group\n waits before it applies autohealing policies to new instances or\n recently recreated instances. This initial delay allows instances\n to initialize and run their startup scripts before the instance\n group determines that they are UNHEALTHY. This prevents the managed\n instance group from recreating its instances prematurely. This value\n must be from range [0, 3600].\n baseInstanceName:\n type: string\n x-dcl-go-name: BaseInstanceName\n description: The base instance name to use for instances in this group.\n The value must be 1-58 characters long. Instances are named by appending\n a hyphen and a random four-character string to the base instance name.\n The base instance name must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: The creation timestamp for this managed instance group in \\[RFC3339\\](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n currentActions:\n type: object\n x-dcl-go-name: CurrentActions\n x-dcl-go-type: InstanceGroupManagerCurrentActions\n readOnly: true\n description: '[Output Only] The list of instance actions and the number\n of instances in this managed instance group that are scheduled for each\n of those actions.'\n x-kubernetes-immutable: true\n properties:\n abandoning:\n type: integer\n format: int64\n x-dcl-go-name: Abandoning\n readOnly: true\n description: '[Output Only] The total number of instances in the managed\n instance group that are scheduled to be abandoned. Abandoning an instance\n removes it from the managed instance group without deleting it.'\n x-kubernetes-immutable: true\n creating:\n type: integer\n format: int64\n x-dcl-go-name: Creating\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be created or are currently being created.\n If the group fails to create any of these instances, it tries again\n until it creates the instance successfully. If you have disabled creation\n retries, this field will not be populated; instead, the `creatingWithoutRetries`\n field will be populated.'\n x-kubernetes-immutable: true\n creatingWithoutRetries:\n type: integer\n format: int64\n x-dcl-go-name: CreatingWithoutRetries\n readOnly: true\n description: '[Output Only] The number of instances that the managed\n instance group will attempt to create. The group attempts to create\n each instance only once. If the group fails to create any of these\n instances, it decreases the group''s `targetSize` value accordingly.'\n x-kubernetes-immutable: true\n deleting:\n type: integer\n format: int64\n x-dcl-go-name: Deleting\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be deleted or are currently being deleted.'\n x-kubernetes-immutable: true\n none:\n type: integer\n format: int64\n x-dcl-go-name: None\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are running and have no scheduled actions.'\n x-kubernetes-immutable: true\n recreating:\n type: integer\n format: int64\n x-dcl-go-name: Recreating\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be recreated or are currently being being\n recreated. Recreating an instance deletes the existing root persistent\n disk and creates a new disk from the image that is defined in the\n instance template.'\n x-kubernetes-immutable: true\n refreshing:\n type: integer\n format: int64\n x-dcl-go-name: Refreshing\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are being reconfigured with properties that do not require\n a restart or a recreate action. For example, setting or removing target\n pools for the instance.'\n x-kubernetes-immutable: true\n restarting:\n type: integer\n format: int64\n x-dcl-go-name: Restarting\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be restarted or are currently being restarted.'\n x-kubernetes-immutable: true\n verifying:\n type: integer\n format: int64\n x-dcl-go-name: Verifying\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are being verified. See the `managedInstances[].currentAction`\n property in the `listManagedInstances` method documentation.'\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n x-kubernetes-immutable: true\n distributionPolicy:\n type: object\n x-dcl-go-name: DistributionPolicy\n x-dcl-go-type: InstanceGroupManagerDistributionPolicy\n description: Policy specifying the intended distribution of managed instances\n across zones in a regional managed instance group.\n properties:\n targetShape:\n type: string\n x-dcl-go-name: TargetShape\n x-dcl-go-type: InstanceGroupManagerDistributionPolicyTargetShapeEnum\n description: 'The distribution shape to which the group converges either\n proactively or on resize events (depending on the value set in `updatePolicy.instanceRedistributionType`).\n Possible values: TARGET_SHAPE_UNSPECIFIED, ANY, BALANCED, ANY_SINGLE_ZONE'\n enum:\n - TARGET_SHAPE_UNSPECIFIED\n - ANY\n - BALANCED\n - ANY_SINGLE_ZONE\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Zones where the regional managed instance group will create\n and manage its instances.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerDistributionPolicyZones\n properties:\n zone:\n type: string\n x-dcl-go-name: Zone\n description: The URL of the [zone](/compute/docs/regions-zones/#available).\n The zone must exist in the region where the managed instance\n group is located.\n x-kubernetes-immutable: true\n failoverAction:\n type: string\n x-dcl-go-name: FailoverAction\n x-dcl-go-type: InstanceGroupManagerFailoverActionEnum\n description: 'The action to perform in case of zone failure. Only one value\n is supported, `NO_FAILOVER`. The default is `NO_FAILOVER`. Possible values:\n UNKNOWN, NO_FAILOVER'\n enum:\n - UNKNOWN\n - NO_FAILOVER\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of this resource. This field may be used in optimistic\n locking. It will be ignored when inserting an InstanceGroupManager. An\n up-to-date fingerprint must be provided in order to update the InstanceGroupManager,\n otherwise the request will fail with error `412 conditionNotMet`. To see\n the latest fingerprint, make a `get()` request to retrieve an InstanceGroupManager.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: '[Output Only] A unique identifier for this resource type.\n The server generates this identifier.'\n x-kubernetes-immutable: true\n instanceGroup:\n type: string\n x-dcl-go-name: InstanceGroup\n readOnly: true\n description: '[Output Only] The URL of the Instance Group resource.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/InstanceGroup\n field: selfLink\n instanceTemplate:\n type: string\n x-dcl-go-name: InstanceTemplate\n description: The URL of the instance template that is specified for this\n managed instance group. The group uses this template to create all new\n instances in the managed instance group. The templates for existing instances\n in the group do not change unless you run `recreateInstances`, run `applyUpdatesToInstances`,\n or set the group's `updatePolicy.type` to `PROACTIVE`.\n x-dcl-conflicts:\n - versions\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Compute/InstanceTemplate\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of this resource.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the managed instance group. The name must be 1-63\n characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n x-kubernetes-immutable: true\n namedPorts:\n type: array\n x-dcl-go-name: NamedPorts\n description: Named ports configured for the Instance Groups complementary\n to this Instance Group Manager.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerNamedPorts\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name for this named port. The name must be 1-63 characters\n long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n x-kubernetes-immutable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: The port number, which can be a value between 1 and 65535.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: '[Output Only] The URL of the [region](/compute/docs/regions-zones/#available)\n where the managed instance group resides (for regional resources).'\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] The URL for this managed instance group. The\n server defines this URL.'\n x-kubernetes-immutable: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: 'The service account to be used as credentials for all operations\n performed by the managed instance group on instances. The service accounts\n needs all permissions required to create and delete instances. By default,\n the service account: {projectNumber}@cloudservices.gserviceaccount.com\n is used.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n statefulPolicy:\n type: object\n x-dcl-go-name: StatefulPolicy\n x-dcl-go-type: InstanceGroupManagerStatefulPolicy\n description: Stateful configuration for this Instanced Group Manager\n properties:\n preservedState:\n type: object\n x-dcl-go-name: PreservedState\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedState\n properties:\n disks:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisks\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum\n description: 'These stateful disks will never be deleted during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the disk should be deleted\n after it is no longer used by the group, e.g. when the given\n instance or the whole group is deleted. Note: disks attached\n in READ_ONLY mode cannot be auto-deleted. Possible values:\n NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: Disks\n description: Disks created on the instances that will be preserved\n on instance delete, update, etc. This map is keyed with the device\n names of the disks.\n externalIps:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateExternalIps\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateExternalIpsAutoDeleteEnum\n description: 'These stateful IPs will never be released during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the IP reservation should\n be deleted after it is no longer used by the group, e.g.\n when the given instance or the whole group is deleted. Possible\n values: NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: ExternalIps\n description: External network IPs assigned to the instances that\n will be preserved on instance delete, update, etc. This map is\n keyed with the network interface name.\n internalIps:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateInternalIps\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateInternalIpsAutoDeleteEnum\n description: 'These stateful IPs will never be released during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the IP reservation should\n be deleted after it is no longer used by the group, e.g.\n when the given instance or the whole group is deleted. Possible\n values: NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: InternalIps\n description: Internal network IPs assigned to the instances that\n will be preserved on instance delete, update, etc. This map is\n keyed with the network interface name.\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: InstanceGroupManagerStatus\n readOnly: true\n description: '[Output Only] The status of this managed instance group.'\n properties:\n autoscaler:\n type: string\n x-dcl-go-name: Autoscaler\n readOnly: true\n description: '[Output Only] The URL of the [Autoscaler](/compute/docs/autoscaler/)\n that targets this instance group manager.'\n x-kubernetes-immutable: true\n isStable:\n type: boolean\n x-dcl-go-name: IsStable\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed instance\n group is in a stable state. A stable state means that: none of the\n instances in the managed instance group is currently undergoing any\n type of change (for example, creation, restart, or deletion); no future\n changes are scheduled for instances in the managed instance group;\n and the managed instance group itself is not being modified.'\n x-kubernetes-immutable: true\n stateful:\n type: object\n x-dcl-go-name: Stateful\n x-dcl-go-type: InstanceGroupManagerStatusStateful\n readOnly: true\n description: '[Output Only] Stateful status of the given Instance Group\n Manager.'\n properties:\n hasStatefulConfig:\n type: boolean\n x-dcl-go-name: HasStatefulConfig\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed\n instance group has stateful configuration, that is, if you have\n configured any items in a stateful policy or in per-instance configs.\n The group might report that it has no stateful config even when\n there is still some preserved state on a managed instance, for\n example, if you have deleted all PICs but not yet applied those\n deletions.'\n x-kubernetes-immutable: true\n isStateful:\n type: boolean\n x-dcl-go-name: IsStateful\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed\n instance group has stateful configuration, that is, if you have\n configured any items in a stateful policy or in per-instance configs.\n The group might report that it has no stateful config even when\n there is still some preserved state on a managed instance, for\n example, if you have deleted all PICs but not yet applied those\n deletions. This field is deprecated in favor of has_stateful_config.'\n x-kubernetes-immutable: true\n perInstanceConfigs:\n type: object\n x-dcl-go-name: PerInstanceConfigs\n x-dcl-go-type: InstanceGroupManagerStatusStatefulPerInstanceConfigs\n readOnly: true\n description: '[Output Only] Status of per-instance configs on the\n instance.'\n properties:\n allEffective:\n type: boolean\n x-dcl-go-name: AllEffective\n description: A bit indicating if all of the group's per-instance\n configs (listed in the output of a listPerInstanceConfigs\n API call) have status `EFFECTIVE` or there are no per-instance-configs.\n versionTarget:\n type: object\n x-dcl-go-name: VersionTarget\n x-dcl-go-type: InstanceGroupManagerStatusVersionTarget\n readOnly: true\n description: '[Output Only] A status of consistency of Instances'' versions\n with their target version specified by `version` field on Instance\n Group Manager.'\n x-kubernetes-immutable: true\n properties:\n isReached:\n type: boolean\n x-dcl-go-name: IsReached\n readOnly: true\n description: '[Output Only] A bit indicating whether version target\n has been reached in this managed instance group, i.e. all instances\n are in their target version. Instances'' target version are specified\n by `version` field on Instance Group Manager.'\n x-kubernetes-immutable: true\n targetPools:\n type: array\n x-dcl-go-name: TargetPools\n description: The URLs for all TargetPool resources to which instances in\n the `instanceGroup` field are added. The target pools automatically apply\n to all of the instances in the managed instance group.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/TargetPool\n field: selfLink\n targetSize:\n type: integer\n format: int64\n x-dcl-go-name: TargetSize\n description: The target number of running instances for this managed instance\n group. You can reduce this number by using the instanceGroupManager deleteInstances\n or abandonInstances methods. Resizing the group also changes this number.\n updatePolicy:\n type: object\n x-dcl-go-name: UpdatePolicy\n x-dcl-go-type: InstanceGroupManagerUpdatePolicy\n description: The update policy for this managed instance group.\n properties:\n instanceRedistributionType:\n type: string\n x-dcl-go-name: InstanceRedistributionType\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum\n description: 'The [instance redistribution policy](/compute/docs/instance-groups/regional-migs#proactive_instance_redistribution)\n for regional managed instance groups. Valid values are: - `PROACTIVE`\n (default): The group attempts to maintain an even distribution of\n VM instances across zones in the region. - `NONE`: For non-autoscaled\n groups, proactive redistribution is disabled.'\n enum:\n - NONE\n - PROACTIVE\n maxSurge:\n type: object\n x-dcl-go-name: MaxSurge\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxSurge\n description: The maximum number of instances that can be created above\n the specified `targetSize` during the update process. This value can\n be either a fixed number or, if the group has 10 or more instances,\n a percentage. If you set a percentage, the number of instances is\n rounded if necessary. The default value for `maxSurge` is a fixed\n value equal to the number of zones in which the managed instance group\n operates. At least one of either `maxSurge` or `maxUnavailable` must\n be greater than 0. Learn more about [`maxSurge`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_surge).\n x-dcl-send-empty: true\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then the\n `calculated` value is equal to the `fixed` value. - If the value\n is a `percent`, then the `calculated` value is `percent`/100 *\n `targetSize`. For example, the `calculated` value of a 80% of\n a managed instance group with 150 instances would be (80/100 *\n 150) = 120 VM instances. If there is a remainder, the number is\n rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to 100%,\n inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n maxUnavailable:\n type: object\n x-dcl-go-name: MaxUnavailable\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxUnavailable\n description: 'The maximum number of instances that can be unavailable\n during the update process. An instance is considered available if\n all of the following conditions are satisfied: - The instance''s [status](/compute/docs/instances/checking-instance-status)\n is `RUNNING`. - If there is a [health check](/compute/docs/instance-groups/autohealing-instances-in-migs)\n on the instance group, the instance''s health check status must be\n `HEALTHY` at least once. If there is no health check on the group,\n then the instance only needs to have a status of `RUNNING` to be considered\n available. This value can be either a fixed number or, if the group\n has 10 or more instances, a percentage. If you set a percentage, the\n number of instances is rounded if necessary. The default value for\n `maxUnavailable` is a fixed value equal to the number of zones in\n which the managed instance group operates. At least one of either\n `maxSurge` or `maxUnavailable` must be greater than 0. Learn more\n about [`maxUnavailable`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_unavailable).'\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then the\n `calculated` value is equal to the `fixed` value. - If the value\n is a `percent`, then the `calculated` value is `percent`/100 *\n `targetSize`. For example, the `calculated` value of a 80% of\n a managed instance group with 150 instances would be (80/100 *\n 150) = 120 VM instances. If there is a remainder, the number is\n rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to 100%,\n inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n minReadySec:\n type: integer\n format: int64\n x-dcl-go-name: MinReadySec\n description: Minimum number of seconds to wait for after a newly created\n instance becomes available. This value must be from range [0, 3600].\n minimalAction:\n type: string\n x-dcl-go-name: MinimalAction\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMinimalActionEnum\n description: Minimal action to be taken on an instance. You can specify\n either `RESTART` to restart existing instances or `REPLACE` to delete\n and create new instances from the target template. If you specify\n a `RESTART`, the Updater will attempt to perform that action only.\n However, if the Updater determines that the minimal action you specify\n is not enough to perform the update, it might perform a more disruptive\n action.\n enum:\n - REPLACE\n - RESTART\n - REFRESH\n - NONE\n mostDisruptiveAllowedAction:\n type: string\n x-dcl-go-name: MostDisruptiveAllowedAction\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnum\n description: Most disruptive action that is allowed to be taken on an\n instance. You can specify either `NONE` to forbid any actions, `REFRESH`\n to allow actions that do not need instance restart, `RESTART` to allow\n actions that can be applied without instance replacing or `REPLACE`\n to allow all possible actions. If the Updater determines that the\n minimal update action needed is more disruptive than most disruptive\n allowed action you specify it will not perform the update at all.\n enum:\n - REPLACE\n - RESTART\n - REFRESH\n - NONE\n replacementMethod:\n type: string\n x-dcl-go-name: ReplacementMethod\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyReplacementMethodEnum\n description: 'What action should be used to replace instances. See minimal_action.REPLACE\n Possible values: SUBSTITUTE, RECREATE'\n enum:\n - SUBSTITUTE\n - RECREATE\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyTypeEnum\n description: The type of update process. You can specify either `PROACTIVE`\n so that the instance group manager proactively executes actions in\n order to bring instances to their target versions or `OPPORTUNISTIC`\n so that no action is proactively executed but the update will be performed\n as part of other actions (for example, resizes or `recreateInstances`\n calls).\n enum:\n - OPPORTUNISTIC\n - PROACTIVE\n versions:\n type: array\n x-dcl-go-name: Versions\n description: Specifies the instance templates used by this managed instance\n group to create instances. Each version is defined by an `instanceTemplate`\n and a `name`. Every version can appear at most once per instance group.\n This field overrides the top-level `instanceTemplate` field. Read more\n about the [relationships between these fields](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#relationship_between_versions_and_instancetemplate_properties_for_a_managed_instance_group).\n Exactly one `version` must leave the `targetSize` field unset. That version\n will be applied to all remaining instances. For more information, read\n about [canary updates](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update).\n x-dcl-conflicts:\n - instanceTemplate\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerVersions\n properties:\n instanceTemplate:\n type: string\n x-dcl-go-name: InstanceTemplate\n description: The URL of the instance template that is specified for\n this managed instance group. The group uses this template to create\n new instances in the managed instance group until the `targetSize`\n for this version is reached. The templates for existing instances\n in the group do not change unless you run `recreateInstances`, run\n `applyUpdatesToInstances`, or set the group's `updatePolicy.type`\n to `PROACTIVE`; in those cases, existing instances are updated until\n the `targetSize` for this version is reached.\n x-dcl-references:\n - resource: Compute/InstanceTemplate\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the version. Unique among all versions in the\n scope of this managed instance group.\n targetSize:\n type: object\n x-dcl-go-name: TargetSize\n x-dcl-go-type: InstanceGroupManagerVersionsTargetSize\n description: 'Specifies the intended number of instances to be created\n from the `instanceTemplate`. The final number of instances created\n from the template will be equal to: - If expressed as a fixed number,\n the minimum of either `targetSize.fixed` or `instanceGroupManager.targetSize`\n is used. - if expressed as a `percent`, the `targetSize` would be\n `(targetSize.percent/100 * InstanceGroupManager.targetSize)` If\n there is a remainder, the number is rounded. If unset, this version\n will update any remaining instances not updated by another `version`.\n Read [Starting a canary update](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update)\n for more information.'\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then\n the `calculated` value is equal to the `fixed` value. - If the\n value is a `percent`, then the `calculated` value is `percent`/100\n * `targetSize`. For example, the `calculated` value of a 80%\n of a managed instance group with 150 instances would be (80/100\n * 150) = 120 VM instances. If there is a remainder, the number\n is rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to\n 100%, inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n zone:\n type: string\n x-dcl-go-name: Zone\n readOnly: true\n description: '[Output Only] The URL of a [zone](/compute/docs/regions-zones/#available)\n where the managed instance group is located (for zonal resources).'\n x-kubernetes-immutable: true\n") +var YAML_instance_group_manager = []byte("info:\n title: Compute/InstanceGroupManager\n description: The Compute InstanceGroupManager resource\n x-dcl-struct-name: InstanceGroupManager\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n apply:\n description: The function used to apply information about a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n delete:\n description: The function used to delete a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n deleteAll:\n description: The function used to delete all InstanceGroupManager\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InstanceGroupManager\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InstanceGroupManager:\n title: InstanceGroupManager\n x-dcl-locations:\n - zone\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - targetSize\n - project\n properties:\n autoHealingPolicies:\n type: array\n x-dcl-go-name: AutoHealingPolicies\n description: The autohealing policy for this managed instance group. You\n can specify only one value.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerAutoHealingPolicies\n properties:\n healthCheck:\n type: string\n x-dcl-go-name: HealthCheck\n description: The URL for the health check that signals autohealing.\n x-dcl-references:\n - resource: Compute/HealthCheck\n field: selfLink\n initialDelaySec:\n type: integer\n format: int64\n x-dcl-go-name: InitialDelaySec\n description: The number of seconds that the managed instance group\n waits before it applies autohealing policies to new instances or\n recently recreated instances. This initial delay allows instances\n to initialize and run their startup scripts before the instance\n group determines that they are UNHEALTHY. This prevents the managed\n instance group from recreating its instances prematurely. This value\n must be from range [0, 3600].\n baseInstanceName:\n type: string\n x-dcl-go-name: BaseInstanceName\n description: The base instance name to use for instances in this group.\n The value must be 1-58 characters long. Instances are named by appending\n a hyphen and a random four-character string to the base instance name.\n The base instance name must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: The creation timestamp for this managed instance group in \\[RFC3339\\](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n currentActions:\n type: object\n x-dcl-go-name: CurrentActions\n x-dcl-go-type: InstanceGroupManagerCurrentActions\n readOnly: true\n description: '[Output Only] The list of instance actions and the number\n of instances in this managed instance group that are scheduled for each\n of those actions.'\n x-kubernetes-immutable: true\n properties:\n abandoning:\n type: integer\n format: int64\n x-dcl-go-name: Abandoning\n readOnly: true\n description: '[Output Only] The total number of instances in the managed\n instance group that are scheduled to be abandoned. Abandoning an instance\n removes it from the managed instance group without deleting it.'\n x-kubernetes-immutable: true\n creating:\n type: integer\n format: int64\n x-dcl-go-name: Creating\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be created or are currently being created.\n If the group fails to create any of these instances, it tries again\n until it creates the instance successfully. If you have disabled creation\n retries, this field will not be populated; instead, the `creatingWithoutRetries`\n field will be populated.'\n x-kubernetes-immutable: true\n creatingWithoutRetries:\n type: integer\n format: int64\n x-dcl-go-name: CreatingWithoutRetries\n readOnly: true\n description: '[Output Only] The number of instances that the managed\n instance group will attempt to create. The group attempts to create\n each instance only once. If the group fails to create any of these\n instances, it decreases the group''s `targetSize` value accordingly.'\n x-kubernetes-immutable: true\n deleting:\n type: integer\n format: int64\n x-dcl-go-name: Deleting\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be deleted or are currently being deleted.'\n x-kubernetes-immutable: true\n none:\n type: integer\n format: int64\n x-dcl-go-name: None\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are running and have no scheduled actions.'\n x-kubernetes-immutable: true\n recreating:\n type: integer\n format: int64\n x-dcl-go-name: Recreating\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be recreated or are currently being being\n recreated. Recreating an instance deletes the existing root persistent\n disk and creates a new disk from the image that is defined in the\n instance template.'\n x-kubernetes-immutable: true\n refreshing:\n type: integer\n format: int64\n x-dcl-go-name: Refreshing\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are being reconfigured with properties that do not require\n a restart or a recreate action. For example, setting or removing target\n pools for the instance.'\n x-kubernetes-immutable: true\n restarting:\n type: integer\n format: int64\n x-dcl-go-name: Restarting\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be restarted or are currently being restarted.'\n x-kubernetes-immutable: true\n verifying:\n type: integer\n format: int64\n x-dcl-go-name: Verifying\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are being verified. See the `managedInstances[].currentAction`\n property in the `listManagedInstances` method documentation.'\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n x-kubernetes-immutable: true\n distributionPolicy:\n type: object\n x-dcl-go-name: DistributionPolicy\n x-dcl-go-type: InstanceGroupManagerDistributionPolicy\n description: Policy specifying the intended distribution of managed instances\n across zones in a regional managed instance group.\n properties:\n targetShape:\n type: string\n x-dcl-go-name: TargetShape\n x-dcl-go-type: InstanceGroupManagerDistributionPolicyTargetShapeEnum\n description: 'The distribution shape to which the group converges either\n proactively or on resize events (depending on the value set in `updatePolicy.instanceRedistributionType`).\n Possible values: TARGET_SHAPE_UNSPECIFIED, ANY, BALANCED, ANY_SINGLE_ZONE'\n enum:\n - TARGET_SHAPE_UNSPECIFIED\n - ANY\n - BALANCED\n - ANY_SINGLE_ZONE\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Zones where the regional managed instance group will create\n and manage its instances.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerDistributionPolicyZones\n properties:\n zone:\n type: string\n x-dcl-go-name: Zone\n description: The URL of the [zone](/compute/docs/regions-zones/#available).\n The zone must exist in the region where the managed instance\n group is located.\n x-kubernetes-immutable: true\n failoverAction:\n type: string\n x-dcl-go-name: FailoverAction\n x-dcl-go-type: InstanceGroupManagerFailoverActionEnum\n description: 'The action to perform in case of zone failure. Only one value\n is supported, `NO_FAILOVER`. The default is `NO_FAILOVER`. Possible values:\n UNKNOWN, NO_FAILOVER'\n enum:\n - UNKNOWN\n - NO_FAILOVER\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of this resource. This field may be used in optimistic\n locking. It will be ignored when inserting an InstanceGroupManager. An\n up-to-date fingerprint must be provided in order to update the InstanceGroupManager,\n otherwise the request will fail with error `412 conditionNotMet`. To see\n the latest fingerprint, make a `get()` request to retrieve an InstanceGroupManager.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: '[Output Only] A unique identifier for this resource type.\n The server generates this identifier.'\n x-kubernetes-immutable: true\n instanceGroup:\n type: string\n x-dcl-go-name: InstanceGroup\n readOnly: true\n description: '[Output Only] The URL of the Instance Group resource.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/InstanceGroup\n field: selfLink\n instanceTemplate:\n type: string\n x-dcl-go-name: InstanceTemplate\n description: The URL of the instance template that is specified for this\n managed instance group. The group uses this template to create all new\n instances in the managed instance group. The templates for existing instances\n in the group do not change unless you run `recreateInstances`, run `applyUpdatesToInstances`,\n or set the group's `updatePolicy.type` to `PROACTIVE`.\n x-dcl-conflicts:\n - versions\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Compute/InstanceTemplate\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of this resource.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the managed instance group. The name must be 1-63\n characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n x-kubernetes-immutable: true\n namedPorts:\n type: array\n x-dcl-go-name: NamedPorts\n description: Named ports configured for the Instance Groups complementary\n to this Instance Group Manager.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerNamedPorts\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name for this named port. The name must be 1-63 characters\n long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n x-kubernetes-immutable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: The port number, which can be a value between 1 and 65535.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: '[Output Only] The URL of the [region](/compute/docs/regions-zones/#available)\n where the managed instance group resides (for regional resources).'\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] The URL for this managed instance group. The\n server defines this URL.'\n x-kubernetes-immutable: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: 'The service account to be used as credentials for all operations\n performed by the managed instance group on instances. The service accounts\n needs all permissions required to create and delete instances. By default,\n the service account: {projectNumber}@cloudservices.gserviceaccount.com\n is used.'\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n statefulPolicy:\n type: object\n x-dcl-go-name: StatefulPolicy\n x-dcl-go-type: InstanceGroupManagerStatefulPolicy\n description: Stateful configuration for this Instanced Group Manager\n properties:\n preservedState:\n type: object\n x-dcl-go-name: PreservedState\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedState\n properties:\n disks:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisks\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum\n description: 'These stateful disks will never be deleted during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the disk should be deleted\n after it is no longer used by the group, e.g. when the given\n instance or the whole group is deleted. Note: disks attached\n in READ_ONLY mode cannot be auto-deleted. Possible values:\n NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: Disks\n description: Disks created on the instances that will be preserved\n on instance delete, update, etc. This map is keyed with the device\n names of the disks.\n externalIps:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateExternalIps\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateExternalIpsAutoDeleteEnum\n description: 'These stateful IPs will never be released during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the IP reservation should\n be deleted after it is no longer used by the group, e.g.\n when the given instance or the whole group is deleted. Possible\n values: NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: ExternalIps\n description: External network IPs assigned to the instances that\n will be preserved on instance delete, update, etc. This map is\n keyed with the network interface name.\n internalIps:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateInternalIps\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateInternalIpsAutoDeleteEnum\n description: 'These stateful IPs will never be released during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the IP reservation should\n be deleted after it is no longer used by the group, e.g.\n when the given instance or the whole group is deleted. Possible\n values: NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: InternalIps\n description: Internal network IPs assigned to the instances that\n will be preserved on instance delete, update, etc. This map is\n keyed with the network interface name.\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: InstanceGroupManagerStatus\n readOnly: true\n description: '[Output Only] The status of this managed instance group.'\n properties:\n autoscaler:\n type: string\n x-dcl-go-name: Autoscaler\n readOnly: true\n description: '[Output Only] The URL of the [Autoscaler](/compute/docs/autoscaler/)\n that targets this instance group manager.'\n x-kubernetes-immutable: true\n isStable:\n type: boolean\n x-dcl-go-name: IsStable\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed instance\n group is in a stable state. A stable state means that: none of the\n instances in the managed instance group is currently undergoing any\n type of change (for example, creation, restart, or deletion); no future\n changes are scheduled for instances in the managed instance group;\n and the managed instance group itself is not being modified.'\n x-kubernetes-immutable: true\n stateful:\n type: object\n x-dcl-go-name: Stateful\n x-dcl-go-type: InstanceGroupManagerStatusStateful\n readOnly: true\n description: '[Output Only] Stateful status of the given Instance Group\n Manager.'\n properties:\n hasStatefulConfig:\n type: boolean\n x-dcl-go-name: HasStatefulConfig\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed\n instance group has stateful configuration, that is, if you have\n configured any items in a stateful policy or in per-instance configs.\n The group might report that it has no stateful config even when\n there is still some preserved state on a managed instance, for\n example, if you have deleted all PICs but not yet applied those\n deletions.'\n x-kubernetes-immutable: true\n isStateful:\n type: boolean\n x-dcl-go-name: IsStateful\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed\n instance group has stateful configuration, that is, if you have\n configured any items in a stateful policy or in per-instance configs.\n The group might report that it has no stateful config even when\n there is still some preserved state on a managed instance, for\n example, if you have deleted all PICs but not yet applied those\n deletions. This field is deprecated in favor of has_stateful_config.'\n x-kubernetes-immutable: true\n perInstanceConfigs:\n type: object\n x-dcl-go-name: PerInstanceConfigs\n x-dcl-go-type: InstanceGroupManagerStatusStatefulPerInstanceConfigs\n readOnly: true\n description: '[Output Only] Status of per-instance configs on the\n instance.'\n properties:\n allEffective:\n type: boolean\n x-dcl-go-name: AllEffective\n description: A bit indicating if all of the group's per-instance\n configs (listed in the output of a listPerInstanceConfigs\n API call) have status `EFFECTIVE` or there are no per-instance-configs.\n versionTarget:\n type: object\n x-dcl-go-name: VersionTarget\n x-dcl-go-type: InstanceGroupManagerStatusVersionTarget\n readOnly: true\n description: '[Output Only] A status of consistency of Instances'' versions\n with their target version specified by `version` field on Instance\n Group Manager.'\n x-kubernetes-immutable: true\n properties:\n isReached:\n type: boolean\n x-dcl-go-name: IsReached\n readOnly: true\n description: '[Output Only] A bit indicating whether version target\n has been reached in this managed instance group, i.e. all instances\n are in their target version. Instances'' target version are specified\n by `version` field on Instance Group Manager.'\n x-kubernetes-immutable: true\n targetPools:\n type: array\n x-dcl-go-name: TargetPools\n description: The URLs for all TargetPool resources to which instances in\n the `instanceGroup` field are added. The target pools automatically apply\n to all of the instances in the managed instance group.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/TargetPool\n field: selfLink\n targetSize:\n type: integer\n format: int64\n x-dcl-go-name: TargetSize\n description: The target number of running instances for this managed instance\n group. You can reduce this number by using the instanceGroupManager deleteInstances\n or abandonInstances methods. Resizing the group also changes this number.\n updatePolicy:\n type: object\n x-dcl-go-name: UpdatePolicy\n x-dcl-go-type: InstanceGroupManagerUpdatePolicy\n description: The update policy for this managed instance group.\n properties:\n instanceRedistributionType:\n type: string\n x-dcl-go-name: InstanceRedistributionType\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum\n description: 'The [instance redistribution policy](/compute/docs/instance-groups/regional-migs#proactive_instance_redistribution)\n for regional managed instance groups. Valid values are: - `PROACTIVE`\n (default): The group attempts to maintain an even distribution of\n VM instances across zones in the region. - `NONE`: For non-autoscaled\n groups, proactive redistribution is disabled.'\n enum:\n - NONE\n - PROACTIVE\n maxSurge:\n type: object\n x-dcl-go-name: MaxSurge\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxSurge\n description: The maximum number of instances that can be created above\n the specified `targetSize` during the update process. This value can\n be either a fixed number or, if the group has 10 or more instances,\n a percentage. If you set a percentage, the number of instances is\n rounded if necessary. The default value for `maxSurge` is a fixed\n value equal to the number of zones in which the managed instance group\n operates. At least one of either `maxSurge` or `maxUnavailable` must\n be greater than 0. Learn more about [`maxSurge`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_surge).\n x-dcl-send-empty: true\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then the\n `calculated` value is equal to the `fixed` value. - If the value\n is a `percent`, then the `calculated` value is `percent`/100 *\n `targetSize`. For example, the `calculated` value of a 80% of\n a managed instance group with 150 instances would be (80/100 *\n 150) = 120 VM instances. If there is a remainder, the number is\n rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to 100%,\n inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n maxUnavailable:\n type: object\n x-dcl-go-name: MaxUnavailable\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxUnavailable\n description: 'The maximum number of instances that can be unavailable\n during the update process. An instance is considered available if\n all of the following conditions are satisfied: - The instance''s [status](/compute/docs/instances/checking-instance-status)\n is `RUNNING`. - If there is a [health check](/compute/docs/instance-groups/autohealing-instances-in-migs)\n on the instance group, the instance''s health check status must be\n `HEALTHY` at least once. If there is no health check on the group,\n then the instance only needs to have a status of `RUNNING` to be considered\n available. This value can be either a fixed number or, if the group\n has 10 or more instances, a percentage. If you set a percentage, the\n number of instances is rounded if necessary. The default value for\n `maxUnavailable` is a fixed value equal to the number of zones in\n which the managed instance group operates. At least one of either\n `maxSurge` or `maxUnavailable` must be greater than 0. Learn more\n about [`maxUnavailable`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_unavailable).'\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then the\n `calculated` value is equal to the `fixed` value. - If the value\n is a `percent`, then the `calculated` value is `percent`/100 *\n `targetSize`. For example, the `calculated` value of a 80% of\n a managed instance group with 150 instances would be (80/100 *\n 150) = 120 VM instances. If there is a remainder, the number is\n rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to 100%,\n inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n minReadySec:\n type: integer\n format: int64\n x-dcl-go-name: MinReadySec\n description: Minimum number of seconds to wait for after a newly created\n instance becomes available. This value must be from range [0, 3600].\n minimalAction:\n type: string\n x-dcl-go-name: MinimalAction\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMinimalActionEnum\n description: Minimal action to be taken on an instance. You can specify\n either `RESTART` to restart existing instances or `REPLACE` to delete\n and create new instances from the target template. If you specify\n a `RESTART`, the Updater will attempt to perform that action only.\n However, if the Updater determines that the minimal action you specify\n is not enough to perform the update, it might perform a more disruptive\n action.\n enum:\n - REPLACE\n - RESTART\n - REFRESH\n - NONE\n mostDisruptiveAllowedAction:\n type: string\n x-dcl-go-name: MostDisruptiveAllowedAction\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnum\n description: Most disruptive action that is allowed to be taken on an\n instance. You can specify either `NONE` to forbid any actions, `REFRESH`\n to allow actions that do not need instance restart, `RESTART` to allow\n actions that can be applied without instance replacing or `REPLACE`\n to allow all possible actions. If the Updater determines that the\n minimal update action needed is more disruptive than most disruptive\n allowed action you specify it will not perform the update at all.\n enum:\n - REPLACE\n - RESTART\n - REFRESH\n - NONE\n replacementMethod:\n type: string\n x-dcl-go-name: ReplacementMethod\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyReplacementMethodEnum\n description: 'What action should be used to replace instances. See minimal_action.REPLACE\n Possible values: SUBSTITUTE, RECREATE'\n enum:\n - SUBSTITUTE\n - RECREATE\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyTypeEnum\n description: The type of update process. You can specify either `PROACTIVE`\n so that the instance group manager proactively executes actions in\n order to bring instances to their target versions or `OPPORTUNISTIC`\n so that no action is proactively executed but the update will be performed\n as part of other actions (for example, resizes or `recreateInstances`\n calls).\n enum:\n - OPPORTUNISTIC\n - PROACTIVE\n versions:\n type: array\n x-dcl-go-name: Versions\n description: Specifies the instance templates used by this managed instance\n group to create instances. Each version is defined by an `instanceTemplate`\n and a `name`. Every version can appear at most once per instance group.\n This field overrides the top-level `instanceTemplate` field. Read more\n about the [relationships between these fields](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#relationship_between_versions_and_instancetemplate_properties_for_a_managed_instance_group).\n Exactly one `version` must leave the `targetSize` field unset. That version\n will be applied to all remaining instances. For more information, read\n about [canary updates](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update).\n x-dcl-conflicts:\n - instanceTemplate\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerVersions\n properties:\n instanceTemplate:\n type: string\n x-dcl-go-name: InstanceTemplate\n description: The URL of the instance template that is specified for\n this managed instance group. The group uses this template to create\n new instances in the managed instance group until the `targetSize`\n for this version is reached. The templates for existing instances\n in the group do not change unless you run `recreateInstances`, run\n `applyUpdatesToInstances`, or set the group's `updatePolicy.type`\n to `PROACTIVE`; in those cases, existing instances are updated until\n the `targetSize` for this version is reached.\n x-dcl-references:\n - resource: Compute/InstanceTemplate\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the version. Unique among all versions in the\n scope of this managed instance group.\n targetSize:\n type: object\n x-dcl-go-name: TargetSize\n x-dcl-go-type: InstanceGroupManagerVersionsTargetSize\n description: 'Specifies the intended number of instances to be created\n from the `instanceTemplate`. The final number of instances created\n from the template will be equal to: - If expressed as a fixed number,\n the minimum of either `targetSize.fixed` or `instanceGroupManager.targetSize`\n is used. - if expressed as a `percent`, the `targetSize` would be\n `(targetSize.percent/100 * InstanceGroupManager.targetSize)` If\n there is a remainder, the number is rounded. If unset, this version\n will update any remaining instances not updated by another `version`.\n Read [Starting a canary update](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update)\n for more information.'\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then\n the `calculated` value is equal to the `fixed` value. - If the\n value is a `percent`, then the `calculated` value is `percent`/100\n * `targetSize`. For example, the `calculated` value of a 80%\n of a managed instance group with 150 instances would be (80/100\n * 150) = 120 VM instances. If there is a remainder, the number\n is rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to\n 100%, inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n zone:\n type: string\n x-dcl-go-name: Zone\n readOnly: true\n description: '[Output Only] The URL of a [zone](/compute/docs/regions-zones/#available)\n where the managed instance group is located (for zonal resources).'\n x-kubernetes-immutable: true\n") -// 40688 bytes -// MD5: 3447cfdf6f1028f66afa75a345792798 +// 40713 bytes +// MD5: dfbf11436c52e1fcb7c3f31e87af988f diff --git a/services/google/compute/beta/instance_group_manager_schema.go b/services/google/compute/beta/instance_group_manager_schema.go index 4e71918eac..3069899824 100755 --- a/services/google/compute/beta/instance_group_manager_schema.go +++ b/services/google/compute/beta/instance_group_manager_schema.go @@ -23,6 +23,7 @@ func DCLInstanceGroupManagerSchema() *dcl.Schema { Title: "Compute/InstanceGroupManager", Description: "The Compute InstanceGroupManager resource", StructName: "InstanceGroupManager", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/beta/instance_schema.go b/services/google/compute/beta/instance_schema.go index 5e77f7f306..6d712026ee 100755 --- a/services/google/compute/beta/instance_schema.go +++ b/services/google/compute/beta/instance_schema.go @@ -23,6 +23,7 @@ func DCLInstanceSchema() *dcl.Schema { Title: "Compute/Instance", Description: "The Compute Instance resource", StructName: "Instance", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/compute/beta/instance_template.yaml b/services/google/compute/beta/instance_template.yaml index 252c981095..e491dfb8ee 100755 --- a/services/google/compute/beta/instance_template.yaml +++ b/services/google/compute/beta/instance_template.yaml @@ -15,6 +15,7 @@ info: title: Compute/InstanceTemplate description: The Compute InstanceTemplate resource x-dcl-struct-name: InstanceTemplate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/interconnect.yaml b/services/google/compute/beta/interconnect.yaml index f9806950d1..1965ce9f84 100755 --- a/services/google/compute/beta/interconnect.yaml +++ b/services/google/compute/beta/interconnect.yaml @@ -15,6 +15,7 @@ info: title: Compute/Interconnect description: The Compute Interconnect resource x-dcl-struct-name: Interconnect + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/interconnect_attachment.yaml b/services/google/compute/beta/interconnect_attachment.yaml index 388d80c536..bd628d2384 100755 --- a/services/google/compute/beta/interconnect_attachment.yaml +++ b/services/google/compute/beta/interconnect_attachment.yaml @@ -15,6 +15,7 @@ info: title: Compute/InterconnectAttachment description: The Compute InterconnectAttachment resource x-dcl-struct-name: InterconnectAttachment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/interconnect_attachment_beta_yaml_embed.go b/services/google/compute/beta/interconnect_attachment_beta_yaml_embed.go index 171a94d836..b57bd06123 100755 --- a/services/google/compute/beta/interconnect_attachment_beta_yaml_embed.go +++ b/services/google/compute/beta/interconnect_attachment_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/interconnect_attachment.yaml -var YAML_interconnect_attachment = []byte("info:\n title: Compute/InterconnectAttachment\n description: The Compute InterconnectAttachment resource\n x-dcl-struct-name: InterconnectAttachment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n apply:\n description: The function used to apply information about a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n delete:\n description: The function used to delete a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n deleteAll:\n description: The function used to delete all InterconnectAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InterconnectAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InterconnectAttachment:\n title: InterconnectAttachment\n x-dcl-id: projects/{{project}}/regions/{{region}}/interconnectAttachments/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - region\n - project\n properties:\n adminEnabled:\n type: boolean\n x-dcl-go-name: AdminEnabled\n description: Determines whether this Attachment will carry packets. Not\n present for PARTNER_PROVIDER.\n bandwidth:\n type: string\n x-dcl-go-name: Bandwidth\n x-dcl-go-type: InterconnectAttachmentBandwidthEnum\n description: 'Provisioned bandwidth capacity for the interconnect attachment.\n For attachments of type DEDICATED, the user can set the bandwidth. For\n attachments of type PARTNER, the Google Partner that is operating the\n interconnect must set the bandwidth. Output only for PARTNER type, mutable\n for PARTNER_PROVIDER and DEDICATED, and can take one of the following\n values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s\n - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s -\n BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s\n - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s'\n enum:\n - BPS_50M\n - BPS_100M\n - BPS_200M\n - BPS_300M\n - BPS_400M\n - BPS_500M\n - BPS_1G\n - BPS_2G\n - BPS_5G\n - BPS_10G\n - BPS_20G\n - BPS_50G\n candidateSubnets:\n type: array\n x-dcl-go-name: CandidateSubnets\n description: Up to 16 candidate prefixes that can be used to restrict the\n allocation of cloudRouterIpAddress and customerRouterIpAddress for this\n attachment. All prefixes must be within link-local address space (169.254.0.0/16)\n and must be /29 or shorter (/28, /27, etc). Google will attempt to select\n an unused /29 from the supplied candidate prefix(es). The request will\n fail if all possible /29s are in use on Google's edge. If not supplied,\n Google will randomly select an unused /29 from all of link-local space.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n cloudRouterIPAddress:\n type: string\n x-dcl-go-name: CloudRouterIPAddress\n readOnly: true\n description: IPv4 address + prefix length to be configured on Cloud Router\n Interface for this interconnect attachment.\n x-kubernetes-immutable: true\n customerRouterIPAddress:\n type: string\n x-dcl-go-name: CustomerRouterIPAddress\n readOnly: true\n description: IPv4 address + prefix length to be configured on the customer\n router subinterface for this interconnect attachment.\n x-kubernetes-immutable: true\n dataplaneVersion:\n type: integer\n format: int64\n x-dcl-go-name: DataplaneVersion\n description: Dataplane version for this InterconnectAttachment. This field\n is only present for Dataplane version 2 and higher. Absence of this field\n in the API output indicates that the Dataplane is version 1.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n edgeAvailabilityDomain:\n type: string\n x-dcl-go-name: EdgeAvailabilityDomain\n x-dcl-go-type: InterconnectAttachmentEdgeAvailabilityDomainEnum\n description: 'Desired availability domain for the attachment. Only available\n for type PARTNER, at creation time, and can take one of the following\n values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2\n For improved reliability, customers should configure a pair of attachments,\n one per availability domain. The selected availability domain will be\n provided to the Partner via the pairing key, so that the provisioned circuit\n will lie in the specified domain. If not specified, the value will default\n to AVAILABILITY_DOMAIN_ANY.'\n enum:\n - AVAILABILITY_DOMAIN_ANY\n - AVAILABILITY_DOMAIN_1\n - AVAILABILITY_DOMAIN_2\n encryption:\n type: string\n x-dcl-go-name: Encryption\n x-dcl-go-type: InterconnectAttachmentEncryptionEnum\n description: 'Indicates the user-supplied encryption option of this VLAN\n attachment (interconnectAttachment). Can only be specified at attachment\n creation for PARTNER or DEDICATED attachments. Possible values are: -\n `NONE` - This is the default value, which means that the VLAN attachment\n carries unencrypted traffic. VMs are able to send traffic to, or receive\n traffic from, such a VLAN attachment. - `IPSEC` - The VLAN attachment\n carries only encrypted traffic that is encrypted by an IPsec device, such\n as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send\n traffic to, or receive traffic from, such a VLAN attachment. To use _IPsec-encrypted\n Cloud Interconnect_, the VLAN attachment must be created with this option.\n Not currently available publicly.'\n enum:\n - NONE\n - IPSEC\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n interconnect:\n type: string\n x-dcl-go-name: Interconnect\n description: URL of the underlying Interconnect object that this attachment's\n traffic will traverse through.\n ipsecInternalAddresses:\n type: array\n x-dcl-go-name: IpsecInternalAddresses\n description: A list of URLs of addresses that have been reserved for the\n VLAN attachment. Used only for the VLAN attachment that has the encryption\n option as IPSEC. The addresses must be regional internal IP address ranges.\n When creating an HA VPN gateway over the VLAN attachment, if the attachment\n is configured to use a regional internal IP address, then the VPN gateway's\n IP address is allocated from the IP address range specified here. For\n example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment,\n then a regional internal IP address for the VPN gateway interface 0 will\n be allocated from the IP address specified for this VLAN attachment. If\n this field is not specified when creating the VLAN attachment, then later\n on when creating an HA VPN gateway on this VLAN attachment, the HA VPN\n gateway's IP address is allocated from the regional external IP address\n pool. Not currently available publicly.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labelFingerprint:\n type: string\n x-dcl-go-name: LabelFingerprint\n description: A fingerprint for the labels being applied to this InterconnectAttachment,\n which is essentially a hash of the labels set used for optimistic locking.\n The fingerprint is initially generated by Compute Engine and changes after\n every request to modify or update labels. You must always provide an up-to-date\n fingerprint hash in order to update or change labels, otherwise the request\n will fail with error `412 conditionNotMet`. To see the latest fingerprint,\n make a `get()` request to retrieve an InterconnectAttachment.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels for this resource. These can only be added or modified\n by the `setLabels` method. Each label key/value pair must comply with\n [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty.\n mtu:\n type: integer\n format: int64\n x-dcl-go-name: Mtu\n description: Maximum Transmission Unit (MTU), in bytes, of packets passing\n through this interconnect attachment. Only 1440 and 1500 are allowed.\n If not specified, the value will default to 1440.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n operationalStatus:\n type: string\n x-dcl-go-name: OperationalStatus\n x-dcl-go-type: InterconnectAttachmentOperationalStatusEnum\n readOnly: true\n description: 'The current status of whether or not this interconnect attachment\n is functional, which can take one of the following values: - OS_ACTIVE:\n The attachment has been turned up and is ready to use. - OS_UNPROVISIONED:\n The attachment is not ready to use yet, because turnup is not complete.'\n x-kubernetes-immutable: true\n enum:\n - OS_ACTIVE\n - OS_UNPROVISIONED\n pairingKey:\n type: string\n x-dcl-go-name: PairingKey\n description: The opaque identifier of an PARTNER attachment used to initiate\n provisioning with a selected partner. Of the form \"XXXXX/region/domain\"\n partnerAsn:\n type: integer\n format: int64\n x-dcl-go-name: PartnerAsn\n description: Optional BGP ASN for the router supplied by a Layer 3 Partner\n if they configured BGP on behalf of the customer. Output only for PARTNER\n type, input only for PARTNER_PROVIDER, not available for DEDICATED.\n partnerMetadata:\n type: object\n x-dcl-go-name: PartnerMetadata\n x-dcl-go-type: InterconnectAttachmentPartnerMetadata\n description: Informational metadata about Partner attachments from Partners\n to display to customers. Output only for for PARTNER type, mutable for\n PARTNER_PROVIDER, not available for DEDICATED.\n properties:\n interconnectName:\n type: string\n x-dcl-go-name: InterconnectName\n description: Plain text name of the Interconnect this attachment is\n connected to, as displayed in the Partner's portal. For instance \"Chicago\n 1\". This value may be validated to match approved Partner values.\n partnerName:\n type: string\n x-dcl-go-name: PartnerName\n description: Plain text name of the Partner providing this attachment.\n This value may be validated to match approved Partner values.\n portalUrl:\n type: string\n x-dcl-go-name: PortalUrl\n description: URL of the Partner's portal for this Attachment. Partners\n may customise this to be a deep link to the specific resource on the\n Partner portal. This value may be validated to match approved Partner\n values.\n privateInterconnectInfo:\n type: object\n x-dcl-go-name: PrivateInterconnectInfo\n x-dcl-go-type: InterconnectAttachmentPrivateInterconnectInfo\n readOnly: true\n description: Information specific to an InterconnectAttachment. This property\n is populated if the interconnect that this is attached to is of type DEDICATED.\n x-kubernetes-immutable: true\n properties:\n tag8021q:\n type: integer\n format: int64\n x-dcl-go-name: Tag8021q\n readOnly: true\n description: 802.1q encapsulation tag to be used for traffic between\n Google and the customer, going to and from this network and region.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: URL of the region where the regional interconnect attachment\n resides. You must specify this field as part of the HTTP request URL.\n It is not settable as a field in the request body.\n x-kubernetes-immutable: true\n router:\n type: string\n x-dcl-go-name: Router\n description: URL of the Cloud Router to be used for dynamic routing. This\n router must be in the same region as this InterconnectAttachment. The\n InterconnectAttachment will automatically connect the Interconnect to\n the network & region within which the Cloud Router is configured.\n satisfiesPzs:\n type: boolean\n x-dcl-go-name: SatisfiesPzs\n readOnly: true\n description: Set to true if the resource satisfies the zone separation organization\n policy constraints and false otherwise. Defaults to false if the field\n is not present.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InterconnectAttachmentStateEnum\n readOnly: true\n description: 'The current state of this attachment''s functionality. Enum\n values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER,\n and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER,\n PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER\n and PARTNER_PROVIDER interconnect attachments. This state can take one\n of the following values: - ACTIVE: The attachment has been turned up and\n is ready to use. - UNPROVISIONED: The attachment is not ready to use yet,\n because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER\n attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED:\n A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER\n attachment was created that references it. - PENDING_CUSTOMER: A PARTNER\n or PARTNER_PROVIDER attachment that is waiting for a customer to activate\n it. - DEFUNCT: The attachment was deleted externally and is no longer\n functional. This could be because the associated Interconnect was removed,\n or because the other side of a Partner attachment was deleted. Possible\n values: DEPRECATED, OBSOLETE, DELETED, ACTIVE'\n x-kubernetes-immutable: true\n enum:\n - DEPRECATED\n - OBSOLETE\n - DELETED\n - ACTIVE\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InterconnectAttachmentTypeEnum\n description: 'The type of interconnect attachment this is, which can take\n one of the following values: - DEDICATED: an attachment to a Dedicated\n Interconnect. - PARTNER: an attachment to a Partner Interconnect, created\n by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect,\n created by the partner. Possible values: PATH, OTHER, PARAMETER'\n enum:\n - PATH\n - OTHER\n - PARAMETER\n vlanTag8021q:\n type: integer\n format: int64\n x-dcl-go-name: VlanTag8021q\n description: The IEEE 802.1Q VLAN tag for this attachment, in the range\n 2-4094. Only specified at creation time.\n") +var YAML_interconnect_attachment = []byte("info:\n title: Compute/InterconnectAttachment\n description: The Compute InterconnectAttachment resource\n x-dcl-struct-name: InterconnectAttachment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n apply:\n description: The function used to apply information about a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n delete:\n description: The function used to delete a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n deleteAll:\n description: The function used to delete all InterconnectAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InterconnectAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InterconnectAttachment:\n title: InterconnectAttachment\n x-dcl-id: projects/{{project}}/regions/{{region}}/interconnectAttachments/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - region\n - project\n properties:\n adminEnabled:\n type: boolean\n x-dcl-go-name: AdminEnabled\n description: Determines whether this Attachment will carry packets. Not\n present for PARTNER_PROVIDER.\n bandwidth:\n type: string\n x-dcl-go-name: Bandwidth\n x-dcl-go-type: InterconnectAttachmentBandwidthEnum\n description: 'Provisioned bandwidth capacity for the interconnect attachment.\n For attachments of type DEDICATED, the user can set the bandwidth. For\n attachments of type PARTNER, the Google Partner that is operating the\n interconnect must set the bandwidth. Output only for PARTNER type, mutable\n for PARTNER_PROVIDER and DEDICATED, and can take one of the following\n values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s\n - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s -\n BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s\n - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s'\n enum:\n - BPS_50M\n - BPS_100M\n - BPS_200M\n - BPS_300M\n - BPS_400M\n - BPS_500M\n - BPS_1G\n - BPS_2G\n - BPS_5G\n - BPS_10G\n - BPS_20G\n - BPS_50G\n candidateSubnets:\n type: array\n x-dcl-go-name: CandidateSubnets\n description: Up to 16 candidate prefixes that can be used to restrict the\n allocation of cloudRouterIpAddress and customerRouterIpAddress for this\n attachment. All prefixes must be within link-local address space (169.254.0.0/16)\n and must be /29 or shorter (/28, /27, etc). Google will attempt to select\n an unused /29 from the supplied candidate prefix(es). The request will\n fail if all possible /29s are in use on Google's edge. If not supplied,\n Google will randomly select an unused /29 from all of link-local space.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n cloudRouterIPAddress:\n type: string\n x-dcl-go-name: CloudRouterIPAddress\n readOnly: true\n description: IPv4 address + prefix length to be configured on Cloud Router\n Interface for this interconnect attachment.\n x-kubernetes-immutable: true\n customerRouterIPAddress:\n type: string\n x-dcl-go-name: CustomerRouterIPAddress\n readOnly: true\n description: IPv4 address + prefix length to be configured on the customer\n router subinterface for this interconnect attachment.\n x-kubernetes-immutable: true\n dataplaneVersion:\n type: integer\n format: int64\n x-dcl-go-name: DataplaneVersion\n description: Dataplane version for this InterconnectAttachment. This field\n is only present for Dataplane version 2 and higher. Absence of this field\n in the API output indicates that the Dataplane is version 1.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n edgeAvailabilityDomain:\n type: string\n x-dcl-go-name: EdgeAvailabilityDomain\n x-dcl-go-type: InterconnectAttachmentEdgeAvailabilityDomainEnum\n description: 'Desired availability domain for the attachment. Only available\n for type PARTNER, at creation time, and can take one of the following\n values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2\n For improved reliability, customers should configure a pair of attachments,\n one per availability domain. The selected availability domain will be\n provided to the Partner via the pairing key, so that the provisioned circuit\n will lie in the specified domain. If not specified, the value will default\n to AVAILABILITY_DOMAIN_ANY.'\n enum:\n - AVAILABILITY_DOMAIN_ANY\n - AVAILABILITY_DOMAIN_1\n - AVAILABILITY_DOMAIN_2\n encryption:\n type: string\n x-dcl-go-name: Encryption\n x-dcl-go-type: InterconnectAttachmentEncryptionEnum\n description: 'Indicates the user-supplied encryption option of this VLAN\n attachment (interconnectAttachment). Can only be specified at attachment\n creation for PARTNER or DEDICATED attachments. Possible values are: -\n `NONE` - This is the default value, which means that the VLAN attachment\n carries unencrypted traffic. VMs are able to send traffic to, or receive\n traffic from, such a VLAN attachment. - `IPSEC` - The VLAN attachment\n carries only encrypted traffic that is encrypted by an IPsec device, such\n as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send\n traffic to, or receive traffic from, such a VLAN attachment. To use _IPsec-encrypted\n Cloud Interconnect_, the VLAN attachment must be created with this option.\n Not currently available publicly.'\n enum:\n - NONE\n - IPSEC\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n interconnect:\n type: string\n x-dcl-go-name: Interconnect\n description: URL of the underlying Interconnect object that this attachment's\n traffic will traverse through.\n ipsecInternalAddresses:\n type: array\n x-dcl-go-name: IpsecInternalAddresses\n description: A list of URLs of addresses that have been reserved for the\n VLAN attachment. Used only for the VLAN attachment that has the encryption\n option as IPSEC. The addresses must be regional internal IP address ranges.\n When creating an HA VPN gateway over the VLAN attachment, if the attachment\n is configured to use a regional internal IP address, then the VPN gateway's\n IP address is allocated from the IP address range specified here. For\n example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment,\n then a regional internal IP address for the VPN gateway interface 0 will\n be allocated from the IP address specified for this VLAN attachment. If\n this field is not specified when creating the VLAN attachment, then later\n on when creating an HA VPN gateway on this VLAN attachment, the HA VPN\n gateway's IP address is allocated from the regional external IP address\n pool. Not currently available publicly.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labelFingerprint:\n type: string\n x-dcl-go-name: LabelFingerprint\n description: A fingerprint for the labels being applied to this InterconnectAttachment,\n which is essentially a hash of the labels set used for optimistic locking.\n The fingerprint is initially generated by Compute Engine and changes after\n every request to modify or update labels. You must always provide an up-to-date\n fingerprint hash in order to update or change labels, otherwise the request\n will fail with error `412 conditionNotMet`. To see the latest fingerprint,\n make a `get()` request to retrieve an InterconnectAttachment.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels for this resource. These can only be added or modified\n by the `setLabels` method. Each label key/value pair must comply with\n [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty.\n mtu:\n type: integer\n format: int64\n x-dcl-go-name: Mtu\n description: Maximum Transmission Unit (MTU), in bytes, of packets passing\n through this interconnect attachment. Only 1440 and 1500 are allowed.\n If not specified, the value will default to 1440.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n operationalStatus:\n type: string\n x-dcl-go-name: OperationalStatus\n x-dcl-go-type: InterconnectAttachmentOperationalStatusEnum\n readOnly: true\n description: 'The current status of whether or not this interconnect attachment\n is functional, which can take one of the following values: - OS_ACTIVE:\n The attachment has been turned up and is ready to use. - OS_UNPROVISIONED:\n The attachment is not ready to use yet, because turnup is not complete.'\n x-kubernetes-immutable: true\n enum:\n - OS_ACTIVE\n - OS_UNPROVISIONED\n pairingKey:\n type: string\n x-dcl-go-name: PairingKey\n description: The opaque identifier of an PARTNER attachment used to initiate\n provisioning with a selected partner. Of the form \"XXXXX/region/domain\"\n partnerAsn:\n type: integer\n format: int64\n x-dcl-go-name: PartnerAsn\n description: Optional BGP ASN for the router supplied by a Layer 3 Partner\n if they configured BGP on behalf of the customer. Output only for PARTNER\n type, input only for PARTNER_PROVIDER, not available for DEDICATED.\n partnerMetadata:\n type: object\n x-dcl-go-name: PartnerMetadata\n x-dcl-go-type: InterconnectAttachmentPartnerMetadata\n description: Informational metadata about Partner attachments from Partners\n to display to customers. Output only for for PARTNER type, mutable for\n PARTNER_PROVIDER, not available for DEDICATED.\n properties:\n interconnectName:\n type: string\n x-dcl-go-name: InterconnectName\n description: Plain text name of the Interconnect this attachment is\n connected to, as displayed in the Partner's portal. For instance \"Chicago\n 1\". This value may be validated to match approved Partner values.\n partnerName:\n type: string\n x-dcl-go-name: PartnerName\n description: Plain text name of the Partner providing this attachment.\n This value may be validated to match approved Partner values.\n portalUrl:\n type: string\n x-dcl-go-name: PortalUrl\n description: URL of the Partner's portal for this Attachment. Partners\n may customise this to be a deep link to the specific resource on the\n Partner portal. This value may be validated to match approved Partner\n values.\n privateInterconnectInfo:\n type: object\n x-dcl-go-name: PrivateInterconnectInfo\n x-dcl-go-type: InterconnectAttachmentPrivateInterconnectInfo\n readOnly: true\n description: Information specific to an InterconnectAttachment. This property\n is populated if the interconnect that this is attached to is of type DEDICATED.\n x-kubernetes-immutable: true\n properties:\n tag8021q:\n type: integer\n format: int64\n x-dcl-go-name: Tag8021q\n readOnly: true\n description: 802.1q encapsulation tag to be used for traffic between\n Google and the customer, going to and from this network and region.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: URL of the region where the regional interconnect attachment\n resides. You must specify this field as part of the HTTP request URL.\n It is not settable as a field in the request body.\n x-kubernetes-immutable: true\n router:\n type: string\n x-dcl-go-name: Router\n description: URL of the Cloud Router to be used for dynamic routing. This\n router must be in the same region as this InterconnectAttachment. The\n InterconnectAttachment will automatically connect the Interconnect to\n the network & region within which the Cloud Router is configured.\n satisfiesPzs:\n type: boolean\n x-dcl-go-name: SatisfiesPzs\n readOnly: true\n description: Set to true if the resource satisfies the zone separation organization\n policy constraints and false otherwise. Defaults to false if the field\n is not present.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InterconnectAttachmentStateEnum\n readOnly: true\n description: 'The current state of this attachment''s functionality. Enum\n values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER,\n and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER,\n PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER\n and PARTNER_PROVIDER interconnect attachments. This state can take one\n of the following values: - ACTIVE: The attachment has been turned up and\n is ready to use. - UNPROVISIONED: The attachment is not ready to use yet,\n because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER\n attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED:\n A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER\n attachment was created that references it. - PENDING_CUSTOMER: A PARTNER\n or PARTNER_PROVIDER attachment that is waiting for a customer to activate\n it. - DEFUNCT: The attachment was deleted externally and is no longer\n functional. This could be because the associated Interconnect was removed,\n or because the other side of a Partner attachment was deleted. Possible\n values: DEPRECATED, OBSOLETE, DELETED, ACTIVE'\n x-kubernetes-immutable: true\n enum:\n - DEPRECATED\n - OBSOLETE\n - DELETED\n - ACTIVE\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InterconnectAttachmentTypeEnum\n description: 'The type of interconnect attachment this is, which can take\n one of the following values: - DEDICATED: an attachment to a Dedicated\n Interconnect. - PARTNER: an attachment to a Partner Interconnect, created\n by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect,\n created by the partner. Possible values: PATH, OTHER, PARAMETER'\n enum:\n - PATH\n - OTHER\n - PARAMETER\n vlanTag8021q:\n type: integer\n format: int64\n x-dcl-go-name: VlanTag8021q\n description: The IEEE 802.1Q VLAN tag for this attachment, in the range\n 2-4094. Only specified at creation time.\n") -// 18461 bytes -// MD5: c2bb8a82007abe1927f0d8e2332a23c2 +// 18486 bytes +// MD5: f3ea8c086dd7a8c10626d94aa9435e43 diff --git a/services/google/compute/beta/interconnect_attachment_schema.go b/services/google/compute/beta/interconnect_attachment_schema.go index 72494ffac6..75de269a36 100755 --- a/services/google/compute/beta/interconnect_attachment_schema.go +++ b/services/google/compute/beta/interconnect_attachment_schema.go @@ -23,6 +23,7 @@ func DCLInterconnectAttachmentSchema() *dcl.Schema { Title: "Compute/InterconnectAttachment", Description: "The Compute InterconnectAttachment resource", StructName: "InterconnectAttachment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/beta/managed_ssl_certificate.yaml b/services/google/compute/beta/managed_ssl_certificate.yaml index 0d5cb25438..caec5527e5 100755 --- a/services/google/compute/beta/managed_ssl_certificate.yaml +++ b/services/google/compute/beta/managed_ssl_certificate.yaml @@ -15,6 +15,7 @@ info: title: Compute/ManagedSslCertificate description: The Compute ManagedSslCertificate resource x-dcl-struct-name: ManagedSslCertificate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/network.yaml b/services/google/compute/beta/network.yaml index d050d771b9..24d700e08a 100755 --- a/services/google/compute/beta/network.yaml +++ b/services/google/compute/beta/network.yaml @@ -15,6 +15,7 @@ info: title: Compute/Network description: The Compute Network resource x-dcl-struct-name: Network + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/network_beta_yaml_embed.go b/services/google/compute/beta/network_beta_yaml_embed.go index 47972f670c..2493bc56be 100755 --- a/services/google/compute/beta/network_beta_yaml_embed.go +++ b/services/google/compute/beta/network_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/network.yaml -var YAML_network = []byte("info:\n title: Compute/Network\n description: The Compute Network resource\n x-dcl-struct-name: Network\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n apply:\n description: The function used to apply information about a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n delete:\n description: The function used to delete a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n deleteAll:\n description: The function used to delete all Network\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Network\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Network:\n title: Network\n x-dcl-id: projects/{{project}}/global/networks/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n autoCreateSubnetworks:\n type: boolean\n x-dcl-go-name: AutoCreateSubnetworks\n description: 'When set to `true`, the network is created in \"auto subnet\n mode\" and it will create a subnet for each region automatically across\n the `10.128.0.0/9` address range. When set to `false`, the network is\n created in \"custom subnet mode\" so the user can explicitly connect subnetwork\n resources. '\n x-kubernetes-immutable: true\n default: true\n x-dcl-send-empty: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'An optional description of this resource. The resource must\n be recreated to modify this field. '\n x-kubernetes-immutable: true\n gatewayIPv4:\n type: string\n x-dcl-go-name: GatewayIPv4\n readOnly: true\n description: 'The gateway address for default routing out of the network.\n This value is selected by GCP. '\n x-kubernetes-immutable: true\n mtu:\n type: integer\n format: int64\n x-dcl-go-name: Mtu\n description: Maximum Transmission Unit in bytes. The minimum value for this\n field is 1460 and the maximum value is 1500 bytes.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash. '\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routingConfig:\n type: object\n x-dcl-go-name: RoutingConfig\n x-dcl-go-type: NetworkRoutingConfig\n description: 'The network-level routing configuration for this network.\n Used by Cloud Router to determine what type of network-wide routing behavior\n to enforce. '\n properties:\n routingMode:\n type: string\n x-dcl-go-name: RoutingMode\n x-dcl-go-type: NetworkRoutingConfigRoutingModeEnum\n description: 'The network-wide routing mode to use. If set to `REGIONAL`,\n this network''s cloud routers will only advertise routes with subnetworks\n of this network in the same region as the router. If set to `GLOBAL`,\n this network''s cloud routers will advertise routes with all subnetworks\n of this network, across regions. '\n x-dcl-server-default: true\n enum:\n - REGIONAL\n - GLOBAL\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n selfLinkWithId:\n type: string\n x-dcl-go-name: SelfLinkWithId\n readOnly: true\n description: Server-defined URL for the resource containing the network\n ID.\n x-kubernetes-immutable: true\n") +var YAML_network = []byte("info:\n title: Compute/Network\n description: The Compute Network resource\n x-dcl-struct-name: Network\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n apply:\n description: The function used to apply information about a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n delete:\n description: The function used to delete a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n deleteAll:\n description: The function used to delete all Network\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Network\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Network:\n title: Network\n x-dcl-id: projects/{{project}}/global/networks/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n autoCreateSubnetworks:\n type: boolean\n x-dcl-go-name: AutoCreateSubnetworks\n description: 'When set to `true`, the network is created in \"auto subnet\n mode\" and it will create a subnet for each region automatically across\n the `10.128.0.0/9` address range. When set to `false`, the network is\n created in \"custom subnet mode\" so the user can explicitly connect subnetwork\n resources. '\n x-kubernetes-immutable: true\n default: true\n x-dcl-send-empty: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'An optional description of this resource. The resource must\n be recreated to modify this field. '\n x-kubernetes-immutable: true\n gatewayIPv4:\n type: string\n x-dcl-go-name: GatewayIPv4\n readOnly: true\n description: 'The gateway address for default routing out of the network.\n This value is selected by GCP. '\n x-kubernetes-immutable: true\n mtu:\n type: integer\n format: int64\n x-dcl-go-name: Mtu\n description: Maximum Transmission Unit in bytes. The minimum value for this\n field is 1460 and the maximum value is 1500 bytes.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash. '\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routingConfig:\n type: object\n x-dcl-go-name: RoutingConfig\n x-dcl-go-type: NetworkRoutingConfig\n description: 'The network-level routing configuration for this network.\n Used by Cloud Router to determine what type of network-wide routing behavior\n to enforce. '\n properties:\n routingMode:\n type: string\n x-dcl-go-name: RoutingMode\n x-dcl-go-type: NetworkRoutingConfigRoutingModeEnum\n description: 'The network-wide routing mode to use. If set to `REGIONAL`,\n this network''s cloud routers will only advertise routes with subnetworks\n of this network in the same region as the router. If set to `GLOBAL`,\n this network''s cloud routers will advertise routes with all subnetworks\n of this network, across regions. '\n x-dcl-server-default: true\n enum:\n - REGIONAL\n - GLOBAL\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n selfLinkWithId:\n type: string\n x-dcl-go-name: SelfLinkWithId\n readOnly: true\n description: Server-defined URL for the resource containing the network\n ID.\n x-kubernetes-immutable: true\n") -// 5045 bytes -// MD5: f52eeb51cd2a9b4f0551ee37e7ac376c +// 5070 bytes +// MD5: 87576b2b07b097f22c4efc4ab958eee4 diff --git a/services/google/compute/beta/network_endpoint.yaml b/services/google/compute/beta/network_endpoint.yaml index 3f138d3a32..f11a8bc6c5 100755 --- a/services/google/compute/beta/network_endpoint.yaml +++ b/services/google/compute/beta/network_endpoint.yaml @@ -15,6 +15,7 @@ info: title: Compute/NetworkEndpoint description: The Compute NetworkEndpoint resource x-dcl-struct-name: NetworkEndpoint + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/network_endpoint_group.yaml b/services/google/compute/beta/network_endpoint_group.yaml index 2f5bec1f3e..b0fd430f50 100755 --- a/services/google/compute/beta/network_endpoint_group.yaml +++ b/services/google/compute/beta/network_endpoint_group.yaml @@ -15,6 +15,7 @@ info: title: Compute/NetworkEndpointGroup description: The Compute NetworkEndpointGroup resource x-dcl-struct-name: NetworkEndpointGroup + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/network_peering.yaml b/services/google/compute/beta/network_peering.yaml index 3f00c45df8..9e34b4d66b 100755 --- a/services/google/compute/beta/network_peering.yaml +++ b/services/google/compute/beta/network_peering.yaml @@ -15,6 +15,7 @@ info: title: Compute/NetworkPeering description: The Compute NetworkPeering resource x-dcl-struct-name: NetworkPeering + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/network_schema.go b/services/google/compute/beta/network_schema.go index cdc0263113..d5b737d80a 100755 --- a/services/google/compute/beta/network_schema.go +++ b/services/google/compute/beta/network_schema.go @@ -23,6 +23,7 @@ func DCLNetworkSchema() *dcl.Schema { Title: "Compute/Network", Description: "The Compute Network resource", StructName: "Network", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/beta/packet_mirroring.yaml b/services/google/compute/beta/packet_mirroring.yaml index d63e46a06a..c67cc5bf34 100755 --- a/services/google/compute/beta/packet_mirroring.yaml +++ b/services/google/compute/beta/packet_mirroring.yaml @@ -17,6 +17,7 @@ info: You can use the collected traffic to help you detect security threats and monitor application performance. x-dcl-struct-name: PacketMirroring + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API documentation diff --git a/services/google/compute/beta/packet_mirroring_beta_yaml_embed.go b/services/google/compute/beta/packet_mirroring_beta_yaml_embed.go index 826069363c..d6b026a486 100755 --- a/services/google/compute/beta/packet_mirroring_beta_yaml_embed.go +++ b/services/google/compute/beta/packet_mirroring_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/packet_mirroring.yaml -var YAML_packet_mirroring = []byte("info:\n title: Compute/PacketMirroring\n description: Packet Mirroring mirrors traffic to and from particular VM instances.\n You can use the collected traffic to help you detect security threats and monitor\n application performance.\n x-dcl-struct-name: PacketMirroring\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/reference/rest/beta/packetMirrorings\n x-dcl-guides:\n - text: Using Packet Mirroring\n url: https://cloud.google.com/vpc/docs/using-packet-mirroring\npaths:\n get:\n description: The function used to get information about a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n apply:\n description: The function used to apply information about a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n delete:\n description: The function used to delete a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n deleteAll:\n description: The function used to delete all PacketMirroring\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PacketMirroring\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PacketMirroring:\n title: PacketMirroring\n x-dcl-id: projects/{{project}}/regions/{{location}}/packetMirrorings/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - network\n - collectorIlb\n - mirroredResources\n - project\n - location\n properties:\n collectorIlb:\n type: object\n x-dcl-go-name: CollectorIlb\n x-dcl-go-type: PacketMirroringCollectorIlb\n description: The Forwarding Rule resource of type `loadBalancingScheme=INTERNAL`\n that will be used as collector for mirrored traffic. The specified forwarding\n rule must have `isMirroringCollector` set to true.\n required:\n - url\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the forwarding rule;\n defined by the server.\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the forwarding rule representing the ILB\n configured as destination of the mirrored traffic.\n x-dcl-references:\n - resource: Compute/ForwardingRule\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n enable:\n type: string\n x-dcl-go-name: Enable\n x-dcl-go-type: PacketMirroringEnableEnum\n description: Indicates whether or not this packet mirroring takes effect.\n If set to FALSE, this packet mirroring policy will not be enforced on\n the network. The default is TRUE.\n x-dcl-server-default: true\n enum:\n - \"TRUE\"\n - \"FALSE\"\n filter:\n type: object\n x-dcl-go-name: Filter\n x-dcl-go-type: PacketMirroringFilter\n description: Filter for mirrored traffic. If unspecified, all traffic is\n mirrored.\n properties:\n cidrRanges:\n type: array\n x-dcl-go-name: CidrRanges\n description: IP CIDR ranges that apply as filter on the source (ingress)\n or destination (egress) IP in the IP header. Only IPv4 is supported.\n If no ranges are specified, all traffic that matches the specified\n IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is\n specified, all traffic is mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: PacketMirroringFilterDirectionEnum\n description: Direction of traffic to mirror, either INGRESS, EGRESS,\n or BOTH. The default is BOTH.\n enum:\n - INGRESS\n - EGRESS\n ipProtocols:\n type: array\n x-dcl-go-name: IPProtocols\n description: Protocols that apply as filter on mirrored traffic. If\n no protocols are specified, all traffic that matches the specified\n CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is\n specified, all traffic is mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: Output only. The unique identifier for the resource. This identifier\n is defined by the server.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n mirroredResources:\n type: object\n x-dcl-go-name: MirroredResources\n x-dcl-go-type: PacketMirroringMirroredResources\n description: PacketMirroring mirroredResourceInfos. MirroredResourceInfo\n specifies a set of mirrored VM instances, subnetworks and/or tags for\n which traffic from/to all VM instances will be mirrored.\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: A set of virtual machine instances that are being mirrored.\n They must live in zones contained in the same region as this packetMirroring.\n Note that this config will apply only to those network interfaces\n of the Instances that belong to the network specified in this packetMirroring.\n You may specify a maximum of 50 Instances.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PacketMirroringMirroredResourcesInstances\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the instance;\n defined by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the virtual machine instance which\n is being mirrored.\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n subnetworks:\n type: array\n x-dcl-go-name: Subnetworks\n description: A set of subnetworks for which traffic from/to all VM instances\n will be mirrored. They must live in the same region as this packetMirroring.\n You may specify a maximum of 5 subnetworks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PacketMirroringMirroredResourcesSubnetworks\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the subnetwork;\n defined by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the subnetwork for which traffic\n from/to all VM instances will be mirrored.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: A set of mirrored tags. Traffic from/to all VM instances\n that have one or more of these tags will be mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource; provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `)?` which means the first character must be a lowercase letter,\n and all following characters must be a dash, lowercase letter, or digit,\n except the last character, which cannot be a dash.\n x-kubernetes-immutable: true\n network:\n type: object\n x-dcl-go-name: Network\n x-dcl-go-type: PacketMirroringNetwork\n description: Specifies the mirrored VPC network. Only packets in this network\n will be mirrored. All mirrored VMs should have a NIC in the given network.\n All mirrored subnetworks should belong to the given network.\n x-kubernetes-immutable: true\n required:\n - url\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the network; defined\n by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: URL of the network resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: The priority of applying this configuration. Priority is used\n to break ties in cases where there is more than one matching rule. In\n the case of two rules that apply for a given Instance, the one with the\n lowest-numbered priority value wins. Default value is 1000. Valid range\n is 0 through 65535.\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: URI of the region where the packetMirroring resides.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n") +var YAML_packet_mirroring = []byte("info:\n title: Compute/PacketMirroring\n description: Packet Mirroring mirrors traffic to and from particular VM instances.\n You can use the collected traffic to help you detect security threats and monitor\n application performance.\n x-dcl-struct-name: PacketMirroring\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/reference/rest/beta/packetMirrorings\n x-dcl-guides:\n - text: Using Packet Mirroring\n url: https://cloud.google.com/vpc/docs/using-packet-mirroring\npaths:\n get:\n description: The function used to get information about a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n apply:\n description: The function used to apply information about a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n delete:\n description: The function used to delete a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n deleteAll:\n description: The function used to delete all PacketMirroring\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PacketMirroring\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PacketMirroring:\n title: PacketMirroring\n x-dcl-id: projects/{{project}}/regions/{{location}}/packetMirrorings/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - network\n - collectorIlb\n - mirroredResources\n - project\n - location\n properties:\n collectorIlb:\n type: object\n x-dcl-go-name: CollectorIlb\n x-dcl-go-type: PacketMirroringCollectorIlb\n description: The Forwarding Rule resource of type `loadBalancingScheme=INTERNAL`\n that will be used as collector for mirrored traffic. The specified forwarding\n rule must have `isMirroringCollector` set to true.\n required:\n - url\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the forwarding rule;\n defined by the server.\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the forwarding rule representing the ILB\n configured as destination of the mirrored traffic.\n x-dcl-references:\n - resource: Compute/ForwardingRule\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n enable:\n type: string\n x-dcl-go-name: Enable\n x-dcl-go-type: PacketMirroringEnableEnum\n description: Indicates whether or not this packet mirroring takes effect.\n If set to FALSE, this packet mirroring policy will not be enforced on\n the network. The default is TRUE.\n x-dcl-server-default: true\n enum:\n - \"TRUE\"\n - \"FALSE\"\n filter:\n type: object\n x-dcl-go-name: Filter\n x-dcl-go-type: PacketMirroringFilter\n description: Filter for mirrored traffic. If unspecified, all traffic is\n mirrored.\n properties:\n cidrRanges:\n type: array\n x-dcl-go-name: CidrRanges\n description: IP CIDR ranges that apply as filter on the source (ingress)\n or destination (egress) IP in the IP header. Only IPv4 is supported.\n If no ranges are specified, all traffic that matches the specified\n IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is\n specified, all traffic is mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: PacketMirroringFilterDirectionEnum\n description: Direction of traffic to mirror, either INGRESS, EGRESS,\n or BOTH. The default is BOTH.\n enum:\n - INGRESS\n - EGRESS\n ipProtocols:\n type: array\n x-dcl-go-name: IPProtocols\n description: Protocols that apply as filter on mirrored traffic. If\n no protocols are specified, all traffic that matches the specified\n CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is\n specified, all traffic is mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: Output only. The unique identifier for the resource. This identifier\n is defined by the server.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n mirroredResources:\n type: object\n x-dcl-go-name: MirroredResources\n x-dcl-go-type: PacketMirroringMirroredResources\n description: PacketMirroring mirroredResourceInfos. MirroredResourceInfo\n specifies a set of mirrored VM instances, subnetworks and/or tags for\n which traffic from/to all VM instances will be mirrored.\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: A set of virtual machine instances that are being mirrored.\n They must live in zones contained in the same region as this packetMirroring.\n Note that this config will apply only to those network interfaces\n of the Instances that belong to the network specified in this packetMirroring.\n You may specify a maximum of 50 Instances.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PacketMirroringMirroredResourcesInstances\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the instance;\n defined by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the virtual machine instance which\n is being mirrored.\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n subnetworks:\n type: array\n x-dcl-go-name: Subnetworks\n description: A set of subnetworks for which traffic from/to all VM instances\n will be mirrored. They must live in the same region as this packetMirroring.\n You may specify a maximum of 5 subnetworks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PacketMirroringMirroredResourcesSubnetworks\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the subnetwork;\n defined by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the subnetwork for which traffic\n from/to all VM instances will be mirrored.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: A set of mirrored tags. Traffic from/to all VM instances\n that have one or more of these tags will be mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource; provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `)?` which means the first character must be a lowercase letter,\n and all following characters must be a dash, lowercase letter, or digit,\n except the last character, which cannot be a dash.\n x-kubernetes-immutable: true\n network:\n type: object\n x-dcl-go-name: Network\n x-dcl-go-type: PacketMirroringNetwork\n description: Specifies the mirrored VPC network. Only packets in this network\n will be mirrored. All mirrored VMs should have a NIC in the given network.\n All mirrored subnetworks should belong to the given network.\n x-kubernetes-immutable: true\n required:\n - url\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the network; defined\n by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: URL of the network resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: The priority of applying this configuration. Priority is used\n to break ties in cases where there is more than one matching rule. In\n the case of two rules that apply for a given Instance, the one with the\n lowest-numbered priority value wins. Default value is 1000. Valid range\n is 0 through 65535.\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: URI of the region where the packetMirroring resides.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n") -// 12404 bytes -// MD5: 8e0c78a220bdf9210aa38af9011f96ea +// 12429 bytes +// MD5: 40583e5d74372435856f51c0334202e7 diff --git a/services/google/compute/beta/packet_mirroring_schema.go b/services/google/compute/beta/packet_mirroring_schema.go index d79e653e4e..ded5272d7c 100755 --- a/services/google/compute/beta/packet_mirroring_schema.go +++ b/services/google/compute/beta/packet_mirroring_schema.go @@ -23,6 +23,7 @@ func DCLPacketMirroringSchema() *dcl.Schema { Title: "Compute/PacketMirroring", Description: "Packet Mirroring mirrors traffic to and from particular VM instances. You can use the collected traffic to help you detect security threats and monitor application performance.", StructName: "PacketMirroring", + HasCreate: true, Reference: &dcl.Link{ Text: "API documentation", URL: "https://cloud.google.com/compute/docs/reference/rest/beta/packetMirrorings", diff --git a/services/google/compute/beta/reservation.yaml b/services/google/compute/beta/reservation.yaml index bc4cd54279..d79bc3f645 100755 --- a/services/google/compute/beta/reservation.yaml +++ b/services/google/compute/beta/reservation.yaml @@ -15,6 +15,7 @@ info: title: Compute/Reservation description: The Compute Reservation resource x-dcl-struct-name: Reservation + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/route.yaml b/services/google/compute/beta/route.yaml index 0f9520ccbc..f579bba2e8 100755 --- a/services/google/compute/beta/route.yaml +++ b/services/google/compute/beta/route.yaml @@ -15,6 +15,7 @@ info: title: Compute/Route description: The Compute Route resource x-dcl-struct-name: Route + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/route_beta_yaml_embed.go b/services/google/compute/beta/route_beta_yaml_embed.go index acefdd2e87..d2b91bc155 100755 --- a/services/google/compute/beta/route_beta_yaml_embed.go +++ b/services/google/compute/beta/route_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/route.yaml -var YAML_route = []byte("info:\n title: Compute/Route\n description: The Compute Route resource\n x-dcl-struct-name: Route\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n apply:\n description: The function used to apply information about a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n delete:\n description: The function used to delete a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n deleteAll:\n description: The function used to delete all Route\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Route\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Route:\n title: Route\n x-dcl-id: projects/{{project}}/global/routes/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - network\n - destRange\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: |-\n An optional description of this resource. Provide this field when you\n create the resource.\n x-kubernetes-immutable: true\n destRange:\n type: string\n x-dcl-go-name: DestRange\n description: The destination range of the route.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: |-\n [Output Only] The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: |-\n Name of the resource. Provided by the client when the resource is created.\n The name must be 1-63 characters long, and comply with\n RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a\n lowercase letter, and all following characters (except for the last\n character) must be a dash, lowercase letter, or digit. The last character\n must be a lowercase letter or digit.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Fully-qualified URL of the network that this route applies\n to.\n x-kubernetes-immutable: true\n nextHopGateway:\n type: string\n x-dcl-go-name: NextHopGateway\n description: |-\n The URL to a gateway that should handle matching packets.\n You can only specify the internet gateway using a full or\n partial valid URL:
\n projects/project/global/gateways/default-internet-gateway\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopInstance\n - nextHopIlb\n nextHopIP:\n type: string\n x-dcl-go-name: NextHopIP\n description: |-\n The network IP address of an instance that should handle matching packets.\n Only IPv4 is supported.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopInstance\n - nextHopGateway\n - nextHopIlb\n x-dcl-server-default: true\n nextHopIlb:\n type: string\n x-dcl-go-name: NextHopIlb\n description: |-\n The URL to a forwarding rule of type\n loadBalancingScheme=INTERNAL that should handle matching\n packets. You can only specify the forwarding rule as a partial or full\n URL. For example, the following are all valid URLs:\n
    \n
  • https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
  • regions/region/forwardingRules/forwardingRule
  • \n
\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopInstance\n - nextHopGateway\n nextHopInstance:\n type: string\n x-dcl-go-name: NextHopInstance\n description: |-\n The URL to an instance that should handle matching packets. You can specify\n this as a full or partial URL.\n For example:
\n https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopGateway\n - nextHopIlb\n nextHopNetwork:\n type: string\n x-dcl-go-name: NextHopNetwork\n readOnly: true\n description: The URL of the local network if it should handle matching packets.\n x-kubernetes-immutable: true\n nextHopPeering:\n type: string\n x-dcl-go-name: NextHopPeering\n readOnly: true\n description: |-\n [Output Only] The network peering name that should handle matching packets,\n which should conform to RFC1035.\n x-kubernetes-immutable: true\n nextHopVpnTunnel:\n type: string\n x-dcl-go-name: NextHopVpnTunnel\n description: The URL to a VpnTunnel that should handle matching packets.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopIP\n - nextHopInstance\n - nextHopGateway\n - nextHopIlb\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: The priority of the peering route.\n x-kubernetes-immutable: true\n default: 1000\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined fully-qualified URL for this\n resource.'\n x-kubernetes-immutable: true\n tag:\n type: array\n x-dcl-go-name: Tag\n description: A list of instance tags to which this route applies.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n warning:\n type: array\n x-dcl-go-name: Warning\n readOnly: true\n description: |-\n [Output Only] If potential misconfigurations are detected for this\n route, this field will be populated with warning messages.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RouteWarning\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: RouteWarningCodeEnum\n readOnly: true\n description: |-\n [Output Only] A warning code, if applicable. For example, Compute\n Engine returns NO_RESULTS_ON_PAGE if there\n are no results in the response. Possible values: BAD_REQUEST, FORBIDDEN, NOT_FOUND, CONFLICT, GONE, PRECONDITION_FAILED, INTERNAL_ERROR, SERVICE_UNAVAILABLE\n x-kubernetes-immutable: true\n enum:\n - BAD_REQUEST\n - FORBIDDEN\n - NOT_FOUND\n - CONFLICT\n - GONE\n - PRECONDITION_FAILED\n - INTERNAL_ERROR\n - SERVICE_UNAVAILABLE\n data:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Data\n readOnly: true\n description: |-\n [Output Only] Metadata about this warning in key:\n value format. For example:\n
\"data\": [\n                   : {\n                     \"key\": \"scope\",\n                     \"value\": \"zones/us-east1-d\"\n                    }
\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n readOnly: true\n description: '[Output Only] A human-readable description of the warning\n code.'\n x-kubernetes-immutable: true\n") +var YAML_route = []byte("info:\n title: Compute/Route\n description: The Compute Route resource\n x-dcl-struct-name: Route\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n apply:\n description: The function used to apply information about a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n delete:\n description: The function used to delete a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n deleteAll:\n description: The function used to delete all Route\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Route\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Route:\n title: Route\n x-dcl-id: projects/{{project}}/global/routes/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - network\n - destRange\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: |-\n An optional description of this resource. Provide this field when you\n create the resource.\n x-kubernetes-immutable: true\n destRange:\n type: string\n x-dcl-go-name: DestRange\n description: The destination range of the route.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: |-\n [Output Only] The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: |-\n Name of the resource. Provided by the client when the resource is created.\n The name must be 1-63 characters long, and comply with\n RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a\n lowercase letter, and all following characters (except for the last\n character) must be a dash, lowercase letter, or digit. The last character\n must be a lowercase letter or digit.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Fully-qualified URL of the network that this route applies\n to.\n x-kubernetes-immutable: true\n nextHopGateway:\n type: string\n x-dcl-go-name: NextHopGateway\n description: |-\n The URL to a gateway that should handle matching packets.\n You can only specify the internet gateway using a full or\n partial valid URL:
\n projects/project/global/gateways/default-internet-gateway\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopInstance\n - nextHopIlb\n nextHopIP:\n type: string\n x-dcl-go-name: NextHopIP\n description: |-\n The network IP address of an instance that should handle matching packets.\n Only IPv4 is supported.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopInstance\n - nextHopGateway\n - nextHopIlb\n x-dcl-server-default: true\n nextHopIlb:\n type: string\n x-dcl-go-name: NextHopIlb\n description: |-\n The URL to a forwarding rule of type\n loadBalancingScheme=INTERNAL that should handle matching\n packets. You can only specify the forwarding rule as a partial or full\n URL. For example, the following are all valid URLs:\n
    \n
  • https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
  • regions/region/forwardingRules/forwardingRule
  • \n
\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopInstance\n - nextHopGateway\n nextHopInstance:\n type: string\n x-dcl-go-name: NextHopInstance\n description: |-\n The URL to an instance that should handle matching packets. You can specify\n this as a full or partial URL.\n For example:
\n https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopGateway\n - nextHopIlb\n nextHopNetwork:\n type: string\n x-dcl-go-name: NextHopNetwork\n readOnly: true\n description: The URL of the local network if it should handle matching packets.\n x-kubernetes-immutable: true\n nextHopPeering:\n type: string\n x-dcl-go-name: NextHopPeering\n readOnly: true\n description: |-\n [Output Only] The network peering name that should handle matching packets,\n which should conform to RFC1035.\n x-kubernetes-immutable: true\n nextHopVpnTunnel:\n type: string\n x-dcl-go-name: NextHopVpnTunnel\n description: The URL to a VpnTunnel that should handle matching packets.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopIP\n - nextHopInstance\n - nextHopGateway\n - nextHopIlb\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: The priority of the peering route.\n x-kubernetes-immutable: true\n default: 1000\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined fully-qualified URL for this\n resource.'\n x-kubernetes-immutable: true\n tag:\n type: array\n x-dcl-go-name: Tag\n description: A list of instance tags to which this route applies.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n warning:\n type: array\n x-dcl-go-name: Warning\n readOnly: true\n description: |-\n [Output Only] If potential misconfigurations are detected for this\n route, this field will be populated with warning messages.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RouteWarning\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: RouteWarningCodeEnum\n readOnly: true\n description: |-\n [Output Only] A warning code, if applicable. For example, Compute\n Engine returns NO_RESULTS_ON_PAGE if there\n are no results in the response. Possible values: BAD_REQUEST, FORBIDDEN, NOT_FOUND, CONFLICT, GONE, PRECONDITION_FAILED, INTERNAL_ERROR, SERVICE_UNAVAILABLE\n x-kubernetes-immutable: true\n enum:\n - BAD_REQUEST\n - FORBIDDEN\n - NOT_FOUND\n - CONFLICT\n - GONE\n - PRECONDITION_FAILED\n - INTERNAL_ERROR\n - SERVICE_UNAVAILABLE\n data:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Data\n readOnly: true\n description: |-\n [Output Only] Metadata about this warning in key:\n value format. For example:\n
\"data\": [\n                   : {\n                     \"key\": \"scope\",\n                     \"value\": \"zones/us-east1-d\"\n                    }
\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n readOnly: true\n description: '[Output Only] A human-readable description of the warning\n code.'\n x-kubernetes-immutable: true\n") -// 9833 bytes -// MD5: 899dad2330aec4276bb00def9da0a2df +// 9858 bytes +// MD5: a90316f159418222610a5d50c70b17ce diff --git a/services/google/compute/beta/route_schema.go b/services/google/compute/beta/route_schema.go index 8cd62a486d..ce51862d63 100755 --- a/services/google/compute/beta/route_schema.go +++ b/services/google/compute/beta/route_schema.go @@ -23,6 +23,7 @@ func DCLRouteSchema() *dcl.Schema { Title: "Compute/Route", Description: "The Compute Route resource", StructName: "Route", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/beta/router.yaml b/services/google/compute/beta/router.yaml index f8175637b4..dca4743b1d 100755 --- a/services/google/compute/beta/router.yaml +++ b/services/google/compute/beta/router.yaml @@ -15,6 +15,7 @@ info: title: Compute/Router description: The Compute Router resource x-dcl-struct-name: Router + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/router_interface.yaml b/services/google/compute/beta/router_interface.yaml index 46baff5a39..3859546dd4 100755 --- a/services/google/compute/beta/router_interface.yaml +++ b/services/google/compute/beta/router_interface.yaml @@ -15,6 +15,7 @@ info: title: Compute/RouterInterface description: The Compute RouterInterface resource x-dcl-struct-name: RouterInterface + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/router_peer.yaml b/services/google/compute/beta/router_peer.yaml index 5ab7b759fc..91e314a9d9 100755 --- a/services/google/compute/beta/router_peer.yaml +++ b/services/google/compute/beta/router_peer.yaml @@ -15,6 +15,7 @@ info: title: Compute/RouterPeer description: The Compute RouterPeer resource x-dcl-struct-name: RouterPeer + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/service_attachment.yaml b/services/google/compute/beta/service_attachment.yaml index db5911e92d..bf0eab24b8 100755 --- a/services/google/compute/beta/service_attachment.yaml +++ b/services/google/compute/beta/service_attachment.yaml @@ -15,6 +15,7 @@ info: title: Compute/ServiceAttachment description: Represents a ServiceAttachment resource. x-dcl-struct-name: ServiceAttachment + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API documentation diff --git a/services/google/compute/beta/service_attachment_beta_yaml_embed.go b/services/google/compute/beta/service_attachment_beta_yaml_embed.go index e1a1b0836f..4dfd73629d 100755 --- a/services/google/compute/beta/service_attachment_beta_yaml_embed.go +++ b/services/google/compute/beta/service_attachment_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/service_attachment.yaml -var YAML_service_attachment = []byte("info:\n title: Compute/ServiceAttachment\n description: Represents a ServiceAttachment resource.\n x-dcl-struct-name: ServiceAttachment\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/reference/rest/beta/serviceAttachments\n x-dcl-guides:\n - text: Configuring Private Service Connect to access services\n url: https://cloud.google.com/vpc/docs/configure-private-service-connect-services\npaths:\n get:\n description: The function used to get information about a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n apply:\n description: The function used to apply information about a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n delete:\n description: The function used to delete a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n deleteAll:\n description: The function used to delete all ServiceAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceAttachment:\n title: ServiceAttachment\n x-dcl-id: projects/{{project}}/regions/{{location}}/serviceAttachments/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - targetService\n - connectionPreference\n - natSubnets\n - project\n - location\n properties:\n connectedEndpoints:\n type: array\n x-dcl-go-name: ConnectedEndpoints\n readOnly: true\n description: An array of connections for all the consumers connected to\n this service attachment.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAttachmentConnectedEndpoints\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The url of a connected endpoint.\n pscConnectionId:\n type: integer\n format: int64\n x-dcl-go-name: PscConnectionId\n description: The PSC connection id of the connected endpoint.\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: ServiceAttachmentConnectedEndpointsStatusEnum\n description: 'The status of a connected endpoint to this service attachment.\n Possible values: PENDING, RUNNING, DONE'\n enum:\n - PENDING\n - RUNNING\n - DONE\n connectionPreference:\n type: string\n x-dcl-go-name: ConnectionPreference\n x-dcl-go-type: ServiceAttachmentConnectionPreferenceEnum\n description: 'The connection preference of service attachment. The value\n can be set to `ACCEPT_AUTOMATIC`. An `ACCEPT_AUTOMATIC` service attachment\n is one that always accepts the connection from consumer forwarding rules.\n Possible values: CONNECTION_PREFERENCE_UNSPECIFIED, ACCEPT_AUTOMATIC,\n ACCEPT_MANUAL'\n enum:\n - CONNECTION_PREFERENCE_UNSPECIFIED\n - ACCEPT_AUTOMATIC\n - ACCEPT_MANUAL\n consumerAcceptLists:\n type: array\n x-dcl-go-name: ConsumerAcceptLists\n description: Projects that are allowed to connect to this service attachment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAttachmentConsumerAcceptLists\n required:\n - projectIdOrNum\n properties:\n connectionLimit:\n type: integer\n format: int64\n x-dcl-go-name: ConnectionLimit\n description: The value of the limit to set.\n projectIdOrNum:\n type: string\n x-dcl-go-name: ProjectIdOrNum\n description: The project id or number for the project to set the limit\n for.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n consumerRejectLists:\n type: array\n x-dcl-go-name: ConsumerRejectLists\n description: Projects that are not allowed to connect to this service attachment.\n The project can be specified using its id or number.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n enableProxyProtocol:\n type: boolean\n x-dcl-go-name: EnableProxyProtocol\n description: If true, enable the proxy protocol which is for supplying client\n TCP/IP address data in TCP connections that traverse proxies on their\n way to destination servers.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of this resource. This field is used internally\n during updates of this resource.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource type. The server generates\n this identifier.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `)?` which means the first character must be a lowercase letter,\n and all following characters must be a dash, lowercase letter, or digit,\n except the last character, which cannot be a dash.\n x-kubernetes-immutable: true\n natSubnets:\n type: array\n x-dcl-go-name: NatSubnets\n description: An array of URLs where each entry is the URL of a subnet provided\n by the service producer to use for NAT in this service attachment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pscServiceAttachmentId:\n type: object\n x-dcl-go-name: PscServiceAttachmentId\n x-dcl-go-type: ServiceAttachmentPscServiceAttachmentId\n readOnly: true\n description: An 128-bit global unique ID of the PSC service attachment.\n x-kubernetes-immutable: true\n properties:\n high:\n type: integer\n format: int64\n x-dcl-go-name: High\n readOnly: true\n x-kubernetes-immutable: true\n low:\n type: integer\n format: int64\n x-dcl-go-name: Low\n readOnly: true\n x-kubernetes-immutable: true\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: URL of the region where the service attachment resides. This\n field applies only to the region resource. You must specify this field\n as part of the HTTP request URL. It is not settable as a field in the\n request body.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n targetService:\n type: string\n x-dcl-go-name: TargetService\n description: The URL of a service serving the endpoint identified by this\n service attachment.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/ForwardingRule\n field: selfLink\n") +var YAML_service_attachment = []byte("info:\n title: Compute/ServiceAttachment\n description: Represents a ServiceAttachment resource.\n x-dcl-struct-name: ServiceAttachment\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/reference/rest/beta/serviceAttachments\n x-dcl-guides:\n - text: Configuring Private Service Connect to access services\n url: https://cloud.google.com/vpc/docs/configure-private-service-connect-services\npaths:\n get:\n description: The function used to get information about a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n apply:\n description: The function used to apply information about a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n delete:\n description: The function used to delete a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n deleteAll:\n description: The function used to delete all ServiceAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceAttachment:\n title: ServiceAttachment\n x-dcl-id: projects/{{project}}/regions/{{location}}/serviceAttachments/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - targetService\n - connectionPreference\n - natSubnets\n - project\n - location\n properties:\n connectedEndpoints:\n type: array\n x-dcl-go-name: ConnectedEndpoints\n readOnly: true\n description: An array of connections for all the consumers connected to\n this service attachment.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAttachmentConnectedEndpoints\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The url of a connected endpoint.\n pscConnectionId:\n type: integer\n format: int64\n x-dcl-go-name: PscConnectionId\n description: The PSC connection id of the connected endpoint.\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: ServiceAttachmentConnectedEndpointsStatusEnum\n description: 'The status of a connected endpoint to this service attachment.\n Possible values: PENDING, RUNNING, DONE'\n enum:\n - PENDING\n - RUNNING\n - DONE\n connectionPreference:\n type: string\n x-dcl-go-name: ConnectionPreference\n x-dcl-go-type: ServiceAttachmentConnectionPreferenceEnum\n description: 'The connection preference of service attachment. The value\n can be set to `ACCEPT_AUTOMATIC`. An `ACCEPT_AUTOMATIC` service attachment\n is one that always accepts the connection from consumer forwarding rules.\n Possible values: CONNECTION_PREFERENCE_UNSPECIFIED, ACCEPT_AUTOMATIC,\n ACCEPT_MANUAL'\n enum:\n - CONNECTION_PREFERENCE_UNSPECIFIED\n - ACCEPT_AUTOMATIC\n - ACCEPT_MANUAL\n consumerAcceptLists:\n type: array\n x-dcl-go-name: ConsumerAcceptLists\n description: Projects that are allowed to connect to this service attachment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAttachmentConsumerAcceptLists\n required:\n - projectIdOrNum\n properties:\n connectionLimit:\n type: integer\n format: int64\n x-dcl-go-name: ConnectionLimit\n description: The value of the limit to set.\n projectIdOrNum:\n type: string\n x-dcl-go-name: ProjectIdOrNum\n description: The project id or number for the project to set the limit\n for.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n consumerRejectLists:\n type: array\n x-dcl-go-name: ConsumerRejectLists\n description: Projects that are not allowed to connect to this service attachment.\n The project can be specified using its id or number.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n enableProxyProtocol:\n type: boolean\n x-dcl-go-name: EnableProxyProtocol\n description: If true, enable the proxy protocol which is for supplying client\n TCP/IP address data in TCP connections that traverse proxies on their\n way to destination servers.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of this resource. This field is used internally\n during updates of this resource.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource type. The server generates\n this identifier.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `)?` which means the first character must be a lowercase letter,\n and all following characters must be a dash, lowercase letter, or digit,\n except the last character, which cannot be a dash.\n x-kubernetes-immutable: true\n natSubnets:\n type: array\n x-dcl-go-name: NatSubnets\n description: An array of URLs where each entry is the URL of a subnet provided\n by the service producer to use for NAT in this service attachment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pscServiceAttachmentId:\n type: object\n x-dcl-go-name: PscServiceAttachmentId\n x-dcl-go-type: ServiceAttachmentPscServiceAttachmentId\n readOnly: true\n description: An 128-bit global unique ID of the PSC service attachment.\n x-kubernetes-immutable: true\n properties:\n high:\n type: integer\n format: int64\n x-dcl-go-name: High\n readOnly: true\n x-kubernetes-immutable: true\n low:\n type: integer\n format: int64\n x-dcl-go-name: Low\n readOnly: true\n x-kubernetes-immutable: true\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: URL of the region where the service attachment resides. This\n field applies only to the region resource. You must specify this field\n as part of the HTTP request URL. It is not settable as a field in the\n request body.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n targetService:\n type: string\n x-dcl-go-name: TargetService\n description: The URL of a service serving the endpoint identified by this\n service attachment.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/ForwardingRule\n field: selfLink\n") -// 9707 bytes -// MD5: 2551b1222bb48aadaf35ce2d3b27be6d +// 9732 bytes +// MD5: 5d614c16aad7ed5e9a39153fdfe4ff88 diff --git a/services/google/compute/beta/service_attachment_schema.go b/services/google/compute/beta/service_attachment_schema.go index 9d082bbbf6..3c25f3f299 100755 --- a/services/google/compute/beta/service_attachment_schema.go +++ b/services/google/compute/beta/service_attachment_schema.go @@ -23,6 +23,7 @@ func DCLServiceAttachmentSchema() *dcl.Schema { Title: "Compute/ServiceAttachment", Description: "Represents a ServiceAttachment resource.", StructName: "ServiceAttachment", + HasCreate: true, Reference: &dcl.Link{ Text: "API documentation", URL: "https://cloud.google.com/compute/docs/reference/rest/beta/serviceAttachments", diff --git a/services/google/compute/beta/snapshot.yaml b/services/google/compute/beta/snapshot.yaml index 3ee90c650c..3b7dc5b8bc 100755 --- a/services/google/compute/beta/snapshot.yaml +++ b/services/google/compute/beta/snapshot.yaml @@ -15,6 +15,7 @@ info: title: Compute/Snapshot description: The Compute Snapshot resource x-dcl-struct-name: Snapshot + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/ssl_certificate.yaml b/services/google/compute/beta/ssl_certificate.yaml index 5c73ecce0b..979eabca69 100755 --- a/services/google/compute/beta/ssl_certificate.yaml +++ b/services/google/compute/beta/ssl_certificate.yaml @@ -15,6 +15,7 @@ info: title: Compute/SslCertificate description: The Compute SslCertificate resource x-dcl-struct-name: SslCertificate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/ssl_policy.yaml b/services/google/compute/beta/ssl_policy.yaml index 2eb115ccfd..800549e71c 100755 --- a/services/google/compute/beta/ssl_policy.yaml +++ b/services/google/compute/beta/ssl_policy.yaml @@ -15,6 +15,7 @@ info: title: Compute/SslPolicy description: The Compute SslPolicy resource x-dcl-struct-name: SslPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/subnetwork.yaml b/services/google/compute/beta/subnetwork.yaml index 1865e45ab8..1b415206bc 100755 --- a/services/google/compute/beta/subnetwork.yaml +++ b/services/google/compute/beta/subnetwork.yaml @@ -15,6 +15,7 @@ info: title: Compute/Subnetwork description: The Compute Subnetwork resource x-dcl-struct-name: Subnetwork + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/subnetwork_beta_yaml_embed.go b/services/google/compute/beta/subnetwork_beta_yaml_embed.go index 0e7ef58680..a77eca9716 100755 --- a/services/google/compute/beta/subnetwork_beta_yaml_embed.go +++ b/services/google/compute/beta/subnetwork_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/subnetwork.yaml -var YAML_subnetwork = []byte("info:\n title: Compute/Subnetwork\n description: The Compute Subnetwork resource\n x-dcl-struct-name: Subnetwork\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n apply:\n description: The function used to apply information about a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n delete:\n description: The function used to delete a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n deleteAll:\n description: The function used to delete all Subnetwork\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Subnetwork\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Subnetwork:\n title: Subnetwork\n x-dcl-id: projects/{{project}}/regions/{{region}}/subnetworks/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - ipCidrRange\n - name\n - network\n - region\n - project\n properties:\n creationTimestamp:\n type: string\n format: date-time\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'An optional description of this resource. Provide this property\n when you create the resource. This field can be set only at resource creation\n time. '\n x-kubernetes-immutable: true\n enableFlowLogs:\n type: boolean\n x-dcl-go-name: EnableFlowLogs\n description: Whether to enable flow logging for this subnetwork. If this\n field is not explicitly set, it will not appear in `get` listings. If\n not set the default behavior is to disable flow logging. This field isn't\n supported with the `purpose` field set to `INTERNAL_HTTPS_LOAD_BALANCER`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: 'Fingerprint of this resource. This field is used internally\n during updates of this resource. '\n x-kubernetes-immutable: true\n gatewayAddress:\n type: string\n x-dcl-go-name: GatewayAddress\n readOnly: true\n description: 'The gateway address for default routes to reach destination\n addresses outside this subnetwork. '\n x-kubernetes-immutable: true\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of internal addresses that are owned by this subnetwork.\n Provide this property when you create the subnetwork. For example, 10.0.0.0/8\n or 192.168.0.0/16. Ranges must be unique and non-overlapping within a\n network. Only IPv4 is supported. '\n logConfig:\n type: object\n x-dcl-go-name: LogConfig\n x-dcl-go-type: SubnetworkLogConfig\n description: 'Denotes the logging options for the subnetwork flow logs.\n If logging is enabled logs will be exported to Cloud Logging. '\n properties:\n aggregationInterval:\n type: string\n x-dcl-go-name: AggregationInterval\n x-dcl-go-type: SubnetworkLogConfigAggregationIntervalEnum\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. Toggles the aggregation interval for collecting flow logs.\n Increasing the interval time will reduce the amount of generated flow\n logs for long lasting connections. Default is an interval of 5 seconds\n per connection. Possible values are INTERVAL_5_SEC, INTERVAL_30_SEC,\n INTERVAL_1_MIN, INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN '\n default: INTERVAL_5_SEC\n enum:\n - INTERVAL_5_SEC\n - INTERVAL_30_SEC\n - INTERVAL_1_MIN\n - INTERVAL_5_MIN\n - INTERVAL_10_MIN\n - INTERVAL_15_MIN\n flowSampling:\n type: number\n format: double\n x-dcl-go-name: FlowSampling\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. The value of the field must be in [0, 1]. Set the sampling\n rate of VPC flow logs within the subnetwork where 1.0 means all collected\n logs are reported and 0.0 means no logs are reported. Default is 0.5\n which means half of all collected logs are reported. '\n default: 0.5\n metadata:\n type: string\n x-dcl-go-name: Metadata\n x-dcl-go-type: SubnetworkLogConfigMetadataEnum\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. Configures whether metadata fields should be added to\n the reported VPC flow logs. Default is `INCLUDE_ALL_METADATA`. Possible\n values: EXCLUDE_ALL_METADATA, INCLUDE_ALL_METADATA'\n default: INCLUDE_ALL_METADATA\n enum:\n - EXCLUDE_ALL_METADATA\n - INCLUDE_ALL_METADATA\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of the resource, provided by the client when initially\n creating the resource. The name must be 1-63 characters long, and comply\n with RFC1035. Specifically, the name must be 1-63 characters long and\n match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means\n the first character must be a lowercase letter, and all following characters\n must be a dash, lowercase letter, or digit, except the last character,\n which cannot be a dash. '\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'The network this subnet belongs to. Only networks that are\n in the distributed mode can have subnetworks. '\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n privateIPGoogleAccess:\n type: boolean\n x-dcl-go-name: PrivateIPGoogleAccess\n description: 'When enabled, VMs in this subnetwork without external IP addresses\n can access Google APIs and services by using Private Google Access. '\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: SubnetworkPurposeEnum\n description: 'The purpose of the resource. This field can be either PRIVATE\n or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER\n is a user-created subnetwork that is reserved for Internal HTTP(S) Load\n Balancing. If unspecified, the purpose defaults to PRIVATE. If set to\n INTERNAL_HTTPS_LOAD_BALANCER you must also set the role. '\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - INTERNAL_HTTPS_LOAD_BALANCER\n - PRIVATE\n - AGGREGATE\n - PRIVATE_SERVICE_CONNECT\n - CLOUD_EXTENSION\n - PRIVATE_NAT\n region:\n type: string\n x-dcl-go-name: Region\n description: 'The GCP region for this subnetwork. '\n x-kubernetes-immutable: true\n role:\n type: string\n x-dcl-go-name: Role\n x-dcl-go-type: SubnetworkRoleEnum\n description: 'The role of subnetwork. Currenly, this field is only used\n when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE\n or BACKUP. An ACTIVE subnetwork is one that is currently being used for\n Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready\n to be promoted to ACTIVE or is currently draining. '\n enum:\n - ACTIVE\n - BACKUP\n secondaryIPRanges:\n type: array\n x-dcl-go-name: SecondaryIPRanges\n description: 'An array of configurations for secondary IP ranges for VM\n instances contained in this subnetwork. The primary IP of such VM must\n belong to the primary ipCidrRange of the subnetwork. The alias IPs may\n belong to either primary or secondary ranges. This field uses attr-as-block\n mode to avoid breaking users during the 0.12 upgrade. See [the Attr-as-Block\n page](https://www.terraform.io/docs/configuration/attr-as-blocks.html)\n for more details. '\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SubnetworkSecondaryIPRanges\n required:\n - rangeName\n - ipCidrRange\n properties:\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of IP addresses belonging to this subnetwork\n secondary range. Provide this property when you create the subnetwork.\n Ranges must be unique and non-overlapping with all primary and secondary\n IP ranges within a network. Only IPv4 is supported. '\n rangeName:\n type: string\n x-dcl-go-name: RangeName\n description: 'The name associated with this subnetwork secondary range,\n used when adding an alias IP range to a VM instance. The name must\n be 1-63 characters long, and comply with RFC1035. The name must\n be unique within the subnetwork. '\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined URL for the resource.'\n x-kubernetes-immutable: true\n") +var YAML_subnetwork = []byte("info:\n title: Compute/Subnetwork\n description: The Compute Subnetwork resource\n x-dcl-struct-name: Subnetwork\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n apply:\n description: The function used to apply information about a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n delete:\n description: The function used to delete a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n deleteAll:\n description: The function used to delete all Subnetwork\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Subnetwork\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Subnetwork:\n title: Subnetwork\n x-dcl-id: projects/{{project}}/regions/{{region}}/subnetworks/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - ipCidrRange\n - name\n - network\n - region\n - project\n properties:\n creationTimestamp:\n type: string\n format: date-time\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'An optional description of this resource. Provide this property\n when you create the resource. This field can be set only at resource creation\n time. '\n x-kubernetes-immutable: true\n enableFlowLogs:\n type: boolean\n x-dcl-go-name: EnableFlowLogs\n description: Whether to enable flow logging for this subnetwork. If this\n field is not explicitly set, it will not appear in `get` listings. If\n not set the default behavior is to disable flow logging. This field isn't\n supported with the `purpose` field set to `INTERNAL_HTTPS_LOAD_BALANCER`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: 'Fingerprint of this resource. This field is used internally\n during updates of this resource. '\n x-kubernetes-immutable: true\n gatewayAddress:\n type: string\n x-dcl-go-name: GatewayAddress\n readOnly: true\n description: 'The gateway address for default routes to reach destination\n addresses outside this subnetwork. '\n x-kubernetes-immutable: true\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of internal addresses that are owned by this subnetwork.\n Provide this property when you create the subnetwork. For example, 10.0.0.0/8\n or 192.168.0.0/16. Ranges must be unique and non-overlapping within a\n network. Only IPv4 is supported. '\n logConfig:\n type: object\n x-dcl-go-name: LogConfig\n x-dcl-go-type: SubnetworkLogConfig\n description: 'Denotes the logging options for the subnetwork flow logs.\n If logging is enabled logs will be exported to Cloud Logging. '\n properties:\n aggregationInterval:\n type: string\n x-dcl-go-name: AggregationInterval\n x-dcl-go-type: SubnetworkLogConfigAggregationIntervalEnum\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. Toggles the aggregation interval for collecting flow logs.\n Increasing the interval time will reduce the amount of generated flow\n logs for long lasting connections. Default is an interval of 5 seconds\n per connection. Possible values are INTERVAL_5_SEC, INTERVAL_30_SEC,\n INTERVAL_1_MIN, INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN '\n default: INTERVAL_5_SEC\n enum:\n - INTERVAL_5_SEC\n - INTERVAL_30_SEC\n - INTERVAL_1_MIN\n - INTERVAL_5_MIN\n - INTERVAL_10_MIN\n - INTERVAL_15_MIN\n flowSampling:\n type: number\n format: double\n x-dcl-go-name: FlowSampling\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. The value of the field must be in [0, 1]. Set the sampling\n rate of VPC flow logs within the subnetwork where 1.0 means all collected\n logs are reported and 0.0 means no logs are reported. Default is 0.5\n which means half of all collected logs are reported. '\n default: 0.5\n metadata:\n type: string\n x-dcl-go-name: Metadata\n x-dcl-go-type: SubnetworkLogConfigMetadataEnum\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. Configures whether metadata fields should be added to\n the reported VPC flow logs. Default is `INCLUDE_ALL_METADATA`. Possible\n values: EXCLUDE_ALL_METADATA, INCLUDE_ALL_METADATA'\n default: INCLUDE_ALL_METADATA\n enum:\n - EXCLUDE_ALL_METADATA\n - INCLUDE_ALL_METADATA\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of the resource, provided by the client when initially\n creating the resource. The name must be 1-63 characters long, and comply\n with RFC1035. Specifically, the name must be 1-63 characters long and\n match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means\n the first character must be a lowercase letter, and all following characters\n must be a dash, lowercase letter, or digit, except the last character,\n which cannot be a dash. '\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'The network this subnet belongs to. Only networks that are\n in the distributed mode can have subnetworks. '\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n privateIPGoogleAccess:\n type: boolean\n x-dcl-go-name: PrivateIPGoogleAccess\n description: 'When enabled, VMs in this subnetwork without external IP addresses\n can access Google APIs and services by using Private Google Access. '\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: SubnetworkPurposeEnum\n description: 'The purpose of the resource. This field can be either PRIVATE\n or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER\n is a user-created subnetwork that is reserved for Internal HTTP(S) Load\n Balancing. If unspecified, the purpose defaults to PRIVATE. If set to\n INTERNAL_HTTPS_LOAD_BALANCER you must also set the role. '\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - INTERNAL_HTTPS_LOAD_BALANCER\n - PRIVATE\n - AGGREGATE\n - PRIVATE_SERVICE_CONNECT\n - CLOUD_EXTENSION\n - PRIVATE_NAT\n region:\n type: string\n x-dcl-go-name: Region\n description: 'The GCP region for this subnetwork. '\n x-kubernetes-immutable: true\n role:\n type: string\n x-dcl-go-name: Role\n x-dcl-go-type: SubnetworkRoleEnum\n description: 'The role of subnetwork. Currenly, this field is only used\n when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE\n or BACKUP. An ACTIVE subnetwork is one that is currently being used for\n Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready\n to be promoted to ACTIVE or is currently draining. '\n enum:\n - ACTIVE\n - BACKUP\n secondaryIPRanges:\n type: array\n x-dcl-go-name: SecondaryIPRanges\n description: 'An array of configurations for secondary IP ranges for VM\n instances contained in this subnetwork. The primary IP of such VM must\n belong to the primary ipCidrRange of the subnetwork. The alias IPs may\n belong to either primary or secondary ranges. This field uses attr-as-block\n mode to avoid breaking users during the 0.12 upgrade. See [the Attr-as-Block\n page](https://www.terraform.io/docs/configuration/attr-as-blocks.html)\n for more details. '\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SubnetworkSecondaryIPRanges\n required:\n - rangeName\n - ipCidrRange\n properties:\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of IP addresses belonging to this subnetwork\n secondary range. Provide this property when you create the subnetwork.\n Ranges must be unique and non-overlapping with all primary and secondary\n IP ranges within a network. Only IPv4 is supported. '\n rangeName:\n type: string\n x-dcl-go-name: RangeName\n description: 'The name associated with this subnetwork secondary range,\n used when adding an alias IP range to a VM instance. The name must\n be 1-63 characters long, and comply with RFC1035. The name must\n be unique within the subnetwork. '\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined URL for the resource.'\n x-kubernetes-immutable: true\n") -// 11143 bytes -// MD5: 3bb928ee594b985abee08b18eb1ff6e7 +// 11168 bytes +// MD5: 1c275e3dc08365a2f6f395a4b5248124 diff --git a/services/google/compute/beta/subnetwork_schema.go b/services/google/compute/beta/subnetwork_schema.go index b6435c5c6a..f8473d2547 100755 --- a/services/google/compute/beta/subnetwork_schema.go +++ b/services/google/compute/beta/subnetwork_schema.go @@ -23,6 +23,7 @@ func DCLSubnetworkSchema() *dcl.Schema { Title: "Compute/Subnetwork", Description: "The Compute Subnetwork resource", StructName: "Subnetwork", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/beta/target_http_proxy.yaml b/services/google/compute/beta/target_http_proxy.yaml index 42cb742019..7f9605a61e 100755 --- a/services/google/compute/beta/target_http_proxy.yaml +++ b/services/google/compute/beta/target_http_proxy.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetHttpProxy description: The Compute TargetHttpProxy resource x-dcl-struct-name: TargetHttpProxy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/target_https_proxy.yaml b/services/google/compute/beta/target_https_proxy.yaml index 3b62b01f68..fcb5e2dca1 100755 --- a/services/google/compute/beta/target_https_proxy.yaml +++ b/services/google/compute/beta/target_https_proxy.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetHttpsProxy description: The Compute TargetHttpsProxy resource x-dcl-struct-name: TargetHttpsProxy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/target_pool.yaml b/services/google/compute/beta/target_pool.yaml index 313cb30b25..68f1d3fb06 100755 --- a/services/google/compute/beta/target_pool.yaml +++ b/services/google/compute/beta/target_pool.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetPool description: The Compute TargetPool resource x-dcl-struct-name: TargetPool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/target_ssl_proxy.yaml b/services/google/compute/beta/target_ssl_proxy.yaml index 82181db89c..bf480910a0 100755 --- a/services/google/compute/beta/target_ssl_proxy.yaml +++ b/services/google/compute/beta/target_ssl_proxy.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetSslProxy description: The Compute TargetSslProxy resource x-dcl-struct-name: TargetSslProxy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/target_vpn_gateway.yaml b/services/google/compute/beta/target_vpn_gateway.yaml index a7ec0072d3..d3419b9f8c 100755 --- a/services/google/compute/beta/target_vpn_gateway.yaml +++ b/services/google/compute/beta/target_vpn_gateway.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetVpnGateway description: The Compute TargetVpnGateway resource x-dcl-struct-name: TargetVpnGateway + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/url_map.yaml b/services/google/compute/beta/url_map.yaml index 03d780ad1b..0a738c0763 100755 --- a/services/google/compute/beta/url_map.yaml +++ b/services/google/compute/beta/url_map.yaml @@ -15,6 +15,7 @@ info: title: Compute/UrlMap description: The Compute UrlMap resource x-dcl-struct-name: UrlMap + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/vpn_gateway.yaml b/services/google/compute/beta/vpn_gateway.yaml index 79b1bdc74a..e09dad92db 100755 --- a/services/google/compute/beta/vpn_gateway.yaml +++ b/services/google/compute/beta/vpn_gateway.yaml @@ -15,6 +15,7 @@ info: title: Compute/VpnGateway description: The Compute VpnGateway resource x-dcl-struct-name: VpnGateway + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/vpn_tunnel.yaml b/services/google/compute/beta/vpn_tunnel.yaml index 60dc123327..899dbadcd3 100755 --- a/services/google/compute/beta/vpn_tunnel.yaml +++ b/services/google/compute/beta/vpn_tunnel.yaml @@ -15,6 +15,7 @@ info: title: Compute/VpnTunnel description: The Compute VpnTunnel resource x-dcl-struct-name: VpnTunnel + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/beta/vpn_tunnel_beta_yaml_embed.go b/services/google/compute/beta/vpn_tunnel_beta_yaml_embed.go index 97a22d998c..0752044394 100755 --- a/services/google/compute/beta/vpn_tunnel_beta_yaml_embed.go +++ b/services/google/compute/beta/vpn_tunnel_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/beta/vpn_tunnel.yaml -var YAML_vpn_tunnel = []byte("info:\n title: Compute/VpnTunnel\n description: The Compute VpnTunnel resource\n x-dcl-struct-name: VpnTunnel\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n apply:\n description: The function used to apply information about a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n delete:\n description: The function used to delete a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n deleteAll:\n description: The function used to delete all VpnTunnel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many VpnTunnel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n VpnTunnel:\n title: VpnTunnel\n x-dcl-id: projects/{{project}}/regions/{{region}}/vpnTunnels/{{name}}\n x-dcl-locations:\n - region\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - sharedSecret\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n x-kubernetes-immutable: true\n detailedStatus:\n type: string\n x-dcl-go-name: DetailedStatus\n readOnly: true\n description: Detailed status message for the VPN tunnel.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n ikeVersion:\n type: integer\n format: int64\n x-dcl-go-name: IkeVersion\n description: IKE protocol version to use when establishing the VPN tunnel\n with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default\n version is 2.\n x-kubernetes-immutable: true\n default: 2\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels for this VPN Tunnel\n localTrafficSelector:\n type: array\n x-dcl-go-name: LocalTrafficSelector\n description: 'Local traffic selector to use when establishing the VPN tunnel\n with the peer VPN gateway. The value should be a CIDR formatted string,\n for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is\n supported.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt)\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n peerExternalGateway:\n type: string\n x-dcl-go-name: PeerExternalGateway\n description: URL of the peer side external VPN gateway to which this VPN\n tunnel is connected. Provided by the client when the VPN tunnel is created.\n This field is exclusive with the field peerGcpGateway.\n x-kubernetes-immutable: true\n peerExternalGatewayInterface:\n type: integer\n format: int64\n x-dcl-go-name: PeerExternalGatewayInterface\n description: The interface ID of the external VPN gateway to which this\n VPN tunnel is connected. Provided by the client when the VPN tunnel is\n created.\n x-kubernetes-immutable: true\n peerGcpGateway:\n type: string\n x-dcl-go-name: PeerGcpGateway\n description: URL of the peer side HA GCP VPN gateway to which this VPN tunnel\n is connected. Provided by the client when the VPN tunnel is created. This\n field can be used when creating highly available VPN from VPC network\n to VPC network, the field is exclusive with the field peerExternalGateway.\n If provided, the VPN tunnel will automatically use the same vpnGatewayInterface\n ID in the peer GCP VPN gateway.\n x-kubernetes-immutable: true\n peerIP:\n type: string\n x-dcl-go-name: PeerIP\n description: IP address of the peer VPN gateway. Only IPv4 is supported.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: URL of the region where the VPN tunnel resides. You must specify\n this field as part of the HTTP request URL. It is not settable as a field\n in the request body.\n x-kubernetes-immutable: true\n remoteTrafficSelector:\n type: array\n x-dcl-go-name: RemoteTrafficSelector\n description: 'Remote traffic selectors to use when establishing the VPN\n tunnel with the peer VPN gateway. The value should be a CIDR formatted\n string, for example: 192.168.0.0/16. The ranges should be disjoint. Only\n IPv4 is supported.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n router:\n type: string\n x-dcl-go-name: Router\n description: URL of the router resource to be used for dynamic routing.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Router\n field: selfLink\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n sharedSecret:\n type: string\n x-dcl-go-name: SharedSecret\n description: Shared secret used to set the secure session between the Cloud\n VPN gateway and the peer VPN gateway.\n x-kubernetes-immutable: true\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n sharedSecretHash:\n type: string\n x-dcl-go-name: SharedSecretHash\n readOnly: true\n description: Hash of the shared secret.\n x-kubernetes-immutable: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: VpnTunnelStatusEnum\n readOnly: true\n description: 'The status of the VPN tunnel, which can be one of the following: *\n PROVISIONING: Resource is being allocated for the VPN tunnel. * WAITING_FOR_FULL_CONFIG:\n Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway,\n VpnTunnel, ForwardingRule, and Route resources are needed to setup the\n VPN tunnel. * FIRST_HANDSHAKE: Successful first handshake with the peer\n VPN. * ESTABLISHED: Secure session is successfully established with the\n peer VPN. * NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS *\n AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). * NEGOTIATION_FAILURE:\n Handshake failed. * DEPROVISIONING: Resources are being deallocated for\n the VPN tunnel. * FAILED: Tunnel creation has failed and the tunnel is\n not ready to be used. * NO_INCOMING_PACKETS: No incoming packets from\n peer. * REJECTED: Tunnel configuration was rejected, can be result of\n being blocklisted. * ALLOCATING_RESOURCES: Cloud VPN is in the process\n of allocating all required resources. * STOPPED: Tunnel is stopped due\n to its Forwarding Rules being deleted for Classic VPN tunnels or the project\n is in frozen state. * PEER_IDENTITY_MISMATCH: Peer identity does not\n match peer IP, probably behind NAT. * TS_NARROWING_NOT_ALLOWED: Traffic\n selector narrowing not allowed for an HA-VPN tunnel.'\n x-kubernetes-immutable: true\n enum:\n - PROVISIONING\n - WAITING_FOR_FULL_CONFIG\n - FIRST_HANDSHAKE\n - ESTABLISHED\n - NO_INCOMING_PACKETS\n - AUTHORIZATION_ERROR\n - NEGOTIATION_FAILURE\n - DEPROVISIONING\n - FAILED\n - REJECTED\n - ALLOCATING_RESOURCES\n - STOPPED\n - PEER_IDENTITY_MISMATCH\n - TS_NARROWING_NOT_ALLOWED\n targetVpnGateway:\n type: string\n x-dcl-go-name: TargetVpnGateway\n description: URL of the Target VPN gateway with which this VPN tunnel is\n associated. Provided by the client when the VPN tunnel is created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/TargetVpnGateway\n field: selfLink\n vpnGateway:\n type: string\n x-dcl-go-name: VpnGateway\n description: URL of the VPN gateway with which this VPN tunnel is associated.\n Provided by the client when the VPN tunnel is created. This must be used\n (instead of target_vpn_gateway) if a High Availability VPN gateway resource\n is created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/VpnGateway\n field: selfLink\n vpnGatewayInterface:\n type: integer\n format: int64\n x-dcl-go-name: VpnGatewayInterface\n description: The interface ID of the VPN gateway with which this VPN tunnel\n is associated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n") +var YAML_vpn_tunnel = []byte("info:\n title: Compute/VpnTunnel\n description: The Compute VpnTunnel resource\n x-dcl-struct-name: VpnTunnel\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n apply:\n description: The function used to apply information about a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n delete:\n description: The function used to delete a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n deleteAll:\n description: The function used to delete all VpnTunnel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many VpnTunnel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n VpnTunnel:\n title: VpnTunnel\n x-dcl-id: projects/{{project}}/regions/{{region}}/vpnTunnels/{{name}}\n x-dcl-locations:\n - region\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - sharedSecret\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n x-kubernetes-immutable: true\n detailedStatus:\n type: string\n x-dcl-go-name: DetailedStatus\n readOnly: true\n description: Detailed status message for the VPN tunnel.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n ikeVersion:\n type: integer\n format: int64\n x-dcl-go-name: IkeVersion\n description: IKE protocol version to use when establishing the VPN tunnel\n with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default\n version is 2.\n x-kubernetes-immutable: true\n default: 2\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels for this VPN Tunnel\n localTrafficSelector:\n type: array\n x-dcl-go-name: LocalTrafficSelector\n description: 'Local traffic selector to use when establishing the VPN tunnel\n with the peer VPN gateway. The value should be a CIDR formatted string,\n for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is\n supported.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt)\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n peerExternalGateway:\n type: string\n x-dcl-go-name: PeerExternalGateway\n description: URL of the peer side external VPN gateway to which this VPN\n tunnel is connected. Provided by the client when the VPN tunnel is created.\n This field is exclusive with the field peerGcpGateway.\n x-kubernetes-immutable: true\n peerExternalGatewayInterface:\n type: integer\n format: int64\n x-dcl-go-name: PeerExternalGatewayInterface\n description: The interface ID of the external VPN gateway to which this\n VPN tunnel is connected. Provided by the client when the VPN tunnel is\n created.\n x-kubernetes-immutable: true\n peerGcpGateway:\n type: string\n x-dcl-go-name: PeerGcpGateway\n description: URL of the peer side HA GCP VPN gateway to which this VPN tunnel\n is connected. Provided by the client when the VPN tunnel is created. This\n field can be used when creating highly available VPN from VPC network\n to VPC network, the field is exclusive with the field peerExternalGateway.\n If provided, the VPN tunnel will automatically use the same vpnGatewayInterface\n ID in the peer GCP VPN gateway.\n x-kubernetes-immutable: true\n peerIP:\n type: string\n x-dcl-go-name: PeerIP\n description: IP address of the peer VPN gateway. Only IPv4 is supported.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: URL of the region where the VPN tunnel resides. You must specify\n this field as part of the HTTP request URL. It is not settable as a field\n in the request body.\n x-kubernetes-immutable: true\n remoteTrafficSelector:\n type: array\n x-dcl-go-name: RemoteTrafficSelector\n description: 'Remote traffic selectors to use when establishing the VPN\n tunnel with the peer VPN gateway. The value should be a CIDR formatted\n string, for example: 192.168.0.0/16. The ranges should be disjoint. Only\n IPv4 is supported.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n router:\n type: string\n x-dcl-go-name: Router\n description: URL of the router resource to be used for dynamic routing.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Router\n field: selfLink\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n sharedSecret:\n type: string\n x-dcl-go-name: SharedSecret\n description: Shared secret used to set the secure session between the Cloud\n VPN gateway and the peer VPN gateway.\n x-kubernetes-immutable: true\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n sharedSecretHash:\n type: string\n x-dcl-go-name: SharedSecretHash\n readOnly: true\n description: Hash of the shared secret.\n x-kubernetes-immutable: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: VpnTunnelStatusEnum\n readOnly: true\n description: 'The status of the VPN tunnel, which can be one of the following: *\n PROVISIONING: Resource is being allocated for the VPN tunnel. * WAITING_FOR_FULL_CONFIG:\n Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway,\n VpnTunnel, ForwardingRule, and Route resources are needed to setup the\n VPN tunnel. * FIRST_HANDSHAKE: Successful first handshake with the peer\n VPN. * ESTABLISHED: Secure session is successfully established with the\n peer VPN. * NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS *\n AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). * NEGOTIATION_FAILURE:\n Handshake failed. * DEPROVISIONING: Resources are being deallocated for\n the VPN tunnel. * FAILED: Tunnel creation has failed and the tunnel is\n not ready to be used. * NO_INCOMING_PACKETS: No incoming packets from\n peer. * REJECTED: Tunnel configuration was rejected, can be result of\n being blocklisted. * ALLOCATING_RESOURCES: Cloud VPN is in the process\n of allocating all required resources. * STOPPED: Tunnel is stopped due\n to its Forwarding Rules being deleted for Classic VPN tunnels or the project\n is in frozen state. * PEER_IDENTITY_MISMATCH: Peer identity does not\n match peer IP, probably behind NAT. * TS_NARROWING_NOT_ALLOWED: Traffic\n selector narrowing not allowed for an HA-VPN tunnel.'\n x-kubernetes-immutable: true\n enum:\n - PROVISIONING\n - WAITING_FOR_FULL_CONFIG\n - FIRST_HANDSHAKE\n - ESTABLISHED\n - NO_INCOMING_PACKETS\n - AUTHORIZATION_ERROR\n - NEGOTIATION_FAILURE\n - DEPROVISIONING\n - FAILED\n - REJECTED\n - ALLOCATING_RESOURCES\n - STOPPED\n - PEER_IDENTITY_MISMATCH\n - TS_NARROWING_NOT_ALLOWED\n targetVpnGateway:\n type: string\n x-dcl-go-name: TargetVpnGateway\n description: URL of the Target VPN gateway with which this VPN tunnel is\n associated. Provided by the client when the VPN tunnel is created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/TargetVpnGateway\n field: selfLink\n vpnGateway:\n type: string\n x-dcl-go-name: VpnGateway\n description: URL of the VPN gateway with which this VPN tunnel is associated.\n Provided by the client when the VPN tunnel is created. This must be used\n (instead of target_vpn_gateway) if a High Availability VPN gateway resource\n is created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/VpnGateway\n field: selfLink\n vpnGatewayInterface:\n type: integer\n format: int64\n x-dcl-go-name: VpnGatewayInterface\n description: The interface ID of the VPN gateway with which this VPN tunnel\n is associated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n") -// 11283 bytes -// MD5: 6d3c073c390468a1c980c03b2a9eee2e +// 11308 bytes +// MD5: 92ed8c393d2919fd45139c967f9a8c5f diff --git a/services/google/compute/beta/vpn_tunnel_schema.go b/services/google/compute/beta/vpn_tunnel_schema.go index 58563b2edc..b95ebb387e 100755 --- a/services/google/compute/beta/vpn_tunnel_schema.go +++ b/services/google/compute/beta/vpn_tunnel_schema.go @@ -23,6 +23,7 @@ func DCLVpnTunnelSchema() *dcl.Schema { Title: "Compute/VpnTunnel", Description: "The Compute VpnTunnel resource", StructName: "VpnTunnel", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/disk.yaml b/services/google/compute/disk.yaml index 02d4ad826d..520d839672 100755 --- a/services/google/compute/disk.yaml +++ b/services/google/compute/disk.yaml @@ -15,6 +15,7 @@ info: title: Compute/Disk description: The Compute Disk resource x-dcl-struct-name: Disk + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/firewall.yaml b/services/google/compute/firewall.yaml index b108f58312..edab780ecd 100755 --- a/services/google/compute/firewall.yaml +++ b/services/google/compute/firewall.yaml @@ -15,6 +15,7 @@ info: title: Compute/Firewall description: The Compute Firewall resource x-dcl-struct-name: Firewall + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/firewall_policy.yaml b/services/google/compute/firewall_policy.yaml index 72b840f2b2..45be105ab1 100755 --- a/services/google/compute/firewall_policy.yaml +++ b/services/google/compute/firewall_policy.yaml @@ -15,6 +15,7 @@ info: title: Compute/FirewallPolicy description: The Compute FirewallPolicy resource x-dcl-struct-name: FirewallPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/firewall_policy_association.yaml b/services/google/compute/firewall_policy_association.yaml index 8b6b120396..93906fbf8e 100755 --- a/services/google/compute/firewall_policy_association.yaml +++ b/services/google/compute/firewall_policy_association.yaml @@ -15,6 +15,7 @@ info: title: Compute/FirewallPolicyAssociation description: The Compute FirewallPolicyAssociation resource x-dcl-struct-name: FirewallPolicyAssociation + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/firewall_policy_association_schema.go b/services/google/compute/firewall_policy_association_schema.go index cbd1bc1d25..a53cca05bc 100755 --- a/services/google/compute/firewall_policy_association_schema.go +++ b/services/google/compute/firewall_policy_association_schema.go @@ -23,6 +23,7 @@ func DCLFirewallPolicyAssociationSchema() *dcl.Schema { Title: "Compute/FirewallPolicyAssociation", Description: "The Compute FirewallPolicyAssociation resource", StructName: "FirewallPolicyAssociation", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/firewall_policy_association_yaml_embed.go b/services/google/compute/firewall_policy_association_yaml_embed.go index c868af096b..5fbb9f2192 100755 --- a/services/google/compute/firewall_policy_association_yaml_embed.go +++ b/services/google/compute/firewall_policy_association_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/firewall_policy_association.yaml -var YAML_firewall_policy_association = []byte("info:\n title: Compute/FirewallPolicyAssociation\n description: The Compute FirewallPolicyAssociation resource\n x-dcl-struct-name: FirewallPolicyAssociation\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n apply:\n description: The function used to apply information about a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n delete:\n description: The function used to delete a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n deleteAll:\n description: The function used to delete all FirewallPolicyAssociation\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicyAssociation\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicyAssociation:\n title: FirewallPolicyAssociation\n x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/associations/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - attachmentTarget\n - firewallPolicy\n properties:\n attachmentTarget:\n type: string\n x-dcl-go-name: AttachmentTarget\n description: The target that the firewall policy is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n firewallPolicy:\n type: string\n x-dcl-go-name: FirewallPolicy\n description: The firewall policy ID of the association.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/FirewallPolicy\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name for an association.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n readOnly: true\n description: The short name of the firewall policy of the association.\n x-kubernetes-immutable: true\n") +var YAML_firewall_policy_association = []byte("info:\n title: Compute/FirewallPolicyAssociation\n description: The Compute FirewallPolicyAssociation resource\n x-dcl-struct-name: FirewallPolicyAssociation\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n apply:\n description: The function used to apply information about a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n delete:\n description: The function used to delete a FirewallPolicyAssociation\n parameters:\n - name: FirewallPolicyAssociation\n required: true\n description: A full instance of a FirewallPolicyAssociation\n deleteAll:\n description: The function used to delete all FirewallPolicyAssociation\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicyAssociation\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicyAssociation:\n title: FirewallPolicyAssociation\n x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/associations/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - attachmentTarget\n - firewallPolicy\n properties:\n attachmentTarget:\n type: string\n x-dcl-go-name: AttachmentTarget\n description: The target that the firewall policy is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n firewallPolicy:\n type: string\n x-dcl-go-name: FirewallPolicy\n description: The firewall policy ID of the association.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/FirewallPolicy\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name for an association.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n readOnly: true\n description: The short name of the firewall policy of the association.\n x-kubernetes-immutable: true\n") -// 2719 bytes -// MD5: a9cc86b33b5bc6ae73f2786bb91293a0 +// 2744 bytes +// MD5: 1047e8bee32ceedbecc6708453a37854 diff --git a/services/google/compute/firewall_policy_rule.yaml b/services/google/compute/firewall_policy_rule.yaml index 817b601c0b..234965b45f 100755 --- a/services/google/compute/firewall_policy_rule.yaml +++ b/services/google/compute/firewall_policy_rule.yaml @@ -15,6 +15,7 @@ info: title: Compute/FirewallPolicyRule description: The Compute FirewallPolicyRule resource x-dcl-struct-name: FirewallPolicyRule + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/firewall_policy_rule_schema.go b/services/google/compute/firewall_policy_rule_schema.go index 73edbf0799..bd2eed738e 100755 --- a/services/google/compute/firewall_policy_rule_schema.go +++ b/services/google/compute/firewall_policy_rule_schema.go @@ -23,6 +23,7 @@ func DCLFirewallPolicyRuleSchema() *dcl.Schema { Title: "Compute/FirewallPolicyRule", Description: "The Compute FirewallPolicyRule resource", StructName: "FirewallPolicyRule", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/firewall_policy_rule_yaml_embed.go b/services/google/compute/firewall_policy_rule_yaml_embed.go index 14f4769253..2fb1bad54b 100755 --- a/services/google/compute/firewall_policy_rule_yaml_embed.go +++ b/services/google/compute/firewall_policy_rule_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/firewall_policy_rule.yaml -var YAML_firewall_policy_rule = []byte("info:\n title: Compute/FirewallPolicyRule\n description: The Compute FirewallPolicyRule resource\n x-dcl-struct-name: FirewallPolicyRule\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n apply:\n description: The function used to apply information about a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n delete:\n description: The function used to delete a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n deleteAll:\n description: The function used to delete all FirewallPolicyRule\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicyRule\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicyRule:\n title: FirewallPolicyRule\n x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/rules/{{priority}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - priority\n - match\n - action\n - direction\n - firewallPolicy\n properties:\n action:\n type: string\n x-dcl-go-name: Action\n description: The Action to perform when the client connection triggers the\n rule. Can currently be either \"allow\" or \"deny()\" where valid values for\n status are 403, 404, and 502.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description for this resource.\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: FirewallPolicyRuleDirectionEnum\n description: 'The direction in which this rule applies. Possible values:\n INGRESS, EGRESS'\n enum:\n - INGRESS\n - EGRESS\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Denotes whether the firewall policy rule is disabled. When\n set to true, the firewall policy rule is not enforced and traffic behaves\n as if it did not exist. If this is unspecified, the firewall policy rule\n will be enabled.\n enableLogging:\n type: boolean\n x-dcl-go-name: EnableLogging\n description: 'Denotes whether to enable logging for a particular rule. If\n logging is enabled, logs will be exported to the configured export destination\n in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you\n cannot enable logging on \"goto_next\" rules.'\n firewallPolicy:\n type: string\n x-dcl-go-name: FirewallPolicy\n description: The firewall policy of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/FirewallPolicy\n field: name\n parent: true\n kind:\n type: string\n x-dcl-go-name: Kind\n readOnly: true\n description: Type of the resource. Always `compute#firewallPolicyRule` for\n firewall policy rules\n x-kubernetes-immutable: true\n match:\n type: object\n x-dcl-go-name: Match\n x-dcl-go-type: FirewallPolicyRuleMatch\n description: A match condition that incoming traffic is evaluated against.\n If it evaluates to true, the corresponding 'action' is enforced.\n required:\n - layer4Configs\n properties:\n destIPRanges:\n type: array\n x-dcl-go-name: DestIPRanges\n description: CIDR IP address range. Maximum number of destination CIDR\n IP ranges allowed is 256.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n layer4Configs:\n type: array\n x-dcl-go-name: Layer4Configs\n description: Pairs of IP protocols and ports that the rule should match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: FirewallPolicyRuleMatchLayer4Configs\n required:\n - ipProtocol\n properties:\n ipProtocol:\n type: string\n x-dcl-go-name: IPProtocol\n description: The IP protocol to which this rule applies. The protocol\n type is required when creating a firewall rule. This value can\n either be one of the following well known protocol strings (`tcp`,\n `udp`, `icmp`, `esp`, `ah`, `ipip`, `sctp`), or the IP protocol\n number.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'An optional list of ports to which this rule applies.\n This field is only applicable for UDP or TCP protocol. Each\n entry must be either an integer or a range. If not specified,\n this rule applies to connections through any port. Example inputs\n include: ``.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n srcIPRanges:\n type: array\n x-dcl-go-name: SrcIPRanges\n description: CIDR IP address range. Maximum number of source CIDR IP\n ranges allowed is 256.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: An integer indicating the priority of a rule in the list. The\n priority must be a positive value between 0 and 2147483647. Rules are\n evaluated from highest to lowest priority where 0 is the highest priority\n and 2147483647 is the lowest prority.\n x-kubernetes-immutable: true\n ruleTupleCount:\n type: integer\n format: int64\n x-dcl-go-name: RuleTupleCount\n readOnly: true\n description: Calculation of the complexity of a single firewall policy rule.\n targetResources:\n type: array\n x-dcl-go-name: TargetResources\n description: A list of network resource URLs to which this rule applies.\n This field allows you to control which network's VMs get this rule. If\n this field is left blank, all VMs within the organization will receive\n the rule.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n targetServiceAccounts:\n type: array\n x-dcl-go-name: TargetServiceAccounts\n description: A list of service accounts indicating the sets of instances\n that are applied with this rule.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: name\n") +var YAML_firewall_policy_rule = []byte("info:\n title: Compute/FirewallPolicyRule\n description: The Compute FirewallPolicyRule resource\n x-dcl-struct-name: FirewallPolicyRule\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n apply:\n description: The function used to apply information about a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n delete:\n description: The function used to delete a FirewallPolicyRule\n parameters:\n - name: FirewallPolicyRule\n required: true\n description: A full instance of a FirewallPolicyRule\n deleteAll:\n description: The function used to delete all FirewallPolicyRule\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicyRule\n parameters:\n - name: firewallpolicy\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicyRule:\n title: FirewallPolicyRule\n x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/rules/{{priority}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - priority\n - match\n - action\n - direction\n - firewallPolicy\n properties:\n action:\n type: string\n x-dcl-go-name: Action\n description: The Action to perform when the client connection triggers the\n rule. Can currently be either \"allow\" or \"deny()\" where valid values for\n status are 403, 404, and 502.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description for this resource.\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: FirewallPolicyRuleDirectionEnum\n description: 'The direction in which this rule applies. Possible values:\n INGRESS, EGRESS'\n enum:\n - INGRESS\n - EGRESS\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Denotes whether the firewall policy rule is disabled. When\n set to true, the firewall policy rule is not enforced and traffic behaves\n as if it did not exist. If this is unspecified, the firewall policy rule\n will be enabled.\n enableLogging:\n type: boolean\n x-dcl-go-name: EnableLogging\n description: 'Denotes whether to enable logging for a particular rule. If\n logging is enabled, logs will be exported to the configured export destination\n in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you\n cannot enable logging on \"goto_next\" rules.'\n firewallPolicy:\n type: string\n x-dcl-go-name: FirewallPolicy\n description: The firewall policy of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/FirewallPolicy\n field: name\n parent: true\n kind:\n type: string\n x-dcl-go-name: Kind\n readOnly: true\n description: Type of the resource. Always `compute#firewallPolicyRule` for\n firewall policy rules\n x-kubernetes-immutable: true\n match:\n type: object\n x-dcl-go-name: Match\n x-dcl-go-type: FirewallPolicyRuleMatch\n description: A match condition that incoming traffic is evaluated against.\n If it evaluates to true, the corresponding 'action' is enforced.\n required:\n - layer4Configs\n properties:\n destIPRanges:\n type: array\n x-dcl-go-name: DestIPRanges\n description: CIDR IP address range. Maximum number of destination CIDR\n IP ranges allowed is 256.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n layer4Configs:\n type: array\n x-dcl-go-name: Layer4Configs\n description: Pairs of IP protocols and ports that the rule should match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: FirewallPolicyRuleMatchLayer4Configs\n required:\n - ipProtocol\n properties:\n ipProtocol:\n type: string\n x-dcl-go-name: IPProtocol\n description: The IP protocol to which this rule applies. The protocol\n type is required when creating a firewall rule. This value can\n either be one of the following well known protocol strings (`tcp`,\n `udp`, `icmp`, `esp`, `ah`, `ipip`, `sctp`), or the IP protocol\n number.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'An optional list of ports to which this rule applies.\n This field is only applicable for UDP or TCP protocol. Each\n entry must be either an integer or a range. If not specified,\n this rule applies to connections through any port. Example inputs\n include: ``.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n srcIPRanges:\n type: array\n x-dcl-go-name: SrcIPRanges\n description: CIDR IP address range. Maximum number of source CIDR IP\n ranges allowed is 256.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: An integer indicating the priority of a rule in the list. The\n priority must be a positive value between 0 and 2147483647. Rules are\n evaluated from highest to lowest priority where 0 is the highest priority\n and 2147483647 is the lowest prority.\n x-kubernetes-immutable: true\n ruleTupleCount:\n type: integer\n format: int64\n x-dcl-go-name: RuleTupleCount\n readOnly: true\n description: Calculation of the complexity of a single firewall policy rule.\n targetResources:\n type: array\n x-dcl-go-name: TargetResources\n description: A list of network resource URLs to which this rule applies.\n This field allows you to control which network's VMs get this rule. If\n this field is left blank, all VMs within the organization will receive\n the rule.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n targetServiceAccounts:\n type: array\n x-dcl-go-name: TargetServiceAccounts\n description: A list of service accounts indicating the sets of instances\n that are applied with this rule.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: name\n") -// 8049 bytes -// MD5: b29c8e0f9f0d6a6b69cf70d9b91573bc +// 8074 bytes +// MD5: 8094612a613129b6d5b2530996f5e82d diff --git a/services/google/compute/firewall_policy_schema.go b/services/google/compute/firewall_policy_schema.go index e71f4e3bf9..c849e668eb 100755 --- a/services/google/compute/firewall_policy_schema.go +++ b/services/google/compute/firewall_policy_schema.go @@ -23,6 +23,7 @@ func DCLFirewallPolicySchema() *dcl.Schema { Title: "Compute/FirewallPolicy", Description: "The Compute FirewallPolicy resource", StructName: "FirewallPolicy", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/firewall_policy_yaml_embed.go b/services/google/compute/firewall_policy_yaml_embed.go index f06627b1b2..028c2927af 100755 --- a/services/google/compute/firewall_policy_yaml_embed.go +++ b/services/google/compute/firewall_policy_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/firewall_policy.yaml -var YAML_firewall_policy = []byte("info:\n title: Compute/FirewallPolicy\n description: The Compute FirewallPolicy resource\n x-dcl-struct-name: FirewallPolicy\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n apply:\n description: The function used to apply information about a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n delete:\n description: The function used to delete a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n deleteAll:\n description: The function used to delete all FirewallPolicy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicy:\n title: FirewallPolicy\n x-dcl-id: locations/global/firewallPolicies/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - shortName\n - parent\n properties:\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of the resource. This field is used internally\n during updates of this resource.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. It is a numeric ID allocated by GCP which\n uniquely identifies the Firewall Policy.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the firewall policy.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n ruleTupleCount:\n type: integer\n format: int64\n x-dcl-go-name: RuleTupleCount\n readOnly: true\n description: Total count of all firewall policy rule tuples. A firewall\n policy can not exceed a set number of tuples.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n selfLinkWithId:\n type: string\n x-dcl-go-name: SelfLinkWithId\n readOnly: true\n description: Server-defined URL for this resource with the resource id.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n description: User-provided name of the Organization firewall policy. The\n name should be unique in the organization in which the firewall policy\n is created. The name must be 1-63 characters long, and comply with RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n") +var YAML_firewall_policy = []byte("info:\n title: Compute/FirewallPolicy\n description: The Compute FirewallPolicy resource\n x-dcl-struct-name: FirewallPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n apply:\n description: The function used to apply information about a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n delete:\n description: The function used to delete a FirewallPolicy\n parameters:\n - name: FirewallPolicy\n required: true\n description: A full instance of a FirewallPolicy\n deleteAll:\n description: The function used to delete all FirewallPolicy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FirewallPolicy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FirewallPolicy:\n title: FirewallPolicy\n x-dcl-id: locations/global/firewallPolicies/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - shortName\n - parent\n properties:\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of the resource. This field is used internally\n during updates of this resource.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. It is a numeric ID allocated by GCP which\n uniquely identifies the Firewall Policy.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the firewall policy.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n ruleTupleCount:\n type: integer\n format: int64\n x-dcl-go-name: RuleTupleCount\n readOnly: true\n description: Total count of all firewall policy rule tuples. A firewall\n policy can not exceed a set number of tuples.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n selfLinkWithId:\n type: string\n x-dcl-go-name: SelfLinkWithId\n readOnly: true\n description: Server-defined URL for this resource with the resource id.\n x-kubernetes-immutable: true\n shortName:\n type: string\n x-dcl-go-name: ShortName\n description: User-provided name of the Organization firewall policy. The\n name should be unique in the organization in which the firewall policy\n is created. The name must be 1-63 characters long, and comply with RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n") -// 4547 bytes -// MD5: 520759c7a7c840fed498ef1e34e585ce +// 4572 bytes +// MD5: 25e32e16313511a1c680439b470b4200 diff --git a/services/google/compute/forwarding_rule.yaml b/services/google/compute/forwarding_rule.yaml index 54a92354ce..f5cd6a6c59 100755 --- a/services/google/compute/forwarding_rule.yaml +++ b/services/google/compute/forwarding_rule.yaml @@ -15,6 +15,7 @@ info: title: Compute/ForwardingRule description: The Compute ForwardingRule resource x-dcl-struct-name: ForwardingRule + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/forwarding_rule_schema.go b/services/google/compute/forwarding_rule_schema.go index bf185fa372..dfc43e17b2 100755 --- a/services/google/compute/forwarding_rule_schema.go +++ b/services/google/compute/forwarding_rule_schema.go @@ -23,6 +23,7 @@ func DCLForwardingRuleSchema() *dcl.Schema { Title: "Compute/ForwardingRule", Description: "The Compute ForwardingRule resource", StructName: "ForwardingRule", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/forwarding_rule_yaml_embed.go b/services/google/compute/forwarding_rule_yaml_embed.go index 4c37cef654..a3afc0567b 100755 --- a/services/google/compute/forwarding_rule_yaml_embed.go +++ b/services/google/compute/forwarding_rule_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/forwarding_rule.yaml -var YAML_forwarding_rule = []byte("info:\n title: Compute/ForwardingRule\n description: The Compute ForwardingRule resource\n x-dcl-struct-name: ForwardingRule\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n apply:\n description: The function used to apply information about a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n delete:\n description: The function used to delete a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n deleteAll:\n description: The function used to delete all ForwardingRule\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ForwardingRule\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ForwardingRule:\n title: ForwardingRule\n x-dcl-id: projects/{{project}}/global/forwardingRules/{{name}}\n x-dcl-locations:\n - region\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n allPorts:\n type: boolean\n x-dcl-go-name: AllPorts\n description: This field is used along with the `backend_service` field for\n internal load balancing or with the `target` field for internal TargetInstance.\n This field cannot be used with `port` or `portRange` fields. When the\n load balancing scheme is `INTERNAL` and protocol is TCP/UDP, specify this\n field to allow packets addressed to any ports will be forwarded to the\n backends configured with this forwarding rule.\n x-kubernetes-immutable: true\n allowGlobalAccess:\n type: boolean\n x-dcl-go-name: AllowGlobalAccess\n description: This field is used along with the `backend_service` field for\n internal load balancing or with the `target` field for internal TargetInstance.\n If the field is set to `TRUE`, clients can access ILB from all regions.\n Otherwise only allows access from clients in the same region as the internal\n load balancer.\n backendService:\n type: string\n x-dcl-go-name: BackendService\n description: This field is only used for `INTERNAL` load balancing. For\n internal load balancing, this field identifies the BackendService resource\n to receive the matched traffic.\n x-kubernetes-immutable: true\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: '[Output Only] Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.'\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n x-kubernetes-immutable: true\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: 'IP address that this forwarding rule serves. When a client\n sends traffic to this IP address, the forwarding rule directs the traffic\n to the target that you specify in the forwarding rule. If you don''t specify\n a reserved IP address, an ephemeral IP address is assigned. Methods for\n specifying an IP address: * IPv4 dotted decimal, as in `100.1.2.3` * Full\n URL, as in `https://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name`\n * Partial URL or by name, as in: * `projects/project_id/regions/region/addresses/address-name`\n * `regions/region/addresses/address-name` * `global/addresses/address-name`\n * `address-name` The loadBalancingScheme and the forwarding rule''s target\n determine the type of IP address that you can use. For detailed information,\n refer to [IP address specifications](/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n ipProtocol:\n type: string\n x-dcl-go-name: IPProtocol\n x-dcl-go-type: ForwardingRuleIPProtocolEnum\n description: The IP protocol to which this rule applies. For protocol forwarding,\n valid options are `TCP`, `UDP`, `ESP`, `AH`, `SCTP` or `ICMP`. For Internal\n TCP/UDP Load Balancing, the load balancing scheme is `INTERNAL`, and one\n of `TCP` or `UDP` are valid. For Traffic Director, the load balancing\n scheme is `INTERNAL_SELF_MANAGED`, and only `TCP`is valid. For Internal\n HTTP(S) Load Balancing, the load balancing scheme is `INTERNAL_MANAGED`,\n and only `TCP` is valid. For HTTP(S), SSL Proxy, and TCP Proxy Load Balancing,\n the load balancing scheme is `EXTERNAL` and only `TCP` is valid. For Network\n TCP/UDP Load Balancing, the load balancing scheme is `EXTERNAL`, and one\n of `TCP` or `UDP` is valid.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TCP\n - UDP\n - ESP\n - AH\n - SCTP\n - ICMP\n - L3_DEFAULT\n ipVersion:\n type: string\n x-dcl-go-name: IPVersion\n x-dcl-go-type: ForwardingRuleIPVersionEnum\n description: 'The IP Version that will be used by this forwarding rule.\n Valid options are `IPV4` or `IPV6`. This can only be specified for an\n external global forwarding rule. Possible values: UNSPECIFIED_VERSION,\n IPV4, IPV6'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED_VERSION\n - IPV4\n - IPV6\n isMirroringCollector:\n type: boolean\n x-dcl-go-name: IsMirroringCollector\n description: Indicates whether or not this load balancer can be used as\n a collector for packet mirroring. To prevent mirroring loops, instances\n behind this load balancer will not have their traffic mirrored even if\n a `PacketMirroring` rule applies to them. This can only be set to true\n for load balancers that have their `loadBalancingScheme` set to `INTERNAL`.\n x-kubernetes-immutable: true\n labelFingerprint:\n type: string\n x-dcl-go-name: LabelFingerprint\n readOnly: true\n description: Used internally during label updates.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels to apply to this rule.\n loadBalancingScheme:\n type: string\n x-dcl-go-name: LoadBalancingScheme\n x-dcl-go-type: ForwardingRuleLoadBalancingSchemeEnum\n description: \"Specifies the forwarding rule type.\\n\\n* `EXTERNAL` is used\n for:\\n * Classic Cloud VPN gateways\\n * Protocol forwarding\n to VMs from an external IP address\\n * The following load balancers:\n HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP\\n* `INTERNAL` is\n used for:\\n * Protocol forwarding to VMs from an internal IP address\\n\n \\ * Internal TCP/UDP load balancers\\n* `INTERNAL_MANAGED` is used\n for:\\n * Internal HTTP(S) load balancers\\n* `INTERNAL_SELF_MANAGED`\n is used for:\\n * Traffic Director\\n* `EXTERNAL_MANAGED` is used\n for:\\n * Global external HTTP(S) load balancers \\n\\nFor more information\n about forwarding rules, refer to [Forwarding rule concepts](/load-balancing/docs/forwarding-rule-concepts).\n Possible values: INVALID, INTERNAL, INTERNAL_MANAGED, INTERNAL_SELF_MANAGED,\n EXTERNAL, EXTERNAL_MANAGED\"\n x-kubernetes-immutable: true\n enum:\n - INVALID\n - INTERNAL\n - INTERNAL_MANAGED\n - INTERNAL_SELF_MANAGED\n - EXTERNAL\n - EXTERNAL_MANAGED\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of this resource.\n x-kubernetes-immutable: true\n metadataFilter:\n type: array\n x-dcl-go-name: MetadataFilter\n description: |-\n Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set of [xDS](https://github.com/envoyproxy/data-plane-api/blob/master/XDS_PROTOCOL.md) compliant clients. In their xDS requests to Loadbalancer, xDS clients present [node metadata](https://github.com/envoyproxy/data-plane-api/search?q=%22message+Node%22+in%3A%2Fenvoy%2Fapi%2Fv2%2Fcore%2Fbase.proto&). If a match takes place, the relevant configuration is made available to those proxies. Otherwise, all the resources (e.g. `TargetHttpProxy`, `UrlMap`) referenced by the `ForwardingRule` will not be visible to those proxies.\n\n For each `metadataFilter` in this list, if its `filterMatchCriteria` is set to MATCH_ANY, at least one of the `filterLabel`s must match the corresponding label provided in the metadata. If its `filterMatchCriteria` is set to MATCH_ALL, then all of its `filterLabel`s must match with corresponding labels provided in the metadata.\n\n `metadataFilters` specified here will be applifed before those specified in the `UrlMap` that this `ForwardingRule` references.\n\n `metadataFilters` only applies to Loadbalancers that have their loadBalancingScheme set to `INTERNAL_SELF_MANAGED`.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleMetadataFilter\n required:\n - filterMatchCriteria\n - filterLabel\n properties:\n filterLabel:\n type: array\n x-dcl-go-name: FilterLabel\n description: |-\n The list of label value pairs that must match labels in the provided metadata based on `filterMatchCriteria`\n\n This list must not be empty and can have at the most 64 entries.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleMetadataFilterFilterLabel\n required:\n - name\n - value\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: |-\n Name of metadata label.\n\n The name can have a maximum length of 1024 characters and must be at least 1 character long.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: |-\n The value of the label must match the specified value.\n\n value can have a maximum length of 1024 characters.\n x-kubernetes-immutable: true\n filterMatchCriteria:\n type: string\n x-dcl-go-name: FilterMatchCriteria\n x-dcl-go-type: ForwardingRuleMetadataFilterFilterMatchCriteriaEnum\n description: |-\n Specifies how individual `filterLabel` matches within the list of `filterLabel`s contribute towards the overall `metadataFilter` match.\n\n Supported values are:\n\n * MATCH_ANY: At least one of the `filterLabels` must have a matching label in the provided metadata.\n * MATCH_ALL: All `filterLabels` must have matching labels in the provided metadata. Possible values: NOT_SET, MATCH_ALL, MATCH_ANY\n x-kubernetes-immutable: true\n enum:\n - NOT_SET\n - MATCH_ALL\n - MATCH_ANY\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource; provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: This field is not used for external load balancing. For `INTERNAL`\n and `INTERNAL_SELF_MANAGED` load balancing, this field identifies the\n network that the load balanced IP should belong to for this Forwarding\n Rule. If this field is not specified, the default network will be used.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: ForwardingRuleNetworkTierEnum\n description: 'This signifies the networking tier used for configuring this\n load balancer and can only take the following values: `PREMIUM`, `STANDARD`.\n For regional ForwardingRule, the valid values are `PREMIUM` and `STANDARD`.\n For GlobalForwardingRule, the valid value is `PREMIUM`. If this field\n is not specified, it is assumed to be `PREMIUM`. If `IPAddress` is specified,\n this value must be equal to the networkTier of the Address.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - PREMIUM\n - STANDARD\n portRange:\n type: string\n x-dcl-go-name: PortRange\n description: |-\n When the load balancing scheme is `EXTERNAL`, `INTERNAL_SELF_MANAGED` and `INTERNAL_MANAGED`, you can specify a `port_range`. Use with a forwarding rule that points to a target proxy or a target pool. Do not use with a forwarding rule that points to a backend service. This field is used along with the `target` field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. Applicable only when `IPProtocol` is `TCP`, `UDP`, or `SCTP`, only packets addressed to ports in the specified range will be forwarded to `target`. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. Some types of forwarding target have constraints on the acceptable ports:\n\n * TargetHttpProxy: 80, 8080\n * TargetHttpsProxy: 443\n * TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n * TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n * TargetVpnGateway: 500, 4500\n\n @pattern: d+(?:-d+)?\n x-kubernetes-immutable: true\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'This field is used along with the `backend_service` field\n for internal load balancing. When the load balancing scheme is `INTERNAL`,\n a list of ports can be configured, for example, [''80''], [''8000'',''9000''].\n Only packets addressed to these ports are forwarded to the backends configured\n with the forwarding rule. If the forwarding rule''s loadBalancingScheme\n is INTERNAL, you can specify ports in one of the following ways: * A list\n of up to five ports, which can be non-contiguous * Keyword `ALL`, which\n causes the forwarding rule to forward traffic on any port of the forwarding\n rule''s protocol. @pattern: d+(?:-d+)? For more information, refer to\n [Port specifications](/load-balancing/docs/forwarding-rule-concepts#port_specifications).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project this resource belongs in.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pscConnectionId:\n type: string\n x-dcl-go-name: PscConnectionId\n readOnly: true\n description: The PSC connection id of the PSC Forwarding Rule.\n x-kubernetes-immutable: true\n pscConnectionStatus:\n type: string\n x-dcl-go-name: PscConnectionStatus\n x-dcl-go-type: ForwardingRulePscConnectionStatusEnum\n readOnly: true\n description: 'The PSC connection status of the PSC Forwarding Rule. Possible\n values: STATUS_UNSPECIFIED, PENDING, ACCEPTED, REJECTED, CLOSED'\n x-kubernetes-immutable: true\n enum:\n - STATUS_UNSPECIFIED\n - PENDING\n - ACCEPTED\n - REJECTED\n - CLOSED\n region:\n type: string\n x-dcl-go-name: Region\n description: '[Output Only] URL of the region where the regional forwarding\n rule resides. This field is not applicable to global forwarding rules.\n You must specify this field as part of the HTTP request URL. It is not\n settable as a field in the request body.'\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined URL for the resource.'\n x-kubernetes-immutable: true\n serviceDirectoryRegistrations:\n type: array\n x-dcl-go-name: ServiceDirectoryRegistrations\n description: Service Directory resources to register this forwarding rule\n with. Currently, only supports a single Service Directory resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleServiceDirectoryRegistrations\n properties:\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: Service Directory namespace to register the forwarding\n rule under.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n service:\n type: string\n x-dcl-go-name: Service\n description: Service Directory service to register the forwarding\n rule under.\n x-kubernetes-immutable: true\n serviceLabel:\n type: string\n x-dcl-go-name: ServiceLabel\n description: An optional prefix to the service name for this Forwarding\n Rule. If specified, the prefix is the first label of the fully qualified\n service name. The label must be 1-63 characters long, and comply with\n [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, the label\n must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`\n which means the first character must be a lowercase letter, and all following\n characters must be a dash, lowercase letter, or digit, except the last\n character, which cannot be a dash. This field is only used for internal\n load balancing.\n x-kubernetes-immutable: true\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n readOnly: true\n description: '[Output Only] The internal fully qualified service name for\n this Forwarding Rule. This field is only used for internal load balancing.'\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: This field is only used for `INTERNAL` load balancing. For\n internal load balancing, this field identifies the subnetwork that the\n load balanced IP should belong to for this Forwarding Rule. If the network\n specified is in auto subnet mode, this field is optional. However, if\n the network is in custom subnet mode, a subnetwork must be specified.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n target:\n type: string\n x-dcl-go-name: Target\n description: The URL of the target resource to receive the matched traffic.\n For regional forwarding rules, this target must live in the same region\n as the forwarding rule. For global forwarding rules, this target must\n be a global load balancing resource. The forwarded traffic must be of\n a type appropriate to the target object. For `INTERNAL_SELF_MANAGED` load\n balancing, only `targetHttpProxy` is valid, not `targetHttpsProxy`.\n") +var YAML_forwarding_rule = []byte("info:\n title: Compute/ForwardingRule\n description: The Compute ForwardingRule resource\n x-dcl-struct-name: ForwardingRule\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n apply:\n description: The function used to apply information about a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n delete:\n description: The function used to delete a ForwardingRule\n parameters:\n - name: ForwardingRule\n required: true\n description: A full instance of a ForwardingRule\n deleteAll:\n description: The function used to delete all ForwardingRule\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ForwardingRule\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ForwardingRule:\n title: ForwardingRule\n x-dcl-id: projects/{{project}}/global/forwardingRules/{{name}}\n x-dcl-locations:\n - region\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n allPorts:\n type: boolean\n x-dcl-go-name: AllPorts\n description: This field is used along with the `backend_service` field for\n internal load balancing or with the `target` field for internal TargetInstance.\n This field cannot be used with `port` or `portRange` fields. When the\n load balancing scheme is `INTERNAL` and protocol is TCP/UDP, specify this\n field to allow packets addressed to any ports will be forwarded to the\n backends configured with this forwarding rule.\n x-kubernetes-immutable: true\n allowGlobalAccess:\n type: boolean\n x-dcl-go-name: AllowGlobalAccess\n description: This field is used along with the `backend_service` field for\n internal load balancing or with the `target` field for internal TargetInstance.\n If the field is set to `TRUE`, clients can access ILB from all regions.\n Otherwise only allows access from clients in the same region as the internal\n load balancer.\n backendService:\n type: string\n x-dcl-go-name: BackendService\n description: This field is only used for `INTERNAL` load balancing. For\n internal load balancing, this field identifies the BackendService resource\n to receive the matched traffic.\n x-kubernetes-immutable: true\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: '[Output Only] Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.'\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n x-kubernetes-immutable: true\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: 'IP address that this forwarding rule serves. When a client\n sends traffic to this IP address, the forwarding rule directs the traffic\n to the target that you specify in the forwarding rule. If you don''t specify\n a reserved IP address, an ephemeral IP address is assigned. Methods for\n specifying an IP address: * IPv4 dotted decimal, as in `100.1.2.3` * Full\n URL, as in `https://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name`\n * Partial URL or by name, as in: * `projects/project_id/regions/region/addresses/address-name`\n * `regions/region/addresses/address-name` * `global/addresses/address-name`\n * `address-name` The loadBalancingScheme and the forwarding rule''s target\n determine the type of IP address that you can use. For detailed information,\n refer to [IP address specifications](/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n ipProtocol:\n type: string\n x-dcl-go-name: IPProtocol\n x-dcl-go-type: ForwardingRuleIPProtocolEnum\n description: The IP protocol to which this rule applies. For protocol forwarding,\n valid options are `TCP`, `UDP`, `ESP`, `AH`, `SCTP` or `ICMP`. For Internal\n TCP/UDP Load Balancing, the load balancing scheme is `INTERNAL`, and one\n of `TCP` or `UDP` are valid. For Traffic Director, the load balancing\n scheme is `INTERNAL_SELF_MANAGED`, and only `TCP`is valid. For Internal\n HTTP(S) Load Balancing, the load balancing scheme is `INTERNAL_MANAGED`,\n and only `TCP` is valid. For HTTP(S), SSL Proxy, and TCP Proxy Load Balancing,\n the load balancing scheme is `EXTERNAL` and only `TCP` is valid. For Network\n TCP/UDP Load Balancing, the load balancing scheme is `EXTERNAL`, and one\n of `TCP` or `UDP` is valid.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TCP\n - UDP\n - ESP\n - AH\n - SCTP\n - ICMP\n - L3_DEFAULT\n ipVersion:\n type: string\n x-dcl-go-name: IPVersion\n x-dcl-go-type: ForwardingRuleIPVersionEnum\n description: 'The IP Version that will be used by this forwarding rule.\n Valid options are `IPV4` or `IPV6`. This can only be specified for an\n external global forwarding rule. Possible values: UNSPECIFIED_VERSION,\n IPV4, IPV6'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED_VERSION\n - IPV4\n - IPV6\n isMirroringCollector:\n type: boolean\n x-dcl-go-name: IsMirroringCollector\n description: Indicates whether or not this load balancer can be used as\n a collector for packet mirroring. To prevent mirroring loops, instances\n behind this load balancer will not have their traffic mirrored even if\n a `PacketMirroring` rule applies to them. This can only be set to true\n for load balancers that have their `loadBalancingScheme` set to `INTERNAL`.\n x-kubernetes-immutable: true\n labelFingerprint:\n type: string\n x-dcl-go-name: LabelFingerprint\n readOnly: true\n description: Used internally during label updates.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels to apply to this rule.\n loadBalancingScheme:\n type: string\n x-dcl-go-name: LoadBalancingScheme\n x-dcl-go-type: ForwardingRuleLoadBalancingSchemeEnum\n description: \"Specifies the forwarding rule type.\\n\\n* `EXTERNAL` is used\n for:\\n * Classic Cloud VPN gateways\\n * Protocol forwarding\n to VMs from an external IP address\\n * The following load balancers:\n HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP\\n* `INTERNAL` is\n used for:\\n * Protocol forwarding to VMs from an internal IP address\\n\n \\ * Internal TCP/UDP load balancers\\n* `INTERNAL_MANAGED` is used\n for:\\n * Internal HTTP(S) load balancers\\n* `INTERNAL_SELF_MANAGED`\n is used for:\\n * Traffic Director\\n* `EXTERNAL_MANAGED` is used\n for:\\n * Global external HTTP(S) load balancers \\n\\nFor more information\n about forwarding rules, refer to [Forwarding rule concepts](/load-balancing/docs/forwarding-rule-concepts).\n Possible values: INVALID, INTERNAL, INTERNAL_MANAGED, INTERNAL_SELF_MANAGED,\n EXTERNAL, EXTERNAL_MANAGED\"\n x-kubernetes-immutable: true\n enum:\n - INVALID\n - INTERNAL\n - INTERNAL_MANAGED\n - INTERNAL_SELF_MANAGED\n - EXTERNAL\n - EXTERNAL_MANAGED\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of this resource.\n x-kubernetes-immutable: true\n metadataFilter:\n type: array\n x-dcl-go-name: MetadataFilter\n description: |-\n Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set of [xDS](https://github.com/envoyproxy/data-plane-api/blob/master/XDS_PROTOCOL.md) compliant clients. In their xDS requests to Loadbalancer, xDS clients present [node metadata](https://github.com/envoyproxy/data-plane-api/search?q=%22message+Node%22+in%3A%2Fenvoy%2Fapi%2Fv2%2Fcore%2Fbase.proto&). If a match takes place, the relevant configuration is made available to those proxies. Otherwise, all the resources (e.g. `TargetHttpProxy`, `UrlMap`) referenced by the `ForwardingRule` will not be visible to those proxies.\n\n For each `metadataFilter` in this list, if its `filterMatchCriteria` is set to MATCH_ANY, at least one of the `filterLabel`s must match the corresponding label provided in the metadata. If its `filterMatchCriteria` is set to MATCH_ALL, then all of its `filterLabel`s must match with corresponding labels provided in the metadata.\n\n `metadataFilters` specified here will be applifed before those specified in the `UrlMap` that this `ForwardingRule` references.\n\n `metadataFilters` only applies to Loadbalancers that have their loadBalancingScheme set to `INTERNAL_SELF_MANAGED`.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleMetadataFilter\n required:\n - filterMatchCriteria\n - filterLabel\n properties:\n filterLabel:\n type: array\n x-dcl-go-name: FilterLabel\n description: |-\n The list of label value pairs that must match labels in the provided metadata based on `filterMatchCriteria`\n\n This list must not be empty and can have at the most 64 entries.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleMetadataFilterFilterLabel\n required:\n - name\n - value\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: |-\n Name of metadata label.\n\n The name can have a maximum length of 1024 characters and must be at least 1 character long.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: |-\n The value of the label must match the specified value.\n\n value can have a maximum length of 1024 characters.\n x-kubernetes-immutable: true\n filterMatchCriteria:\n type: string\n x-dcl-go-name: FilterMatchCriteria\n x-dcl-go-type: ForwardingRuleMetadataFilterFilterMatchCriteriaEnum\n description: |-\n Specifies how individual `filterLabel` matches within the list of `filterLabel`s contribute towards the overall `metadataFilter` match.\n\n Supported values are:\n\n * MATCH_ANY: At least one of the `filterLabels` must have a matching label in the provided metadata.\n * MATCH_ALL: All `filterLabels` must have matching labels in the provided metadata. Possible values: NOT_SET, MATCH_ALL, MATCH_ANY\n x-kubernetes-immutable: true\n enum:\n - NOT_SET\n - MATCH_ALL\n - MATCH_ANY\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource; provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: This field is not used for external load balancing. For `INTERNAL`\n and `INTERNAL_SELF_MANAGED` load balancing, this field identifies the\n network that the load balanced IP should belong to for this Forwarding\n Rule. If this field is not specified, the default network will be used.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: ForwardingRuleNetworkTierEnum\n description: 'This signifies the networking tier used for configuring this\n load balancer and can only take the following values: `PREMIUM`, `STANDARD`.\n For regional ForwardingRule, the valid values are `PREMIUM` and `STANDARD`.\n For GlobalForwardingRule, the valid value is `PREMIUM`. If this field\n is not specified, it is assumed to be `PREMIUM`. If `IPAddress` is specified,\n this value must be equal to the networkTier of the Address.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - PREMIUM\n - STANDARD\n portRange:\n type: string\n x-dcl-go-name: PortRange\n description: |-\n When the load balancing scheme is `EXTERNAL`, `INTERNAL_SELF_MANAGED` and `INTERNAL_MANAGED`, you can specify a `port_range`. Use with a forwarding rule that points to a target proxy or a target pool. Do not use with a forwarding rule that points to a backend service. This field is used along with the `target` field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. Applicable only when `IPProtocol` is `TCP`, `UDP`, or `SCTP`, only packets addressed to ports in the specified range will be forwarded to `target`. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. Some types of forwarding target have constraints on the acceptable ports:\n\n * TargetHttpProxy: 80, 8080\n * TargetHttpsProxy: 443\n * TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n * TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n * TargetVpnGateway: 500, 4500\n\n @pattern: d+(?:-d+)?\n x-kubernetes-immutable: true\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'This field is used along with the `backend_service` field\n for internal load balancing. When the load balancing scheme is `INTERNAL`,\n a list of ports can be configured, for example, [''80''], [''8000'',''9000''].\n Only packets addressed to these ports are forwarded to the backends configured\n with the forwarding rule. If the forwarding rule''s loadBalancingScheme\n is INTERNAL, you can specify ports in one of the following ways: * A list\n of up to five ports, which can be non-contiguous * Keyword `ALL`, which\n causes the forwarding rule to forward traffic on any port of the forwarding\n rule''s protocol. @pattern: d+(?:-d+)? For more information, refer to\n [Port specifications](/load-balancing/docs/forwarding-rule-concepts#port_specifications).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project this resource belongs in.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pscConnectionId:\n type: string\n x-dcl-go-name: PscConnectionId\n readOnly: true\n description: The PSC connection id of the PSC Forwarding Rule.\n x-kubernetes-immutable: true\n pscConnectionStatus:\n type: string\n x-dcl-go-name: PscConnectionStatus\n x-dcl-go-type: ForwardingRulePscConnectionStatusEnum\n readOnly: true\n description: 'The PSC connection status of the PSC Forwarding Rule. Possible\n values: STATUS_UNSPECIFIED, PENDING, ACCEPTED, REJECTED, CLOSED'\n x-kubernetes-immutable: true\n enum:\n - STATUS_UNSPECIFIED\n - PENDING\n - ACCEPTED\n - REJECTED\n - CLOSED\n region:\n type: string\n x-dcl-go-name: Region\n description: '[Output Only] URL of the region where the regional forwarding\n rule resides. This field is not applicable to global forwarding rules.\n You must specify this field as part of the HTTP request URL. It is not\n settable as a field in the request body.'\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined URL for the resource.'\n x-kubernetes-immutable: true\n serviceDirectoryRegistrations:\n type: array\n x-dcl-go-name: ServiceDirectoryRegistrations\n description: Service Directory resources to register this forwarding rule\n with. Currently, only supports a single Service Directory resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ForwardingRuleServiceDirectoryRegistrations\n properties:\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: Service Directory namespace to register the forwarding\n rule under.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n service:\n type: string\n x-dcl-go-name: Service\n description: Service Directory service to register the forwarding\n rule under.\n x-kubernetes-immutable: true\n serviceLabel:\n type: string\n x-dcl-go-name: ServiceLabel\n description: An optional prefix to the service name for this Forwarding\n Rule. If specified, the prefix is the first label of the fully qualified\n service name. The label must be 1-63 characters long, and comply with\n [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, the label\n must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`\n which means the first character must be a lowercase letter, and all following\n characters must be a dash, lowercase letter, or digit, except the last\n character, which cannot be a dash. This field is only used for internal\n load balancing.\n x-kubernetes-immutable: true\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n readOnly: true\n description: '[Output Only] The internal fully qualified service name for\n this Forwarding Rule. This field is only used for internal load balancing.'\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: This field is only used for `INTERNAL` load balancing. For\n internal load balancing, this field identifies the subnetwork that the\n load balanced IP should belong to for this Forwarding Rule. If the network\n specified is in auto subnet mode, this field is optional. However, if\n the network is in custom subnet mode, a subnetwork must be specified.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n target:\n type: string\n x-dcl-go-name: Target\n description: The URL of the target resource to receive the matched traffic.\n For regional forwarding rules, this target must live in the same region\n as the forwarding rule. For global forwarding rules, this target must\n be a global load balancing resource. The forwarded traffic must be of\n a type appropriate to the target object. For `INTERNAL_SELF_MANAGED` load\n balancing, only `targetHttpProxy` is valid, not `targetHttpsProxy`.\n") -// 22305 bytes -// MD5: 2c85d11f2fa3111863b817f7632b281b +// 22330 bytes +// MD5: 2f83402f588a0c93b1b12f465b4d9fed diff --git a/services/google/compute/health_check.yaml b/services/google/compute/health_check.yaml index ea693b7679..78b783d1cb 100755 --- a/services/google/compute/health_check.yaml +++ b/services/google/compute/health_check.yaml @@ -15,6 +15,7 @@ info: title: Compute/HealthCheck description: The Compute HealthCheck resource x-dcl-struct-name: HealthCheck + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/http_health_check.yaml b/services/google/compute/http_health_check.yaml index ab817ef239..67d856a493 100755 --- a/services/google/compute/http_health_check.yaml +++ b/services/google/compute/http_health_check.yaml @@ -15,6 +15,7 @@ info: title: Compute/HttpHealthCheck description: The Compute HttpHealthCheck resource x-dcl-struct-name: HttpHealthCheck + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/https_health_check.yaml b/services/google/compute/https_health_check.yaml index e7de6effcb..0d4f4302f5 100755 --- a/services/google/compute/https_health_check.yaml +++ b/services/google/compute/https_health_check.yaml @@ -15,6 +15,7 @@ info: title: Compute/HttpsHealthCheck description: The Compute HttpsHealthCheck resource x-dcl-struct-name: HttpsHealthCheck + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/image.yaml b/services/google/compute/image.yaml index 7cff36e953..82d78b367b 100755 --- a/services/google/compute/image.yaml +++ b/services/google/compute/image.yaml @@ -15,6 +15,7 @@ info: title: Compute/Image description: The Compute Image resource x-dcl-struct-name: Image + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/instance.yaml b/services/google/compute/instance.yaml index 43a5a6f664..9d576d1a68 100755 --- a/services/google/compute/instance.yaml +++ b/services/google/compute/instance.yaml @@ -15,6 +15,7 @@ info: title: Compute/Instance description: The Compute Instance resource x-dcl-struct-name: Instance + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/compute/instance_group_manager.yaml b/services/google/compute/instance_group_manager.yaml index 588452c3de..664361e1d9 100755 --- a/services/google/compute/instance_group_manager.yaml +++ b/services/google/compute/instance_group_manager.yaml @@ -15,6 +15,7 @@ info: title: Compute/InstanceGroupManager description: The Compute InstanceGroupManager resource x-dcl-struct-name: InstanceGroupManager + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/instance_group_manager_schema.go b/services/google/compute/instance_group_manager_schema.go index 3a6dace5cc..e2b9ab393a 100755 --- a/services/google/compute/instance_group_manager_schema.go +++ b/services/google/compute/instance_group_manager_schema.go @@ -23,6 +23,7 @@ func DCLInstanceGroupManagerSchema() *dcl.Schema { Title: "Compute/InstanceGroupManager", Description: "The Compute InstanceGroupManager resource", StructName: "InstanceGroupManager", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/instance_group_manager_yaml_embed.go b/services/google/compute/instance_group_manager_yaml_embed.go index f3be437a1d..a2cc070ca0 100755 --- a/services/google/compute/instance_group_manager_yaml_embed.go +++ b/services/google/compute/instance_group_manager_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/instance_group_manager.yaml -var YAML_instance_group_manager = []byte("info:\n title: Compute/InstanceGroupManager\n description: The Compute InstanceGroupManager resource\n x-dcl-struct-name: InstanceGroupManager\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n apply:\n description: The function used to apply information about a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n delete:\n description: The function used to delete a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n deleteAll:\n description: The function used to delete all InstanceGroupManager\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InstanceGroupManager\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InstanceGroupManager:\n title: InstanceGroupManager\n x-dcl-locations:\n - zone\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - targetSize\n - project\n properties:\n autoHealingPolicies:\n type: array\n x-dcl-go-name: AutoHealingPolicies\n description: The autohealing policy for this managed instance group. You\n can specify only one value.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerAutoHealingPolicies\n properties:\n healthCheck:\n type: string\n x-dcl-go-name: HealthCheck\n description: The URL for the health check that signals autohealing.\n x-dcl-references:\n - resource: Compute/HealthCheck\n field: selfLink\n initialDelaySec:\n type: integer\n format: int64\n x-dcl-go-name: InitialDelaySec\n description: The number of seconds that the managed instance group\n waits before it applies autohealing policies to new instances or\n recently recreated instances. This initial delay allows instances\n to initialize and run their startup scripts before the instance\n group determines that they are UNHEALTHY. This prevents the managed\n instance group from recreating its instances prematurely. This value\n must be from range [0, 3600].\n baseInstanceName:\n type: string\n x-dcl-go-name: BaseInstanceName\n description: The base instance name to use for instances in this group.\n The value must be 1-58 characters long. Instances are named by appending\n a hyphen and a random four-character string to the base instance name.\n The base instance name must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: The creation timestamp for this managed instance group in \\[RFC3339\\](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n currentActions:\n type: object\n x-dcl-go-name: CurrentActions\n x-dcl-go-type: InstanceGroupManagerCurrentActions\n readOnly: true\n description: '[Output Only] The list of instance actions and the number\n of instances in this managed instance group that are scheduled for each\n of those actions.'\n x-kubernetes-immutable: true\n properties:\n abandoning:\n type: integer\n format: int64\n x-dcl-go-name: Abandoning\n readOnly: true\n description: '[Output Only] The total number of instances in the managed\n instance group that are scheduled to be abandoned. Abandoning an instance\n removes it from the managed instance group without deleting it.'\n x-kubernetes-immutable: true\n creating:\n type: integer\n format: int64\n x-dcl-go-name: Creating\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be created or are currently being created.\n If the group fails to create any of these instances, it tries again\n until it creates the instance successfully. If you have disabled creation\n retries, this field will not be populated; instead, the `creatingWithoutRetries`\n field will be populated.'\n x-kubernetes-immutable: true\n creatingWithoutRetries:\n type: integer\n format: int64\n x-dcl-go-name: CreatingWithoutRetries\n readOnly: true\n description: '[Output Only] The number of instances that the managed\n instance group will attempt to create. The group attempts to create\n each instance only once. If the group fails to create any of these\n instances, it decreases the group''s `targetSize` value accordingly.'\n x-kubernetes-immutable: true\n deleting:\n type: integer\n format: int64\n x-dcl-go-name: Deleting\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be deleted or are currently being deleted.'\n x-kubernetes-immutable: true\n none:\n type: integer\n format: int64\n x-dcl-go-name: None\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are running and have no scheduled actions.'\n x-kubernetes-immutable: true\n recreating:\n type: integer\n format: int64\n x-dcl-go-name: Recreating\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be recreated or are currently being being\n recreated. Recreating an instance deletes the existing root persistent\n disk and creates a new disk from the image that is defined in the\n instance template.'\n x-kubernetes-immutable: true\n refreshing:\n type: integer\n format: int64\n x-dcl-go-name: Refreshing\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are being reconfigured with properties that do not require\n a restart or a recreate action. For example, setting or removing target\n pools for the instance.'\n x-kubernetes-immutable: true\n restarting:\n type: integer\n format: int64\n x-dcl-go-name: Restarting\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be restarted or are currently being restarted.'\n x-kubernetes-immutable: true\n verifying:\n type: integer\n format: int64\n x-dcl-go-name: Verifying\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are being verified. See the `managedInstances[].currentAction`\n property in the `listManagedInstances` method documentation.'\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n x-kubernetes-immutable: true\n distributionPolicy:\n type: object\n x-dcl-go-name: DistributionPolicy\n x-dcl-go-type: InstanceGroupManagerDistributionPolicy\n description: Policy specifying the intended distribution of managed instances\n across zones in a regional managed instance group.\n properties:\n targetShape:\n type: string\n x-dcl-go-name: TargetShape\n x-dcl-go-type: InstanceGroupManagerDistributionPolicyTargetShapeEnum\n description: 'The distribution shape to which the group converges either\n proactively or on resize events (depending on the value set in `updatePolicy.instanceRedistributionType`).\n Possible values: TARGET_SHAPE_UNSPECIFIED, ANY, BALANCED, ANY_SINGLE_ZONE'\n enum:\n - TARGET_SHAPE_UNSPECIFIED\n - ANY\n - BALANCED\n - ANY_SINGLE_ZONE\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Zones where the regional managed instance group will create\n and manage its instances.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerDistributionPolicyZones\n properties:\n zone:\n type: string\n x-dcl-go-name: Zone\n description: The URL of the [zone](/compute/docs/regions-zones/#available).\n The zone must exist in the region where the managed instance\n group is located.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of this resource. This field may be used in optimistic\n locking. It will be ignored when inserting an InstanceGroupManager. An\n up-to-date fingerprint must be provided in order to update the InstanceGroupManager,\n otherwise the request will fail with error `412 conditionNotMet`. To see\n the latest fingerprint, make a `get()` request to retrieve an InstanceGroupManager.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: '[Output Only] A unique identifier for this resource type.\n The server generates this identifier.'\n x-kubernetes-immutable: true\n instanceGroup:\n type: string\n x-dcl-go-name: InstanceGroup\n readOnly: true\n description: '[Output Only] The URL of the Instance Group resource.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/InstanceGroup\n field: selfLink\n instanceTemplate:\n type: string\n x-dcl-go-name: InstanceTemplate\n description: The URL of the instance template that is specified for this\n managed instance group. The group uses this template to create all new\n instances in the managed instance group. The templates for existing instances\n in the group do not change unless you run `recreateInstances`, run `applyUpdatesToInstances`,\n or set the group's `updatePolicy.type` to `PROACTIVE`.\n x-dcl-conflicts:\n - versions\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Compute/InstanceTemplate\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of this resource.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the managed instance group. The name must be 1-63\n characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n x-kubernetes-immutable: true\n namedPorts:\n type: array\n x-dcl-go-name: NamedPorts\n description: Named ports configured for the Instance Groups complementary\n to this Instance Group Manager.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerNamedPorts\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name for this named port. The name must be 1-63 characters\n long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n x-kubernetes-immutable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: The port number, which can be a value between 1 and 65535.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: '[Output Only] The URL of the [region](/compute/docs/regions-zones/#available)\n where the managed instance group resides (for regional resources).'\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] The URL for this managed instance group. The\n server defines this URL.'\n x-kubernetes-immutable: true\n statefulPolicy:\n type: object\n x-dcl-go-name: StatefulPolicy\n x-dcl-go-type: InstanceGroupManagerStatefulPolicy\n description: Stateful configuration for this Instanced Group Manager\n properties:\n preservedState:\n type: object\n x-dcl-go-name: PreservedState\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedState\n properties:\n disks:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisks\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum\n description: 'These stateful disks will never be deleted during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the disk should be deleted\n after it is no longer used by the group, e.g. when the given\n instance or the whole group is deleted. Note: disks attached\n in READ_ONLY mode cannot be auto-deleted. Possible values:\n NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: Disks\n description: Disks created on the instances that will be preserved\n on instance delete, update, etc. This map is keyed with the device\n names of the disks.\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: InstanceGroupManagerStatus\n readOnly: true\n description: '[Output Only] The status of this managed instance group.'\n properties:\n autoscaler:\n type: string\n x-dcl-go-name: Autoscaler\n readOnly: true\n description: '[Output Only] The URL of the [Autoscaler](/compute/docs/autoscaler/)\n that targets this instance group manager.'\n x-kubernetes-immutable: true\n isStable:\n type: boolean\n x-dcl-go-name: IsStable\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed instance\n group is in a stable state. A stable state means that: none of the\n instances in the managed instance group is currently undergoing any\n type of change (for example, creation, restart, or deletion); no future\n changes are scheduled for instances in the managed instance group;\n and the managed instance group itself is not being modified.'\n x-kubernetes-immutable: true\n stateful:\n type: object\n x-dcl-go-name: Stateful\n x-dcl-go-type: InstanceGroupManagerStatusStateful\n readOnly: true\n description: '[Output Only] Stateful status of the given Instance Group\n Manager.'\n properties:\n hasStatefulConfig:\n type: boolean\n x-dcl-go-name: HasStatefulConfig\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed\n instance group has stateful configuration, that is, if you have\n configured any items in a stateful policy or in per-instance configs.\n The group might report that it has no stateful config even when\n there is still some preserved state on a managed instance, for\n example, if you have deleted all PICs but not yet applied those\n deletions.'\n x-kubernetes-immutable: true\n perInstanceConfigs:\n type: object\n x-dcl-go-name: PerInstanceConfigs\n x-dcl-go-type: InstanceGroupManagerStatusStatefulPerInstanceConfigs\n readOnly: true\n description: '[Output Only] Status of per-instance configs on the\n instance.'\n properties:\n allEffective:\n type: boolean\n x-dcl-go-name: AllEffective\n description: A bit indicating if all of the group's per-instance\n configs (listed in the output of a listPerInstanceConfigs\n API call) have status `EFFECTIVE` or there are no per-instance-configs.\n versionTarget:\n type: object\n x-dcl-go-name: VersionTarget\n x-dcl-go-type: InstanceGroupManagerStatusVersionTarget\n readOnly: true\n description: '[Output Only] A status of consistency of Instances'' versions\n with their target version specified by `version` field on Instance\n Group Manager.'\n x-kubernetes-immutable: true\n properties:\n isReached:\n type: boolean\n x-dcl-go-name: IsReached\n readOnly: true\n description: '[Output Only] A bit indicating whether version target\n has been reached in this managed instance group, i.e. all instances\n are in their target version. Instances'' target version are specified\n by `version` field on Instance Group Manager.'\n x-kubernetes-immutable: true\n targetPools:\n type: array\n x-dcl-go-name: TargetPools\n description: The URLs for all TargetPool resources to which instances in\n the `instanceGroup` field are added. The target pools automatically apply\n to all of the instances in the managed instance group.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/TargetPool\n field: selfLink\n targetSize:\n type: integer\n format: int64\n x-dcl-go-name: TargetSize\n description: The target number of running instances for this managed instance\n group. You can reduce this number by using the instanceGroupManager deleteInstances\n or abandonInstances methods. Resizing the group also changes this number.\n updatePolicy:\n type: object\n x-dcl-go-name: UpdatePolicy\n x-dcl-go-type: InstanceGroupManagerUpdatePolicy\n description: The update policy for this managed instance group.\n properties:\n instanceRedistributionType:\n type: string\n x-dcl-go-name: InstanceRedistributionType\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum\n description: 'The [instance redistribution policy](/compute/docs/instance-groups/regional-migs#proactive_instance_redistribution)\n for regional managed instance groups. Valid values are: - `PROACTIVE`\n (default): The group attempts to maintain an even distribution of\n VM instances across zones in the region. - `NONE`: For non-autoscaled\n groups, proactive redistribution is disabled.'\n enum:\n - NONE\n - PROACTIVE\n maxSurge:\n type: object\n x-dcl-go-name: MaxSurge\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxSurge\n description: The maximum number of instances that can be created above\n the specified `targetSize` during the update process. This value can\n be either a fixed number or, if the group has 10 or more instances,\n a percentage. If you set a percentage, the number of instances is\n rounded if necessary. The default value for `maxSurge` is a fixed\n value equal to the number of zones in which the managed instance group\n operates. At least one of either `maxSurge` or `maxUnavailable` must\n be greater than 0. Learn more about [`maxSurge`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_surge).\n x-dcl-send-empty: true\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then the\n `calculated` value is equal to the `fixed` value. - If the value\n is a `percent`, then the `calculated` value is `percent`/100 *\n `targetSize`. For example, the `calculated` value of a 80% of\n a managed instance group with 150 instances would be (80/100 *\n 150) = 120 VM instances. If there is a remainder, the number is\n rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to 100%,\n inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n maxUnavailable:\n type: object\n x-dcl-go-name: MaxUnavailable\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxUnavailable\n description: 'The maximum number of instances that can be unavailable\n during the update process. An instance is considered available if\n all of the following conditions are satisfied: - The instance''s [status](/compute/docs/instances/checking-instance-status)\n is `RUNNING`. - If there is a [health check](/compute/docs/instance-groups/autohealing-instances-in-migs)\n on the instance group, the instance''s health check status must be\n `HEALTHY` at least once. If there is no health check on the group,\n then the instance only needs to have a status of `RUNNING` to be considered\n available. This value can be either a fixed number or, if the group\n has 10 or more instances, a percentage. If you set a percentage, the\n number of instances is rounded if necessary. The default value for\n `maxUnavailable` is a fixed value equal to the number of zones in\n which the managed instance group operates. At least one of either\n `maxSurge` or `maxUnavailable` must be greater than 0. Learn more\n about [`maxUnavailable`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_unavailable).'\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then the\n `calculated` value is equal to the `fixed` value. - If the value\n is a `percent`, then the `calculated` value is `percent`/100 *\n `targetSize`. For example, the `calculated` value of a 80% of\n a managed instance group with 150 instances would be (80/100 *\n 150) = 120 VM instances. If there is a remainder, the number is\n rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to 100%,\n inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n minimalAction:\n type: string\n x-dcl-go-name: MinimalAction\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMinimalActionEnum\n description: Minimal action to be taken on an instance. You can specify\n either `RESTART` to restart existing instances or `REPLACE` to delete\n and create new instances from the target template. If you specify\n a `RESTART`, the Updater will attempt to perform that action only.\n However, if the Updater determines that the minimal action you specify\n is not enough to perform the update, it might perform a more disruptive\n action.\n enum:\n - REPLACE\n - RESTART\n - REFRESH\n - NONE\n replacementMethod:\n type: string\n x-dcl-go-name: ReplacementMethod\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyReplacementMethodEnum\n description: 'What action should be used to replace instances. See minimal_action.REPLACE\n Possible values: SUBSTITUTE, RECREATE'\n enum:\n - SUBSTITUTE\n - RECREATE\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyTypeEnum\n description: The type of update process. You can specify either `PROACTIVE`\n so that the instance group manager proactively executes actions in\n order to bring instances to their target versions or `OPPORTUNISTIC`\n so that no action is proactively executed but the update will be performed\n as part of other actions (for example, resizes or `recreateInstances`\n calls).\n enum:\n - OPPORTUNISTIC\n - PROACTIVE\n versions:\n type: array\n x-dcl-go-name: Versions\n description: Specifies the instance templates used by this managed instance\n group to create instances. Each version is defined by an `instanceTemplate`\n and a `name`. Every version can appear at most once per instance group.\n This field overrides the top-level `instanceTemplate` field. Read more\n about the [relationships between these fields](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#relationship_between_versions_and_instancetemplate_properties_for_a_managed_instance_group).\n Exactly one `version` must leave the `targetSize` field unset. That version\n will be applied to all remaining instances. For more information, read\n about [canary updates](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update).\n x-dcl-conflicts:\n - instanceTemplate\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerVersions\n properties:\n instanceTemplate:\n type: string\n x-dcl-go-name: InstanceTemplate\n description: The URL of the instance template that is specified for\n this managed instance group. The group uses this template to create\n new instances in the managed instance group until the `targetSize`\n for this version is reached. The templates for existing instances\n in the group do not change unless you run `recreateInstances`, run\n `applyUpdatesToInstances`, or set the group's `updatePolicy.type`\n to `PROACTIVE`; in those cases, existing instances are updated until\n the `targetSize` for this version is reached.\n x-dcl-references:\n - resource: Compute/InstanceTemplate\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the version. Unique among all versions in the\n scope of this managed instance group.\n targetSize:\n type: object\n x-dcl-go-name: TargetSize\n x-dcl-go-type: InstanceGroupManagerVersionsTargetSize\n description: 'Specifies the intended number of instances to be created\n from the `instanceTemplate`. The final number of instances created\n from the template will be equal to: - If expressed as a fixed number,\n the minimum of either `targetSize.fixed` or `instanceGroupManager.targetSize`\n is used. - if expressed as a `percent`, the `targetSize` would be\n `(targetSize.percent/100 * InstanceGroupManager.targetSize)` If\n there is a remainder, the number is rounded. If unset, this version\n will update any remaining instances not updated by another `version`.\n Read [Starting a canary update](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update)\n for more information.'\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then\n the `calculated` value is equal to the `fixed` value. - If the\n value is a `percent`, then the `calculated` value is `percent`/100\n * `targetSize`. For example, the `calculated` value of a 80%\n of a managed instance group with 150 instances would be (80/100\n * 150) = 120 VM instances. If there is a remainder, the number\n is rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to\n 100%, inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n zone:\n type: string\n x-dcl-go-name: Zone\n readOnly: true\n description: '[Output Only] The URL of a [zone](/compute/docs/regions-zones/#available)\n where the managed instance group is located (for zonal resources).'\n x-kubernetes-immutable: true\n") +var YAML_instance_group_manager = []byte("info:\n title: Compute/InstanceGroupManager\n description: The Compute InstanceGroupManager resource\n x-dcl-struct-name: InstanceGroupManager\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n apply:\n description: The function used to apply information about a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n delete:\n description: The function used to delete a InstanceGroupManager\n parameters:\n - name: InstanceGroupManager\n required: true\n description: A full instance of a InstanceGroupManager\n deleteAll:\n description: The function used to delete all InstanceGroupManager\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InstanceGroupManager\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InstanceGroupManager:\n title: InstanceGroupManager\n x-dcl-locations:\n - zone\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - targetSize\n - project\n properties:\n autoHealingPolicies:\n type: array\n x-dcl-go-name: AutoHealingPolicies\n description: The autohealing policy for this managed instance group. You\n can specify only one value.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerAutoHealingPolicies\n properties:\n healthCheck:\n type: string\n x-dcl-go-name: HealthCheck\n description: The URL for the health check that signals autohealing.\n x-dcl-references:\n - resource: Compute/HealthCheck\n field: selfLink\n initialDelaySec:\n type: integer\n format: int64\n x-dcl-go-name: InitialDelaySec\n description: The number of seconds that the managed instance group\n waits before it applies autohealing policies to new instances or\n recently recreated instances. This initial delay allows instances\n to initialize and run their startup scripts before the instance\n group determines that they are UNHEALTHY. This prevents the managed\n instance group from recreating its instances prematurely. This value\n must be from range [0, 3600].\n baseInstanceName:\n type: string\n x-dcl-go-name: BaseInstanceName\n description: The base instance name to use for instances in this group.\n The value must be 1-58 characters long. Instances are named by appending\n a hyphen and a random four-character string to the base instance name.\n The base instance name must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: The creation timestamp for this managed instance group in \\[RFC3339\\](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n currentActions:\n type: object\n x-dcl-go-name: CurrentActions\n x-dcl-go-type: InstanceGroupManagerCurrentActions\n readOnly: true\n description: '[Output Only] The list of instance actions and the number\n of instances in this managed instance group that are scheduled for each\n of those actions.'\n x-kubernetes-immutable: true\n properties:\n abandoning:\n type: integer\n format: int64\n x-dcl-go-name: Abandoning\n readOnly: true\n description: '[Output Only] The total number of instances in the managed\n instance group that are scheduled to be abandoned. Abandoning an instance\n removes it from the managed instance group without deleting it.'\n x-kubernetes-immutable: true\n creating:\n type: integer\n format: int64\n x-dcl-go-name: Creating\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be created or are currently being created.\n If the group fails to create any of these instances, it tries again\n until it creates the instance successfully. If you have disabled creation\n retries, this field will not be populated; instead, the `creatingWithoutRetries`\n field will be populated.'\n x-kubernetes-immutable: true\n creatingWithoutRetries:\n type: integer\n format: int64\n x-dcl-go-name: CreatingWithoutRetries\n readOnly: true\n description: '[Output Only] The number of instances that the managed\n instance group will attempt to create. The group attempts to create\n each instance only once. If the group fails to create any of these\n instances, it decreases the group''s `targetSize` value accordingly.'\n x-kubernetes-immutable: true\n deleting:\n type: integer\n format: int64\n x-dcl-go-name: Deleting\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be deleted or are currently being deleted.'\n x-kubernetes-immutable: true\n none:\n type: integer\n format: int64\n x-dcl-go-name: None\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are running and have no scheduled actions.'\n x-kubernetes-immutable: true\n recreating:\n type: integer\n format: int64\n x-dcl-go-name: Recreating\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be recreated or are currently being being\n recreated. Recreating an instance deletes the existing root persistent\n disk and creates a new disk from the image that is defined in the\n instance template.'\n x-kubernetes-immutable: true\n refreshing:\n type: integer\n format: int64\n x-dcl-go-name: Refreshing\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are being reconfigured with properties that do not require\n a restart or a recreate action. For example, setting or removing target\n pools for the instance.'\n x-kubernetes-immutable: true\n restarting:\n type: integer\n format: int64\n x-dcl-go-name: Restarting\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are scheduled to be restarted or are currently being restarted.'\n x-kubernetes-immutable: true\n verifying:\n type: integer\n format: int64\n x-dcl-go-name: Verifying\n readOnly: true\n description: '[Output Only] The number of instances in the managed instance\n group that are being verified. See the `managedInstances[].currentAction`\n property in the `listManagedInstances` method documentation.'\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n x-kubernetes-immutable: true\n distributionPolicy:\n type: object\n x-dcl-go-name: DistributionPolicy\n x-dcl-go-type: InstanceGroupManagerDistributionPolicy\n description: Policy specifying the intended distribution of managed instances\n across zones in a regional managed instance group.\n properties:\n targetShape:\n type: string\n x-dcl-go-name: TargetShape\n x-dcl-go-type: InstanceGroupManagerDistributionPolicyTargetShapeEnum\n description: 'The distribution shape to which the group converges either\n proactively or on resize events (depending on the value set in `updatePolicy.instanceRedistributionType`).\n Possible values: TARGET_SHAPE_UNSPECIFIED, ANY, BALANCED, ANY_SINGLE_ZONE'\n enum:\n - TARGET_SHAPE_UNSPECIFIED\n - ANY\n - BALANCED\n - ANY_SINGLE_ZONE\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Zones where the regional managed instance group will create\n and manage its instances.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerDistributionPolicyZones\n properties:\n zone:\n type: string\n x-dcl-go-name: Zone\n description: The URL of the [zone](/compute/docs/regions-zones/#available).\n The zone must exist in the region where the managed instance\n group is located.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of this resource. This field may be used in optimistic\n locking. It will be ignored when inserting an InstanceGroupManager. An\n up-to-date fingerprint must be provided in order to update the InstanceGroupManager,\n otherwise the request will fail with error `412 conditionNotMet`. To see\n the latest fingerprint, make a `get()` request to retrieve an InstanceGroupManager.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: '[Output Only] A unique identifier for this resource type.\n The server generates this identifier.'\n x-kubernetes-immutable: true\n instanceGroup:\n type: string\n x-dcl-go-name: InstanceGroup\n readOnly: true\n description: '[Output Only] The URL of the Instance Group resource.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/InstanceGroup\n field: selfLink\n instanceTemplate:\n type: string\n x-dcl-go-name: InstanceTemplate\n description: The URL of the instance template that is specified for this\n managed instance group. The group uses this template to create all new\n instances in the managed instance group. The templates for existing instances\n in the group do not change unless you run `recreateInstances`, run `applyUpdatesToInstances`,\n or set the group's `updatePolicy.type` to `PROACTIVE`.\n x-dcl-conflicts:\n - versions\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Compute/InstanceTemplate\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of this resource.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the managed instance group. The name must be 1-63\n characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n x-kubernetes-immutable: true\n namedPorts:\n type: array\n x-dcl-go-name: NamedPorts\n description: Named ports configured for the Instance Groups complementary\n to this Instance Group Manager.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerNamedPorts\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name for this named port. The name must be 1-63 characters\n long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n x-kubernetes-immutable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: The port number, which can be a value between 1 and 65535.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: '[Output Only] The URL of the [region](/compute/docs/regions-zones/#available)\n where the managed instance group resides (for regional resources).'\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] The URL for this managed instance group. The\n server defines this URL.'\n x-kubernetes-immutable: true\n statefulPolicy:\n type: object\n x-dcl-go-name: StatefulPolicy\n x-dcl-go-type: InstanceGroupManagerStatefulPolicy\n description: Stateful configuration for this Instanced Group Manager\n properties:\n preservedState:\n type: object\n x-dcl-go-name: PreservedState\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedState\n properties:\n disks:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisks\n properties:\n autoDelete:\n type: string\n x-dcl-go-name: AutoDelete\n x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum\n description: 'These stateful disks will never be deleted during\n autohealing, update or VM instance recreate operations.\n This flag is used to configure if the disk should be deleted\n after it is no longer used by the group, e.g. when the given\n instance or the whole group is deleted. Note: disks attached\n in READ_ONLY mode cannot be auto-deleted. Possible values:\n NEVER, ON_PERMANENT_INSTANCE_DELETION'\n enum:\n - NEVER\n - ON_PERMANENT_INSTANCE_DELETION\n x-dcl-go-name: Disks\n description: Disks created on the instances that will be preserved\n on instance delete, update, etc. This map is keyed with the device\n names of the disks.\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: InstanceGroupManagerStatus\n readOnly: true\n description: '[Output Only] The status of this managed instance group.'\n properties:\n autoscaler:\n type: string\n x-dcl-go-name: Autoscaler\n readOnly: true\n description: '[Output Only] The URL of the [Autoscaler](/compute/docs/autoscaler/)\n that targets this instance group manager.'\n x-kubernetes-immutable: true\n isStable:\n type: boolean\n x-dcl-go-name: IsStable\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed instance\n group is in a stable state. A stable state means that: none of the\n instances in the managed instance group is currently undergoing any\n type of change (for example, creation, restart, or deletion); no future\n changes are scheduled for instances in the managed instance group;\n and the managed instance group itself is not being modified.'\n x-kubernetes-immutable: true\n stateful:\n type: object\n x-dcl-go-name: Stateful\n x-dcl-go-type: InstanceGroupManagerStatusStateful\n readOnly: true\n description: '[Output Only] Stateful status of the given Instance Group\n Manager.'\n properties:\n hasStatefulConfig:\n type: boolean\n x-dcl-go-name: HasStatefulConfig\n readOnly: true\n description: '[Output Only] A bit indicating whether the managed\n instance group has stateful configuration, that is, if you have\n configured any items in a stateful policy or in per-instance configs.\n The group might report that it has no stateful config even when\n there is still some preserved state on a managed instance, for\n example, if you have deleted all PICs but not yet applied those\n deletions.'\n x-kubernetes-immutable: true\n perInstanceConfigs:\n type: object\n x-dcl-go-name: PerInstanceConfigs\n x-dcl-go-type: InstanceGroupManagerStatusStatefulPerInstanceConfigs\n readOnly: true\n description: '[Output Only] Status of per-instance configs on the\n instance.'\n properties:\n allEffective:\n type: boolean\n x-dcl-go-name: AllEffective\n description: A bit indicating if all of the group's per-instance\n configs (listed in the output of a listPerInstanceConfigs\n API call) have status `EFFECTIVE` or there are no per-instance-configs.\n versionTarget:\n type: object\n x-dcl-go-name: VersionTarget\n x-dcl-go-type: InstanceGroupManagerStatusVersionTarget\n readOnly: true\n description: '[Output Only] A status of consistency of Instances'' versions\n with their target version specified by `version` field on Instance\n Group Manager.'\n x-kubernetes-immutable: true\n properties:\n isReached:\n type: boolean\n x-dcl-go-name: IsReached\n readOnly: true\n description: '[Output Only] A bit indicating whether version target\n has been reached in this managed instance group, i.e. all instances\n are in their target version. Instances'' target version are specified\n by `version` field on Instance Group Manager.'\n x-kubernetes-immutable: true\n targetPools:\n type: array\n x-dcl-go-name: TargetPools\n description: The URLs for all TargetPool resources to which instances in\n the `instanceGroup` field are added. The target pools automatically apply\n to all of the instances in the managed instance group.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/TargetPool\n field: selfLink\n targetSize:\n type: integer\n format: int64\n x-dcl-go-name: TargetSize\n description: The target number of running instances for this managed instance\n group. You can reduce this number by using the instanceGroupManager deleteInstances\n or abandonInstances methods. Resizing the group also changes this number.\n updatePolicy:\n type: object\n x-dcl-go-name: UpdatePolicy\n x-dcl-go-type: InstanceGroupManagerUpdatePolicy\n description: The update policy for this managed instance group.\n properties:\n instanceRedistributionType:\n type: string\n x-dcl-go-name: InstanceRedistributionType\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum\n description: 'The [instance redistribution policy](/compute/docs/instance-groups/regional-migs#proactive_instance_redistribution)\n for regional managed instance groups. Valid values are: - `PROACTIVE`\n (default): The group attempts to maintain an even distribution of\n VM instances across zones in the region. - `NONE`: For non-autoscaled\n groups, proactive redistribution is disabled.'\n enum:\n - NONE\n - PROACTIVE\n maxSurge:\n type: object\n x-dcl-go-name: MaxSurge\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxSurge\n description: The maximum number of instances that can be created above\n the specified `targetSize` during the update process. This value can\n be either a fixed number or, if the group has 10 or more instances,\n a percentage. If you set a percentage, the number of instances is\n rounded if necessary. The default value for `maxSurge` is a fixed\n value equal to the number of zones in which the managed instance group\n operates. At least one of either `maxSurge` or `maxUnavailable` must\n be greater than 0. Learn more about [`maxSurge`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_surge).\n x-dcl-send-empty: true\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then the\n `calculated` value is equal to the `fixed` value. - If the value\n is a `percent`, then the `calculated` value is `percent`/100 *\n `targetSize`. For example, the `calculated` value of a 80% of\n a managed instance group with 150 instances would be (80/100 *\n 150) = 120 VM instances. If there is a remainder, the number is\n rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to 100%,\n inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n maxUnavailable:\n type: object\n x-dcl-go-name: MaxUnavailable\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxUnavailable\n description: 'The maximum number of instances that can be unavailable\n during the update process. An instance is considered available if\n all of the following conditions are satisfied: - The instance''s [status](/compute/docs/instances/checking-instance-status)\n is `RUNNING`. - If there is a [health check](/compute/docs/instance-groups/autohealing-instances-in-migs)\n on the instance group, the instance''s health check status must be\n `HEALTHY` at least once. If there is no health check on the group,\n then the instance only needs to have a status of `RUNNING` to be considered\n available. This value can be either a fixed number or, if the group\n has 10 or more instances, a percentage. If you set a percentage, the\n number of instances is rounded if necessary. The default value for\n `maxUnavailable` is a fixed value equal to the number of zones in\n which the managed instance group operates. At least one of either\n `maxSurge` or `maxUnavailable` must be greater than 0. Learn more\n about [`maxUnavailable`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_unavailable).'\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then the\n `calculated` value is equal to the `fixed` value. - If the value\n is a `percent`, then the `calculated` value is `percent`/100 *\n `targetSize`. For example, the `calculated` value of a 80% of\n a managed instance group with 150 instances would be (80/100 *\n 150) = 120 VM instances. If there is a remainder, the number is\n rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to 100%,\n inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n minimalAction:\n type: string\n x-dcl-go-name: MinimalAction\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyMinimalActionEnum\n description: Minimal action to be taken on an instance. You can specify\n either `RESTART` to restart existing instances or `REPLACE` to delete\n and create new instances from the target template. If you specify\n a `RESTART`, the Updater will attempt to perform that action only.\n However, if the Updater determines that the minimal action you specify\n is not enough to perform the update, it might perform a more disruptive\n action.\n enum:\n - REPLACE\n - RESTART\n - REFRESH\n - NONE\n replacementMethod:\n type: string\n x-dcl-go-name: ReplacementMethod\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyReplacementMethodEnum\n description: 'What action should be used to replace instances. See minimal_action.REPLACE\n Possible values: SUBSTITUTE, RECREATE'\n enum:\n - SUBSTITUTE\n - RECREATE\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceGroupManagerUpdatePolicyTypeEnum\n description: The type of update process. You can specify either `PROACTIVE`\n so that the instance group manager proactively executes actions in\n order to bring instances to their target versions or `OPPORTUNISTIC`\n so that no action is proactively executed but the update will be performed\n as part of other actions (for example, resizes or `recreateInstances`\n calls).\n enum:\n - OPPORTUNISTIC\n - PROACTIVE\n versions:\n type: array\n x-dcl-go-name: Versions\n description: Specifies the instance templates used by this managed instance\n group to create instances. Each version is defined by an `instanceTemplate`\n and a `name`. Every version can appear at most once per instance group.\n This field overrides the top-level `instanceTemplate` field. Read more\n about the [relationships between these fields](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#relationship_between_versions_and_instancetemplate_properties_for_a_managed_instance_group).\n Exactly one `version` must leave the `targetSize` field unset. That version\n will be applied to all remaining instances. For more information, read\n about [canary updates](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update).\n x-dcl-conflicts:\n - instanceTemplate\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGroupManagerVersions\n properties:\n instanceTemplate:\n type: string\n x-dcl-go-name: InstanceTemplate\n description: The URL of the instance template that is specified for\n this managed instance group. The group uses this template to create\n new instances in the managed instance group until the `targetSize`\n for this version is reached. The templates for existing instances\n in the group do not change unless you run `recreateInstances`, run\n `applyUpdatesToInstances`, or set the group's `updatePolicy.type`\n to `PROACTIVE`; in those cases, existing instances are updated until\n the `targetSize` for this version is reached.\n x-dcl-references:\n - resource: Compute/InstanceTemplate\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the version. Unique among all versions in the\n scope of this managed instance group.\n targetSize:\n type: object\n x-dcl-go-name: TargetSize\n x-dcl-go-type: InstanceGroupManagerVersionsTargetSize\n description: 'Specifies the intended number of instances to be created\n from the `instanceTemplate`. The final number of instances created\n from the template will be equal to: - If expressed as a fixed number,\n the minimum of either `targetSize.fixed` or `instanceGroupManager.targetSize`\n is used. - if expressed as a `percent`, the `targetSize` would be\n `(targetSize.percent/100 * InstanceGroupManager.targetSize)` If\n there is a remainder, the number is rounded. If unset, this version\n will update any remaining instances not updated by another `version`.\n Read [Starting a canary update](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update)\n for more information.'\n properties:\n calculated:\n type: integer\n format: int64\n x-dcl-go-name: Calculated\n readOnly: true\n description: '[Output Only] Absolute value of VM instances calculated\n based on the specific mode. - If the value is `fixed`, then\n the `calculated` value is equal to the `fixed` value. - If the\n value is a `percent`, then the `calculated` value is `percent`/100\n * `targetSize`. For example, the `calculated` value of a 80%\n of a managed instance group with 150 instances would be (80/100\n * 150) = 120 VM instances. If there is a remainder, the number\n is rounded.'\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed number of VM instances. This must\n be a positive integer.\n x-dcl-send-empty: true\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies a percentage of instances between 0 to\n 100%, inclusive. For example, specify `80` for 80%.\n x-dcl-send-empty: true\n zone:\n type: string\n x-dcl-go-name: Zone\n readOnly: true\n description: '[Output Only] The URL of a [zone](/compute/docs/regions-zones/#available)\n where the managed instance group is located (for zonal resources).'\n x-kubernetes-immutable: true\n") -// 34952 bytes -// MD5: bb48e7ddf5fd3cff7c4054f7d9926838 +// 34977 bytes +// MD5: 5edaa369e36f5d8e08c8c9ca1b3a51c8 diff --git a/services/google/compute/instance_schema.go b/services/google/compute/instance_schema.go index 3c79393ad1..d92f51bab3 100755 --- a/services/google/compute/instance_schema.go +++ b/services/google/compute/instance_schema.go @@ -23,6 +23,7 @@ func DCLInstanceSchema() *dcl.Schema { Title: "Compute/Instance", Description: "The Compute Instance resource", StructName: "Instance", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/compute/instance_template.yaml b/services/google/compute/instance_template.yaml index 252c981095..e491dfb8ee 100755 --- a/services/google/compute/instance_template.yaml +++ b/services/google/compute/instance_template.yaml @@ -15,6 +15,7 @@ info: title: Compute/InstanceTemplate description: The Compute InstanceTemplate resource x-dcl-struct-name: InstanceTemplate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/instance_yaml_embed.go b/services/google/compute/instance_yaml_embed.go index 55d92eca04..b8f73b230d 100755 --- a/services/google/compute/instance_yaml_embed.go +++ b/services/google/compute/instance_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/instance.yaml -var YAML_instance = []byte("info:\n title: Compute/Instance\n description: The Compute Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/zones/{{zone}}/instances/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - zone\n - project\n properties:\n canIPForward:\n type: boolean\n x-dcl-go-name: CanIPForward\n description: Allows this instance to send and receive packets with non-matching\n destination or source IPs. This is required if you plan to use this instance\n to forward routes.\n x-kubernetes-immutable: true\n cpuPlatform:\n type: string\n x-dcl-go-name: CpuPlatform\n readOnly: true\n description: The CPU platform used by this instance.\n x-kubernetes-immutable: true\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n deletionProtection:\n type: boolean\n x-dcl-go-name: DeletionProtection\n description: Whether the resource should be protected against deletion.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n x-kubernetes-immutable: true\n disks:\n type: array\n x-dcl-go-name: Disks\n description: An array of disks that are associated with the instances that\n are created from this template.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceDisks\n properties:\n autoDelete:\n type: boolean\n x-dcl-go-name: AutoDelete\n description: 'Specifies whether the disk will be auto-deleted when\n the instance is deleted (but not when the disk is detached from\n the instance). Tip: Disks should be set to autoDelete=true so that\n leftover disks are not left behind on machine deletion.'\n x-kubernetes-immutable: true\n boot:\n type: boolean\n x-dcl-go-name: Boot\n description: Indicates that this is a boot disk. The virtual machine\n will use the first partition of the disk for its root filesystem.\n x-kubernetes-immutable: true\n deviceName:\n type: string\n x-dcl-go-name: DeviceName\n description: Specifies a unique device name of your choice that is\n reflected into the /dev/disk/by-id/google-* tree of a Linux operating\n system running within the instance. This name can be used to reference\n the device for mounting, resizing, and so on, from within the instance.\n x-kubernetes-immutable: true\n diskEncryptionKey:\n type: object\n x-dcl-go-name: DiskEncryptionKey\n x-dcl-go-type: InstanceDisksDiskEncryptionKey\n description: Encrypts or decrypts a disk using a customer-supplied\n encryption key.\n x-kubernetes-immutable: true\n properties:\n rawKey:\n type: string\n x-dcl-go-name: RawKey\n description: Specifies a 256-bit customer-supplied encryption\n key, encoded in RFC 4648 base64 to either encrypt or decrypt\n this resource.\n x-kubernetes-immutable: true\n rsaEncryptedKey:\n type: string\n x-dcl-go-name: RsaEncryptedKey\n description: Specifies an RFC 4648 base64 encoded, RSA-wrapped\n 2048-bit customer-supplied encryption key to either encrypt\n or decrypt this resource.\n x-kubernetes-immutable: true\n sha256:\n type: string\n x-dcl-go-name: Sha256\n readOnly: true\n description: The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied\n encryption key that protects this resource.\n x-kubernetes-immutable: true\n index:\n type: integer\n format: int64\n x-dcl-go-name: Index\n description: Assigns a zero-based index to this disk, where 0 is reserved\n for the boot disk. For example, if you have many disks attached\n to an instance, each disk would have a unique index number. If not\n specified, the server will choose an appropriate value.\n x-kubernetes-immutable: true\n initializeParams:\n type: object\n x-dcl-go-name: InitializeParams\n x-dcl-go-type: InstanceDisksInitializeParams\n description: Specifies the parameters for a new disk that will be\n created alongside the new instance. Use initialization parameters\n to create boot disks or local SSDs attached to the new instance.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n diskName:\n type: string\n x-dcl-go-name: DiskName\n description: Specifies the disk name. If not specified, the default\n is to use the name of the instance.\n x-kubernetes-immutable: true\n diskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: DiskSizeGb\n description: Specifies the size of the disk in base-2 GB.\n x-kubernetes-immutable: true\n diskType:\n type: string\n x-dcl-go-name: DiskType\n description: Reference to a disk type. Specifies the disk type\n to use to create the instance. If not specified, the default\n is pd-standard.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/DiskType\n field: name\n sourceImage:\n type: string\n x-dcl-go-name: SourceImage\n description: The source image to create this disk. When creating\n a new instance, one of initializeParams.sourceImage or disks.source\n is required. To create a disk with one of the public operating\n system images, specify the image by its family name.\n x-kubernetes-immutable: true\n sourceImageEncryptionKey:\n type: object\n x-dcl-go-name: SourceImageEncryptionKey\n x-dcl-go-type: InstanceDisksInitializeParamsSourceImageEncryptionKey\n description: The customer-supplied encryption key of the source\n image. Required if the source image is protected by a customer-supplied\n encryption key. Instance templates do not store customer-supplied\n encryption keys, so you cannot create disks for instances in\n a managed instance group if the source images are encrypted\n with your own keys.\n x-kubernetes-immutable: true\n properties:\n rawKey:\n type: string\n x-dcl-go-name: RawKey\n description: Specifies a 256-bit customer-supplied encryption\n key, encoded in RFC 4648 base64 to either encrypt or decrypt\n this resource.\n x-kubernetes-immutable: true\n sha256:\n type: string\n x-dcl-go-name: Sha256\n readOnly: true\n description: The RFC 4648 base64 encoded SHA-256 hash of the\n customer-supplied encryption key that protects this resource.\n x-kubernetes-immutable: true\n interface:\n type: string\n x-dcl-go-name: Interface\n x-dcl-go-type: InstanceDisksInterfaceEnum\n description: Specifies the disk interface to use for attaching this\n disk, which is either SCSI or NVME. The default is SCSI. Persistent\n disks must always use SCSI and the request will fail if you attempt\n to attach a persistent disk in any other format than SCSI.\n x-kubernetes-immutable: true\n enum:\n - SCSI\n - NVME\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: InstanceDisksModeEnum\n description: The mode in which to attach this disk, either READ_WRITE\n or READ_ONLY. If not specified, the default is to attach the disk\n in READ_WRITE mode.\n x-kubernetes-immutable: true\n enum:\n - READ_WRITE\n - READ_ONLY\n source:\n type: string\n x-dcl-go-name: Source\n description: Reference to a disk. When creating a new instance, one\n of initializeParams.sourceImage or disks.source is required. If\n desired, you can also attach existing non-root persistent disks\n using this property. This field is only applicable for persistent\n disks.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Disk\n field: selfLink\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceDisksTypeEnum\n description: Specifies the type of the disk, either SCRATCH or PERSISTENT.\n If not specified, the default is PERSISTENT.\n x-kubernetes-immutable: true\n enum:\n - SCRATCH\n - PERSISTENT\n x-dcl-mutable-unreadable: true\n guestAccelerators:\n type: array\n x-dcl-go-name: GuestAccelerators\n description: List of the type and count of accelerator cards attached to\n the instance\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGuestAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the guest accelerator cards exposed to\n this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: Full or partial URL of the accelerator type resource\n to expose to this instance.\n x-kubernetes-immutable: true\n hostname:\n type: string\n x-dcl-go-name: Hostname\n description: The hostname of the instance to be created. The specified hostname\n must be RFC1035 compliant. If hostname is not specified, the default hostname\n is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS,\n and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels to apply to this instance. A list of key->value pairs.\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: A reference to a machine type which defines VM kind.\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Compute/MachineType\n field: name\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The metadata key/value pairs to assign to instances that are\n created from this template. These pairs can consist of custom metadata\n or predefined keys.\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Specifies a minimum CPU platform for the VM instance. Applicable\n values are the friendly names of CPU platforms\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the resource, provided by the client when initially\n creating the resource. The resource name must be 1-63 characters long,\n and comply with RFC1035. Specifically, the name must be 1-63 characters\n long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which\n means the first character must be a lowercase letter, and all following\n characters must be a dash, lowercase letter, or digit, except the last\n character, which cannot be a dash.\n x-kubernetes-immutable: true\n networkInterfaces:\n type: array\n x-dcl-go-name: NetworkInterfaces\n description: An array of configurations for this interface. This specifies\n how this interface is configured to interact with other network services,\n such as connecting to the internet. Only one network interface is supported\n per instance.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfaces\n properties:\n accessConfigs:\n type: array\n x-dcl-go-name: AccessConfigs\n description: An array of configurations for this interface. Currently,\n only one access config, ONE_TO_ONE_NAT, is supported. If there are\n no accessConfigs specified, then this instance will have no external\n internet access.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigs\n required:\n - name\n - type\n properties:\n externalIPv6:\n type: string\n x-dcl-go-name: ExternalIPv6\n readOnly: true\n description: The first IPv6 address of the external IPv6 range\n associated with this instance, prefix length is stored in\n externalIpv6PrefixLength in ipv6AccessConfig. The field is\n output only, an IPv6 address from a subnetwork associated\n with the instance will be allocated dynamically.\n x-kubernetes-immutable: true\n externalIPv6PrefixLength:\n type: string\n x-dcl-go-name: ExternalIPv6PrefixLength\n readOnly: true\n description: The prefix length of the external IPv6 range.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this access configuration. The default\n and recommended name is External NAT but you can use any arbitrary\n string you would like. For example, My external IP or Network\n Access.\n x-kubernetes-immutable: true\n natIP:\n type: string\n x-dcl-go-name: NatIP\n description: Reference to an address. An external IP address\n associated with this instance. Specify an unused static external\n IP address available to the project or leave this field undefined\n to use an IP from a shared ephemeral IP address pool. If you\n specify a static external IP address, it must live in the\n same region as the zone of the instance.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Address\n field: selfLink\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsNetworkTierEnum\n description: 'This signifies the networking tier used for configuring\n this access configuration and can only take the following\n values: PREMIUM, STANDARD. If an AccessConfig is specified\n without a valid external IP address, an ephemeral IP will\n be created with this networkTier. If an AccessConfig with\n a valid external IP address is specified, it must match that\n of the networkTier associated with the Address resource owning\n that IP.'\n x-kubernetes-immutable: true\n enum:\n - PREMIUM\n - STANDARD\n publicPtrDomainName:\n type: string\n x-dcl-go-name: PublicPtrDomainName\n description: The DNS domain name for the public PTR record.\n You can set this field only if the setPublicPtr field is enabled.\n x-kubernetes-immutable: true\n setPublicPtr:\n type: boolean\n x-dcl-go-name: SetPublicPtr\n description: Specifies whether a public DNS 'PTR' record should\n be created to map the external IP address of the instance\n to a DNS domain name.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsTypeEnum\n description: The type of configuration. The default and only\n option is ONE_TO_ONE_NAT.\n x-kubernetes-immutable: true\n enum:\n - ONE_TO_ONE_NAT\n aliasIPRanges:\n type: array\n x-dcl-go-name: AliasIPRanges\n description: An array of alias IP ranges for this network interface.\n Can only be specified for network interfaces on subnet-mode networks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesAliasIPRanges\n properties:\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: The IP CIDR range represented by this alias IP\n range. This IP CIDR range must belong to the specified subnetwork\n and cannot contain IP addresses reserved by system or used\n by other network interfaces. This range may be a single IP\n address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format\n string (e.g. 10.1.2.0/24).\n x-kubernetes-immutable: true\n subnetworkRangeName:\n type: string\n x-dcl-go-name: SubnetworkRangeName\n description: Optional subnetwork secondary range name specifying\n the secondary range from which to allocate the IP CIDR range\n for this alias IP range. If left unspecified, the primary\n range of the subnetwork will be used.\n x-kubernetes-immutable: true\n ipv6AccessConfigs:\n type: array\n x-dcl-go-name: IPv6AccessConfigs\n description: An array of IPv6 access configurations for this interface.\n Currently, only one IPv6 access config, DIRECT_IPV6, is supported.\n If there is no ipv6AccessConfig specified, then this instance will\n have no external IPv6 Internet access.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigs\n required:\n - name\n - type\n properties:\n externalIPv6:\n type: string\n x-dcl-go-name: ExternalIPv6\n readOnly: true\n description: The first IPv6 address of the external IPv6 range\n associated with this instance, prefix length is stored in\n externalIpv6PrefixLength in ipv6AccessConfig. The field is\n output only, an IPv6 address from a subnetwork associated\n with the instance will be allocated dynamically.\n x-kubernetes-immutable: true\n externalIPv6PrefixLength:\n type: string\n x-dcl-go-name: ExternalIPv6PrefixLength\n readOnly: true\n description: The prefix length of the external IPv6 range.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this access configuration. The default\n and recommended name is External NAT but you can use any arbitrary\n string you would like. For example, My external IP or Network\n Access.\n x-kubernetes-immutable: true\n natIP:\n type: string\n x-dcl-go-name: NatIP\n description: Reference to an address. An external IP address\n associated with this instance. Specify an unused static external\n IP address available to the project or leave this field undefined\n to use an IP from a shared ephemeral IP address pool. If you\n specify a static external IP address, it must live in the\n same region as the zone of the instance.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Address\n field: selfLink\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum\n description: 'This signifies the networking tier used for configuring\n this access configuration and can only take the following\n values: PREMIUM, STANDARD. If an AccessConfig is specified\n without a valid external IP address, an ephemeral IP will\n be created with this networkTier. If an AccessConfig with\n a valid external IP address is specified, it must match that\n of the networkTier associated with the Address resource owning\n that IP.'\n x-kubernetes-immutable: true\n enum:\n - PREMIUM\n - STANDARD\n publicPtrDomainName:\n type: string\n x-dcl-go-name: PublicPtrDomainName\n description: The DNS domain name for the public PTR record.\n You can set this field only if the setPublicPtr field is enabled.\n x-kubernetes-immutable: true\n setPublicPtr:\n type: boolean\n x-dcl-go-name: SetPublicPtr\n description: Specifies whether a public DNS 'PTR' record should\n be created to map the external IP address of the instance\n to a DNS domain name.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum\n description: The type of configuration. The default and only\n option is ONE_TO_ONE_NAT.\n x-kubernetes-immutable: true\n enum:\n - ONE_TO_ONE_NAT\n name:\n type: string\n x-dcl-go-name: Name\n readOnly: true\n description: The name of the network interface, generated by the server.\n For network devices, these are eth0, eth1, etc\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Specifies the title of an existing network. When creating\n an instance, if neither the network nor the subnetwork is specified,\n the default network global/networks/default is used; if the network\n is not specified but the subnetwork is specified, the network is\n inferred.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n networkIP:\n type: string\n x-dcl-go-name: NetworkIP\n description: An IPv4 internal network address to assign to the instance\n for this network interface. If not specified by the user, an unused\n internal IP is assigned by the system.\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: Reference to a VPC network. If the network resource is\n in legacy mode, do not provide this property. If the network is\n in auto subnet mode, providing the subnetwork is optional. If the\n network is in custom subnet mode, then this field should be specified.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n scheduling:\n type: object\n x-dcl-go-name: Scheduling\n x-dcl-go-type: InstanceScheduling\n description: Sets the scheduling options for this instance.\n x-kubernetes-immutable: true\n properties:\n automaticRestart:\n type: boolean\n x-dcl-go-name: AutomaticRestart\n description: Specifies whether the instance should be automatically\n restarted if it is terminated by Compute Engine (not terminated by\n a user). You can only set the automatic restart option for standard\n instances. Preemptible instances cannot be automatically restarted.\n x-kubernetes-immutable: true\n onHostMaintenance:\n type: string\n x-dcl-go-name: OnHostMaintenance\n description: Defines the maintenance behavior for this instance. For\n standard instances, the default behavior is MIGRATE. For preemptible\n instances, the default and only possible behavior is TERMINATE. For\n more information, see Setting Instance Scheduling Options.\n x-kubernetes-immutable: true\n preemptible:\n type: boolean\n x-dcl-go-name: Preemptible\n description: Defines whether the instance is preemptible. This can only\n be set during instance creation, it cannot be set or changed after\n the instance has been created.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: The self link of the instance\n x-kubernetes-immutable: true\n serviceAccounts:\n type: array\n x-dcl-go-name: ServiceAccounts\n description: A list of service accounts, with their specified scopes, authorized\n for this instance. Only one service account per VM instance is supported.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceServiceAccounts\n properties:\n email:\n type: string\n x-dcl-go-name: Email\n description: Email address of the service account.\n x-kubernetes-immutable: true\n scopes:\n type: array\n x-dcl-go-name: Scopes\n description: The list of scopes to be made available for this service\n account.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n shieldedInstanceConfig:\n type: object\n x-dcl-go-name: ShieldedInstanceConfig\n x-dcl-go-type: InstanceShieldedInstanceConfig\n description: Configuration for various parameters related to shielded instances.\n properties:\n enableIntegrityMonitoring:\n type: boolean\n x-dcl-go-name: EnableIntegrityMonitoring\n description: Defines whether the instance has integrity monitoring enabled.\n enableSecureBoot:\n type: boolean\n x-dcl-go-name: EnableSecureBoot\n description: Defines whether the instance has Secure Boot enabled.\n enableVtpm:\n type: boolean\n x-dcl-go-name: EnableVtpm\n description: Defines whether the instance has the vTPM enabled\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: InstanceStatusEnum\n description: 'The status of the instance. One of the following values: PROVISIONING,\n STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and TERMINATED. As\n a user, use RUNNING to keep a machine \"on\" and TERMINATED to turn a machine\n off'\n x-kubernetes-immutable: true\n enum:\n - PROVISIONING\n - STAGING\n - RUNNING\n - STOPPING\n - SUSPENDING\n - SUSPENDED\n - TERMINATED\n statusMessage:\n type: string\n x-dcl-go-name: StatusMessage\n readOnly: true\n description: An optional, human-readable explanation of the status.\n x-kubernetes-immutable: true\n tags:\n type: array\n x-dcl-go-name: Tags\n description: A list of tags to apply to this instance. Tags are used to\n identify valid sources or targets for network firewalls and are specified\n by the client during instance creation. Each tag within the list must\n comply with RFC1035.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: A reference to the zone where the machine resides.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Zone\n field: name\n parent: true\n") +var YAML_instance = []byte("info:\n title: Compute/Instance\n description: The Compute Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/zones/{{zone}}/instances/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - zone\n - project\n properties:\n canIPForward:\n type: boolean\n x-dcl-go-name: CanIPForward\n description: Allows this instance to send and receive packets with non-matching\n destination or source IPs. This is required if you plan to use this instance\n to forward routes.\n x-kubernetes-immutable: true\n cpuPlatform:\n type: string\n x-dcl-go-name: CpuPlatform\n readOnly: true\n description: The CPU platform used by this instance.\n x-kubernetes-immutable: true\n creationTimestamp:\n type: string\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n deletionProtection:\n type: boolean\n x-dcl-go-name: DeletionProtection\n description: Whether the resource should be protected against deletion.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n x-kubernetes-immutable: true\n disks:\n type: array\n x-dcl-go-name: Disks\n description: An array of disks that are associated with the instances that\n are created from this template.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceDisks\n properties:\n autoDelete:\n type: boolean\n x-dcl-go-name: AutoDelete\n description: 'Specifies whether the disk will be auto-deleted when\n the instance is deleted (but not when the disk is detached from\n the instance). Tip: Disks should be set to autoDelete=true so that\n leftover disks are not left behind on machine deletion.'\n x-kubernetes-immutable: true\n boot:\n type: boolean\n x-dcl-go-name: Boot\n description: Indicates that this is a boot disk. The virtual machine\n will use the first partition of the disk for its root filesystem.\n x-kubernetes-immutable: true\n deviceName:\n type: string\n x-dcl-go-name: DeviceName\n description: Specifies a unique device name of your choice that is\n reflected into the /dev/disk/by-id/google-* tree of a Linux operating\n system running within the instance. This name can be used to reference\n the device for mounting, resizing, and so on, from within the instance.\n x-kubernetes-immutable: true\n diskEncryptionKey:\n type: object\n x-dcl-go-name: DiskEncryptionKey\n x-dcl-go-type: InstanceDisksDiskEncryptionKey\n description: Encrypts or decrypts a disk using a customer-supplied\n encryption key.\n x-kubernetes-immutable: true\n properties:\n rawKey:\n type: string\n x-dcl-go-name: RawKey\n description: Specifies a 256-bit customer-supplied encryption\n key, encoded in RFC 4648 base64 to either encrypt or decrypt\n this resource.\n x-kubernetes-immutable: true\n rsaEncryptedKey:\n type: string\n x-dcl-go-name: RsaEncryptedKey\n description: Specifies an RFC 4648 base64 encoded, RSA-wrapped\n 2048-bit customer-supplied encryption key to either encrypt\n or decrypt this resource.\n x-kubernetes-immutable: true\n sha256:\n type: string\n x-dcl-go-name: Sha256\n readOnly: true\n description: The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied\n encryption key that protects this resource.\n x-kubernetes-immutable: true\n index:\n type: integer\n format: int64\n x-dcl-go-name: Index\n description: Assigns a zero-based index to this disk, where 0 is reserved\n for the boot disk. For example, if you have many disks attached\n to an instance, each disk would have a unique index number. If not\n specified, the server will choose an appropriate value.\n x-kubernetes-immutable: true\n initializeParams:\n type: object\n x-dcl-go-name: InitializeParams\n x-dcl-go-type: InstanceDisksInitializeParams\n description: Specifies the parameters for a new disk that will be\n created alongside the new instance. Use initialization parameters\n to create boot disks or local SSDs attached to the new instance.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n diskName:\n type: string\n x-dcl-go-name: DiskName\n description: Specifies the disk name. If not specified, the default\n is to use the name of the instance.\n x-kubernetes-immutable: true\n diskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: DiskSizeGb\n description: Specifies the size of the disk in base-2 GB.\n x-kubernetes-immutable: true\n diskType:\n type: string\n x-dcl-go-name: DiskType\n description: Reference to a disk type. Specifies the disk type\n to use to create the instance. If not specified, the default\n is pd-standard.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/DiskType\n field: name\n sourceImage:\n type: string\n x-dcl-go-name: SourceImage\n description: The source image to create this disk. When creating\n a new instance, one of initializeParams.sourceImage or disks.source\n is required. To create a disk with one of the public operating\n system images, specify the image by its family name.\n x-kubernetes-immutable: true\n sourceImageEncryptionKey:\n type: object\n x-dcl-go-name: SourceImageEncryptionKey\n x-dcl-go-type: InstanceDisksInitializeParamsSourceImageEncryptionKey\n description: The customer-supplied encryption key of the source\n image. Required if the source image is protected by a customer-supplied\n encryption key. Instance templates do not store customer-supplied\n encryption keys, so you cannot create disks for instances in\n a managed instance group if the source images are encrypted\n with your own keys.\n x-kubernetes-immutable: true\n properties:\n rawKey:\n type: string\n x-dcl-go-name: RawKey\n description: Specifies a 256-bit customer-supplied encryption\n key, encoded in RFC 4648 base64 to either encrypt or decrypt\n this resource.\n x-kubernetes-immutable: true\n sha256:\n type: string\n x-dcl-go-name: Sha256\n readOnly: true\n description: The RFC 4648 base64 encoded SHA-256 hash of the\n customer-supplied encryption key that protects this resource.\n x-kubernetes-immutable: true\n interface:\n type: string\n x-dcl-go-name: Interface\n x-dcl-go-type: InstanceDisksInterfaceEnum\n description: Specifies the disk interface to use for attaching this\n disk, which is either SCSI or NVME. The default is SCSI. Persistent\n disks must always use SCSI and the request will fail if you attempt\n to attach a persistent disk in any other format than SCSI.\n x-kubernetes-immutable: true\n enum:\n - SCSI\n - NVME\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: InstanceDisksModeEnum\n description: The mode in which to attach this disk, either READ_WRITE\n or READ_ONLY. If not specified, the default is to attach the disk\n in READ_WRITE mode.\n x-kubernetes-immutable: true\n enum:\n - READ_WRITE\n - READ_ONLY\n source:\n type: string\n x-dcl-go-name: Source\n description: Reference to a disk. When creating a new instance, one\n of initializeParams.sourceImage or disks.source is required. If\n desired, you can also attach existing non-root persistent disks\n using this property. This field is only applicable for persistent\n disks.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Disk\n field: selfLink\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceDisksTypeEnum\n description: Specifies the type of the disk, either SCRATCH or PERSISTENT.\n If not specified, the default is PERSISTENT.\n x-kubernetes-immutable: true\n enum:\n - SCRATCH\n - PERSISTENT\n x-dcl-mutable-unreadable: true\n guestAccelerators:\n type: array\n x-dcl-go-name: GuestAccelerators\n description: List of the type and count of accelerator cards attached to\n the instance\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceGuestAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the guest accelerator cards exposed to\n this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: Full or partial URL of the accelerator type resource\n to expose to this instance.\n x-kubernetes-immutable: true\n hostname:\n type: string\n x-dcl-go-name: Hostname\n description: The hostname of the instance to be created. The specified hostname\n must be RFC1035 compliant. If hostname is not specified, the default hostname\n is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS,\n and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels to apply to this instance. A list of key->value pairs.\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: A reference to a machine type which defines VM kind.\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Compute/MachineType\n field: name\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The metadata key/value pairs to assign to instances that are\n created from this template. These pairs can consist of custom metadata\n or predefined keys.\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Specifies a minimum CPU platform for the VM instance. Applicable\n values are the friendly names of CPU platforms\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the resource, provided by the client when initially\n creating the resource. The resource name must be 1-63 characters long,\n and comply with RFC1035. Specifically, the name must be 1-63 characters\n long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which\n means the first character must be a lowercase letter, and all following\n characters must be a dash, lowercase letter, or digit, except the last\n character, which cannot be a dash.\n x-kubernetes-immutable: true\n networkInterfaces:\n type: array\n x-dcl-go-name: NetworkInterfaces\n description: An array of configurations for this interface. This specifies\n how this interface is configured to interact with other network services,\n such as connecting to the internet. Only one network interface is supported\n per instance.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfaces\n properties:\n accessConfigs:\n type: array\n x-dcl-go-name: AccessConfigs\n description: An array of configurations for this interface. Currently,\n only one access config, ONE_TO_ONE_NAT, is supported. If there are\n no accessConfigs specified, then this instance will have no external\n internet access.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigs\n required:\n - name\n - type\n properties:\n externalIPv6:\n type: string\n x-dcl-go-name: ExternalIPv6\n readOnly: true\n description: The first IPv6 address of the external IPv6 range\n associated with this instance, prefix length is stored in\n externalIpv6PrefixLength in ipv6AccessConfig. The field is\n output only, an IPv6 address from a subnetwork associated\n with the instance will be allocated dynamically.\n x-kubernetes-immutable: true\n externalIPv6PrefixLength:\n type: string\n x-dcl-go-name: ExternalIPv6PrefixLength\n readOnly: true\n description: The prefix length of the external IPv6 range.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this access configuration. The default\n and recommended name is External NAT but you can use any arbitrary\n string you would like. For example, My external IP or Network\n Access.\n x-kubernetes-immutable: true\n natIP:\n type: string\n x-dcl-go-name: NatIP\n description: Reference to an address. An external IP address\n associated with this instance. Specify an unused static external\n IP address available to the project or leave this field undefined\n to use an IP from a shared ephemeral IP address pool. If you\n specify a static external IP address, it must live in the\n same region as the zone of the instance.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Address\n field: selfLink\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsNetworkTierEnum\n description: 'This signifies the networking tier used for configuring\n this access configuration and can only take the following\n values: PREMIUM, STANDARD. If an AccessConfig is specified\n without a valid external IP address, an ephemeral IP will\n be created with this networkTier. If an AccessConfig with\n a valid external IP address is specified, it must match that\n of the networkTier associated with the Address resource owning\n that IP.'\n x-kubernetes-immutable: true\n enum:\n - PREMIUM\n - STANDARD\n publicPtrDomainName:\n type: string\n x-dcl-go-name: PublicPtrDomainName\n description: The DNS domain name for the public PTR record.\n You can set this field only if the setPublicPtr field is enabled.\n x-kubernetes-immutable: true\n setPublicPtr:\n type: boolean\n x-dcl-go-name: SetPublicPtr\n description: Specifies whether a public DNS 'PTR' record should\n be created to map the external IP address of the instance\n to a DNS domain name.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsTypeEnum\n description: The type of configuration. The default and only\n option is ONE_TO_ONE_NAT.\n x-kubernetes-immutable: true\n enum:\n - ONE_TO_ONE_NAT\n aliasIPRanges:\n type: array\n x-dcl-go-name: AliasIPRanges\n description: An array of alias IP ranges for this network interface.\n Can only be specified for network interfaces on subnet-mode networks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesAliasIPRanges\n properties:\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: The IP CIDR range represented by this alias IP\n range. This IP CIDR range must belong to the specified subnetwork\n and cannot contain IP addresses reserved by system or used\n by other network interfaces. This range may be a single IP\n address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format\n string (e.g. 10.1.2.0/24).\n x-kubernetes-immutable: true\n subnetworkRangeName:\n type: string\n x-dcl-go-name: SubnetworkRangeName\n description: Optional subnetwork secondary range name specifying\n the secondary range from which to allocate the IP CIDR range\n for this alias IP range. If left unspecified, the primary\n range of the subnetwork will be used.\n x-kubernetes-immutable: true\n ipv6AccessConfigs:\n type: array\n x-dcl-go-name: IPv6AccessConfigs\n description: An array of IPv6 access configurations for this interface.\n Currently, only one IPv6 access config, DIRECT_IPV6, is supported.\n If there is no ipv6AccessConfig specified, then this instance will\n have no external IPv6 Internet access.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigs\n required:\n - name\n - type\n properties:\n externalIPv6:\n type: string\n x-dcl-go-name: ExternalIPv6\n readOnly: true\n description: The first IPv6 address of the external IPv6 range\n associated with this instance, prefix length is stored in\n externalIpv6PrefixLength in ipv6AccessConfig. The field is\n output only, an IPv6 address from a subnetwork associated\n with the instance will be allocated dynamically.\n x-kubernetes-immutable: true\n externalIPv6PrefixLength:\n type: string\n x-dcl-go-name: ExternalIPv6PrefixLength\n readOnly: true\n description: The prefix length of the external IPv6 range.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this access configuration. The default\n and recommended name is External NAT but you can use any arbitrary\n string you would like. For example, My external IP or Network\n Access.\n x-kubernetes-immutable: true\n natIP:\n type: string\n x-dcl-go-name: NatIP\n description: Reference to an address. An external IP address\n associated with this instance. Specify an unused static external\n IP address available to the project or leave this field undefined\n to use an IP from a shared ephemeral IP address pool. If you\n specify a static external IP address, it must live in the\n same region as the zone of the instance.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Address\n field: selfLink\n networkTier:\n type: string\n x-dcl-go-name: NetworkTier\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum\n description: 'This signifies the networking tier used for configuring\n this access configuration and can only take the following\n values: PREMIUM, STANDARD. If an AccessConfig is specified\n without a valid external IP address, an ephemeral IP will\n be created with this networkTier. If an AccessConfig with\n a valid external IP address is specified, it must match that\n of the networkTier associated with the Address resource owning\n that IP.'\n x-kubernetes-immutable: true\n enum:\n - PREMIUM\n - STANDARD\n publicPtrDomainName:\n type: string\n x-dcl-go-name: PublicPtrDomainName\n description: The DNS domain name for the public PTR record.\n You can set this field only if the setPublicPtr field is enabled.\n x-kubernetes-immutable: true\n setPublicPtr:\n type: boolean\n x-dcl-go-name: SetPublicPtr\n description: Specifies whether a public DNS 'PTR' record should\n be created to map the external IP address of the instance\n to a DNS domain name.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum\n description: The type of configuration. The default and only\n option is ONE_TO_ONE_NAT.\n x-kubernetes-immutable: true\n enum:\n - ONE_TO_ONE_NAT\n name:\n type: string\n x-dcl-go-name: Name\n readOnly: true\n description: The name of the network interface, generated by the server.\n For network devices, these are eth0, eth1, etc\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Specifies the title of an existing network. When creating\n an instance, if neither the network nor the subnetwork is specified,\n the default network global/networks/default is used; if the network\n is not specified but the subnetwork is specified, the network is\n inferred.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n networkIP:\n type: string\n x-dcl-go-name: NetworkIP\n description: An IPv4 internal network address to assign to the instance\n for this network interface. If not specified by the user, an unused\n internal IP is assigned by the system.\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: Reference to a VPC network. If the network resource is\n in legacy mode, do not provide this property. If the network is\n in auto subnet mode, providing the subnetwork is optional. If the\n network is in custom subnet mode, then this field should be specified.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n scheduling:\n type: object\n x-dcl-go-name: Scheduling\n x-dcl-go-type: InstanceScheduling\n description: Sets the scheduling options for this instance.\n x-kubernetes-immutable: true\n properties:\n automaticRestart:\n type: boolean\n x-dcl-go-name: AutomaticRestart\n description: Specifies whether the instance should be automatically\n restarted if it is terminated by Compute Engine (not terminated by\n a user). You can only set the automatic restart option for standard\n instances. Preemptible instances cannot be automatically restarted.\n x-kubernetes-immutable: true\n onHostMaintenance:\n type: string\n x-dcl-go-name: OnHostMaintenance\n description: Defines the maintenance behavior for this instance. For\n standard instances, the default behavior is MIGRATE. For preemptible\n instances, the default and only possible behavior is TERMINATE. For\n more information, see Setting Instance Scheduling Options.\n x-kubernetes-immutable: true\n preemptible:\n type: boolean\n x-dcl-go-name: Preemptible\n description: Defines whether the instance is preemptible. This can only\n be set during instance creation, it cannot be set or changed after\n the instance has been created.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: The self link of the instance\n x-kubernetes-immutable: true\n serviceAccounts:\n type: array\n x-dcl-go-name: ServiceAccounts\n description: A list of service accounts, with their specified scopes, authorized\n for this instance. Only one service account per VM instance is supported.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceServiceAccounts\n properties:\n email:\n type: string\n x-dcl-go-name: Email\n description: Email address of the service account.\n x-kubernetes-immutable: true\n scopes:\n type: array\n x-dcl-go-name: Scopes\n description: The list of scopes to be made available for this service\n account.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n shieldedInstanceConfig:\n type: object\n x-dcl-go-name: ShieldedInstanceConfig\n x-dcl-go-type: InstanceShieldedInstanceConfig\n description: Configuration for various parameters related to shielded instances.\n properties:\n enableIntegrityMonitoring:\n type: boolean\n x-dcl-go-name: EnableIntegrityMonitoring\n description: Defines whether the instance has integrity monitoring enabled.\n enableSecureBoot:\n type: boolean\n x-dcl-go-name: EnableSecureBoot\n description: Defines whether the instance has Secure Boot enabled.\n enableVtpm:\n type: boolean\n x-dcl-go-name: EnableVtpm\n description: Defines whether the instance has the vTPM enabled\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: InstanceStatusEnum\n description: 'The status of the instance. One of the following values: PROVISIONING,\n STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and TERMINATED. As\n a user, use RUNNING to keep a machine \"on\" and TERMINATED to turn a machine\n off'\n x-kubernetes-immutable: true\n enum:\n - PROVISIONING\n - STAGING\n - RUNNING\n - STOPPING\n - SUSPENDING\n - SUSPENDED\n - TERMINATED\n statusMessage:\n type: string\n x-dcl-go-name: StatusMessage\n readOnly: true\n description: An optional, human-readable explanation of the status.\n x-kubernetes-immutable: true\n tags:\n type: array\n x-dcl-go-name: Tags\n description: A list of tags to apply to this instance. Tags are used to\n identify valid sources or targets for network firewalls and are specified\n by the client during instance creation. Each tag within the list must\n comply with RFC1035.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: A reference to the zone where the machine resides.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Zone\n field: name\n parent: true\n") -// 35469 bytes -// MD5: 04873fdb274cd69a8a7b9b45dfed105c +// 35494 bytes +// MD5: b486d66c3affa0501097eb967f52b296 diff --git a/services/google/compute/interconnect.yaml b/services/google/compute/interconnect.yaml index f9806950d1..1965ce9f84 100755 --- a/services/google/compute/interconnect.yaml +++ b/services/google/compute/interconnect.yaml @@ -15,6 +15,7 @@ info: title: Compute/Interconnect description: The Compute Interconnect resource x-dcl-struct-name: Interconnect + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/interconnect_attachment.yaml b/services/google/compute/interconnect_attachment.yaml index 6493ce0b99..a116e8efb4 100755 --- a/services/google/compute/interconnect_attachment.yaml +++ b/services/google/compute/interconnect_attachment.yaml @@ -15,6 +15,7 @@ info: title: Compute/InterconnectAttachment description: The Compute InterconnectAttachment resource x-dcl-struct-name: InterconnectAttachment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/interconnect_attachment_schema.go b/services/google/compute/interconnect_attachment_schema.go index f65e4e2969..b3b1555671 100755 --- a/services/google/compute/interconnect_attachment_schema.go +++ b/services/google/compute/interconnect_attachment_schema.go @@ -23,6 +23,7 @@ func DCLInterconnectAttachmentSchema() *dcl.Schema { Title: "Compute/InterconnectAttachment", Description: "The Compute InterconnectAttachment resource", StructName: "InterconnectAttachment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/interconnect_attachment_yaml_embed.go b/services/google/compute/interconnect_attachment_yaml_embed.go index 5ec1b9e2e1..7f938e2abb 100755 --- a/services/google/compute/interconnect_attachment_yaml_embed.go +++ b/services/google/compute/interconnect_attachment_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/interconnect_attachment.yaml -var YAML_interconnect_attachment = []byte("info:\n title: Compute/InterconnectAttachment\n description: The Compute InterconnectAttachment resource\n x-dcl-struct-name: InterconnectAttachment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n apply:\n description: The function used to apply information about a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n delete:\n description: The function used to delete a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n deleteAll:\n description: The function used to delete all InterconnectAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InterconnectAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InterconnectAttachment:\n title: InterconnectAttachment\n x-dcl-id: projects/{{project}}/regions/{{region}}/interconnectAttachments/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - region\n - project\n properties:\n adminEnabled:\n type: boolean\n x-dcl-go-name: AdminEnabled\n description: Determines whether this Attachment will carry packets. Not\n present for PARTNER_PROVIDER.\n bandwidth:\n type: string\n x-dcl-go-name: Bandwidth\n x-dcl-go-type: InterconnectAttachmentBandwidthEnum\n description: 'Provisioned bandwidth capacity for the interconnect attachment.\n For attachments of type DEDICATED, the user can set the bandwidth. For\n attachments of type PARTNER, the Google Partner that is operating the\n interconnect must set the bandwidth. Output only for PARTNER type, mutable\n for PARTNER_PROVIDER and DEDICATED, and can take one of the following\n values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s\n - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s -\n BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s\n - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s'\n enum:\n - BPS_50M\n - BPS_100M\n - BPS_200M\n - BPS_300M\n - BPS_400M\n - BPS_500M\n - BPS_1G\n - BPS_2G\n - BPS_5G\n - BPS_10G\n - BPS_20G\n - BPS_50G\n candidateSubnets:\n type: array\n x-dcl-go-name: CandidateSubnets\n description: Up to 16 candidate prefixes that can be used to restrict the\n allocation of cloudRouterIpAddress and customerRouterIpAddress for this\n attachment. All prefixes must be within link-local address space (169.254.0.0/16)\n and must be /29 or shorter (/28, /27, etc). Google will attempt to select\n an unused /29 from the supplied candidate prefix(es). The request will\n fail if all possible /29s are in use on Google's edge. If not supplied,\n Google will randomly select an unused /29 from all of link-local space.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n cloudRouterIPAddress:\n type: string\n x-dcl-go-name: CloudRouterIPAddress\n readOnly: true\n description: IPv4 address + prefix length to be configured on Cloud Router\n Interface for this interconnect attachment.\n x-kubernetes-immutable: true\n customerRouterIPAddress:\n type: string\n x-dcl-go-name: CustomerRouterIPAddress\n readOnly: true\n description: IPv4 address + prefix length to be configured on the customer\n router subinterface for this interconnect attachment.\n x-kubernetes-immutable: true\n dataplaneVersion:\n type: integer\n format: int64\n x-dcl-go-name: DataplaneVersion\n description: Dataplane version for this InterconnectAttachment. This field\n is only present for Dataplane version 2 and higher. Absence of this field\n in the API output indicates that the Dataplane is version 1.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n edgeAvailabilityDomain:\n type: string\n x-dcl-go-name: EdgeAvailabilityDomain\n x-dcl-go-type: InterconnectAttachmentEdgeAvailabilityDomainEnum\n description: 'Desired availability domain for the attachment. Only available\n for type PARTNER, at creation time, and can take one of the following\n values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2\n For improved reliability, customers should configure a pair of attachments,\n one per availability domain. The selected availability domain will be\n provided to the Partner via the pairing key, so that the provisioned circuit\n will lie in the specified domain. If not specified, the value will default\n to AVAILABILITY_DOMAIN_ANY.'\n enum:\n - AVAILABILITY_DOMAIN_ANY\n - AVAILABILITY_DOMAIN_1\n - AVAILABILITY_DOMAIN_2\n encryption:\n type: string\n x-dcl-go-name: Encryption\n x-dcl-go-type: InterconnectAttachmentEncryptionEnum\n description: 'Indicates the user-supplied encryption option of this VLAN\n attachment (interconnectAttachment). Can only be specified at attachment\n creation for PARTNER or DEDICATED attachments. Possible values are: -\n `NONE` - This is the default value, which means that the VLAN attachment\n carries unencrypted traffic. VMs are able to send traffic to, or receive\n traffic from, such a VLAN attachment. - `IPSEC` - The VLAN attachment\n carries only encrypted traffic that is encrypted by an IPsec device, such\n as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send\n traffic to, or receive traffic from, such a VLAN attachment. To use _IPsec-encrypted\n Cloud Interconnect_, the VLAN attachment must be created with this option.\n Not currently available publicly.'\n enum:\n - NONE\n - IPSEC\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n interconnect:\n type: string\n x-dcl-go-name: Interconnect\n description: URL of the underlying Interconnect object that this attachment's\n traffic will traverse through.\n ipsecInternalAddresses:\n type: array\n x-dcl-go-name: IpsecInternalAddresses\n description: A list of URLs of addresses that have been reserved for the\n VLAN attachment. Used only for the VLAN attachment that has the encryption\n option as IPSEC. The addresses must be regional internal IP address ranges.\n When creating an HA VPN gateway over the VLAN attachment, if the attachment\n is configured to use a regional internal IP address, then the VPN gateway's\n IP address is allocated from the IP address range specified here. For\n example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment,\n then a regional internal IP address for the VPN gateway interface 0 will\n be allocated from the IP address specified for this VLAN attachment. If\n this field is not specified when creating the VLAN attachment, then later\n on when creating an HA VPN gateway on this VLAN attachment, the HA VPN\n gateway's IP address is allocated from the regional external IP address\n pool. Not currently available publicly.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n mtu:\n type: integer\n format: int64\n x-dcl-go-name: Mtu\n description: Maximum Transmission Unit (MTU), in bytes, of packets passing\n through this interconnect attachment. Only 1440 and 1500 are allowed.\n If not specified, the value will default to 1440.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n operationalStatus:\n type: string\n x-dcl-go-name: OperationalStatus\n x-dcl-go-type: InterconnectAttachmentOperationalStatusEnum\n readOnly: true\n description: 'The current status of whether or not this interconnect attachment\n is functional, which can take one of the following values: - OS_ACTIVE:\n The attachment has been turned up and is ready to use. - OS_UNPROVISIONED:\n The attachment is not ready to use yet, because turnup is not complete.'\n x-kubernetes-immutable: true\n enum:\n - OS_ACTIVE\n - OS_UNPROVISIONED\n pairingKey:\n type: string\n x-dcl-go-name: PairingKey\n description: The opaque identifier of an PARTNER attachment used to initiate\n provisioning with a selected partner. Of the form \"XXXXX/region/domain\"\n partnerAsn:\n type: integer\n format: int64\n x-dcl-go-name: PartnerAsn\n description: Optional BGP ASN for the router supplied by a Layer 3 Partner\n if they configured BGP on behalf of the customer. Output only for PARTNER\n type, input only for PARTNER_PROVIDER, not available for DEDICATED.\n partnerMetadata:\n type: object\n x-dcl-go-name: PartnerMetadata\n x-dcl-go-type: InterconnectAttachmentPartnerMetadata\n description: Informational metadata about Partner attachments from Partners\n to display to customers. Output only for for PARTNER type, mutable for\n PARTNER_PROVIDER, not available for DEDICATED.\n properties:\n interconnectName:\n type: string\n x-dcl-go-name: InterconnectName\n description: Plain text name of the Interconnect this attachment is\n connected to, as displayed in the Partner's portal. For instance \"Chicago\n 1\". This value may be validated to match approved Partner values.\n partnerName:\n type: string\n x-dcl-go-name: PartnerName\n description: Plain text name of the Partner providing this attachment.\n This value may be validated to match approved Partner values.\n portalUrl:\n type: string\n x-dcl-go-name: PortalUrl\n description: URL of the Partner's portal for this Attachment. Partners\n may customise this to be a deep link to the specific resource on the\n Partner portal. This value may be validated to match approved Partner\n values.\n privateInterconnectInfo:\n type: object\n x-dcl-go-name: PrivateInterconnectInfo\n x-dcl-go-type: InterconnectAttachmentPrivateInterconnectInfo\n readOnly: true\n description: Information specific to an InterconnectAttachment. This property\n is populated if the interconnect that this is attached to is of type DEDICATED.\n x-kubernetes-immutable: true\n properties:\n tag8021q:\n type: integer\n format: int64\n x-dcl-go-name: Tag8021q\n readOnly: true\n description: 802.1q encapsulation tag to be used for traffic between\n Google and the customer, going to and from this network and region.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: URL of the region where the regional interconnect attachment\n resides. You must specify this field as part of the HTTP request URL.\n It is not settable as a field in the request body.\n x-kubernetes-immutable: true\n router:\n type: string\n x-dcl-go-name: Router\n description: URL of the Cloud Router to be used for dynamic routing. This\n router must be in the same region as this InterconnectAttachment. The\n InterconnectAttachment will automatically connect the Interconnect to\n the network & region within which the Cloud Router is configured.\n satisfiesPzs:\n type: boolean\n x-dcl-go-name: SatisfiesPzs\n readOnly: true\n description: Set to true if the resource satisfies the zone separation organization\n policy constraints and false otherwise. Defaults to false if the field\n is not present.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InterconnectAttachmentStateEnum\n readOnly: true\n description: 'The current state of this attachment''s functionality. Enum\n values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER,\n and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER,\n PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER\n and PARTNER_PROVIDER interconnect attachments. This state can take one\n of the following values: - ACTIVE: The attachment has been turned up and\n is ready to use. - UNPROVISIONED: The attachment is not ready to use yet,\n because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER\n attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED:\n A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER\n attachment was created that references it. - PENDING_CUSTOMER: A PARTNER\n or PARTNER_PROVIDER attachment that is waiting for a customer to activate\n it. - DEFUNCT: The attachment was deleted externally and is no longer\n functional. This could be because the associated Interconnect was removed,\n or because the other side of a Partner attachment was deleted. Possible\n values: DEPRECATED, OBSOLETE, DELETED, ACTIVE'\n x-kubernetes-immutable: true\n enum:\n - DEPRECATED\n - OBSOLETE\n - DELETED\n - ACTIVE\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InterconnectAttachmentTypeEnum\n description: 'The type of interconnect attachment this is, which can take\n one of the following values: - DEDICATED: an attachment to a Dedicated\n Interconnect. - PARTNER: an attachment to a Partner Interconnect, created\n by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect,\n created by the partner. Possible values: PATH, OTHER, PARAMETER'\n enum:\n - PATH\n - OTHER\n - PARAMETER\n vlanTag8021q:\n type: integer\n format: int64\n x-dcl-go-name: VlanTag8021q\n description: The IEEE 802.1Q VLAN tag for this attachment, in the range\n 2-4094. Only specified at creation time.\n") +var YAML_interconnect_attachment = []byte("info:\n title: Compute/InterconnectAttachment\n description: The Compute InterconnectAttachment resource\n x-dcl-struct-name: InterconnectAttachment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n apply:\n description: The function used to apply information about a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n delete:\n description: The function used to delete a InterconnectAttachment\n parameters:\n - name: InterconnectAttachment\n required: true\n description: A full instance of a InterconnectAttachment\n deleteAll:\n description: The function used to delete all InterconnectAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InterconnectAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InterconnectAttachment:\n title: InterconnectAttachment\n x-dcl-id: projects/{{project}}/regions/{{region}}/interconnectAttachments/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - region\n - project\n properties:\n adminEnabled:\n type: boolean\n x-dcl-go-name: AdminEnabled\n description: Determines whether this Attachment will carry packets. Not\n present for PARTNER_PROVIDER.\n bandwidth:\n type: string\n x-dcl-go-name: Bandwidth\n x-dcl-go-type: InterconnectAttachmentBandwidthEnum\n description: 'Provisioned bandwidth capacity for the interconnect attachment.\n For attachments of type DEDICATED, the user can set the bandwidth. For\n attachments of type PARTNER, the Google Partner that is operating the\n interconnect must set the bandwidth. Output only for PARTNER type, mutable\n for PARTNER_PROVIDER and DEDICATED, and can take one of the following\n values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s\n - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s -\n BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s\n - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s'\n enum:\n - BPS_50M\n - BPS_100M\n - BPS_200M\n - BPS_300M\n - BPS_400M\n - BPS_500M\n - BPS_1G\n - BPS_2G\n - BPS_5G\n - BPS_10G\n - BPS_20G\n - BPS_50G\n candidateSubnets:\n type: array\n x-dcl-go-name: CandidateSubnets\n description: Up to 16 candidate prefixes that can be used to restrict the\n allocation of cloudRouterIpAddress and customerRouterIpAddress for this\n attachment. All prefixes must be within link-local address space (169.254.0.0/16)\n and must be /29 or shorter (/28, /27, etc). Google will attempt to select\n an unused /29 from the supplied candidate prefix(es). The request will\n fail if all possible /29s are in use on Google's edge. If not supplied,\n Google will randomly select an unused /29 from all of link-local space.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n cloudRouterIPAddress:\n type: string\n x-dcl-go-name: CloudRouterIPAddress\n readOnly: true\n description: IPv4 address + prefix length to be configured on Cloud Router\n Interface for this interconnect attachment.\n x-kubernetes-immutable: true\n customerRouterIPAddress:\n type: string\n x-dcl-go-name: CustomerRouterIPAddress\n readOnly: true\n description: IPv4 address + prefix length to be configured on the customer\n router subinterface for this interconnect attachment.\n x-kubernetes-immutable: true\n dataplaneVersion:\n type: integer\n format: int64\n x-dcl-go-name: DataplaneVersion\n description: Dataplane version for this InterconnectAttachment. This field\n is only present for Dataplane version 2 and higher. Absence of this field\n in the API output indicates that the Dataplane is version 1.\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource.\n edgeAvailabilityDomain:\n type: string\n x-dcl-go-name: EdgeAvailabilityDomain\n x-dcl-go-type: InterconnectAttachmentEdgeAvailabilityDomainEnum\n description: 'Desired availability domain for the attachment. Only available\n for type PARTNER, at creation time, and can take one of the following\n values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2\n For improved reliability, customers should configure a pair of attachments,\n one per availability domain. The selected availability domain will be\n provided to the Partner via the pairing key, so that the provisioned circuit\n will lie in the specified domain. If not specified, the value will default\n to AVAILABILITY_DOMAIN_ANY.'\n enum:\n - AVAILABILITY_DOMAIN_ANY\n - AVAILABILITY_DOMAIN_1\n - AVAILABILITY_DOMAIN_2\n encryption:\n type: string\n x-dcl-go-name: Encryption\n x-dcl-go-type: InterconnectAttachmentEncryptionEnum\n description: 'Indicates the user-supplied encryption option of this VLAN\n attachment (interconnectAttachment). Can only be specified at attachment\n creation for PARTNER or DEDICATED attachments. Possible values are: -\n `NONE` - This is the default value, which means that the VLAN attachment\n carries unencrypted traffic. VMs are able to send traffic to, or receive\n traffic from, such a VLAN attachment. - `IPSEC` - The VLAN attachment\n carries only encrypted traffic that is encrypted by an IPsec device, such\n as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send\n traffic to, or receive traffic from, such a VLAN attachment. To use _IPsec-encrypted\n Cloud Interconnect_, the VLAN attachment must be created with this option.\n Not currently available publicly.'\n enum:\n - NONE\n - IPSEC\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n interconnect:\n type: string\n x-dcl-go-name: Interconnect\n description: URL of the underlying Interconnect object that this attachment's\n traffic will traverse through.\n ipsecInternalAddresses:\n type: array\n x-dcl-go-name: IpsecInternalAddresses\n description: A list of URLs of addresses that have been reserved for the\n VLAN attachment. Used only for the VLAN attachment that has the encryption\n option as IPSEC. The addresses must be regional internal IP address ranges.\n When creating an HA VPN gateway over the VLAN attachment, if the attachment\n is configured to use a regional internal IP address, then the VPN gateway's\n IP address is allocated from the IP address range specified here. For\n example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment,\n then a regional internal IP address for the VPN gateway interface 0 will\n be allocated from the IP address specified for this VLAN attachment. If\n this field is not specified when creating the VLAN attachment, then later\n on when creating an HA VPN gateway on this VLAN attachment, the HA VPN\n gateway's IP address is allocated from the regional external IP address\n pool. Not currently available publicly.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n mtu:\n type: integer\n format: int64\n x-dcl-go-name: Mtu\n description: Maximum Transmission Unit (MTU), in bytes, of packets passing\n through this interconnect attachment. Only 1440 and 1500 are allowed.\n If not specified, the value will default to 1440.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n operationalStatus:\n type: string\n x-dcl-go-name: OperationalStatus\n x-dcl-go-type: InterconnectAttachmentOperationalStatusEnum\n readOnly: true\n description: 'The current status of whether or not this interconnect attachment\n is functional, which can take one of the following values: - OS_ACTIVE:\n The attachment has been turned up and is ready to use. - OS_UNPROVISIONED:\n The attachment is not ready to use yet, because turnup is not complete.'\n x-kubernetes-immutable: true\n enum:\n - OS_ACTIVE\n - OS_UNPROVISIONED\n pairingKey:\n type: string\n x-dcl-go-name: PairingKey\n description: The opaque identifier of an PARTNER attachment used to initiate\n provisioning with a selected partner. Of the form \"XXXXX/region/domain\"\n partnerAsn:\n type: integer\n format: int64\n x-dcl-go-name: PartnerAsn\n description: Optional BGP ASN for the router supplied by a Layer 3 Partner\n if they configured BGP on behalf of the customer. Output only for PARTNER\n type, input only for PARTNER_PROVIDER, not available for DEDICATED.\n partnerMetadata:\n type: object\n x-dcl-go-name: PartnerMetadata\n x-dcl-go-type: InterconnectAttachmentPartnerMetadata\n description: Informational metadata about Partner attachments from Partners\n to display to customers. Output only for for PARTNER type, mutable for\n PARTNER_PROVIDER, not available for DEDICATED.\n properties:\n interconnectName:\n type: string\n x-dcl-go-name: InterconnectName\n description: Plain text name of the Interconnect this attachment is\n connected to, as displayed in the Partner's portal. For instance \"Chicago\n 1\". This value may be validated to match approved Partner values.\n partnerName:\n type: string\n x-dcl-go-name: PartnerName\n description: Plain text name of the Partner providing this attachment.\n This value may be validated to match approved Partner values.\n portalUrl:\n type: string\n x-dcl-go-name: PortalUrl\n description: URL of the Partner's portal for this Attachment. Partners\n may customise this to be a deep link to the specific resource on the\n Partner portal. This value may be validated to match approved Partner\n values.\n privateInterconnectInfo:\n type: object\n x-dcl-go-name: PrivateInterconnectInfo\n x-dcl-go-type: InterconnectAttachmentPrivateInterconnectInfo\n readOnly: true\n description: Information specific to an InterconnectAttachment. This property\n is populated if the interconnect that this is attached to is of type DEDICATED.\n x-kubernetes-immutable: true\n properties:\n tag8021q:\n type: integer\n format: int64\n x-dcl-go-name: Tag8021q\n readOnly: true\n description: 802.1q encapsulation tag to be used for traffic between\n Google and the customer, going to and from this network and region.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: URL of the region where the regional interconnect attachment\n resides. You must specify this field as part of the HTTP request URL.\n It is not settable as a field in the request body.\n x-kubernetes-immutable: true\n router:\n type: string\n x-dcl-go-name: Router\n description: URL of the Cloud Router to be used for dynamic routing. This\n router must be in the same region as this InterconnectAttachment. The\n InterconnectAttachment will automatically connect the Interconnect to\n the network & region within which the Cloud Router is configured.\n satisfiesPzs:\n type: boolean\n x-dcl-go-name: SatisfiesPzs\n readOnly: true\n description: Set to true if the resource satisfies the zone separation organization\n policy constraints and false otherwise. Defaults to false if the field\n is not present.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InterconnectAttachmentStateEnum\n readOnly: true\n description: 'The current state of this attachment''s functionality. Enum\n values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER,\n and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER,\n PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER\n and PARTNER_PROVIDER interconnect attachments. This state can take one\n of the following values: - ACTIVE: The attachment has been turned up and\n is ready to use. - UNPROVISIONED: The attachment is not ready to use yet,\n because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER\n attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED:\n A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER\n attachment was created that references it. - PENDING_CUSTOMER: A PARTNER\n or PARTNER_PROVIDER attachment that is waiting for a customer to activate\n it. - DEFUNCT: The attachment was deleted externally and is no longer\n functional. This could be because the associated Interconnect was removed,\n or because the other side of a Partner attachment was deleted. Possible\n values: DEPRECATED, OBSOLETE, DELETED, ACTIVE'\n x-kubernetes-immutable: true\n enum:\n - DEPRECATED\n - OBSOLETE\n - DELETED\n - ACTIVE\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InterconnectAttachmentTypeEnum\n description: 'The type of interconnect attachment this is, which can take\n one of the following values: - DEDICATED: an attachment to a Dedicated\n Interconnect. - PARTNER: an attachment to a Partner Interconnect, created\n by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect,\n created by the partner. Possible values: PATH, OTHER, PARAMETER'\n enum:\n - PATH\n - OTHER\n - PARAMETER\n vlanTag8021q:\n type: integer\n format: int64\n x-dcl-go-name: VlanTag8021q\n description: The IEEE 802.1Q VLAN tag for this attachment, in the range\n 2-4094. Only specified at creation time.\n") -// 17374 bytes -// MD5: 549fcd117e5f5d0cb3d9e6ab569ce6fe +// 17399 bytes +// MD5: 4af30ca9dc694c82c155c988a4716bcd diff --git a/services/google/compute/managed_ssl_certificate.yaml b/services/google/compute/managed_ssl_certificate.yaml index 0d5cb25438..caec5527e5 100755 --- a/services/google/compute/managed_ssl_certificate.yaml +++ b/services/google/compute/managed_ssl_certificate.yaml @@ -15,6 +15,7 @@ info: title: Compute/ManagedSslCertificate description: The Compute ManagedSslCertificate resource x-dcl-struct-name: ManagedSslCertificate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/network.yaml b/services/google/compute/network.yaml index d050d771b9..24d700e08a 100755 --- a/services/google/compute/network.yaml +++ b/services/google/compute/network.yaml @@ -15,6 +15,7 @@ info: title: Compute/Network description: The Compute Network resource x-dcl-struct-name: Network + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/network_endpoint.yaml b/services/google/compute/network_endpoint.yaml index 3f138d3a32..f11a8bc6c5 100755 --- a/services/google/compute/network_endpoint.yaml +++ b/services/google/compute/network_endpoint.yaml @@ -15,6 +15,7 @@ info: title: Compute/NetworkEndpoint description: The Compute NetworkEndpoint resource x-dcl-struct-name: NetworkEndpoint + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/network_endpoint_group.yaml b/services/google/compute/network_endpoint_group.yaml index 2f5bec1f3e..b0fd430f50 100755 --- a/services/google/compute/network_endpoint_group.yaml +++ b/services/google/compute/network_endpoint_group.yaml @@ -15,6 +15,7 @@ info: title: Compute/NetworkEndpointGroup description: The Compute NetworkEndpointGroup resource x-dcl-struct-name: NetworkEndpointGroup + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/network_peering.yaml b/services/google/compute/network_peering.yaml index 3f00c45df8..9e34b4d66b 100755 --- a/services/google/compute/network_peering.yaml +++ b/services/google/compute/network_peering.yaml @@ -15,6 +15,7 @@ info: title: Compute/NetworkPeering description: The Compute NetworkPeering resource x-dcl-struct-name: NetworkPeering + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/network_schema.go b/services/google/compute/network_schema.go index 9e3d4d4c8a..1cdd5cd3bb 100755 --- a/services/google/compute/network_schema.go +++ b/services/google/compute/network_schema.go @@ -23,6 +23,7 @@ func DCLNetworkSchema() *dcl.Schema { Title: "Compute/Network", Description: "The Compute Network resource", StructName: "Network", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/network_yaml_embed.go b/services/google/compute/network_yaml_embed.go index 850594589e..a8f194225e 100755 --- a/services/google/compute/network_yaml_embed.go +++ b/services/google/compute/network_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/network.yaml -var YAML_network = []byte("info:\n title: Compute/Network\n description: The Compute Network resource\n x-dcl-struct-name: Network\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n apply:\n description: The function used to apply information about a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n delete:\n description: The function used to delete a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n deleteAll:\n description: The function used to delete all Network\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Network\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Network:\n title: Network\n x-dcl-id: projects/{{project}}/global/networks/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n autoCreateSubnetworks:\n type: boolean\n x-dcl-go-name: AutoCreateSubnetworks\n description: 'When set to `true`, the network is created in \"auto subnet\n mode\" and it will create a subnet for each region automatically across\n the `10.128.0.0/9` address range. When set to `false`, the network is\n created in \"custom subnet mode\" so the user can explicitly connect subnetwork\n resources. '\n x-kubernetes-immutable: true\n default: true\n x-dcl-send-empty: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'An optional description of this resource. The resource must\n be recreated to modify this field. '\n x-kubernetes-immutable: true\n gatewayIPv4:\n type: string\n x-dcl-go-name: GatewayIPv4\n readOnly: true\n description: 'The gateway address for default routing out of the network.\n This value is selected by GCP. '\n x-kubernetes-immutable: true\n mtu:\n type: integer\n format: int64\n x-dcl-go-name: Mtu\n description: Maximum Transmission Unit in bytes. The minimum value for this\n field is 1460 and the maximum value is 1500 bytes.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash. '\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routingConfig:\n type: object\n x-dcl-go-name: RoutingConfig\n x-dcl-go-type: NetworkRoutingConfig\n description: 'The network-level routing configuration for this network.\n Used by Cloud Router to determine what type of network-wide routing behavior\n to enforce. '\n properties:\n routingMode:\n type: string\n x-dcl-go-name: RoutingMode\n x-dcl-go-type: NetworkRoutingConfigRoutingModeEnum\n description: 'The network-wide routing mode to use. If set to `REGIONAL`,\n this network''s cloud routers will only advertise routes with subnetworks\n of this network in the same region as the router. If set to `GLOBAL`,\n this network''s cloud routers will advertise routes with all subnetworks\n of this network, across regions. '\n x-dcl-server-default: true\n enum:\n - REGIONAL\n - GLOBAL\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n selfLinkWithId:\n type: string\n x-dcl-go-name: SelfLinkWithId\n readOnly: true\n description: Server-defined URL for the resource containing the network\n ID.\n x-kubernetes-immutable: true\n") +var YAML_network = []byte("info:\n title: Compute/Network\n description: The Compute Network resource\n x-dcl-struct-name: Network\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n apply:\n description: The function used to apply information about a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n delete:\n description: The function used to delete a Network\n parameters:\n - name: Network\n required: true\n description: A full instance of a Network\n deleteAll:\n description: The function used to delete all Network\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Network\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Network:\n title: Network\n x-dcl-id: projects/{{project}}/global/networks/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n autoCreateSubnetworks:\n type: boolean\n x-dcl-go-name: AutoCreateSubnetworks\n description: 'When set to `true`, the network is created in \"auto subnet\n mode\" and it will create a subnet for each region automatically across\n the `10.128.0.0/9` address range. When set to `false`, the network is\n created in \"custom subnet mode\" so the user can explicitly connect subnetwork\n resources. '\n x-kubernetes-immutable: true\n default: true\n x-dcl-send-empty: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'An optional description of this resource. The resource must\n be recreated to modify this field. '\n x-kubernetes-immutable: true\n gatewayIPv4:\n type: string\n x-dcl-go-name: GatewayIPv4\n readOnly: true\n description: 'The gateway address for default routing out of the network.\n This value is selected by GCP. '\n x-kubernetes-immutable: true\n mtu:\n type: integer\n format: int64\n x-dcl-go-name: Mtu\n description: Maximum Transmission Unit in bytes. The minimum value for this\n field is 1460 and the maximum value is 1500 bytes.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash. '\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routingConfig:\n type: object\n x-dcl-go-name: RoutingConfig\n x-dcl-go-type: NetworkRoutingConfig\n description: 'The network-level routing configuration for this network.\n Used by Cloud Router to determine what type of network-wide routing behavior\n to enforce. '\n properties:\n routingMode:\n type: string\n x-dcl-go-name: RoutingMode\n x-dcl-go-type: NetworkRoutingConfigRoutingModeEnum\n description: 'The network-wide routing mode to use. If set to `REGIONAL`,\n this network''s cloud routers will only advertise routes with subnetworks\n of this network in the same region as the router. If set to `GLOBAL`,\n this network''s cloud routers will advertise routes with all subnetworks\n of this network, across regions. '\n x-dcl-server-default: true\n enum:\n - REGIONAL\n - GLOBAL\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n selfLinkWithId:\n type: string\n x-dcl-go-name: SelfLinkWithId\n readOnly: true\n description: Server-defined URL for the resource containing the network\n ID.\n x-kubernetes-immutable: true\n") -// 5045 bytes -// MD5: f52eeb51cd2a9b4f0551ee37e7ac376c +// 5070 bytes +// MD5: 87576b2b07b097f22c4efc4ab958eee4 diff --git a/services/google/compute/packet_mirroring.yaml b/services/google/compute/packet_mirroring.yaml index d63e46a06a..c67cc5bf34 100755 --- a/services/google/compute/packet_mirroring.yaml +++ b/services/google/compute/packet_mirroring.yaml @@ -17,6 +17,7 @@ info: You can use the collected traffic to help you detect security threats and monitor application performance. x-dcl-struct-name: PacketMirroring + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API documentation diff --git a/services/google/compute/packet_mirroring_schema.go b/services/google/compute/packet_mirroring_schema.go index 8218694cda..49e9766348 100755 --- a/services/google/compute/packet_mirroring_schema.go +++ b/services/google/compute/packet_mirroring_schema.go @@ -23,6 +23,7 @@ func DCLPacketMirroringSchema() *dcl.Schema { Title: "Compute/PacketMirroring", Description: "Packet Mirroring mirrors traffic to and from particular VM instances. You can use the collected traffic to help you detect security threats and monitor application performance.", StructName: "PacketMirroring", + HasCreate: true, Reference: &dcl.Link{ Text: "API documentation", URL: "https://cloud.google.com/compute/docs/reference/rest/beta/packetMirrorings", diff --git a/services/google/compute/packet_mirroring_yaml_embed.go b/services/google/compute/packet_mirroring_yaml_embed.go index 611d25d8ca..bd0ec55c52 100755 --- a/services/google/compute/packet_mirroring_yaml_embed.go +++ b/services/google/compute/packet_mirroring_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/packet_mirroring.yaml -var YAML_packet_mirroring = []byte("info:\n title: Compute/PacketMirroring\n description: Packet Mirroring mirrors traffic to and from particular VM instances.\n You can use the collected traffic to help you detect security threats and monitor\n application performance.\n x-dcl-struct-name: PacketMirroring\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/reference/rest/beta/packetMirrorings\n x-dcl-guides:\n - text: Using Packet Mirroring\n url: https://cloud.google.com/vpc/docs/using-packet-mirroring\npaths:\n get:\n description: The function used to get information about a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n apply:\n description: The function used to apply information about a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n delete:\n description: The function used to delete a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n deleteAll:\n description: The function used to delete all PacketMirroring\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PacketMirroring\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PacketMirroring:\n title: PacketMirroring\n x-dcl-id: projects/{{project}}/regions/{{location}}/packetMirrorings/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - network\n - collectorIlb\n - mirroredResources\n - project\n - location\n properties:\n collectorIlb:\n type: object\n x-dcl-go-name: CollectorIlb\n x-dcl-go-type: PacketMirroringCollectorIlb\n description: The Forwarding Rule resource of type `loadBalancingScheme=INTERNAL`\n that will be used as collector for mirrored traffic. The specified forwarding\n rule must have `isMirroringCollector` set to true.\n required:\n - url\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the forwarding rule;\n defined by the server.\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the forwarding rule representing the ILB\n configured as destination of the mirrored traffic.\n x-dcl-references:\n - resource: Compute/ForwardingRule\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n enable:\n type: string\n x-dcl-go-name: Enable\n x-dcl-go-type: PacketMirroringEnableEnum\n description: Indicates whether or not this packet mirroring takes effect.\n If set to FALSE, this packet mirroring policy will not be enforced on\n the network. The default is TRUE.\n x-dcl-server-default: true\n enum:\n - \"TRUE\"\n - \"FALSE\"\n filter:\n type: object\n x-dcl-go-name: Filter\n x-dcl-go-type: PacketMirroringFilter\n description: Filter for mirrored traffic. If unspecified, all traffic is\n mirrored.\n properties:\n cidrRanges:\n type: array\n x-dcl-go-name: CidrRanges\n description: IP CIDR ranges that apply as filter on the source (ingress)\n or destination (egress) IP in the IP header. Only IPv4 is supported.\n If no ranges are specified, all traffic that matches the specified\n IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is\n specified, all traffic is mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: PacketMirroringFilterDirectionEnum\n description: Direction of traffic to mirror, either INGRESS, EGRESS,\n or BOTH. The default is BOTH.\n enum:\n - INGRESS\n - EGRESS\n ipProtocols:\n type: array\n x-dcl-go-name: IPProtocols\n description: Protocols that apply as filter on mirrored traffic. If\n no protocols are specified, all traffic that matches the specified\n CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is\n specified, all traffic is mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: Output only. The unique identifier for the resource. This identifier\n is defined by the server.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n mirroredResources:\n type: object\n x-dcl-go-name: MirroredResources\n x-dcl-go-type: PacketMirroringMirroredResources\n description: PacketMirroring mirroredResourceInfos. MirroredResourceInfo\n specifies a set of mirrored VM instances, subnetworks and/or tags for\n which traffic from/to all VM instances will be mirrored.\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: A set of virtual machine instances that are being mirrored.\n They must live in zones contained in the same region as this packetMirroring.\n Note that this config will apply only to those network interfaces\n of the Instances that belong to the network specified in this packetMirroring.\n You may specify a maximum of 50 Instances.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PacketMirroringMirroredResourcesInstances\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the instance;\n defined by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the virtual machine instance which\n is being mirrored.\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n subnetworks:\n type: array\n x-dcl-go-name: Subnetworks\n description: A set of subnetworks for which traffic from/to all VM instances\n will be mirrored. They must live in the same region as this packetMirroring.\n You may specify a maximum of 5 subnetworks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PacketMirroringMirroredResourcesSubnetworks\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the subnetwork;\n defined by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the subnetwork for which traffic\n from/to all VM instances will be mirrored.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: A set of mirrored tags. Traffic from/to all VM instances\n that have one or more of these tags will be mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource; provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `)?` which means the first character must be a lowercase letter,\n and all following characters must be a dash, lowercase letter, or digit,\n except the last character, which cannot be a dash.\n x-kubernetes-immutable: true\n network:\n type: object\n x-dcl-go-name: Network\n x-dcl-go-type: PacketMirroringNetwork\n description: Specifies the mirrored VPC network. Only packets in this network\n will be mirrored. All mirrored VMs should have a NIC in the given network.\n All mirrored subnetworks should belong to the given network.\n x-kubernetes-immutable: true\n required:\n - url\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the network; defined\n by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: URL of the network resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: The priority of applying this configuration. Priority is used\n to break ties in cases where there is more than one matching rule. In\n the case of two rules that apply for a given Instance, the one with the\n lowest-numbered priority value wins. Default value is 1000. Valid range\n is 0 through 65535.\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: URI of the region where the packetMirroring resides.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n") +var YAML_packet_mirroring = []byte("info:\n title: Compute/PacketMirroring\n description: Packet Mirroring mirrors traffic to and from particular VM instances.\n You can use the collected traffic to help you detect security threats and monitor\n application performance.\n x-dcl-struct-name: PacketMirroring\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/reference/rest/beta/packetMirrorings\n x-dcl-guides:\n - text: Using Packet Mirroring\n url: https://cloud.google.com/vpc/docs/using-packet-mirroring\npaths:\n get:\n description: The function used to get information about a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n apply:\n description: The function used to apply information about a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n delete:\n description: The function used to delete a PacketMirroring\n parameters:\n - name: PacketMirroring\n required: true\n description: A full instance of a PacketMirroring\n deleteAll:\n description: The function used to delete all PacketMirroring\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PacketMirroring\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PacketMirroring:\n title: PacketMirroring\n x-dcl-id: projects/{{project}}/regions/{{location}}/packetMirrorings/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - network\n - collectorIlb\n - mirroredResources\n - project\n - location\n properties:\n collectorIlb:\n type: object\n x-dcl-go-name: CollectorIlb\n x-dcl-go-type: PacketMirroringCollectorIlb\n description: The Forwarding Rule resource of type `loadBalancingScheme=INTERNAL`\n that will be used as collector for mirrored traffic. The specified forwarding\n rule must have `isMirroringCollector` set to true.\n required:\n - url\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the forwarding rule;\n defined by the server.\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the forwarding rule representing the ILB\n configured as destination of the mirrored traffic.\n x-dcl-references:\n - resource: Compute/ForwardingRule\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n enable:\n type: string\n x-dcl-go-name: Enable\n x-dcl-go-type: PacketMirroringEnableEnum\n description: Indicates whether or not this packet mirroring takes effect.\n If set to FALSE, this packet mirroring policy will not be enforced on\n the network. The default is TRUE.\n x-dcl-server-default: true\n enum:\n - \"TRUE\"\n - \"FALSE\"\n filter:\n type: object\n x-dcl-go-name: Filter\n x-dcl-go-type: PacketMirroringFilter\n description: Filter for mirrored traffic. If unspecified, all traffic is\n mirrored.\n properties:\n cidrRanges:\n type: array\n x-dcl-go-name: CidrRanges\n description: IP CIDR ranges that apply as filter on the source (ingress)\n or destination (egress) IP in the IP header. Only IPv4 is supported.\n If no ranges are specified, all traffic that matches the specified\n IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is\n specified, all traffic is mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: PacketMirroringFilterDirectionEnum\n description: Direction of traffic to mirror, either INGRESS, EGRESS,\n or BOTH. The default is BOTH.\n enum:\n - INGRESS\n - EGRESS\n ipProtocols:\n type: array\n x-dcl-go-name: IPProtocols\n description: Protocols that apply as filter on mirrored traffic. If\n no protocols are specified, all traffic that matches the specified\n CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is\n specified, all traffic is mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: Output only. The unique identifier for the resource. This identifier\n is defined by the server.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n mirroredResources:\n type: object\n x-dcl-go-name: MirroredResources\n x-dcl-go-type: PacketMirroringMirroredResources\n description: PacketMirroring mirroredResourceInfos. MirroredResourceInfo\n specifies a set of mirrored VM instances, subnetworks and/or tags for\n which traffic from/to all VM instances will be mirrored.\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: A set of virtual machine instances that are being mirrored.\n They must live in zones contained in the same region as this packetMirroring.\n Note that this config will apply only to those network interfaces\n of the Instances that belong to the network specified in this packetMirroring.\n You may specify a maximum of 50 Instances.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PacketMirroringMirroredResourcesInstances\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the instance;\n defined by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the virtual machine instance which\n is being mirrored.\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n subnetworks:\n type: array\n x-dcl-go-name: Subnetworks\n description: A set of subnetworks for which traffic from/to all VM instances\n will be mirrored. They must live in the same region as this packetMirroring.\n You may specify a maximum of 5 subnetworks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PacketMirroringMirroredResourcesSubnetworks\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the subnetwork;\n defined by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: Resource URL to the subnetwork for which traffic\n from/to all VM instances will be mirrored.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: A set of mirrored tags. Traffic from/to all VM instances\n that have one or more of these tags will be mirrored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource; provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `)?` which means the first character must be a lowercase letter,\n and all following characters must be a dash, lowercase letter, or digit,\n except the last character, which cannot be a dash.\n x-kubernetes-immutable: true\n network:\n type: object\n x-dcl-go-name: Network\n x-dcl-go-type: PacketMirroringNetwork\n description: Specifies the mirrored VPC network. Only packets in this network\n will be mirrored. All mirrored VMs should have a NIC in the given network.\n All mirrored subnetworks should belong to the given network.\n x-kubernetes-immutable: true\n required:\n - url\n properties:\n canonicalUrl:\n type: string\n x-dcl-go-name: CanonicalUrl\n readOnly: true\n description: Output only. Unique identifier for the network; defined\n by the server.\n x-kubernetes-immutable: true\n url:\n type: string\n x-dcl-go-name: Url\n description: URL of the network resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: The priority of applying this configuration. Priority is used\n to break ties in cases where there is more than one matching rule. In\n the case of two rules that apply for a given Instance, the one with the\n lowest-numbered priority value wins. Default value is 1000. Valid range\n is 0 through 65535.\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: URI of the region where the packetMirroring resides.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n") -// 12404 bytes -// MD5: 8e0c78a220bdf9210aa38af9011f96ea +// 12429 bytes +// MD5: 40583e5d74372435856f51c0334202e7 diff --git a/services/google/compute/reservation.yaml b/services/google/compute/reservation.yaml index bc4cd54279..d79bc3f645 100755 --- a/services/google/compute/reservation.yaml +++ b/services/google/compute/reservation.yaml @@ -15,6 +15,7 @@ info: title: Compute/Reservation description: The Compute Reservation resource x-dcl-struct-name: Reservation + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/route.yaml b/services/google/compute/route.yaml index 0f9520ccbc..f579bba2e8 100755 --- a/services/google/compute/route.yaml +++ b/services/google/compute/route.yaml @@ -15,6 +15,7 @@ info: title: Compute/Route description: The Compute Route resource x-dcl-struct-name: Route + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/route_schema.go b/services/google/compute/route_schema.go index 5f627b051b..784c096f2f 100755 --- a/services/google/compute/route_schema.go +++ b/services/google/compute/route_schema.go @@ -23,6 +23,7 @@ func DCLRouteSchema() *dcl.Schema { Title: "Compute/Route", Description: "The Compute Route resource", StructName: "Route", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/route_yaml_embed.go b/services/google/compute/route_yaml_embed.go index c9b393d893..d6e48949ef 100755 --- a/services/google/compute/route_yaml_embed.go +++ b/services/google/compute/route_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/route.yaml -var YAML_route = []byte("info:\n title: Compute/Route\n description: The Compute Route resource\n x-dcl-struct-name: Route\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n apply:\n description: The function used to apply information about a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n delete:\n description: The function used to delete a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n deleteAll:\n description: The function used to delete all Route\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Route\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Route:\n title: Route\n x-dcl-id: projects/{{project}}/global/routes/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - network\n - destRange\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: |-\n An optional description of this resource. Provide this field when you\n create the resource.\n x-kubernetes-immutable: true\n destRange:\n type: string\n x-dcl-go-name: DestRange\n description: The destination range of the route.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: |-\n [Output Only] The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: |-\n Name of the resource. Provided by the client when the resource is created.\n The name must be 1-63 characters long, and comply with\n RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a\n lowercase letter, and all following characters (except for the last\n character) must be a dash, lowercase letter, or digit. The last character\n must be a lowercase letter or digit.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Fully-qualified URL of the network that this route applies\n to.\n x-kubernetes-immutable: true\n nextHopGateway:\n type: string\n x-dcl-go-name: NextHopGateway\n description: |-\n The URL to a gateway that should handle matching packets.\n You can only specify the internet gateway using a full or\n partial valid URL:
\n projects/project/global/gateways/default-internet-gateway\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopInstance\n - nextHopIlb\n nextHopIP:\n type: string\n x-dcl-go-name: NextHopIP\n description: |-\n The network IP address of an instance that should handle matching packets.\n Only IPv4 is supported.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopInstance\n - nextHopGateway\n - nextHopIlb\n x-dcl-server-default: true\n nextHopIlb:\n type: string\n x-dcl-go-name: NextHopIlb\n description: |-\n The URL to a forwarding rule of type\n loadBalancingScheme=INTERNAL that should handle matching\n packets. You can only specify the forwarding rule as a partial or full\n URL. For example, the following are all valid URLs:\n
    \n
  • https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
  • regions/region/forwardingRules/forwardingRule
  • \n
\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopInstance\n - nextHopGateway\n nextHopInstance:\n type: string\n x-dcl-go-name: NextHopInstance\n description: |-\n The URL to an instance that should handle matching packets. You can specify\n this as a full or partial URL.\n For example:
\n https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopGateway\n - nextHopIlb\n nextHopNetwork:\n type: string\n x-dcl-go-name: NextHopNetwork\n readOnly: true\n description: The URL of the local network if it should handle matching packets.\n x-kubernetes-immutable: true\n nextHopPeering:\n type: string\n x-dcl-go-name: NextHopPeering\n readOnly: true\n description: |-\n [Output Only] The network peering name that should handle matching packets,\n which should conform to RFC1035.\n x-kubernetes-immutable: true\n nextHopVpnTunnel:\n type: string\n x-dcl-go-name: NextHopVpnTunnel\n description: The URL to a VpnTunnel that should handle matching packets.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopIP\n - nextHopInstance\n - nextHopGateway\n - nextHopIlb\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: The priority of the peering route.\n x-kubernetes-immutable: true\n default: 1000\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined fully-qualified URL for this\n resource.'\n x-kubernetes-immutable: true\n tag:\n type: array\n x-dcl-go-name: Tag\n description: A list of instance tags to which this route applies.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n warning:\n type: array\n x-dcl-go-name: Warning\n readOnly: true\n description: |-\n [Output Only] If potential misconfigurations are detected for this\n route, this field will be populated with warning messages.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RouteWarning\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: RouteWarningCodeEnum\n readOnly: true\n description: |-\n [Output Only] A warning code, if applicable. For example, Compute\n Engine returns NO_RESULTS_ON_PAGE if there\n are no results in the response. Possible values: BAD_REQUEST, FORBIDDEN, NOT_FOUND, CONFLICT, GONE, PRECONDITION_FAILED, INTERNAL_ERROR, SERVICE_UNAVAILABLE\n x-kubernetes-immutable: true\n enum:\n - BAD_REQUEST\n - FORBIDDEN\n - NOT_FOUND\n - CONFLICT\n - GONE\n - PRECONDITION_FAILED\n - INTERNAL_ERROR\n - SERVICE_UNAVAILABLE\n data:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Data\n readOnly: true\n description: |-\n [Output Only] Metadata about this warning in key:\n value format. For example:\n
\"data\": [\n                   : {\n                     \"key\": \"scope\",\n                     \"value\": \"zones/us-east1-d\"\n                    }
\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n readOnly: true\n description: '[Output Only] A human-readable description of the warning\n code.'\n x-kubernetes-immutable: true\n") +var YAML_route = []byte("info:\n title: Compute/Route\n description: The Compute Route resource\n x-dcl-struct-name: Route\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n apply:\n description: The function used to apply information about a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n delete:\n description: The function used to delete a Route\n parameters:\n - name: Route\n required: true\n description: A full instance of a Route\n deleteAll:\n description: The function used to delete all Route\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Route\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Route:\n title: Route\n x-dcl-id: projects/{{project}}/global/routes/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - network\n - destRange\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: |-\n An optional description of this resource. Provide this field when you\n create the resource.\n x-kubernetes-immutable: true\n destRange:\n type: string\n x-dcl-go-name: DestRange\n description: The destination range of the route.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: |-\n [Output Only] The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: |-\n Name of the resource. Provided by the client when the resource is created.\n The name must be 1-63 characters long, and comply with\n RFC1035.\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a\n lowercase letter, and all following characters (except for the last\n character) must be a dash, lowercase letter, or digit. The last character\n must be a lowercase letter or digit.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Fully-qualified URL of the network that this route applies\n to.\n x-kubernetes-immutable: true\n nextHopGateway:\n type: string\n x-dcl-go-name: NextHopGateway\n description: |-\n The URL to a gateway that should handle matching packets.\n You can only specify the internet gateway using a full or\n partial valid URL:
\n projects/project/global/gateways/default-internet-gateway\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopInstance\n - nextHopIlb\n nextHopIP:\n type: string\n x-dcl-go-name: NextHopIP\n description: |-\n The network IP address of an instance that should handle matching packets.\n Only IPv4 is supported.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopInstance\n - nextHopGateway\n - nextHopIlb\n x-dcl-server-default: true\n nextHopIlb:\n type: string\n x-dcl-go-name: NextHopIlb\n description: |-\n The URL to a forwarding rule of type\n loadBalancingScheme=INTERNAL that should handle matching\n packets. You can only specify the forwarding rule as a partial or full\n URL. For example, the following are all valid URLs:\n
    \n
  • https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
  • regions/region/forwardingRules/forwardingRule
  • \n
\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopInstance\n - nextHopGateway\n nextHopInstance:\n type: string\n x-dcl-go-name: NextHopInstance\n description: |-\n The URL to an instance that should handle matching packets. You can specify\n this as a full or partial URL.\n For example:
\n https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopVpnTunnel\n - nextHopIP\n - nextHopGateway\n - nextHopIlb\n nextHopNetwork:\n type: string\n x-dcl-go-name: NextHopNetwork\n readOnly: true\n description: The URL of the local network if it should handle matching packets.\n x-kubernetes-immutable: true\n nextHopPeering:\n type: string\n x-dcl-go-name: NextHopPeering\n readOnly: true\n description: |-\n [Output Only] The network peering name that should handle matching packets,\n which should conform to RFC1035.\n x-kubernetes-immutable: true\n nextHopVpnTunnel:\n type: string\n x-dcl-go-name: NextHopVpnTunnel\n description: The URL to a VpnTunnel that should handle matching packets.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - nextHopIP\n - nextHopInstance\n - nextHopGateway\n - nextHopIlb\n priority:\n type: integer\n format: int64\n x-dcl-go-name: Priority\n description: The priority of the peering route.\n x-kubernetes-immutable: true\n default: 1000\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined fully-qualified URL for this\n resource.'\n x-kubernetes-immutable: true\n tag:\n type: array\n x-dcl-go-name: Tag\n description: A list of instance tags to which this route applies.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n warning:\n type: array\n x-dcl-go-name: Warning\n readOnly: true\n description: |-\n [Output Only] If potential misconfigurations are detected for this\n route, this field will be populated with warning messages.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RouteWarning\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: RouteWarningCodeEnum\n readOnly: true\n description: |-\n [Output Only] A warning code, if applicable. For example, Compute\n Engine returns NO_RESULTS_ON_PAGE if there\n are no results in the response. Possible values: BAD_REQUEST, FORBIDDEN, NOT_FOUND, CONFLICT, GONE, PRECONDITION_FAILED, INTERNAL_ERROR, SERVICE_UNAVAILABLE\n x-kubernetes-immutable: true\n enum:\n - BAD_REQUEST\n - FORBIDDEN\n - NOT_FOUND\n - CONFLICT\n - GONE\n - PRECONDITION_FAILED\n - INTERNAL_ERROR\n - SERVICE_UNAVAILABLE\n data:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Data\n readOnly: true\n description: |-\n [Output Only] Metadata about this warning in key:\n value format. For example:\n
\"data\": [\n                   : {\n                     \"key\": \"scope\",\n                     \"value\": \"zones/us-east1-d\"\n                    }
\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n readOnly: true\n description: '[Output Only] A human-readable description of the warning\n code.'\n x-kubernetes-immutable: true\n") -// 9833 bytes -// MD5: 899dad2330aec4276bb00def9da0a2df +// 9858 bytes +// MD5: a90316f159418222610a5d50c70b17ce diff --git a/services/google/compute/router.yaml b/services/google/compute/router.yaml index f8175637b4..dca4743b1d 100755 --- a/services/google/compute/router.yaml +++ b/services/google/compute/router.yaml @@ -15,6 +15,7 @@ info: title: Compute/Router description: The Compute Router resource x-dcl-struct-name: Router + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/router_interface.yaml b/services/google/compute/router_interface.yaml index 46baff5a39..3859546dd4 100755 --- a/services/google/compute/router_interface.yaml +++ b/services/google/compute/router_interface.yaml @@ -15,6 +15,7 @@ info: title: Compute/RouterInterface description: The Compute RouterInterface resource x-dcl-struct-name: RouterInterface + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/router_peer.yaml b/services/google/compute/router_peer.yaml index 5ab7b759fc..91e314a9d9 100755 --- a/services/google/compute/router_peer.yaml +++ b/services/google/compute/router_peer.yaml @@ -15,6 +15,7 @@ info: title: Compute/RouterPeer description: The Compute RouterPeer resource x-dcl-struct-name: RouterPeer + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/service_attachment.yaml b/services/google/compute/service_attachment.yaml index db5911e92d..bf0eab24b8 100755 --- a/services/google/compute/service_attachment.yaml +++ b/services/google/compute/service_attachment.yaml @@ -15,6 +15,7 @@ info: title: Compute/ServiceAttachment description: Represents a ServiceAttachment resource. x-dcl-struct-name: ServiceAttachment + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API documentation diff --git a/services/google/compute/service_attachment_schema.go b/services/google/compute/service_attachment_schema.go index d34555de7b..875d7c2411 100755 --- a/services/google/compute/service_attachment_schema.go +++ b/services/google/compute/service_attachment_schema.go @@ -23,6 +23,7 @@ func DCLServiceAttachmentSchema() *dcl.Schema { Title: "Compute/ServiceAttachment", Description: "Represents a ServiceAttachment resource.", StructName: "ServiceAttachment", + HasCreate: true, Reference: &dcl.Link{ Text: "API documentation", URL: "https://cloud.google.com/compute/docs/reference/rest/beta/serviceAttachments", diff --git a/services/google/compute/service_attachment_yaml_embed.go b/services/google/compute/service_attachment_yaml_embed.go index a39aa01b21..b0bd1a9716 100755 --- a/services/google/compute/service_attachment_yaml_embed.go +++ b/services/google/compute/service_attachment_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/service_attachment.yaml -var YAML_service_attachment = []byte("info:\n title: Compute/ServiceAttachment\n description: Represents a ServiceAttachment resource.\n x-dcl-struct-name: ServiceAttachment\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/reference/rest/beta/serviceAttachments\n x-dcl-guides:\n - text: Configuring Private Service Connect to access services\n url: https://cloud.google.com/vpc/docs/configure-private-service-connect-services\npaths:\n get:\n description: The function used to get information about a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n apply:\n description: The function used to apply information about a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n delete:\n description: The function used to delete a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n deleteAll:\n description: The function used to delete all ServiceAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceAttachment:\n title: ServiceAttachment\n x-dcl-id: projects/{{project}}/regions/{{location}}/serviceAttachments/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - targetService\n - connectionPreference\n - natSubnets\n - project\n - location\n properties:\n connectedEndpoints:\n type: array\n x-dcl-go-name: ConnectedEndpoints\n readOnly: true\n description: An array of connections for all the consumers connected to\n this service attachment.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAttachmentConnectedEndpoints\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The url of a connected endpoint.\n pscConnectionId:\n type: integer\n format: int64\n x-dcl-go-name: PscConnectionId\n description: The PSC connection id of the connected endpoint.\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: ServiceAttachmentConnectedEndpointsStatusEnum\n description: 'The status of a connected endpoint to this service attachment.\n Possible values: PENDING, RUNNING, DONE'\n enum:\n - PENDING\n - RUNNING\n - DONE\n connectionPreference:\n type: string\n x-dcl-go-name: ConnectionPreference\n x-dcl-go-type: ServiceAttachmentConnectionPreferenceEnum\n description: 'The connection preference of service attachment. The value\n can be set to `ACCEPT_AUTOMATIC`. An `ACCEPT_AUTOMATIC` service attachment\n is one that always accepts the connection from consumer forwarding rules.\n Possible values: CONNECTION_PREFERENCE_UNSPECIFIED, ACCEPT_AUTOMATIC,\n ACCEPT_MANUAL'\n enum:\n - CONNECTION_PREFERENCE_UNSPECIFIED\n - ACCEPT_AUTOMATIC\n - ACCEPT_MANUAL\n consumerAcceptLists:\n type: array\n x-dcl-go-name: ConsumerAcceptLists\n description: Projects that are allowed to connect to this service attachment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAttachmentConsumerAcceptLists\n required:\n - projectIdOrNum\n properties:\n connectionLimit:\n type: integer\n format: int64\n x-dcl-go-name: ConnectionLimit\n description: The value of the limit to set.\n projectIdOrNum:\n type: string\n x-dcl-go-name: ProjectIdOrNum\n description: The project id or number for the project to set the limit\n for.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n consumerRejectLists:\n type: array\n x-dcl-go-name: ConsumerRejectLists\n description: Projects that are not allowed to connect to this service attachment.\n The project can be specified using its id or number.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n enableProxyProtocol:\n type: boolean\n x-dcl-go-name: EnableProxyProtocol\n description: If true, enable the proxy protocol which is for supplying client\n TCP/IP address data in TCP connections that traverse proxies on their\n way to destination servers.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of this resource. This field is used internally\n during updates of this resource.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource type. The server generates\n this identifier.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `)?` which means the first character must be a lowercase letter,\n and all following characters must be a dash, lowercase letter, or digit,\n except the last character, which cannot be a dash.\n x-kubernetes-immutable: true\n natSubnets:\n type: array\n x-dcl-go-name: NatSubnets\n description: An array of URLs where each entry is the URL of a subnet provided\n by the service producer to use for NAT in this service attachment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pscServiceAttachmentId:\n type: object\n x-dcl-go-name: PscServiceAttachmentId\n x-dcl-go-type: ServiceAttachmentPscServiceAttachmentId\n readOnly: true\n description: An 128-bit global unique ID of the PSC service attachment.\n x-kubernetes-immutable: true\n properties:\n high:\n type: integer\n format: int64\n x-dcl-go-name: High\n readOnly: true\n x-kubernetes-immutable: true\n low:\n type: integer\n format: int64\n x-dcl-go-name: Low\n readOnly: true\n x-kubernetes-immutable: true\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: URL of the region where the service attachment resides. This\n field applies only to the region resource. You must specify this field\n as part of the HTTP request URL. It is not settable as a field in the\n request body.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n targetService:\n type: string\n x-dcl-go-name: TargetService\n description: The URL of a service serving the endpoint identified by this\n service attachment.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/ForwardingRule\n field: selfLink\n") +var YAML_service_attachment = []byte("info:\n title: Compute/ServiceAttachment\n description: Represents a ServiceAttachment resource.\n x-dcl-struct-name: ServiceAttachment\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/reference/rest/beta/serviceAttachments\n x-dcl-guides:\n - text: Configuring Private Service Connect to access services\n url: https://cloud.google.com/vpc/docs/configure-private-service-connect-services\npaths:\n get:\n description: The function used to get information about a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n apply:\n description: The function used to apply information about a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n delete:\n description: The function used to delete a ServiceAttachment\n parameters:\n - name: ServiceAttachment\n required: true\n description: A full instance of a ServiceAttachment\n deleteAll:\n description: The function used to delete all ServiceAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceAttachment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceAttachment:\n title: ServiceAttachment\n x-dcl-id: projects/{{project}}/regions/{{location}}/serviceAttachments/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - targetService\n - connectionPreference\n - natSubnets\n - project\n - location\n properties:\n connectedEndpoints:\n type: array\n x-dcl-go-name: ConnectedEndpoints\n readOnly: true\n description: An array of connections for all the consumers connected to\n this service attachment.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAttachmentConnectedEndpoints\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The url of a connected endpoint.\n pscConnectionId:\n type: integer\n format: int64\n x-dcl-go-name: PscConnectionId\n description: The PSC connection id of the connected endpoint.\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: ServiceAttachmentConnectedEndpointsStatusEnum\n description: 'The status of a connected endpoint to this service attachment.\n Possible values: PENDING, RUNNING, DONE'\n enum:\n - PENDING\n - RUNNING\n - DONE\n connectionPreference:\n type: string\n x-dcl-go-name: ConnectionPreference\n x-dcl-go-type: ServiceAttachmentConnectionPreferenceEnum\n description: 'The connection preference of service attachment. The value\n can be set to `ACCEPT_AUTOMATIC`. An `ACCEPT_AUTOMATIC` service attachment\n is one that always accepts the connection from consumer forwarding rules.\n Possible values: CONNECTION_PREFERENCE_UNSPECIFIED, ACCEPT_AUTOMATIC,\n ACCEPT_MANUAL'\n enum:\n - CONNECTION_PREFERENCE_UNSPECIFIED\n - ACCEPT_AUTOMATIC\n - ACCEPT_MANUAL\n consumerAcceptLists:\n type: array\n x-dcl-go-name: ConsumerAcceptLists\n description: Projects that are allowed to connect to this service attachment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAttachmentConsumerAcceptLists\n required:\n - projectIdOrNum\n properties:\n connectionLimit:\n type: integer\n format: int64\n x-dcl-go-name: ConnectionLimit\n description: The value of the limit to set.\n projectIdOrNum:\n type: string\n x-dcl-go-name: ProjectIdOrNum\n description: The project id or number for the project to set the limit\n for.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n consumerRejectLists:\n type: array\n x-dcl-go-name: ConsumerRejectLists\n description: Projects that are not allowed to connect to this service attachment.\n The project can be specified using its id or number.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n enableProxyProtocol:\n type: boolean\n x-dcl-go-name: EnableProxyProtocol\n description: If true, enable the proxy protocol which is for supplying client\n TCP/IP address data in TCP connections that traverse proxies on their\n way to destination servers.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: Fingerprint of this resource. This field is used internally\n during updates of this resource.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource type. The server generates\n this identifier.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n Specifically, the name must be 1-63 characters long and match the regular\n expression `)?` which means the first character must be a lowercase letter,\n and all following characters must be a dash, lowercase letter, or digit,\n except the last character, which cannot be a dash.\n x-kubernetes-immutable: true\n natSubnets:\n type: array\n x-dcl-go-name: NatSubnets\n description: An array of URLs where each entry is the URL of a subnet provided\n by the service producer to use for NAT in this service attachment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n pscServiceAttachmentId:\n type: object\n x-dcl-go-name: PscServiceAttachmentId\n x-dcl-go-type: ServiceAttachmentPscServiceAttachmentId\n readOnly: true\n description: An 128-bit global unique ID of the PSC service attachment.\n x-kubernetes-immutable: true\n properties:\n high:\n type: integer\n format: int64\n x-dcl-go-name: High\n readOnly: true\n x-kubernetes-immutable: true\n low:\n type: integer\n format: int64\n x-dcl-go-name: Low\n readOnly: true\n x-kubernetes-immutable: true\n region:\n type: string\n x-dcl-go-name: Region\n readOnly: true\n description: URL of the region where the service attachment resides. This\n field applies only to the region resource. You must specify this field\n as part of the HTTP request URL. It is not settable as a field in the\n request body.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n targetService:\n type: string\n x-dcl-go-name: TargetService\n description: The URL of a service serving the endpoint identified by this\n service attachment.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/ForwardingRule\n field: selfLink\n") -// 9707 bytes -// MD5: 2551b1222bb48aadaf35ce2d3b27be6d +// 9732 bytes +// MD5: 5d614c16aad7ed5e9a39153fdfe4ff88 diff --git a/services/google/compute/snapshot.yaml b/services/google/compute/snapshot.yaml index 3ee90c650c..3b7dc5b8bc 100755 --- a/services/google/compute/snapshot.yaml +++ b/services/google/compute/snapshot.yaml @@ -15,6 +15,7 @@ info: title: Compute/Snapshot description: The Compute Snapshot resource x-dcl-struct-name: Snapshot + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/ssl_certificate.yaml b/services/google/compute/ssl_certificate.yaml index 5c73ecce0b..979eabca69 100755 --- a/services/google/compute/ssl_certificate.yaml +++ b/services/google/compute/ssl_certificate.yaml @@ -15,6 +15,7 @@ info: title: Compute/SslCertificate description: The Compute SslCertificate resource x-dcl-struct-name: SslCertificate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/ssl_policy.yaml b/services/google/compute/ssl_policy.yaml index 2eb115ccfd..800549e71c 100755 --- a/services/google/compute/ssl_policy.yaml +++ b/services/google/compute/ssl_policy.yaml @@ -15,6 +15,7 @@ info: title: Compute/SslPolicy description: The Compute SslPolicy resource x-dcl-struct-name: SslPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/subnetwork.yaml b/services/google/compute/subnetwork.yaml index 1865e45ab8..1b415206bc 100755 --- a/services/google/compute/subnetwork.yaml +++ b/services/google/compute/subnetwork.yaml @@ -15,6 +15,7 @@ info: title: Compute/Subnetwork description: The Compute Subnetwork resource x-dcl-struct-name: Subnetwork + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/subnetwork_schema.go b/services/google/compute/subnetwork_schema.go index 80fb09316a..2458454b17 100755 --- a/services/google/compute/subnetwork_schema.go +++ b/services/google/compute/subnetwork_schema.go @@ -23,6 +23,7 @@ func DCLSubnetworkSchema() *dcl.Schema { Title: "Compute/Subnetwork", Description: "The Compute Subnetwork resource", StructName: "Subnetwork", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/subnetwork_yaml_embed.go b/services/google/compute/subnetwork_yaml_embed.go index 7e3f24d84f..be012ba5b5 100755 --- a/services/google/compute/subnetwork_yaml_embed.go +++ b/services/google/compute/subnetwork_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/subnetwork.yaml -var YAML_subnetwork = []byte("info:\n title: Compute/Subnetwork\n description: The Compute Subnetwork resource\n x-dcl-struct-name: Subnetwork\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n apply:\n description: The function used to apply information about a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n delete:\n description: The function used to delete a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n deleteAll:\n description: The function used to delete all Subnetwork\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Subnetwork\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Subnetwork:\n title: Subnetwork\n x-dcl-id: projects/{{project}}/regions/{{region}}/subnetworks/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - ipCidrRange\n - name\n - network\n - region\n - project\n properties:\n creationTimestamp:\n type: string\n format: date-time\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'An optional description of this resource. Provide this property\n when you create the resource. This field can be set only at resource creation\n time. '\n x-kubernetes-immutable: true\n enableFlowLogs:\n type: boolean\n x-dcl-go-name: EnableFlowLogs\n description: Whether to enable flow logging for this subnetwork. If this\n field is not explicitly set, it will not appear in `get` listings. If\n not set the default behavior is to disable flow logging. This field isn't\n supported with the `purpose` field set to `INTERNAL_HTTPS_LOAD_BALANCER`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: 'Fingerprint of this resource. This field is used internally\n during updates of this resource. '\n x-kubernetes-immutable: true\n gatewayAddress:\n type: string\n x-dcl-go-name: GatewayAddress\n readOnly: true\n description: 'The gateway address for default routes to reach destination\n addresses outside this subnetwork. '\n x-kubernetes-immutable: true\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of internal addresses that are owned by this subnetwork.\n Provide this property when you create the subnetwork. For example, 10.0.0.0/8\n or 192.168.0.0/16. Ranges must be unique and non-overlapping within a\n network. Only IPv4 is supported. '\n logConfig:\n type: object\n x-dcl-go-name: LogConfig\n x-dcl-go-type: SubnetworkLogConfig\n description: 'Denotes the logging options for the subnetwork flow logs.\n If logging is enabled logs will be exported to Cloud Logging. '\n properties:\n aggregationInterval:\n type: string\n x-dcl-go-name: AggregationInterval\n x-dcl-go-type: SubnetworkLogConfigAggregationIntervalEnum\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. Toggles the aggregation interval for collecting flow logs.\n Increasing the interval time will reduce the amount of generated flow\n logs for long lasting connections. Default is an interval of 5 seconds\n per connection. Possible values are INTERVAL_5_SEC, INTERVAL_30_SEC,\n INTERVAL_1_MIN, INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN '\n default: INTERVAL_5_SEC\n enum:\n - INTERVAL_5_SEC\n - INTERVAL_30_SEC\n - INTERVAL_1_MIN\n - INTERVAL_5_MIN\n - INTERVAL_10_MIN\n - INTERVAL_15_MIN\n flowSampling:\n type: number\n format: double\n x-dcl-go-name: FlowSampling\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. The value of the field must be in [0, 1]. Set the sampling\n rate of VPC flow logs within the subnetwork where 1.0 means all collected\n logs are reported and 0.0 means no logs are reported. Default is 0.5\n which means half of all collected logs are reported. '\n default: 0.5\n metadata:\n type: string\n x-dcl-go-name: Metadata\n x-dcl-go-type: SubnetworkLogConfigMetadataEnum\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. Configures whether metadata fields should be added to\n the reported VPC flow logs. Default is `INCLUDE_ALL_METADATA`. Possible\n values: EXCLUDE_ALL_METADATA, INCLUDE_ALL_METADATA'\n default: INCLUDE_ALL_METADATA\n enum:\n - EXCLUDE_ALL_METADATA\n - INCLUDE_ALL_METADATA\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of the resource, provided by the client when initially\n creating the resource. The name must be 1-63 characters long, and comply\n with RFC1035. Specifically, the name must be 1-63 characters long and\n match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means\n the first character must be a lowercase letter, and all following characters\n must be a dash, lowercase letter, or digit, except the last character,\n which cannot be a dash. '\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'The network this subnet belongs to. Only networks that are\n in the distributed mode can have subnetworks. '\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n privateIPGoogleAccess:\n type: boolean\n x-dcl-go-name: PrivateIPGoogleAccess\n description: 'When enabled, VMs in this subnetwork without external IP addresses\n can access Google APIs and services by using Private Google Access. '\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: SubnetworkPurposeEnum\n description: 'The purpose of the resource. This field can be either PRIVATE\n or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER\n is a user-created subnetwork that is reserved for Internal HTTP(S) Load\n Balancing. If unspecified, the purpose defaults to PRIVATE. If set to\n INTERNAL_HTTPS_LOAD_BALANCER you must also set the role. '\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - INTERNAL_HTTPS_LOAD_BALANCER\n - PRIVATE\n - AGGREGATE\n - PRIVATE_SERVICE_CONNECT\n - CLOUD_EXTENSION\n - PRIVATE_NAT\n region:\n type: string\n x-dcl-go-name: Region\n description: 'The GCP region for this subnetwork. '\n x-kubernetes-immutable: true\n role:\n type: string\n x-dcl-go-name: Role\n x-dcl-go-type: SubnetworkRoleEnum\n description: 'The role of subnetwork. Currenly, this field is only used\n when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE\n or BACKUP. An ACTIVE subnetwork is one that is currently being used for\n Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready\n to be promoted to ACTIVE or is currently draining. '\n enum:\n - ACTIVE\n - BACKUP\n secondaryIPRanges:\n type: array\n x-dcl-go-name: SecondaryIPRanges\n description: 'An array of configurations for secondary IP ranges for VM\n instances contained in this subnetwork. The primary IP of such VM must\n belong to the primary ipCidrRange of the subnetwork. The alias IPs may\n belong to either primary or secondary ranges. This field uses attr-as-block\n mode to avoid breaking users during the 0.12 upgrade. See [the Attr-as-Block\n page](https://www.terraform.io/docs/configuration/attr-as-blocks.html)\n for more details. '\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SubnetworkSecondaryIPRanges\n required:\n - rangeName\n - ipCidrRange\n properties:\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of IP addresses belonging to this subnetwork\n secondary range. Provide this property when you create the subnetwork.\n Ranges must be unique and non-overlapping with all primary and secondary\n IP ranges within a network. Only IPv4 is supported. '\n rangeName:\n type: string\n x-dcl-go-name: RangeName\n description: 'The name associated with this subnetwork secondary range,\n used when adding an alias IP range to a VM instance. The name must\n be 1-63 characters long, and comply with RFC1035. The name must\n be unique within the subnetwork. '\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined URL for the resource.'\n x-kubernetes-immutable: true\n") +var YAML_subnetwork = []byte("info:\n title: Compute/Subnetwork\n description: The Compute Subnetwork resource\n x-dcl-struct-name: Subnetwork\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n apply:\n description: The function used to apply information about a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n delete:\n description: The function used to delete a Subnetwork\n parameters:\n - name: Subnetwork\n required: true\n description: A full instance of a Subnetwork\n deleteAll:\n description: The function used to delete all Subnetwork\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Subnetwork\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Subnetwork:\n title: Subnetwork\n x-dcl-id: projects/{{project}}/regions/{{region}}/subnetworks/{{name}}\n x-dcl-locations:\n - region\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - ipCidrRange\n - name\n - network\n - region\n - project\n properties:\n creationTimestamp:\n type: string\n format: date-time\n x-dcl-go-name: CreationTimestamp\n readOnly: true\n description: Creation timestamp in RFC3339 text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'An optional description of this resource. Provide this property\n when you create the resource. This field can be set only at resource creation\n time. '\n x-kubernetes-immutable: true\n enableFlowLogs:\n type: boolean\n x-dcl-go-name: EnableFlowLogs\n description: Whether to enable flow logging for this subnetwork. If this\n field is not explicitly set, it will not appear in `get` listings. If\n not set the default behavior is to disable flow logging. This field isn't\n supported with the `purpose` field set to `INTERNAL_HTTPS_LOAD_BALANCER`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n readOnly: true\n description: 'Fingerprint of this resource. This field is used internally\n during updates of this resource. '\n x-kubernetes-immutable: true\n gatewayAddress:\n type: string\n x-dcl-go-name: GatewayAddress\n readOnly: true\n description: 'The gateway address for default routes to reach destination\n addresses outside this subnetwork. '\n x-kubernetes-immutable: true\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of internal addresses that are owned by this subnetwork.\n Provide this property when you create the subnetwork. For example, 10.0.0.0/8\n or 192.168.0.0/16. Ranges must be unique and non-overlapping within a\n network. Only IPv4 is supported. '\n logConfig:\n type: object\n x-dcl-go-name: LogConfig\n x-dcl-go-type: SubnetworkLogConfig\n description: 'Denotes the logging options for the subnetwork flow logs.\n If logging is enabled logs will be exported to Cloud Logging. '\n properties:\n aggregationInterval:\n type: string\n x-dcl-go-name: AggregationInterval\n x-dcl-go-type: SubnetworkLogConfigAggregationIntervalEnum\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. Toggles the aggregation interval for collecting flow logs.\n Increasing the interval time will reduce the amount of generated flow\n logs for long lasting connections. Default is an interval of 5 seconds\n per connection. Possible values are INTERVAL_5_SEC, INTERVAL_30_SEC,\n INTERVAL_1_MIN, INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN '\n default: INTERVAL_5_SEC\n enum:\n - INTERVAL_5_SEC\n - INTERVAL_30_SEC\n - INTERVAL_1_MIN\n - INTERVAL_5_MIN\n - INTERVAL_10_MIN\n - INTERVAL_15_MIN\n flowSampling:\n type: number\n format: double\n x-dcl-go-name: FlowSampling\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. The value of the field must be in [0, 1]. Set the sampling\n rate of VPC flow logs within the subnetwork where 1.0 means all collected\n logs are reported and 0.0 means no logs are reported. Default is 0.5\n which means half of all collected logs are reported. '\n default: 0.5\n metadata:\n type: string\n x-dcl-go-name: Metadata\n x-dcl-go-type: SubnetworkLogConfigMetadataEnum\n description: 'Can only be specified if VPC flow logging for this subnetwork\n is enabled. Configures whether metadata fields should be added to\n the reported VPC flow logs. Default is `INCLUDE_ALL_METADATA`. Possible\n values: EXCLUDE_ALL_METADATA, INCLUDE_ALL_METADATA'\n default: INCLUDE_ALL_METADATA\n enum:\n - EXCLUDE_ALL_METADATA\n - INCLUDE_ALL_METADATA\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of the resource, provided by the client when initially\n creating the resource. The name must be 1-63 characters long, and comply\n with RFC1035. Specifically, the name must be 1-63 characters long and\n match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means\n the first character must be a lowercase letter, and all following characters\n must be a dash, lowercase letter, or digit, except the last character,\n which cannot be a dash. '\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'The network this subnet belongs to. Only networks that are\n in the distributed mode can have subnetworks. '\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n privateIPGoogleAccess:\n type: boolean\n x-dcl-go-name: PrivateIPGoogleAccess\n description: 'When enabled, VMs in this subnetwork without external IP addresses\n can access Google APIs and services by using Private Google Access. '\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n purpose:\n type: string\n x-dcl-go-name: Purpose\n x-dcl-go-type: SubnetworkPurposeEnum\n description: 'The purpose of the resource. This field can be either PRIVATE\n or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER\n is a user-created subnetwork that is reserved for Internal HTTP(S) Load\n Balancing. If unspecified, the purpose defaults to PRIVATE. If set to\n INTERNAL_HTTPS_LOAD_BALANCER you must also set the role. '\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - INTERNAL_HTTPS_LOAD_BALANCER\n - PRIVATE\n - AGGREGATE\n - PRIVATE_SERVICE_CONNECT\n - CLOUD_EXTENSION\n - PRIVATE_NAT\n region:\n type: string\n x-dcl-go-name: Region\n description: 'The GCP region for this subnetwork. '\n x-kubernetes-immutable: true\n role:\n type: string\n x-dcl-go-name: Role\n x-dcl-go-type: SubnetworkRoleEnum\n description: 'The role of subnetwork. Currenly, this field is only used\n when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE\n or BACKUP. An ACTIVE subnetwork is one that is currently being used for\n Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready\n to be promoted to ACTIVE or is currently draining. '\n enum:\n - ACTIVE\n - BACKUP\n secondaryIPRanges:\n type: array\n x-dcl-go-name: SecondaryIPRanges\n description: 'An array of configurations for secondary IP ranges for VM\n instances contained in this subnetwork. The primary IP of such VM must\n belong to the primary ipCidrRange of the subnetwork. The alias IPs may\n belong to either primary or secondary ranges. This field uses attr-as-block\n mode to avoid breaking users during the 0.12 upgrade. See [the Attr-as-Block\n page](https://www.terraform.io/docs/configuration/attr-as-blocks.html)\n for more details. '\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SubnetworkSecondaryIPRanges\n required:\n - rangeName\n - ipCidrRange\n properties:\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of IP addresses belonging to this subnetwork\n secondary range. Provide this property when you create the subnetwork.\n Ranges must be unique and non-overlapping with all primary and secondary\n IP ranges within a network. Only IPv4 is supported. '\n rangeName:\n type: string\n x-dcl-go-name: RangeName\n description: 'The name associated with this subnetwork secondary range,\n used when adding an alias IP range to a VM instance. The name must\n be 1-63 characters long, and comply with RFC1035. The name must\n be unique within the subnetwork. '\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: '[Output Only] Server-defined URL for the resource.'\n x-kubernetes-immutable: true\n") -// 11143 bytes -// MD5: 3bb928ee594b985abee08b18eb1ff6e7 +// 11168 bytes +// MD5: 1c275e3dc08365a2f6f395a4b5248124 diff --git a/services/google/compute/target_http_proxy.yaml b/services/google/compute/target_http_proxy.yaml index 42cb742019..7f9605a61e 100755 --- a/services/google/compute/target_http_proxy.yaml +++ b/services/google/compute/target_http_proxy.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetHttpProxy description: The Compute TargetHttpProxy resource x-dcl-struct-name: TargetHttpProxy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/target_https_proxy.yaml b/services/google/compute/target_https_proxy.yaml index a6b6fd33ea..3fb6373cd3 100755 --- a/services/google/compute/target_https_proxy.yaml +++ b/services/google/compute/target_https_proxy.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetHttpsProxy description: The Compute TargetHttpsProxy resource x-dcl-struct-name: TargetHttpsProxy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/target_pool.yaml b/services/google/compute/target_pool.yaml index 313cb30b25..68f1d3fb06 100755 --- a/services/google/compute/target_pool.yaml +++ b/services/google/compute/target_pool.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetPool description: The Compute TargetPool resource x-dcl-struct-name: TargetPool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/target_ssl_proxy.yaml b/services/google/compute/target_ssl_proxy.yaml index 82181db89c..bf480910a0 100755 --- a/services/google/compute/target_ssl_proxy.yaml +++ b/services/google/compute/target_ssl_proxy.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetSslProxy description: The Compute TargetSslProxy resource x-dcl-struct-name: TargetSslProxy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/target_vpn_gateway.yaml b/services/google/compute/target_vpn_gateway.yaml index a7ec0072d3..d3419b9f8c 100755 --- a/services/google/compute/target_vpn_gateway.yaml +++ b/services/google/compute/target_vpn_gateway.yaml @@ -15,6 +15,7 @@ info: title: Compute/TargetVpnGateway description: The Compute TargetVpnGateway resource x-dcl-struct-name: TargetVpnGateway + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/url_map.yaml b/services/google/compute/url_map.yaml index 03d780ad1b..0a738c0763 100755 --- a/services/google/compute/url_map.yaml +++ b/services/google/compute/url_map.yaml @@ -15,6 +15,7 @@ info: title: Compute/UrlMap description: The Compute UrlMap resource x-dcl-struct-name: UrlMap + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/vpn_gateway.yaml b/services/google/compute/vpn_gateway.yaml index 79b1bdc74a..e09dad92db 100755 --- a/services/google/compute/vpn_gateway.yaml +++ b/services/google/compute/vpn_gateway.yaml @@ -15,6 +15,7 @@ info: title: Compute/VpnGateway description: The Compute VpnGateway resource x-dcl-struct-name: VpnGateway + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/vpn_tunnel.yaml b/services/google/compute/vpn_tunnel.yaml index 1db7ad09ca..94a55d922b 100755 --- a/services/google/compute/vpn_tunnel.yaml +++ b/services/google/compute/vpn_tunnel.yaml @@ -15,6 +15,7 @@ info: title: Compute/VpnTunnel description: The Compute VpnTunnel resource x-dcl-struct-name: VpnTunnel + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/compute/vpn_tunnel_schema.go b/services/google/compute/vpn_tunnel_schema.go index d85b387c66..282e2b27d4 100755 --- a/services/google/compute/vpn_tunnel_schema.go +++ b/services/google/compute/vpn_tunnel_schema.go @@ -23,6 +23,7 @@ func DCLVpnTunnelSchema() *dcl.Schema { Title: "Compute/VpnTunnel", Description: "The Compute VpnTunnel resource", StructName: "VpnTunnel", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/compute/vpn_tunnel_yaml_embed.go b/services/google/compute/vpn_tunnel_yaml_embed.go index 6ef6b9b211..b431573a66 100755 --- a/services/google/compute/vpn_tunnel_yaml_embed.go +++ b/services/google/compute/vpn_tunnel_yaml_embed.go @@ -17,7 +17,7 @@ package compute // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/vpn_tunnel.yaml -var YAML_vpn_tunnel = []byte("info:\n title: Compute/VpnTunnel\n description: The Compute VpnTunnel resource\n x-dcl-struct-name: VpnTunnel\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n apply:\n description: The function used to apply information about a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n delete:\n description: The function used to delete a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n deleteAll:\n description: The function used to delete all VpnTunnel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many VpnTunnel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n VpnTunnel:\n title: VpnTunnel\n x-dcl-id: projects/{{project}}/regions/{{region}}/vpnTunnels/{{name}}\n x-dcl-locations:\n - region\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - sharedSecret\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n x-kubernetes-immutable: true\n detailedStatus:\n type: string\n x-dcl-go-name: DetailedStatus\n readOnly: true\n description: Detailed status message for the VPN tunnel.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n ikeVersion:\n type: integer\n format: int64\n x-dcl-go-name: IkeVersion\n description: IKE protocol version to use when establishing the VPN tunnel\n with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default\n version is 2.\n x-kubernetes-immutable: true\n default: 2\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels for this VPN Tunnel\n x-kubernetes-immutable: true\n localTrafficSelector:\n type: array\n x-dcl-go-name: LocalTrafficSelector\n description: 'Local traffic selector to use when establishing the VPN tunnel\n with the peer VPN gateway. The value should be a CIDR formatted string,\n for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is\n supported.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt)\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n peerExternalGateway:\n type: string\n x-dcl-go-name: PeerExternalGateway\n description: URL of the peer side external VPN gateway to which this VPN\n tunnel is connected. Provided by the client when the VPN tunnel is created.\n This field is exclusive with the field peerGcpGateway.\n x-kubernetes-immutable: true\n peerExternalGatewayInterface:\n type: integer\n format: int64\n x-dcl-go-name: PeerExternalGatewayInterface\n description: The interface ID of the external VPN gateway to which this\n VPN tunnel is connected. Provided by the client when the VPN tunnel is\n created.\n x-kubernetes-immutable: true\n peerGcpGateway:\n type: string\n x-dcl-go-name: PeerGcpGateway\n description: URL of the peer side HA GCP VPN gateway to which this VPN tunnel\n is connected. Provided by the client when the VPN tunnel is created. This\n field can be used when creating highly available VPN from VPC network\n to VPC network, the field is exclusive with the field peerExternalGateway.\n If provided, the VPN tunnel will automatically use the same vpnGatewayInterface\n ID in the peer GCP VPN gateway.\n x-kubernetes-immutable: true\n peerIP:\n type: string\n x-dcl-go-name: PeerIP\n description: IP address of the peer VPN gateway. Only IPv4 is supported.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: URL of the region where the VPN tunnel resides. You must specify\n this field as part of the HTTP request URL. It is not settable as a field\n in the request body.\n x-kubernetes-immutable: true\n remoteTrafficSelector:\n type: array\n x-dcl-go-name: RemoteTrafficSelector\n description: 'Remote traffic selectors to use when establishing the VPN\n tunnel with the peer VPN gateway. The value should be a CIDR formatted\n string, for example: 192.168.0.0/16. The ranges should be disjoint. Only\n IPv4 is supported.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n router:\n type: string\n x-dcl-go-name: Router\n description: URL of the router resource to be used for dynamic routing.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Router\n field: selfLink\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n sharedSecret:\n type: string\n x-dcl-go-name: SharedSecret\n description: Shared secret used to set the secure session between the Cloud\n VPN gateway and the peer VPN gateway.\n x-kubernetes-immutable: true\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n sharedSecretHash:\n type: string\n x-dcl-go-name: SharedSecretHash\n readOnly: true\n description: Hash of the shared secret.\n x-kubernetes-immutable: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: VpnTunnelStatusEnum\n readOnly: true\n description: 'The status of the VPN tunnel, which can be one of the following: *\n PROVISIONING: Resource is being allocated for the VPN tunnel. * WAITING_FOR_FULL_CONFIG:\n Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway,\n VpnTunnel, ForwardingRule, and Route resources are needed to setup the\n VPN tunnel. * FIRST_HANDSHAKE: Successful first handshake with the peer\n VPN. * ESTABLISHED: Secure session is successfully established with the\n peer VPN. * NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS *\n AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). * NEGOTIATION_FAILURE:\n Handshake failed. * DEPROVISIONING: Resources are being deallocated for\n the VPN tunnel. * FAILED: Tunnel creation has failed and the tunnel is\n not ready to be used. * NO_INCOMING_PACKETS: No incoming packets from\n peer. * REJECTED: Tunnel configuration was rejected, can be result of\n being blocklisted. * ALLOCATING_RESOURCES: Cloud VPN is in the process\n of allocating all required resources. * STOPPED: Tunnel is stopped due\n to its Forwarding Rules being deleted for Classic VPN tunnels or the project\n is in frozen state. * PEER_IDENTITY_MISMATCH: Peer identity does not\n match peer IP, probably behind NAT. * TS_NARROWING_NOT_ALLOWED: Traffic\n selector narrowing not allowed for an HA-VPN tunnel.'\n x-kubernetes-immutable: true\n enum:\n - PROVISIONING\n - WAITING_FOR_FULL_CONFIG\n - FIRST_HANDSHAKE\n - ESTABLISHED\n - NO_INCOMING_PACKETS\n - AUTHORIZATION_ERROR\n - NEGOTIATION_FAILURE\n - DEPROVISIONING\n - FAILED\n - REJECTED\n - ALLOCATING_RESOURCES\n - STOPPED\n - PEER_IDENTITY_MISMATCH\n - TS_NARROWING_NOT_ALLOWED\n targetVpnGateway:\n type: string\n x-dcl-go-name: TargetVpnGateway\n description: URL of the Target VPN gateway with which this VPN tunnel is\n associated. Provided by the client when the VPN tunnel is created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/TargetVpnGateway\n field: selfLink\n vpnGateway:\n type: string\n x-dcl-go-name: VpnGateway\n description: URL of the VPN gateway with which this VPN tunnel is associated.\n Provided by the client when the VPN tunnel is created. This must be used\n (instead of target_vpn_gateway) if a High Availability VPN gateway resource\n is created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/VpnGateway\n field: selfLink\n vpnGatewayInterface:\n type: integer\n format: int64\n x-dcl-go-name: VpnGatewayInterface\n description: The interface ID of the VPN gateway with which this VPN tunnel\n is associated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n") +var YAML_vpn_tunnel = []byte("info:\n title: Compute/VpnTunnel\n description: The Compute VpnTunnel resource\n x-dcl-struct-name: VpnTunnel\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n apply:\n description: The function used to apply information about a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n delete:\n description: The function used to delete a VpnTunnel\n parameters:\n - name: VpnTunnel\n required: true\n description: A full instance of a VpnTunnel\n deleteAll:\n description: The function used to delete all VpnTunnel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many VpnTunnel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: region\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n VpnTunnel:\n title: VpnTunnel\n x-dcl-id: projects/{{project}}/regions/{{region}}/vpnTunnels/{{name}}\n x-dcl-locations:\n - region\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - sharedSecret\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of this resource. Provide this property\n when you create the resource.\n x-kubernetes-immutable: true\n detailedStatus:\n type: string\n x-dcl-go-name: DetailedStatus\n readOnly: true\n description: Detailed status message for the VPN tunnel.\n x-kubernetes-immutable: true\n id:\n type: integer\n format: int64\n x-dcl-go-name: Id\n readOnly: true\n description: The unique identifier for the resource. This identifier is\n defined by the server.\n x-kubernetes-immutable: true\n ikeVersion:\n type: integer\n format: int64\n x-dcl-go-name: IkeVersion\n description: IKE protocol version to use when establishing the VPN tunnel\n with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default\n version is 2.\n x-kubernetes-immutable: true\n default: 2\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels for this VPN Tunnel\n x-kubernetes-immutable: true\n localTrafficSelector:\n type: array\n x-dcl-go-name: LocalTrafficSelector\n description: 'Local traffic selector to use when establishing the VPN tunnel\n with the peer VPN gateway. The value should be a CIDR formatted string,\n for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is\n supported.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the resource. Provided by the client when the resource\n is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt)\n Specifically, the name must be 1-63 characters long and match the regular\n expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n must be a lowercase letter, and all following characters must be a dash,\n lowercase letter, or digit, except the last character, which cannot be\n a dash.\n x-kubernetes-immutable: true\n peerExternalGateway:\n type: string\n x-dcl-go-name: PeerExternalGateway\n description: URL of the peer side external VPN gateway to which this VPN\n tunnel is connected. Provided by the client when the VPN tunnel is created.\n This field is exclusive with the field peerGcpGateway.\n x-kubernetes-immutable: true\n peerExternalGatewayInterface:\n type: integer\n format: int64\n x-dcl-go-name: PeerExternalGatewayInterface\n description: The interface ID of the external VPN gateway to which this\n VPN tunnel is connected. Provided by the client when the VPN tunnel is\n created.\n x-kubernetes-immutable: true\n peerGcpGateway:\n type: string\n x-dcl-go-name: PeerGcpGateway\n description: URL of the peer side HA GCP VPN gateway to which this VPN tunnel\n is connected. Provided by the client when the VPN tunnel is created. This\n field can be used when creating highly available VPN from VPC network\n to VPC network, the field is exclusive with the field peerExternalGateway.\n If provided, the VPN tunnel will automatically use the same vpnGatewayInterface\n ID in the peer GCP VPN gateway.\n x-kubernetes-immutable: true\n peerIP:\n type: string\n x-dcl-go-name: PeerIP\n description: IP address of the peer VPN gateway. Only IPv4 is supported.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n region:\n type: string\n x-dcl-go-name: Region\n description: URL of the region where the VPN tunnel resides. You must specify\n this field as part of the HTTP request URL. It is not settable as a field\n in the request body.\n x-kubernetes-immutable: true\n remoteTrafficSelector:\n type: array\n x-dcl-go-name: RemoteTrafficSelector\n description: 'Remote traffic selectors to use when establishing the VPN\n tunnel with the peer VPN gateway. The value should be a CIDR formatted\n string, for example: 192.168.0.0/16. The ranges should be disjoint. Only\n IPv4 is supported.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n router:\n type: string\n x-dcl-go-name: Router\n description: URL of the router resource to be used for dynamic routing.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Router\n field: selfLink\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Server-defined URL for the resource.\n x-kubernetes-immutable: true\n sharedSecret:\n type: string\n x-dcl-go-name: SharedSecret\n description: Shared secret used to set the secure session between the Cloud\n VPN gateway and the peer VPN gateway.\n x-kubernetes-immutable: true\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n sharedSecretHash:\n type: string\n x-dcl-go-name: SharedSecretHash\n readOnly: true\n description: Hash of the shared secret.\n x-kubernetes-immutable: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: VpnTunnelStatusEnum\n readOnly: true\n description: 'The status of the VPN tunnel, which can be one of the following: *\n PROVISIONING: Resource is being allocated for the VPN tunnel. * WAITING_FOR_FULL_CONFIG:\n Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway,\n VpnTunnel, ForwardingRule, and Route resources are needed to setup the\n VPN tunnel. * FIRST_HANDSHAKE: Successful first handshake with the peer\n VPN. * ESTABLISHED: Secure session is successfully established with the\n peer VPN. * NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS *\n AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). * NEGOTIATION_FAILURE:\n Handshake failed. * DEPROVISIONING: Resources are being deallocated for\n the VPN tunnel. * FAILED: Tunnel creation has failed and the tunnel is\n not ready to be used. * NO_INCOMING_PACKETS: No incoming packets from\n peer. * REJECTED: Tunnel configuration was rejected, can be result of\n being blocklisted. * ALLOCATING_RESOURCES: Cloud VPN is in the process\n of allocating all required resources. * STOPPED: Tunnel is stopped due\n to its Forwarding Rules being deleted for Classic VPN tunnels or the project\n is in frozen state. * PEER_IDENTITY_MISMATCH: Peer identity does not\n match peer IP, probably behind NAT. * TS_NARROWING_NOT_ALLOWED: Traffic\n selector narrowing not allowed for an HA-VPN tunnel.'\n x-kubernetes-immutable: true\n enum:\n - PROVISIONING\n - WAITING_FOR_FULL_CONFIG\n - FIRST_HANDSHAKE\n - ESTABLISHED\n - NO_INCOMING_PACKETS\n - AUTHORIZATION_ERROR\n - NEGOTIATION_FAILURE\n - DEPROVISIONING\n - FAILED\n - REJECTED\n - ALLOCATING_RESOURCES\n - STOPPED\n - PEER_IDENTITY_MISMATCH\n - TS_NARROWING_NOT_ALLOWED\n targetVpnGateway:\n type: string\n x-dcl-go-name: TargetVpnGateway\n description: URL of the Target VPN gateway with which this VPN tunnel is\n associated. Provided by the client when the VPN tunnel is created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/TargetVpnGateway\n field: selfLink\n vpnGateway:\n type: string\n x-dcl-go-name: VpnGateway\n description: URL of the VPN gateway with which this VPN tunnel is associated.\n Provided by the client when the VPN tunnel is created. This must be used\n (instead of target_vpn_gateway) if a High Availability VPN gateway resource\n is created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/VpnGateway\n field: selfLink\n vpnGatewayInterface:\n type: integer\n format: int64\n x-dcl-go-name: VpnGatewayInterface\n description: The interface ID of the VPN gateway with which this VPN tunnel\n is associated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n") -// 11322 bytes -// MD5: 77e3eb035a5df02dade5cd074c8fa7c3 +// 11347 bytes +// MD5: 14dd78c6019d21dd7b0682c49f5b5b78 diff --git a/services/google/configcontroller/alpha/instance.yaml b/services/google/configcontroller/alpha/instance.yaml index 4d43a90bfd..3beecfe229 100755 --- a/services/google/configcontroller/alpha/instance.yaml +++ b/services/google/configcontroller/alpha/instance.yaml @@ -15,6 +15,7 @@ info: title: ConfigController/Instance description: The ConfigController Instance resource x-dcl-struct-name: Instance + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/configcontroller/alpha/instance_alpha_yaml_embed.go b/services/google/configcontroller/alpha/instance_alpha_yaml_embed.go index 7190ceab4d..4e51473125 100755 --- a/services/google/configcontroller/alpha/instance_alpha_yaml_embed.go +++ b/services/google/configcontroller/alpha/instance_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/configcontroller/alpha/instance.yaml -var YAML_instance = []byte("info:\n title: ConfigController/Instance\n description: The ConfigController Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/locations/{{location}}/krmApiHosts/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - managementConfig\n - project\n - location\n properties:\n gkeResourceLink:\n type: string\n x-dcl-go-name: GkeResourceLink\n readOnly: true\n description: Output only. KrmApiHost GCP self link used for identifying\n the underlying endpoint (GKE cluster currently).\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are used for additional information for a KrmApiHost.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n managementConfig:\n type: object\n x-dcl-go-name: ManagementConfig\n x-dcl-go-type: InstanceManagementConfig\n description: Configuration of the cluster management\n x-kubernetes-immutable: true\n required:\n - standardManagementConfig\n properties:\n standardManagementConfig:\n type: object\n x-dcl-go-name: StandardManagementConfig\n x-dcl-go-type: InstanceManagementConfigStandardManagementConfig\n description: Configuration of the standard (GKE) cluster management\n x-kubernetes-immutable: true\n required:\n - masterIPv4CidrBlock\n properties:\n clusterCidrBlock:\n type: string\n x-dcl-go-name: ClusterCidrBlock\n description: The IP address range for the cluster pod IPs. Set to\n blank to have a range chosen with the default size. Set to /netmask\n (e.g. /14) to have a range chosen with a specific netmask. Set\n to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private\n networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick\n a specific range to use.\n x-kubernetes-immutable: true\n clusterNamedRange:\n type: string\n x-dcl-go-name: ClusterNamedRange\n description: The name of the existing secondary range in the cluster's\n subnetwork to use for pod IP addresses. Alternatively, cluster_cidr_block\n can be used to automatically create a GKE-managed one.\n x-kubernetes-immutable: true\n manBlock:\n type: string\n x-dcl-go-name: ManBlock\n description: Master Authorized Network. Allows access to the k8s\n master from this block.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n masterIPv4CidrBlock:\n type: string\n x-dcl-go-name: MasterIPv4CidrBlock\n description: The /28 network that the masters will use.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Existing VPC Network to put the GKE cluster and nodes\n in.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n servicesCidrBlock:\n type: string\n x-dcl-go-name: ServicesCidrBlock\n description: The IP address range for the cluster service IPs. Set\n to blank to have a range chosen with the default size. Set to\n /netmask (e.g. /14) to have a range chosen with a specific netmask.\n Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private\n networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick\n a specific range to use.\n x-kubernetes-immutable: true\n servicesNamedRange:\n type: string\n x-dcl-go-name: ServicesNamedRange\n description: The name of the existing secondary range in the cluster's\n subnetwork to use for service ClusterIPs. Alternatively, services_cidr_block\n can be used to automatically create a GKE-managed one.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of this KrmApiHost resource in the format: ''projects/{project_id}/locations/{location}/krmApiHosts/{krm_api_host_id}''.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. The current state of the internal state machine\n for the KrmApiHost. Possible values: STATE_UNSPECIFIED, CREATING, RUNNING,\n DELETING, SUSPENDED, READ_ONLY'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - RUNNING\n - DELETING\n - SUSPENDED\n - READ_ONLY\n usePrivateEndpoint:\n type: boolean\n x-dcl-go-name: UsePrivateEndpoint\n description: Only allow access to the master's private endpoint IP.\n x-kubernetes-immutable: true\n") +var YAML_instance = []byte("info:\n title: ConfigController/Instance\n description: The ConfigController Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/locations/{{location}}/krmApiHosts/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - managementConfig\n - project\n - location\n properties:\n gkeResourceLink:\n type: string\n x-dcl-go-name: GkeResourceLink\n readOnly: true\n description: Output only. KrmApiHost GCP self link used for identifying\n the underlying endpoint (GKE cluster currently).\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are used for additional information for a KrmApiHost.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n managementConfig:\n type: object\n x-dcl-go-name: ManagementConfig\n x-dcl-go-type: InstanceManagementConfig\n description: Configuration of the cluster management\n x-kubernetes-immutable: true\n required:\n - standardManagementConfig\n properties:\n standardManagementConfig:\n type: object\n x-dcl-go-name: StandardManagementConfig\n x-dcl-go-type: InstanceManagementConfigStandardManagementConfig\n description: Configuration of the standard (GKE) cluster management\n x-kubernetes-immutable: true\n required:\n - masterIPv4CidrBlock\n properties:\n clusterCidrBlock:\n type: string\n x-dcl-go-name: ClusterCidrBlock\n description: The IP address range for the cluster pod IPs. Set to\n blank to have a range chosen with the default size. Set to /netmask\n (e.g. /14) to have a range chosen with a specific netmask. Set\n to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private\n networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick\n a specific range to use.\n x-kubernetes-immutable: true\n clusterNamedRange:\n type: string\n x-dcl-go-name: ClusterNamedRange\n description: The name of the existing secondary range in the cluster's\n subnetwork to use for pod IP addresses. Alternatively, cluster_cidr_block\n can be used to automatically create a GKE-managed one.\n x-kubernetes-immutable: true\n manBlock:\n type: string\n x-dcl-go-name: ManBlock\n description: Master Authorized Network. Allows access to the k8s\n master from this block.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n masterIPv4CidrBlock:\n type: string\n x-dcl-go-name: MasterIPv4CidrBlock\n description: The /28 network that the masters will use.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Existing VPC Network to put the GKE cluster and nodes\n in.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n servicesCidrBlock:\n type: string\n x-dcl-go-name: ServicesCidrBlock\n description: The IP address range for the cluster service IPs. Set\n to blank to have a range chosen with the default size. Set to\n /netmask (e.g. /14) to have a range chosen with a specific netmask.\n Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private\n networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick\n a specific range to use.\n x-kubernetes-immutable: true\n servicesNamedRange:\n type: string\n x-dcl-go-name: ServicesNamedRange\n description: The name of the existing secondary range in the cluster's\n subnetwork to use for service ClusterIPs. Alternatively, services_cidr_block\n can be used to automatically create a GKE-managed one.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of this KrmApiHost resource in the format: ''projects/{project_id}/locations/{location}/krmApiHosts/{krm_api_host_id}''.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. The current state of the internal state machine\n for the KrmApiHost. Possible values: STATE_UNSPECIFIED, CREATING, RUNNING,\n DELETING, SUSPENDED, READ_ONLY'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - RUNNING\n - DELETING\n - SUSPENDED\n - READ_ONLY\n usePrivateEndpoint:\n type: boolean\n x-dcl-go-name: UsePrivateEndpoint\n description: Only allow access to the master's private endpoint IP.\n x-kubernetes-immutable: true\n") -// 7339 bytes -// MD5: 2902e463e6474b927a15ab79b9be7170 +// 7364 bytes +// MD5: 3a18681ca0d316401cfcfb69b90eccc0 diff --git a/services/google/configcontroller/alpha/instance_schema.go b/services/google/configcontroller/alpha/instance_schema.go index 7abee56dfc..a2d9e021a4 100755 --- a/services/google/configcontroller/alpha/instance_schema.go +++ b/services/google/configcontroller/alpha/instance_schema.go @@ -23,6 +23,7 @@ func DCLInstanceSchema() *dcl.Schema { Title: "ConfigController/Instance", Description: "The ConfigController Instance resource", StructName: "Instance", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/container/alpha/cluster.yaml b/services/google/container/alpha/cluster.yaml index e5648c431f..c9b0ad1ddb 100755 --- a/services/google/container/alpha/cluster.yaml +++ b/services/google/container/alpha/cluster.yaml @@ -15,6 +15,7 @@ info: title: Container/Cluster description: The Container Cluster resource x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/container/alpha/node_pool.yaml b/services/google/container/alpha/node_pool.yaml index 7a19966138..65566129a1 100755 --- a/services/google/container/alpha/node_pool.yaml +++ b/services/google/container/alpha/node_pool.yaml @@ -15,6 +15,7 @@ info: title: Container/NodePool description: The Container NodePool resource x-dcl-struct-name: NodePool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/container/beta/cluster.yaml b/services/google/container/beta/cluster.yaml index e5648c431f..c9b0ad1ddb 100755 --- a/services/google/container/beta/cluster.yaml +++ b/services/google/container/beta/cluster.yaml @@ -15,6 +15,7 @@ info: title: Container/Cluster description: The Container Cluster resource x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/container/beta/node_pool.yaml b/services/google/container/beta/node_pool.yaml index 7a19966138..65566129a1 100755 --- a/services/google/container/beta/node_pool.yaml +++ b/services/google/container/beta/node_pool.yaml @@ -15,6 +15,7 @@ info: title: Container/NodePool description: The Container NodePool resource x-dcl-struct-name: NodePool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/container/cluster.yaml b/services/google/container/cluster.yaml index 36a736abfd..af7c30ed4a 100755 --- a/services/google/container/cluster.yaml +++ b/services/google/container/cluster.yaml @@ -15,6 +15,7 @@ info: title: Container/Cluster description: The Container Cluster resource x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/container/node_pool.yaml b/services/google/container/node_pool.yaml index 7a19966138..65566129a1 100755 --- a/services/google/container/node_pool.yaml +++ b/services/google/container/node_pool.yaml @@ -15,6 +15,7 @@ info: title: Container/NodePool description: The Container NodePool resource x-dcl-struct-name: NodePool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/containeranalysis/alpha/note.yaml b/services/google/containeranalysis/alpha/note.yaml index 335a05a24b..d789af04e6 100755 --- a/services/google/containeranalysis/alpha/note.yaml +++ b/services/google/containeranalysis/alpha/note.yaml @@ -15,6 +15,7 @@ info: title: ContainerAnalysis/Note description: The ContainerAnalysis Note resource x-dcl-struct-name: Note + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/containeranalysis/alpha/note_alpha_yaml_embed.go b/services/google/containeranalysis/alpha/note_alpha_yaml_embed.go index 874b35d2f0..749dece47e 100755 --- a/services/google/containeranalysis/alpha/note_alpha_yaml_embed.go +++ b/services/google/containeranalysis/alpha/note_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containeranalysis/alpha/note.yaml -var YAML_note = []byte("info:\n title: ContainerAnalysis/Note\n description: The ContainerAnalysis Note resource\n x-dcl-struct-name: Note\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n apply:\n description: The function used to apply information about a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n delete:\n description: The function used to delete a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n deleteAll:\n description: The function used to delete all Note\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Note\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Note:\n title: Note\n x-dcl-id: projects/{{project}}/notes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n attestation:\n type: object\n x-dcl-go-name: Attestation\n x-dcl-go-type: NoteAttestation\n description: A note describing an attestation role.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - deployment\n - discovery\n properties:\n hint:\n type: object\n x-dcl-go-name: Hint\n x-dcl-go-type: NoteAttestationHint\n description: Hint hints at the purpose of the attestation authority.\n required:\n - humanReadableName\n properties:\n humanReadableName:\n type: string\n x-dcl-go-name: HumanReadableName\n description: Required. The human readable name of this attestation\n authority, for example \"qa\".\n build:\n type: object\n x-dcl-go-name: Build\n x-dcl-go-type: NoteBuild\n description: A note describing build provenance for a verifiable build.\n x-dcl-conflicts:\n - vulnerability\n - image\n - package\n - deployment\n - discovery\n - attestation\n required:\n - builderVersion\n properties:\n builderVersion:\n type: string\n x-dcl-go-name: BuilderVersion\n description: Required. Immutable. Version of the builder which produced\n this build.\n signature:\n type: object\n x-dcl-go-name: Signature\n x-dcl-go-type: NoteBuildSignature\n description: Signature of the build in occurrences pointing to this\n build note containing build details.\n required:\n - signature\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: An ID for the key used to sign. This could be either\n an ID for the key stored in `public_key` (such as the ID or fingerprint\n for a PGP key, or the CN for a cert), or a reference to an external\n key (such as a reference to a key in Cloud Key Management Service).\n keyType:\n type: string\n x-dcl-go-name: KeyType\n x-dcl-go-type: NoteBuildSignatureKeyTypeEnum\n description: 'The type of the key, either stored in `public_key`\n or referenced in `key_id`. Possible values: KEY_TYPE_UNSPECIFIED,\n PGP_ASCII_ARMORED, PKIX_PEM'\n enum:\n - KEY_TYPE_UNSPECIFIED\n - PGP_ASCII_ARMORED\n - PKIX_PEM\n publicKey:\n type: string\n x-dcl-go-name: PublicKey\n description: 'Public key of the builder which can be used to verify\n that the related findings are valid and unchanged. If `key_type`\n is empty, this defaults to PEM encoded public keys. This field\n may be empty if `key_id` references an external key. For Cloud\n Build based signatures, this is a PEM encoded public key. To verify\n the Cloud Build signature, place the contents of this field into\n a file (public.pem). The signature field is base64-decoded into\n its binary representation in signature.bin, and the provenance\n bytes from `BuildDetails` are base64-decoded into a binary representation\n in signed.bin. OpenSSL can then verify the signature: `openssl\n sha256 -verify public.pem -signature signature.bin signed.bin`'\n signature:\n type: string\n x-dcl-go-name: Signature\n description: Required. Signature of the related `BuildProvenance`.\n In JSON, this is base-64 encoded.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time this note was created. This field can\n be used as a filter in list requests.\n x-kubernetes-immutable: true\n deployment:\n type: object\n x-dcl-go-name: Deployment\n x-dcl-go-type: NoteDeployment\n description: A note describing something that can be deployed.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - discovery\n - attestation\n required:\n - resourceUri\n properties:\n resourceUri:\n type: array\n x-dcl-go-name: ResourceUri\n description: Required. Resource URI for the artifact being deployed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n discovery:\n type: object\n x-dcl-go-name: Discovery\n x-dcl-go-type: NoteDiscovery\n description: A note describing the initial analysis of a resource.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - deployment\n - attestation\n required:\n - analysisKind\n properties:\n analysisKind:\n type: string\n x-dcl-go-name: AnalysisKind\n x-dcl-go-type: NoteDiscoveryAnalysisKindEnum\n description: 'The kind of analysis that is handled by this discovery.\n Possible values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE,\n PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n expirationTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpirationTime\n description: Time of expiration for this note. Empty if note does not expire.\n image:\n type: object\n x-dcl-go-name: Image\n x-dcl-go-type: NoteImage\n description: A note describing a base image.\n x-dcl-conflicts:\n - vulnerability\n - build\n - package\n - deployment\n - discovery\n - attestation\n required:\n - resourceUrl\n - fingerprint\n properties:\n fingerprint:\n type: object\n x-dcl-go-name: Fingerprint\n x-dcl-go-type: NoteImageFingerprint\n description: Required. Immutable. The fingerprint of the base image.\n required:\n - v1Name\n - v2Blob\n properties:\n v1Name:\n type: string\n x-dcl-go-name: V1Name\n description: Required. The layer ID of the final layer in the Docker\n image's v1 representation.\n v2Blob:\n type: array\n x-dcl-go-name: V2Blob\n description: Required. The ordered list of v2 blobs that represent\n a given image.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n v2Name:\n type: string\n x-dcl-go-name: V2Name\n readOnly: true\n description: 'Output only. The name of the image''s v2 blobs computed\n via: ) Only the name of the final blob is kept.'\n resourceUrl:\n type: string\n x-dcl-go-name: ResourceUrl\n description: Required. Immutable. The resource_url for the resource\n representing the basis of associated occurrence images.\n longDescription:\n type: string\n x-dcl-go-name: LongDescription\n description: A detailed description of this note.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Immutable. The name of the package.\n x-kubernetes-immutable: true\n package:\n type: object\n x-dcl-go-name: Package\n x-dcl-go-type: NotePackage\n description: Required for non-Windows OS. The package this Upgrade is for.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - deployment\n - discovery\n - attestation\n required:\n - name\n properties:\n distribution:\n type: array\n x-dcl-go-name: Distribution\n description: The various channels by which a package is distributed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NotePackageDistribution\n required:\n - cpeUri\n properties:\n architecture:\n type: string\n x-dcl-go-name: Architecture\n x-dcl-go-type: NotePackageDistributionArchitectureEnum\n description: 'The CPU architecture for which packages in this\n distribution channel were built Possible values: ARCHITECTURE_UNSPECIFIED,\n X86, X64'\n enum:\n - ARCHITECTURE_UNSPECIFIED\n - X86\n - X64\n cpeUri:\n type: string\n x-dcl-go-name: CpeUri\n description: The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)\n denoting the package manager version distributing a package.\n description:\n type: string\n x-dcl-go-name: Description\n description: The distribution channel-specific description of\n this package.\n latestVersion:\n type: object\n x-dcl-go-name: LatestVersion\n x-dcl-go-type: NotePackageDistributionLatestVersion\n description: The latest available version of this package in this\n distribution channel.\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NotePackageDistributionLatestVersionKindEnum\n description: 'Distinguish between sentinel MIN/MAX versions\n and normal versions. If kind is not NORMAL, then the other\n fields are ignored. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: The main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n maintainer:\n type: string\n x-dcl-go-name: Maintainer\n description: A freeform string denoting the maintainer of this\n package.\n url:\n type: string\n x-dcl-go-name: Url\n description: The distribution channel-specific homepage for this\n package.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the package.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n relatedNoteNames:\n type: array\n x-dcl-go-name: RelatedNoteNames\n description: Other notes related to this note.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Containeranalysis/Note\n field: name\n relatedUrl:\n type: array\n x-dcl-go-name: RelatedUrl\n description: URLs associated with this note.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteRelatedUrl\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: Label to describe usage of the URL\n url:\n type: string\n x-dcl-go-name: Url\n description: Specific URL to associate with the note\n shortDescription:\n type: string\n x-dcl-go-name: ShortDescription\n description: A one sentence description of this note.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time this note was last updated. This field\n can be used as a filter in list requests.\n x-kubernetes-immutable: true\n vulnerability:\n type: object\n x-dcl-go-name: Vulnerability\n x-dcl-go-type: NoteVulnerability\n description: A note describing a package vulnerability.\n x-dcl-conflicts:\n - build\n - image\n - package\n - deployment\n - discovery\n - attestation\n properties:\n cvssScore:\n type: number\n format: double\n x-dcl-go-name: CvssScore\n description: The CVSS score of this vulnerability. CVSS score is on\n a scale of 0 - 10 where 0 indicates low severity and 10 indicates\n high severity.\n cvssV3:\n type: object\n x-dcl-go-name: CvssV3\n x-dcl-go-type: NoteVulnerabilityCvssV3\n description: The full description of the CVSSv3 for this vulnerability.\n properties:\n attackComplexity:\n type: string\n x-dcl-go-name: AttackComplexity\n x-dcl-go-type: NoteVulnerabilityCvssV3AttackComplexityEnum\n description: ' Possible values: ATTACK_COMPLEXITY_UNSPECIFIED, ATTACK_COMPLEXITY_LOW,\n ATTACK_COMPLEXITY_HIGH'\n enum:\n - ATTACK_COMPLEXITY_UNSPECIFIED\n - ATTACK_COMPLEXITY_LOW\n - ATTACK_COMPLEXITY_HIGH\n attackVector:\n type: string\n x-dcl-go-name: AttackVector\n x-dcl-go-type: NoteVulnerabilityCvssV3AttackVectorEnum\n description: 'Base Metrics Represents the intrinsic characteristics\n of a vulnerability that are constant over time and across user\n environments. Possible values: ATTACK_VECTOR_UNSPECIFIED, ATTACK_VECTOR_NETWORK,\n ATTACK_VECTOR_ADJACENT, ATTACK_VECTOR_LOCAL, ATTACK_VECTOR_PHYSICAL'\n enum:\n - ATTACK_VECTOR_UNSPECIFIED\n - ATTACK_VECTOR_NETWORK\n - ATTACK_VECTOR_ADJACENT\n - ATTACK_VECTOR_LOCAL\n - ATTACK_VECTOR_PHYSICAL\n availabilityImpact:\n type: string\n x-dcl-go-name: AvailabilityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3AvailabilityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n baseScore:\n type: number\n format: double\n x-dcl-go-name: BaseScore\n description: The base score is a function of the base metric scores.\n confidentialityImpact:\n type: string\n x-dcl-go-name: ConfidentialityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3ConfidentialityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n exploitabilityScore:\n type: number\n format: double\n x-dcl-go-name: ExploitabilityScore\n impactScore:\n type: number\n format: double\n x-dcl-go-name: ImpactScore\n integrityImpact:\n type: string\n x-dcl-go-name: IntegrityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3IntegrityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n privilegesRequired:\n type: string\n x-dcl-go-name: PrivilegesRequired\n x-dcl-go-type: NoteVulnerabilityCvssV3PrivilegesRequiredEnum\n description: ' Possible values: PRIVILEGES_REQUIRED_UNSPECIFIED,\n PRIVILEGES_REQUIRED_NONE, PRIVILEGES_REQUIRED_LOW, PRIVILEGES_REQUIRED_HIGH'\n enum:\n - PRIVILEGES_REQUIRED_UNSPECIFIED\n - PRIVILEGES_REQUIRED_NONE\n - PRIVILEGES_REQUIRED_LOW\n - PRIVILEGES_REQUIRED_HIGH\n scope:\n type: string\n x-dcl-go-name: Scope\n x-dcl-go-type: NoteVulnerabilityCvssV3ScopeEnum\n description: ' Possible values: SCOPE_UNSPECIFIED, SCOPE_UNCHANGED,\n SCOPE_CHANGED'\n enum:\n - SCOPE_UNSPECIFIED\n - SCOPE_UNCHANGED\n - SCOPE_CHANGED\n userInteraction:\n type: string\n x-dcl-go-name: UserInteraction\n x-dcl-go-type: NoteVulnerabilityCvssV3UserInteractionEnum\n description: ' Possible values: USER_INTERACTION_UNSPECIFIED, USER_INTERACTION_NONE,\n USER_INTERACTION_REQUIRED'\n enum:\n - USER_INTERACTION_UNSPECIFIED\n - USER_INTERACTION_NONE\n - USER_INTERACTION_REQUIRED\n details:\n type: array\n x-dcl-go-name: Details\n description: Details of all known distros and packages affected by this\n vulnerability.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityDetails\n required:\n - affectedCpeUri\n - affectedPackage\n properties:\n affectedCpeUri:\n type: string\n x-dcl-go-name: AffectedCpeUri\n description: Required. The (https://cpe.mitre.org/specification/)\n this vulnerability affects.\n affectedPackage:\n type: string\n x-dcl-go-name: AffectedPackage\n description: Required. The package this vulnerability affects.\n affectedVersionEnd:\n type: object\n x-dcl-go-name: AffectedVersionEnd\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionEnd\n description: 'The version number at the end of an interval in\n which this vulnerability exists. A vulnerability can affect\n a package between version numbers that are disjoint sets of\n intervals (example: ) each of which will be represented in its\n own Detail. If a specific affected version is provided by a\n vulnerability database, affected_version_start and affected_version_end\n will be the same in that Detail.'\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionEndKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n affectedVersionStart:\n type: object\n x-dcl-go-name: AffectedVersionStart\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionStart\n description: 'The version number at the start of an interval in\n which this vulnerability exists. A vulnerability can affect\n a package between version numbers that are disjoint sets of\n intervals (example: ) each of which will be represented in its\n own Detail. If a specific affected version is provided by a\n vulnerability database, affected_version_start and affected_version_end\n will be the same in that Detail.'\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionStartKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n description:\n type: string\n x-dcl-go-name: Description\n description: A vendor-specific description of this vulnerability.\n fixedCpeUri:\n type: string\n x-dcl-go-name: FixedCpeUri\n description: The distro recommended (https://cpe.mitre.org/specification/)\n to update to that contains a fix for this vulnerability. It\n is possible for this to be different from the affected_cpe_uri.\n fixedPackage:\n type: string\n x-dcl-go-name: FixedPackage\n description: The distro recommended package to update to that\n contains a fix for this vulnerability. It is possible for this\n to be different from the affected_package.\n fixedVersion:\n type: object\n x-dcl-go-name: FixedVersion\n x-dcl-go-type: NoteVulnerabilityDetailsFixedVersion\n description: The distro recommended version to update to that\n contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM\n means no such version is yet available.\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsFixedVersionKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n isObsolete:\n type: boolean\n x-dcl-go-name: IsObsolete\n description: Whether this detail is obsolete. Occurrences are\n expected not to point to obsolete details.\n packageType:\n type: string\n x-dcl-go-name: PackageType\n description: The type of package; whether native or non native\n (e.g., ruby gems, node.js packages, etc.).\n severityName:\n type: string\n x-dcl-go-name: SeverityName\n description: The distro assigned severity of this vulnerability.\n sourceUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: SourceUpdateTime\n description: The time this information was last changed at the\n source. This is an upstream timestamp from the underlying information\n source - e.g. Ubuntu security tracker.\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: NoteVulnerabilitySeverityEnum\n description: 'The note provider assigned severity of this vulnerability.\n Possible values: SEVERITY_UNSPECIFIED, MINIMAL, LOW, MEDIUM, HIGH,\n CRITICAL'\n enum:\n - SEVERITY_UNSPECIFIED\n - MINIMAL\n - LOW\n - MEDIUM\n - HIGH\n - CRITICAL\n sourceUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: SourceUpdateTime\n description: The time this information was last changed at the source.\n This is an upstream timestamp from the underlying information source\n - e.g. Ubuntu security tracker.\n windowsDetails:\n type: array\n x-dcl-go-name: WindowsDetails\n description: Windows details get their own format because the information\n format and model don't match a normal detail. Specifically Windows\n updates are done as patches, thus Windows vulnerabilities really are\n a missing package, rather than a package being at an incorrect version.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityWindowsDetails\n required:\n - cpeUri\n - name\n - fixingKbs\n properties:\n cpeUri:\n type: string\n x-dcl-go-name: CpeUri\n description: Required. The (https://cpe.mitre.org/specification/)\n this vulnerability affects.\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of this vulnerability.\n fixingKbs:\n type: array\n x-dcl-go-name: FixingKbs\n description: Required. The names of the KBs which have hotfixes\n to mitigate this vulnerability. Note that there may be multiple\n hotfixes (and thus multiple KBs) that mitigate a given vulnerability.\n Currently any listed KBs presence is considered a fix.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityWindowsDetailsFixingKbs\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The KB name (generally of the form KB+ (e.g.,\n KB123456)).\n url:\n type: string\n x-dcl-go-name: Url\n description: A link to the KB in the (https://www.catalog.update.microsoft.com/).\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of this vulnerability.\n") +var YAML_note = []byte("info:\n title: ContainerAnalysis/Note\n description: The ContainerAnalysis Note resource\n x-dcl-struct-name: Note\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n apply:\n description: The function used to apply information about a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n delete:\n description: The function used to delete a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n deleteAll:\n description: The function used to delete all Note\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Note\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Note:\n title: Note\n x-dcl-id: projects/{{project}}/notes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n attestation:\n type: object\n x-dcl-go-name: Attestation\n x-dcl-go-type: NoteAttestation\n description: A note describing an attestation role.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - deployment\n - discovery\n properties:\n hint:\n type: object\n x-dcl-go-name: Hint\n x-dcl-go-type: NoteAttestationHint\n description: Hint hints at the purpose of the attestation authority.\n required:\n - humanReadableName\n properties:\n humanReadableName:\n type: string\n x-dcl-go-name: HumanReadableName\n description: Required. The human readable name of this attestation\n authority, for example \"qa\".\n build:\n type: object\n x-dcl-go-name: Build\n x-dcl-go-type: NoteBuild\n description: A note describing build provenance for a verifiable build.\n x-dcl-conflicts:\n - vulnerability\n - image\n - package\n - deployment\n - discovery\n - attestation\n required:\n - builderVersion\n properties:\n builderVersion:\n type: string\n x-dcl-go-name: BuilderVersion\n description: Required. Immutable. Version of the builder which produced\n this build.\n signature:\n type: object\n x-dcl-go-name: Signature\n x-dcl-go-type: NoteBuildSignature\n description: Signature of the build in occurrences pointing to this\n build note containing build details.\n required:\n - signature\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: An ID for the key used to sign. This could be either\n an ID for the key stored in `public_key` (such as the ID or fingerprint\n for a PGP key, or the CN for a cert), or a reference to an external\n key (such as a reference to a key in Cloud Key Management Service).\n keyType:\n type: string\n x-dcl-go-name: KeyType\n x-dcl-go-type: NoteBuildSignatureKeyTypeEnum\n description: 'The type of the key, either stored in `public_key`\n or referenced in `key_id`. Possible values: KEY_TYPE_UNSPECIFIED,\n PGP_ASCII_ARMORED, PKIX_PEM'\n enum:\n - KEY_TYPE_UNSPECIFIED\n - PGP_ASCII_ARMORED\n - PKIX_PEM\n publicKey:\n type: string\n x-dcl-go-name: PublicKey\n description: 'Public key of the builder which can be used to verify\n that the related findings are valid and unchanged. If `key_type`\n is empty, this defaults to PEM encoded public keys. This field\n may be empty if `key_id` references an external key. For Cloud\n Build based signatures, this is a PEM encoded public key. To verify\n the Cloud Build signature, place the contents of this field into\n a file (public.pem). The signature field is base64-decoded into\n its binary representation in signature.bin, and the provenance\n bytes from `BuildDetails` are base64-decoded into a binary representation\n in signed.bin. OpenSSL can then verify the signature: `openssl\n sha256 -verify public.pem -signature signature.bin signed.bin`'\n signature:\n type: string\n x-dcl-go-name: Signature\n description: Required. Signature of the related `BuildProvenance`.\n In JSON, this is base-64 encoded.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time this note was created. This field can\n be used as a filter in list requests.\n x-kubernetes-immutable: true\n deployment:\n type: object\n x-dcl-go-name: Deployment\n x-dcl-go-type: NoteDeployment\n description: A note describing something that can be deployed.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - discovery\n - attestation\n required:\n - resourceUri\n properties:\n resourceUri:\n type: array\n x-dcl-go-name: ResourceUri\n description: Required. Resource URI for the artifact being deployed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n discovery:\n type: object\n x-dcl-go-name: Discovery\n x-dcl-go-type: NoteDiscovery\n description: A note describing the initial analysis of a resource.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - deployment\n - attestation\n required:\n - analysisKind\n properties:\n analysisKind:\n type: string\n x-dcl-go-name: AnalysisKind\n x-dcl-go-type: NoteDiscoveryAnalysisKindEnum\n description: 'The kind of analysis that is handled by this discovery.\n Possible values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE,\n PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n expirationTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpirationTime\n description: Time of expiration for this note. Empty if note does not expire.\n image:\n type: object\n x-dcl-go-name: Image\n x-dcl-go-type: NoteImage\n description: A note describing a base image.\n x-dcl-conflicts:\n - vulnerability\n - build\n - package\n - deployment\n - discovery\n - attestation\n required:\n - resourceUrl\n - fingerprint\n properties:\n fingerprint:\n type: object\n x-dcl-go-name: Fingerprint\n x-dcl-go-type: NoteImageFingerprint\n description: Required. Immutable. The fingerprint of the base image.\n required:\n - v1Name\n - v2Blob\n properties:\n v1Name:\n type: string\n x-dcl-go-name: V1Name\n description: Required. The layer ID of the final layer in the Docker\n image's v1 representation.\n v2Blob:\n type: array\n x-dcl-go-name: V2Blob\n description: Required. The ordered list of v2 blobs that represent\n a given image.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n v2Name:\n type: string\n x-dcl-go-name: V2Name\n readOnly: true\n description: 'Output only. The name of the image''s v2 blobs computed\n via: ) Only the name of the final blob is kept.'\n resourceUrl:\n type: string\n x-dcl-go-name: ResourceUrl\n description: Required. Immutable. The resource_url for the resource\n representing the basis of associated occurrence images.\n longDescription:\n type: string\n x-dcl-go-name: LongDescription\n description: A detailed description of this note.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Immutable. The name of the package.\n x-kubernetes-immutable: true\n package:\n type: object\n x-dcl-go-name: Package\n x-dcl-go-type: NotePackage\n description: Required for non-Windows OS. The package this Upgrade is for.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - deployment\n - discovery\n - attestation\n required:\n - name\n properties:\n distribution:\n type: array\n x-dcl-go-name: Distribution\n description: The various channels by which a package is distributed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NotePackageDistribution\n required:\n - cpeUri\n properties:\n architecture:\n type: string\n x-dcl-go-name: Architecture\n x-dcl-go-type: NotePackageDistributionArchitectureEnum\n description: 'The CPU architecture for which packages in this\n distribution channel were built Possible values: ARCHITECTURE_UNSPECIFIED,\n X86, X64'\n enum:\n - ARCHITECTURE_UNSPECIFIED\n - X86\n - X64\n cpeUri:\n type: string\n x-dcl-go-name: CpeUri\n description: The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)\n denoting the package manager version distributing a package.\n description:\n type: string\n x-dcl-go-name: Description\n description: The distribution channel-specific description of\n this package.\n latestVersion:\n type: object\n x-dcl-go-name: LatestVersion\n x-dcl-go-type: NotePackageDistributionLatestVersion\n description: The latest available version of this package in this\n distribution channel.\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NotePackageDistributionLatestVersionKindEnum\n description: 'Distinguish between sentinel MIN/MAX versions\n and normal versions. If kind is not NORMAL, then the other\n fields are ignored. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: The main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n maintainer:\n type: string\n x-dcl-go-name: Maintainer\n description: A freeform string denoting the maintainer of this\n package.\n url:\n type: string\n x-dcl-go-name: Url\n description: The distribution channel-specific homepage for this\n package.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the package.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n relatedNoteNames:\n type: array\n x-dcl-go-name: RelatedNoteNames\n description: Other notes related to this note.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Containeranalysis/Note\n field: name\n relatedUrl:\n type: array\n x-dcl-go-name: RelatedUrl\n description: URLs associated with this note.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteRelatedUrl\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: Label to describe usage of the URL\n url:\n type: string\n x-dcl-go-name: Url\n description: Specific URL to associate with the note\n shortDescription:\n type: string\n x-dcl-go-name: ShortDescription\n description: A one sentence description of this note.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time this note was last updated. This field\n can be used as a filter in list requests.\n x-kubernetes-immutable: true\n vulnerability:\n type: object\n x-dcl-go-name: Vulnerability\n x-dcl-go-type: NoteVulnerability\n description: A note describing a package vulnerability.\n x-dcl-conflicts:\n - build\n - image\n - package\n - deployment\n - discovery\n - attestation\n properties:\n cvssScore:\n type: number\n format: double\n x-dcl-go-name: CvssScore\n description: The CVSS score of this vulnerability. CVSS score is on\n a scale of 0 - 10 where 0 indicates low severity and 10 indicates\n high severity.\n cvssV3:\n type: object\n x-dcl-go-name: CvssV3\n x-dcl-go-type: NoteVulnerabilityCvssV3\n description: The full description of the CVSSv3 for this vulnerability.\n properties:\n attackComplexity:\n type: string\n x-dcl-go-name: AttackComplexity\n x-dcl-go-type: NoteVulnerabilityCvssV3AttackComplexityEnum\n description: ' Possible values: ATTACK_COMPLEXITY_UNSPECIFIED, ATTACK_COMPLEXITY_LOW,\n ATTACK_COMPLEXITY_HIGH'\n enum:\n - ATTACK_COMPLEXITY_UNSPECIFIED\n - ATTACK_COMPLEXITY_LOW\n - ATTACK_COMPLEXITY_HIGH\n attackVector:\n type: string\n x-dcl-go-name: AttackVector\n x-dcl-go-type: NoteVulnerabilityCvssV3AttackVectorEnum\n description: 'Base Metrics Represents the intrinsic characteristics\n of a vulnerability that are constant over time and across user\n environments. Possible values: ATTACK_VECTOR_UNSPECIFIED, ATTACK_VECTOR_NETWORK,\n ATTACK_VECTOR_ADJACENT, ATTACK_VECTOR_LOCAL, ATTACK_VECTOR_PHYSICAL'\n enum:\n - ATTACK_VECTOR_UNSPECIFIED\n - ATTACK_VECTOR_NETWORK\n - ATTACK_VECTOR_ADJACENT\n - ATTACK_VECTOR_LOCAL\n - ATTACK_VECTOR_PHYSICAL\n availabilityImpact:\n type: string\n x-dcl-go-name: AvailabilityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3AvailabilityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n baseScore:\n type: number\n format: double\n x-dcl-go-name: BaseScore\n description: The base score is a function of the base metric scores.\n confidentialityImpact:\n type: string\n x-dcl-go-name: ConfidentialityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3ConfidentialityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n exploitabilityScore:\n type: number\n format: double\n x-dcl-go-name: ExploitabilityScore\n impactScore:\n type: number\n format: double\n x-dcl-go-name: ImpactScore\n integrityImpact:\n type: string\n x-dcl-go-name: IntegrityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3IntegrityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n privilegesRequired:\n type: string\n x-dcl-go-name: PrivilegesRequired\n x-dcl-go-type: NoteVulnerabilityCvssV3PrivilegesRequiredEnum\n description: ' Possible values: PRIVILEGES_REQUIRED_UNSPECIFIED,\n PRIVILEGES_REQUIRED_NONE, PRIVILEGES_REQUIRED_LOW, PRIVILEGES_REQUIRED_HIGH'\n enum:\n - PRIVILEGES_REQUIRED_UNSPECIFIED\n - PRIVILEGES_REQUIRED_NONE\n - PRIVILEGES_REQUIRED_LOW\n - PRIVILEGES_REQUIRED_HIGH\n scope:\n type: string\n x-dcl-go-name: Scope\n x-dcl-go-type: NoteVulnerabilityCvssV3ScopeEnum\n description: ' Possible values: SCOPE_UNSPECIFIED, SCOPE_UNCHANGED,\n SCOPE_CHANGED'\n enum:\n - SCOPE_UNSPECIFIED\n - SCOPE_UNCHANGED\n - SCOPE_CHANGED\n userInteraction:\n type: string\n x-dcl-go-name: UserInteraction\n x-dcl-go-type: NoteVulnerabilityCvssV3UserInteractionEnum\n description: ' Possible values: USER_INTERACTION_UNSPECIFIED, USER_INTERACTION_NONE,\n USER_INTERACTION_REQUIRED'\n enum:\n - USER_INTERACTION_UNSPECIFIED\n - USER_INTERACTION_NONE\n - USER_INTERACTION_REQUIRED\n details:\n type: array\n x-dcl-go-name: Details\n description: Details of all known distros and packages affected by this\n vulnerability.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityDetails\n required:\n - affectedCpeUri\n - affectedPackage\n properties:\n affectedCpeUri:\n type: string\n x-dcl-go-name: AffectedCpeUri\n description: Required. The (https://cpe.mitre.org/specification/)\n this vulnerability affects.\n affectedPackage:\n type: string\n x-dcl-go-name: AffectedPackage\n description: Required. The package this vulnerability affects.\n affectedVersionEnd:\n type: object\n x-dcl-go-name: AffectedVersionEnd\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionEnd\n description: 'The version number at the end of an interval in\n which this vulnerability exists. A vulnerability can affect\n a package between version numbers that are disjoint sets of\n intervals (example: ) each of which will be represented in its\n own Detail. If a specific affected version is provided by a\n vulnerability database, affected_version_start and affected_version_end\n will be the same in that Detail.'\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionEndKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n affectedVersionStart:\n type: object\n x-dcl-go-name: AffectedVersionStart\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionStart\n description: 'The version number at the start of an interval in\n which this vulnerability exists. A vulnerability can affect\n a package between version numbers that are disjoint sets of\n intervals (example: ) each of which will be represented in its\n own Detail. If a specific affected version is provided by a\n vulnerability database, affected_version_start and affected_version_end\n will be the same in that Detail.'\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionStartKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n description:\n type: string\n x-dcl-go-name: Description\n description: A vendor-specific description of this vulnerability.\n fixedCpeUri:\n type: string\n x-dcl-go-name: FixedCpeUri\n description: The distro recommended (https://cpe.mitre.org/specification/)\n to update to that contains a fix for this vulnerability. It\n is possible for this to be different from the affected_cpe_uri.\n fixedPackage:\n type: string\n x-dcl-go-name: FixedPackage\n description: The distro recommended package to update to that\n contains a fix for this vulnerability. It is possible for this\n to be different from the affected_package.\n fixedVersion:\n type: object\n x-dcl-go-name: FixedVersion\n x-dcl-go-type: NoteVulnerabilityDetailsFixedVersion\n description: The distro recommended version to update to that\n contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM\n means no such version is yet available.\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsFixedVersionKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n isObsolete:\n type: boolean\n x-dcl-go-name: IsObsolete\n description: Whether this detail is obsolete. Occurrences are\n expected not to point to obsolete details.\n packageType:\n type: string\n x-dcl-go-name: PackageType\n description: The type of package; whether native or non native\n (e.g., ruby gems, node.js packages, etc.).\n severityName:\n type: string\n x-dcl-go-name: SeverityName\n description: The distro assigned severity of this vulnerability.\n sourceUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: SourceUpdateTime\n description: The time this information was last changed at the\n source. This is an upstream timestamp from the underlying information\n source - e.g. Ubuntu security tracker.\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: NoteVulnerabilitySeverityEnum\n description: 'The note provider assigned severity of this vulnerability.\n Possible values: SEVERITY_UNSPECIFIED, MINIMAL, LOW, MEDIUM, HIGH,\n CRITICAL'\n enum:\n - SEVERITY_UNSPECIFIED\n - MINIMAL\n - LOW\n - MEDIUM\n - HIGH\n - CRITICAL\n sourceUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: SourceUpdateTime\n description: The time this information was last changed at the source.\n This is an upstream timestamp from the underlying information source\n - e.g. Ubuntu security tracker.\n windowsDetails:\n type: array\n x-dcl-go-name: WindowsDetails\n description: Windows details get their own format because the information\n format and model don't match a normal detail. Specifically Windows\n updates are done as patches, thus Windows vulnerabilities really are\n a missing package, rather than a package being at an incorrect version.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityWindowsDetails\n required:\n - cpeUri\n - name\n - fixingKbs\n properties:\n cpeUri:\n type: string\n x-dcl-go-name: CpeUri\n description: Required. The (https://cpe.mitre.org/specification/)\n this vulnerability affects.\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of this vulnerability.\n fixingKbs:\n type: array\n x-dcl-go-name: FixingKbs\n description: Required. The names of the KBs which have hotfixes\n to mitigate this vulnerability. Note that there may be multiple\n hotfixes (and thus multiple KBs) that mitigate a given vulnerability.\n Currently any listed KBs presence is considered a fix.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityWindowsDetailsFixingKbs\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The KB name (generally of the form KB+ (e.g.,\n KB123456)).\n url:\n type: string\n x-dcl-go-name: Url\n description: A link to the KB in the (https://www.catalog.update.microsoft.com/).\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of this vulnerability.\n") -// 36419 bytes -// MD5: fd7f4d712422e1a305ccaf7b38ba2c59 +// 36444 bytes +// MD5: ff6b7d2bbfad02c4232fd861bd909390 diff --git a/services/google/containeranalysis/alpha/note_schema.go b/services/google/containeranalysis/alpha/note_schema.go index 2327398763..a95de6a7ef 100755 --- a/services/google/containeranalysis/alpha/note_schema.go +++ b/services/google/containeranalysis/alpha/note_schema.go @@ -23,6 +23,7 @@ func DCLNoteSchema() *dcl.Schema { Title: "ContainerAnalysis/Note", Description: "The ContainerAnalysis Note resource", StructName: "Note", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/containeranalysis/beta/note.yaml b/services/google/containeranalysis/beta/note.yaml index 335a05a24b..d789af04e6 100755 --- a/services/google/containeranalysis/beta/note.yaml +++ b/services/google/containeranalysis/beta/note.yaml @@ -15,6 +15,7 @@ info: title: ContainerAnalysis/Note description: The ContainerAnalysis Note resource x-dcl-struct-name: Note + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/containeranalysis/beta/note_beta_yaml_embed.go b/services/google/containeranalysis/beta/note_beta_yaml_embed.go index 9bba9539f9..49ec43fb4c 100755 --- a/services/google/containeranalysis/beta/note_beta_yaml_embed.go +++ b/services/google/containeranalysis/beta/note_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containeranalysis/beta/note.yaml -var YAML_note = []byte("info:\n title: ContainerAnalysis/Note\n description: The ContainerAnalysis Note resource\n x-dcl-struct-name: Note\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n apply:\n description: The function used to apply information about a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n delete:\n description: The function used to delete a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n deleteAll:\n description: The function used to delete all Note\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Note\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Note:\n title: Note\n x-dcl-id: projects/{{project}}/notes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n attestation:\n type: object\n x-dcl-go-name: Attestation\n x-dcl-go-type: NoteAttestation\n description: A note describing an attestation role.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - deployment\n - discovery\n properties:\n hint:\n type: object\n x-dcl-go-name: Hint\n x-dcl-go-type: NoteAttestationHint\n description: Hint hints at the purpose of the attestation authority.\n required:\n - humanReadableName\n properties:\n humanReadableName:\n type: string\n x-dcl-go-name: HumanReadableName\n description: Required. The human readable name of this attestation\n authority, for example \"qa\".\n build:\n type: object\n x-dcl-go-name: Build\n x-dcl-go-type: NoteBuild\n description: A note describing build provenance for a verifiable build.\n x-dcl-conflicts:\n - vulnerability\n - image\n - package\n - deployment\n - discovery\n - attestation\n required:\n - builderVersion\n properties:\n builderVersion:\n type: string\n x-dcl-go-name: BuilderVersion\n description: Required. Immutable. Version of the builder which produced\n this build.\n signature:\n type: object\n x-dcl-go-name: Signature\n x-dcl-go-type: NoteBuildSignature\n description: Signature of the build in occurrences pointing to this\n build note containing build details.\n required:\n - signature\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: An ID for the key used to sign. This could be either\n an ID for the key stored in `public_key` (such as the ID or fingerprint\n for a PGP key, or the CN for a cert), or a reference to an external\n key (such as a reference to a key in Cloud Key Management Service).\n keyType:\n type: string\n x-dcl-go-name: KeyType\n x-dcl-go-type: NoteBuildSignatureKeyTypeEnum\n description: 'The type of the key, either stored in `public_key`\n or referenced in `key_id`. Possible values: KEY_TYPE_UNSPECIFIED,\n PGP_ASCII_ARMORED, PKIX_PEM'\n enum:\n - KEY_TYPE_UNSPECIFIED\n - PGP_ASCII_ARMORED\n - PKIX_PEM\n publicKey:\n type: string\n x-dcl-go-name: PublicKey\n description: 'Public key of the builder which can be used to verify\n that the related findings are valid and unchanged. If `key_type`\n is empty, this defaults to PEM encoded public keys. This field\n may be empty if `key_id` references an external key. For Cloud\n Build based signatures, this is a PEM encoded public key. To verify\n the Cloud Build signature, place the contents of this field into\n a file (public.pem). The signature field is base64-decoded into\n its binary representation in signature.bin, and the provenance\n bytes from `BuildDetails` are base64-decoded into a binary representation\n in signed.bin. OpenSSL can then verify the signature: `openssl\n sha256 -verify public.pem -signature signature.bin signed.bin`'\n signature:\n type: string\n x-dcl-go-name: Signature\n description: Required. Signature of the related `BuildProvenance`.\n In JSON, this is base-64 encoded.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time this note was created. This field can\n be used as a filter in list requests.\n x-kubernetes-immutable: true\n deployment:\n type: object\n x-dcl-go-name: Deployment\n x-dcl-go-type: NoteDeployment\n description: A note describing something that can be deployed.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - discovery\n - attestation\n required:\n - resourceUri\n properties:\n resourceUri:\n type: array\n x-dcl-go-name: ResourceUri\n description: Required. Resource URI for the artifact being deployed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n discovery:\n type: object\n x-dcl-go-name: Discovery\n x-dcl-go-type: NoteDiscovery\n description: A note describing the initial analysis of a resource.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - deployment\n - attestation\n required:\n - analysisKind\n properties:\n analysisKind:\n type: string\n x-dcl-go-name: AnalysisKind\n x-dcl-go-type: NoteDiscoveryAnalysisKindEnum\n description: 'The kind of analysis that is handled by this discovery.\n Possible values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE,\n PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n expirationTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpirationTime\n description: Time of expiration for this note. Empty if note does not expire.\n image:\n type: object\n x-dcl-go-name: Image\n x-dcl-go-type: NoteImage\n description: A note describing a base image.\n x-dcl-conflicts:\n - vulnerability\n - build\n - package\n - deployment\n - discovery\n - attestation\n required:\n - resourceUrl\n - fingerprint\n properties:\n fingerprint:\n type: object\n x-dcl-go-name: Fingerprint\n x-dcl-go-type: NoteImageFingerprint\n description: Required. Immutable. The fingerprint of the base image.\n required:\n - v1Name\n - v2Blob\n properties:\n v1Name:\n type: string\n x-dcl-go-name: V1Name\n description: Required. The layer ID of the final layer in the Docker\n image's v1 representation.\n v2Blob:\n type: array\n x-dcl-go-name: V2Blob\n description: Required. The ordered list of v2 blobs that represent\n a given image.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n v2Name:\n type: string\n x-dcl-go-name: V2Name\n readOnly: true\n description: 'Output only. The name of the image''s v2 blobs computed\n via: ) Only the name of the final blob is kept.'\n resourceUrl:\n type: string\n x-dcl-go-name: ResourceUrl\n description: Required. Immutable. The resource_url for the resource\n representing the basis of associated occurrence images.\n longDescription:\n type: string\n x-dcl-go-name: LongDescription\n description: A detailed description of this note.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Immutable. The name of the package.\n x-kubernetes-immutable: true\n package:\n type: object\n x-dcl-go-name: Package\n x-dcl-go-type: NotePackage\n description: Required for non-Windows OS. The package this Upgrade is for.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - deployment\n - discovery\n - attestation\n required:\n - name\n properties:\n distribution:\n type: array\n x-dcl-go-name: Distribution\n description: The various channels by which a package is distributed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NotePackageDistribution\n required:\n - cpeUri\n properties:\n architecture:\n type: string\n x-dcl-go-name: Architecture\n x-dcl-go-type: NotePackageDistributionArchitectureEnum\n description: 'The CPU architecture for which packages in this\n distribution channel were built Possible values: ARCHITECTURE_UNSPECIFIED,\n X86, X64'\n enum:\n - ARCHITECTURE_UNSPECIFIED\n - X86\n - X64\n cpeUri:\n type: string\n x-dcl-go-name: CpeUri\n description: The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)\n denoting the package manager version distributing a package.\n description:\n type: string\n x-dcl-go-name: Description\n description: The distribution channel-specific description of\n this package.\n latestVersion:\n type: object\n x-dcl-go-name: LatestVersion\n x-dcl-go-type: NotePackageDistributionLatestVersion\n description: The latest available version of this package in this\n distribution channel.\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NotePackageDistributionLatestVersionKindEnum\n description: 'Distinguish between sentinel MIN/MAX versions\n and normal versions. If kind is not NORMAL, then the other\n fields are ignored. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: The main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n maintainer:\n type: string\n x-dcl-go-name: Maintainer\n description: A freeform string denoting the maintainer of this\n package.\n url:\n type: string\n x-dcl-go-name: Url\n description: The distribution channel-specific homepage for this\n package.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the package.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n relatedNoteNames:\n type: array\n x-dcl-go-name: RelatedNoteNames\n description: Other notes related to this note.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Containeranalysis/Note\n field: name\n relatedUrl:\n type: array\n x-dcl-go-name: RelatedUrl\n description: URLs associated with this note.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteRelatedUrl\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: Label to describe usage of the URL\n url:\n type: string\n x-dcl-go-name: Url\n description: Specific URL to associate with the note\n shortDescription:\n type: string\n x-dcl-go-name: ShortDescription\n description: A one sentence description of this note.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time this note was last updated. This field\n can be used as a filter in list requests.\n x-kubernetes-immutable: true\n vulnerability:\n type: object\n x-dcl-go-name: Vulnerability\n x-dcl-go-type: NoteVulnerability\n description: A note describing a package vulnerability.\n x-dcl-conflicts:\n - build\n - image\n - package\n - deployment\n - discovery\n - attestation\n properties:\n cvssScore:\n type: number\n format: double\n x-dcl-go-name: CvssScore\n description: The CVSS score of this vulnerability. CVSS score is on\n a scale of 0 - 10 where 0 indicates low severity and 10 indicates\n high severity.\n cvssV3:\n type: object\n x-dcl-go-name: CvssV3\n x-dcl-go-type: NoteVulnerabilityCvssV3\n description: The full description of the CVSSv3 for this vulnerability.\n properties:\n attackComplexity:\n type: string\n x-dcl-go-name: AttackComplexity\n x-dcl-go-type: NoteVulnerabilityCvssV3AttackComplexityEnum\n description: ' Possible values: ATTACK_COMPLEXITY_UNSPECIFIED, ATTACK_COMPLEXITY_LOW,\n ATTACK_COMPLEXITY_HIGH'\n enum:\n - ATTACK_COMPLEXITY_UNSPECIFIED\n - ATTACK_COMPLEXITY_LOW\n - ATTACK_COMPLEXITY_HIGH\n attackVector:\n type: string\n x-dcl-go-name: AttackVector\n x-dcl-go-type: NoteVulnerabilityCvssV3AttackVectorEnum\n description: 'Base Metrics Represents the intrinsic characteristics\n of a vulnerability that are constant over time and across user\n environments. Possible values: ATTACK_VECTOR_UNSPECIFIED, ATTACK_VECTOR_NETWORK,\n ATTACK_VECTOR_ADJACENT, ATTACK_VECTOR_LOCAL, ATTACK_VECTOR_PHYSICAL'\n enum:\n - ATTACK_VECTOR_UNSPECIFIED\n - ATTACK_VECTOR_NETWORK\n - ATTACK_VECTOR_ADJACENT\n - ATTACK_VECTOR_LOCAL\n - ATTACK_VECTOR_PHYSICAL\n availabilityImpact:\n type: string\n x-dcl-go-name: AvailabilityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3AvailabilityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n baseScore:\n type: number\n format: double\n x-dcl-go-name: BaseScore\n description: The base score is a function of the base metric scores.\n confidentialityImpact:\n type: string\n x-dcl-go-name: ConfidentialityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3ConfidentialityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n exploitabilityScore:\n type: number\n format: double\n x-dcl-go-name: ExploitabilityScore\n impactScore:\n type: number\n format: double\n x-dcl-go-name: ImpactScore\n integrityImpact:\n type: string\n x-dcl-go-name: IntegrityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3IntegrityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n privilegesRequired:\n type: string\n x-dcl-go-name: PrivilegesRequired\n x-dcl-go-type: NoteVulnerabilityCvssV3PrivilegesRequiredEnum\n description: ' Possible values: PRIVILEGES_REQUIRED_UNSPECIFIED,\n PRIVILEGES_REQUIRED_NONE, PRIVILEGES_REQUIRED_LOW, PRIVILEGES_REQUIRED_HIGH'\n enum:\n - PRIVILEGES_REQUIRED_UNSPECIFIED\n - PRIVILEGES_REQUIRED_NONE\n - PRIVILEGES_REQUIRED_LOW\n - PRIVILEGES_REQUIRED_HIGH\n scope:\n type: string\n x-dcl-go-name: Scope\n x-dcl-go-type: NoteVulnerabilityCvssV3ScopeEnum\n description: ' Possible values: SCOPE_UNSPECIFIED, SCOPE_UNCHANGED,\n SCOPE_CHANGED'\n enum:\n - SCOPE_UNSPECIFIED\n - SCOPE_UNCHANGED\n - SCOPE_CHANGED\n userInteraction:\n type: string\n x-dcl-go-name: UserInteraction\n x-dcl-go-type: NoteVulnerabilityCvssV3UserInteractionEnum\n description: ' Possible values: USER_INTERACTION_UNSPECIFIED, USER_INTERACTION_NONE,\n USER_INTERACTION_REQUIRED'\n enum:\n - USER_INTERACTION_UNSPECIFIED\n - USER_INTERACTION_NONE\n - USER_INTERACTION_REQUIRED\n details:\n type: array\n x-dcl-go-name: Details\n description: Details of all known distros and packages affected by this\n vulnerability.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityDetails\n required:\n - affectedCpeUri\n - affectedPackage\n properties:\n affectedCpeUri:\n type: string\n x-dcl-go-name: AffectedCpeUri\n description: Required. The (https://cpe.mitre.org/specification/)\n this vulnerability affects.\n affectedPackage:\n type: string\n x-dcl-go-name: AffectedPackage\n description: Required. The package this vulnerability affects.\n affectedVersionEnd:\n type: object\n x-dcl-go-name: AffectedVersionEnd\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionEnd\n description: 'The version number at the end of an interval in\n which this vulnerability exists. A vulnerability can affect\n a package between version numbers that are disjoint sets of\n intervals (example: ) each of which will be represented in its\n own Detail. If a specific affected version is provided by a\n vulnerability database, affected_version_start and affected_version_end\n will be the same in that Detail.'\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionEndKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n affectedVersionStart:\n type: object\n x-dcl-go-name: AffectedVersionStart\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionStart\n description: 'The version number at the start of an interval in\n which this vulnerability exists. A vulnerability can affect\n a package between version numbers that are disjoint sets of\n intervals (example: ) each of which will be represented in its\n own Detail. If a specific affected version is provided by a\n vulnerability database, affected_version_start and affected_version_end\n will be the same in that Detail.'\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionStartKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n description:\n type: string\n x-dcl-go-name: Description\n description: A vendor-specific description of this vulnerability.\n fixedCpeUri:\n type: string\n x-dcl-go-name: FixedCpeUri\n description: The distro recommended (https://cpe.mitre.org/specification/)\n to update to that contains a fix for this vulnerability. It\n is possible for this to be different from the affected_cpe_uri.\n fixedPackage:\n type: string\n x-dcl-go-name: FixedPackage\n description: The distro recommended package to update to that\n contains a fix for this vulnerability. It is possible for this\n to be different from the affected_package.\n fixedVersion:\n type: object\n x-dcl-go-name: FixedVersion\n x-dcl-go-type: NoteVulnerabilityDetailsFixedVersion\n description: The distro recommended version to update to that\n contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM\n means no such version is yet available.\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsFixedVersionKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n isObsolete:\n type: boolean\n x-dcl-go-name: IsObsolete\n description: Whether this detail is obsolete. Occurrences are\n expected not to point to obsolete details.\n packageType:\n type: string\n x-dcl-go-name: PackageType\n description: The type of package; whether native or non native\n (e.g., ruby gems, node.js packages, etc.).\n severityName:\n type: string\n x-dcl-go-name: SeverityName\n description: The distro assigned severity of this vulnerability.\n sourceUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: SourceUpdateTime\n description: The time this information was last changed at the\n source. This is an upstream timestamp from the underlying information\n source - e.g. Ubuntu security tracker.\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: NoteVulnerabilitySeverityEnum\n description: 'The note provider assigned severity of this vulnerability.\n Possible values: SEVERITY_UNSPECIFIED, MINIMAL, LOW, MEDIUM, HIGH,\n CRITICAL'\n enum:\n - SEVERITY_UNSPECIFIED\n - MINIMAL\n - LOW\n - MEDIUM\n - HIGH\n - CRITICAL\n sourceUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: SourceUpdateTime\n description: The time this information was last changed at the source.\n This is an upstream timestamp from the underlying information source\n - e.g. Ubuntu security tracker.\n windowsDetails:\n type: array\n x-dcl-go-name: WindowsDetails\n description: Windows details get their own format because the information\n format and model don't match a normal detail. Specifically Windows\n updates are done as patches, thus Windows vulnerabilities really are\n a missing package, rather than a package being at an incorrect version.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityWindowsDetails\n required:\n - cpeUri\n - name\n - fixingKbs\n properties:\n cpeUri:\n type: string\n x-dcl-go-name: CpeUri\n description: Required. The (https://cpe.mitre.org/specification/)\n this vulnerability affects.\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of this vulnerability.\n fixingKbs:\n type: array\n x-dcl-go-name: FixingKbs\n description: Required. The names of the KBs which have hotfixes\n to mitigate this vulnerability. Note that there may be multiple\n hotfixes (and thus multiple KBs) that mitigate a given vulnerability.\n Currently any listed KBs presence is considered a fix.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityWindowsDetailsFixingKbs\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The KB name (generally of the form KB+ (e.g.,\n KB123456)).\n url:\n type: string\n x-dcl-go-name: Url\n description: A link to the KB in the (https://www.catalog.update.microsoft.com/).\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of this vulnerability.\n") +var YAML_note = []byte("info:\n title: ContainerAnalysis/Note\n description: The ContainerAnalysis Note resource\n x-dcl-struct-name: Note\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n apply:\n description: The function used to apply information about a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n delete:\n description: The function used to delete a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n deleteAll:\n description: The function used to delete all Note\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Note\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Note:\n title: Note\n x-dcl-id: projects/{{project}}/notes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n attestation:\n type: object\n x-dcl-go-name: Attestation\n x-dcl-go-type: NoteAttestation\n description: A note describing an attestation role.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - deployment\n - discovery\n properties:\n hint:\n type: object\n x-dcl-go-name: Hint\n x-dcl-go-type: NoteAttestationHint\n description: Hint hints at the purpose of the attestation authority.\n required:\n - humanReadableName\n properties:\n humanReadableName:\n type: string\n x-dcl-go-name: HumanReadableName\n description: Required. The human readable name of this attestation\n authority, for example \"qa\".\n build:\n type: object\n x-dcl-go-name: Build\n x-dcl-go-type: NoteBuild\n description: A note describing build provenance for a verifiable build.\n x-dcl-conflicts:\n - vulnerability\n - image\n - package\n - deployment\n - discovery\n - attestation\n required:\n - builderVersion\n properties:\n builderVersion:\n type: string\n x-dcl-go-name: BuilderVersion\n description: Required. Immutable. Version of the builder which produced\n this build.\n signature:\n type: object\n x-dcl-go-name: Signature\n x-dcl-go-type: NoteBuildSignature\n description: Signature of the build in occurrences pointing to this\n build note containing build details.\n required:\n - signature\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: An ID for the key used to sign. This could be either\n an ID for the key stored in `public_key` (such as the ID or fingerprint\n for a PGP key, or the CN for a cert), or a reference to an external\n key (such as a reference to a key in Cloud Key Management Service).\n keyType:\n type: string\n x-dcl-go-name: KeyType\n x-dcl-go-type: NoteBuildSignatureKeyTypeEnum\n description: 'The type of the key, either stored in `public_key`\n or referenced in `key_id`. Possible values: KEY_TYPE_UNSPECIFIED,\n PGP_ASCII_ARMORED, PKIX_PEM'\n enum:\n - KEY_TYPE_UNSPECIFIED\n - PGP_ASCII_ARMORED\n - PKIX_PEM\n publicKey:\n type: string\n x-dcl-go-name: PublicKey\n description: 'Public key of the builder which can be used to verify\n that the related findings are valid and unchanged. If `key_type`\n is empty, this defaults to PEM encoded public keys. This field\n may be empty if `key_id` references an external key. For Cloud\n Build based signatures, this is a PEM encoded public key. To verify\n the Cloud Build signature, place the contents of this field into\n a file (public.pem). The signature field is base64-decoded into\n its binary representation in signature.bin, and the provenance\n bytes from `BuildDetails` are base64-decoded into a binary representation\n in signed.bin. OpenSSL can then verify the signature: `openssl\n sha256 -verify public.pem -signature signature.bin signed.bin`'\n signature:\n type: string\n x-dcl-go-name: Signature\n description: Required. Signature of the related `BuildProvenance`.\n In JSON, this is base-64 encoded.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time this note was created. This field can\n be used as a filter in list requests.\n x-kubernetes-immutable: true\n deployment:\n type: object\n x-dcl-go-name: Deployment\n x-dcl-go-type: NoteDeployment\n description: A note describing something that can be deployed.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - discovery\n - attestation\n required:\n - resourceUri\n properties:\n resourceUri:\n type: array\n x-dcl-go-name: ResourceUri\n description: Required. Resource URI for the artifact being deployed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n discovery:\n type: object\n x-dcl-go-name: Discovery\n x-dcl-go-type: NoteDiscovery\n description: A note describing the initial analysis of a resource.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - deployment\n - attestation\n required:\n - analysisKind\n properties:\n analysisKind:\n type: string\n x-dcl-go-name: AnalysisKind\n x-dcl-go-type: NoteDiscoveryAnalysisKindEnum\n description: 'The kind of analysis that is handled by this discovery.\n Possible values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE,\n PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n expirationTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpirationTime\n description: Time of expiration for this note. Empty if note does not expire.\n image:\n type: object\n x-dcl-go-name: Image\n x-dcl-go-type: NoteImage\n description: A note describing a base image.\n x-dcl-conflicts:\n - vulnerability\n - build\n - package\n - deployment\n - discovery\n - attestation\n required:\n - resourceUrl\n - fingerprint\n properties:\n fingerprint:\n type: object\n x-dcl-go-name: Fingerprint\n x-dcl-go-type: NoteImageFingerprint\n description: Required. Immutable. The fingerprint of the base image.\n required:\n - v1Name\n - v2Blob\n properties:\n v1Name:\n type: string\n x-dcl-go-name: V1Name\n description: Required. The layer ID of the final layer in the Docker\n image's v1 representation.\n v2Blob:\n type: array\n x-dcl-go-name: V2Blob\n description: Required. The ordered list of v2 blobs that represent\n a given image.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n v2Name:\n type: string\n x-dcl-go-name: V2Name\n readOnly: true\n description: 'Output only. The name of the image''s v2 blobs computed\n via: ) Only the name of the final blob is kept.'\n resourceUrl:\n type: string\n x-dcl-go-name: ResourceUrl\n description: Required. Immutable. The resource_url for the resource\n representing the basis of associated occurrence images.\n longDescription:\n type: string\n x-dcl-go-name: LongDescription\n description: A detailed description of this note.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Immutable. The name of the package.\n x-kubernetes-immutable: true\n package:\n type: object\n x-dcl-go-name: Package\n x-dcl-go-type: NotePackage\n description: Required for non-Windows OS. The package this Upgrade is for.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - deployment\n - discovery\n - attestation\n required:\n - name\n properties:\n distribution:\n type: array\n x-dcl-go-name: Distribution\n description: The various channels by which a package is distributed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NotePackageDistribution\n required:\n - cpeUri\n properties:\n architecture:\n type: string\n x-dcl-go-name: Architecture\n x-dcl-go-type: NotePackageDistributionArchitectureEnum\n description: 'The CPU architecture for which packages in this\n distribution channel were built Possible values: ARCHITECTURE_UNSPECIFIED,\n X86, X64'\n enum:\n - ARCHITECTURE_UNSPECIFIED\n - X86\n - X64\n cpeUri:\n type: string\n x-dcl-go-name: CpeUri\n description: The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)\n denoting the package manager version distributing a package.\n description:\n type: string\n x-dcl-go-name: Description\n description: The distribution channel-specific description of\n this package.\n latestVersion:\n type: object\n x-dcl-go-name: LatestVersion\n x-dcl-go-type: NotePackageDistributionLatestVersion\n description: The latest available version of this package in this\n distribution channel.\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NotePackageDistributionLatestVersionKindEnum\n description: 'Distinguish between sentinel MIN/MAX versions\n and normal versions. If kind is not NORMAL, then the other\n fields are ignored. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: The main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n maintainer:\n type: string\n x-dcl-go-name: Maintainer\n description: A freeform string denoting the maintainer of this\n package.\n url:\n type: string\n x-dcl-go-name: Url\n description: The distribution channel-specific homepage for this\n package.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the package.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n relatedNoteNames:\n type: array\n x-dcl-go-name: RelatedNoteNames\n description: Other notes related to this note.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Containeranalysis/Note\n field: name\n relatedUrl:\n type: array\n x-dcl-go-name: RelatedUrl\n description: URLs associated with this note.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteRelatedUrl\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: Label to describe usage of the URL\n url:\n type: string\n x-dcl-go-name: Url\n description: Specific URL to associate with the note\n shortDescription:\n type: string\n x-dcl-go-name: ShortDescription\n description: A one sentence description of this note.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time this note was last updated. This field\n can be used as a filter in list requests.\n x-kubernetes-immutable: true\n vulnerability:\n type: object\n x-dcl-go-name: Vulnerability\n x-dcl-go-type: NoteVulnerability\n description: A note describing a package vulnerability.\n x-dcl-conflicts:\n - build\n - image\n - package\n - deployment\n - discovery\n - attestation\n properties:\n cvssScore:\n type: number\n format: double\n x-dcl-go-name: CvssScore\n description: The CVSS score of this vulnerability. CVSS score is on\n a scale of 0 - 10 where 0 indicates low severity and 10 indicates\n high severity.\n cvssV3:\n type: object\n x-dcl-go-name: CvssV3\n x-dcl-go-type: NoteVulnerabilityCvssV3\n description: The full description of the CVSSv3 for this vulnerability.\n properties:\n attackComplexity:\n type: string\n x-dcl-go-name: AttackComplexity\n x-dcl-go-type: NoteVulnerabilityCvssV3AttackComplexityEnum\n description: ' Possible values: ATTACK_COMPLEXITY_UNSPECIFIED, ATTACK_COMPLEXITY_LOW,\n ATTACK_COMPLEXITY_HIGH'\n enum:\n - ATTACK_COMPLEXITY_UNSPECIFIED\n - ATTACK_COMPLEXITY_LOW\n - ATTACK_COMPLEXITY_HIGH\n attackVector:\n type: string\n x-dcl-go-name: AttackVector\n x-dcl-go-type: NoteVulnerabilityCvssV3AttackVectorEnum\n description: 'Base Metrics Represents the intrinsic characteristics\n of a vulnerability that are constant over time and across user\n environments. Possible values: ATTACK_VECTOR_UNSPECIFIED, ATTACK_VECTOR_NETWORK,\n ATTACK_VECTOR_ADJACENT, ATTACK_VECTOR_LOCAL, ATTACK_VECTOR_PHYSICAL'\n enum:\n - ATTACK_VECTOR_UNSPECIFIED\n - ATTACK_VECTOR_NETWORK\n - ATTACK_VECTOR_ADJACENT\n - ATTACK_VECTOR_LOCAL\n - ATTACK_VECTOR_PHYSICAL\n availabilityImpact:\n type: string\n x-dcl-go-name: AvailabilityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3AvailabilityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n baseScore:\n type: number\n format: double\n x-dcl-go-name: BaseScore\n description: The base score is a function of the base metric scores.\n confidentialityImpact:\n type: string\n x-dcl-go-name: ConfidentialityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3ConfidentialityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n exploitabilityScore:\n type: number\n format: double\n x-dcl-go-name: ExploitabilityScore\n impactScore:\n type: number\n format: double\n x-dcl-go-name: ImpactScore\n integrityImpact:\n type: string\n x-dcl-go-name: IntegrityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3IntegrityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n privilegesRequired:\n type: string\n x-dcl-go-name: PrivilegesRequired\n x-dcl-go-type: NoteVulnerabilityCvssV3PrivilegesRequiredEnum\n description: ' Possible values: PRIVILEGES_REQUIRED_UNSPECIFIED,\n PRIVILEGES_REQUIRED_NONE, PRIVILEGES_REQUIRED_LOW, PRIVILEGES_REQUIRED_HIGH'\n enum:\n - PRIVILEGES_REQUIRED_UNSPECIFIED\n - PRIVILEGES_REQUIRED_NONE\n - PRIVILEGES_REQUIRED_LOW\n - PRIVILEGES_REQUIRED_HIGH\n scope:\n type: string\n x-dcl-go-name: Scope\n x-dcl-go-type: NoteVulnerabilityCvssV3ScopeEnum\n description: ' Possible values: SCOPE_UNSPECIFIED, SCOPE_UNCHANGED,\n SCOPE_CHANGED'\n enum:\n - SCOPE_UNSPECIFIED\n - SCOPE_UNCHANGED\n - SCOPE_CHANGED\n userInteraction:\n type: string\n x-dcl-go-name: UserInteraction\n x-dcl-go-type: NoteVulnerabilityCvssV3UserInteractionEnum\n description: ' Possible values: USER_INTERACTION_UNSPECIFIED, USER_INTERACTION_NONE,\n USER_INTERACTION_REQUIRED'\n enum:\n - USER_INTERACTION_UNSPECIFIED\n - USER_INTERACTION_NONE\n - USER_INTERACTION_REQUIRED\n details:\n type: array\n x-dcl-go-name: Details\n description: Details of all known distros and packages affected by this\n vulnerability.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityDetails\n required:\n - affectedCpeUri\n - affectedPackage\n properties:\n affectedCpeUri:\n type: string\n x-dcl-go-name: AffectedCpeUri\n description: Required. The (https://cpe.mitre.org/specification/)\n this vulnerability affects.\n affectedPackage:\n type: string\n x-dcl-go-name: AffectedPackage\n description: Required. The package this vulnerability affects.\n affectedVersionEnd:\n type: object\n x-dcl-go-name: AffectedVersionEnd\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionEnd\n description: 'The version number at the end of an interval in\n which this vulnerability exists. A vulnerability can affect\n a package between version numbers that are disjoint sets of\n intervals (example: ) each of which will be represented in its\n own Detail. If a specific affected version is provided by a\n vulnerability database, affected_version_start and affected_version_end\n will be the same in that Detail.'\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionEndKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n affectedVersionStart:\n type: object\n x-dcl-go-name: AffectedVersionStart\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionStart\n description: 'The version number at the start of an interval in\n which this vulnerability exists. A vulnerability can affect\n a package between version numbers that are disjoint sets of\n intervals (example: ) each of which will be represented in its\n own Detail. If a specific affected version is provided by a\n vulnerability database, affected_version_start and affected_version_end\n will be the same in that Detail.'\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionStartKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n description:\n type: string\n x-dcl-go-name: Description\n description: A vendor-specific description of this vulnerability.\n fixedCpeUri:\n type: string\n x-dcl-go-name: FixedCpeUri\n description: The distro recommended (https://cpe.mitre.org/specification/)\n to update to that contains a fix for this vulnerability. It\n is possible for this to be different from the affected_cpe_uri.\n fixedPackage:\n type: string\n x-dcl-go-name: FixedPackage\n description: The distro recommended package to update to that\n contains a fix for this vulnerability. It is possible for this\n to be different from the affected_package.\n fixedVersion:\n type: object\n x-dcl-go-name: FixedVersion\n x-dcl-go-type: NoteVulnerabilityDetailsFixedVersion\n description: The distro recommended version to update to that\n contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM\n means no such version is yet available.\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsFixedVersionKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n isObsolete:\n type: boolean\n x-dcl-go-name: IsObsolete\n description: Whether this detail is obsolete. Occurrences are\n expected not to point to obsolete details.\n packageType:\n type: string\n x-dcl-go-name: PackageType\n description: The type of package; whether native or non native\n (e.g., ruby gems, node.js packages, etc.).\n severityName:\n type: string\n x-dcl-go-name: SeverityName\n description: The distro assigned severity of this vulnerability.\n sourceUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: SourceUpdateTime\n description: The time this information was last changed at the\n source. This is an upstream timestamp from the underlying information\n source - e.g. Ubuntu security tracker.\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: NoteVulnerabilitySeverityEnum\n description: 'The note provider assigned severity of this vulnerability.\n Possible values: SEVERITY_UNSPECIFIED, MINIMAL, LOW, MEDIUM, HIGH,\n CRITICAL'\n enum:\n - SEVERITY_UNSPECIFIED\n - MINIMAL\n - LOW\n - MEDIUM\n - HIGH\n - CRITICAL\n sourceUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: SourceUpdateTime\n description: The time this information was last changed at the source.\n This is an upstream timestamp from the underlying information source\n - e.g. Ubuntu security tracker.\n windowsDetails:\n type: array\n x-dcl-go-name: WindowsDetails\n description: Windows details get their own format because the information\n format and model don't match a normal detail. Specifically Windows\n updates are done as patches, thus Windows vulnerabilities really are\n a missing package, rather than a package being at an incorrect version.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityWindowsDetails\n required:\n - cpeUri\n - name\n - fixingKbs\n properties:\n cpeUri:\n type: string\n x-dcl-go-name: CpeUri\n description: Required. The (https://cpe.mitre.org/specification/)\n this vulnerability affects.\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of this vulnerability.\n fixingKbs:\n type: array\n x-dcl-go-name: FixingKbs\n description: Required. The names of the KBs which have hotfixes\n to mitigate this vulnerability. Note that there may be multiple\n hotfixes (and thus multiple KBs) that mitigate a given vulnerability.\n Currently any listed KBs presence is considered a fix.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityWindowsDetailsFixingKbs\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The KB name (generally of the form KB+ (e.g.,\n KB123456)).\n url:\n type: string\n x-dcl-go-name: Url\n description: A link to the KB in the (https://www.catalog.update.microsoft.com/).\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of this vulnerability.\n") -// 36419 bytes -// MD5: fd7f4d712422e1a305ccaf7b38ba2c59 +// 36444 bytes +// MD5: ff6b7d2bbfad02c4232fd861bd909390 diff --git a/services/google/containeranalysis/beta/note_schema.go b/services/google/containeranalysis/beta/note_schema.go index dfad9a3edb..1695d1da41 100755 --- a/services/google/containeranalysis/beta/note_schema.go +++ b/services/google/containeranalysis/beta/note_schema.go @@ -23,6 +23,7 @@ func DCLNoteSchema() *dcl.Schema { Title: "ContainerAnalysis/Note", Description: "The ContainerAnalysis Note resource", StructName: "Note", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/containeranalysis/note.yaml b/services/google/containeranalysis/note.yaml index 6c708b0a09..4126dd4304 100755 --- a/services/google/containeranalysis/note.yaml +++ b/services/google/containeranalysis/note.yaml @@ -15,6 +15,7 @@ info: title: ContainerAnalysis/Note description: The ContainerAnalysis Note resource x-dcl-struct-name: Note + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/containeranalysis/note_schema.go b/services/google/containeranalysis/note_schema.go index a19c371d29..b7bf09919e 100755 --- a/services/google/containeranalysis/note_schema.go +++ b/services/google/containeranalysis/note_schema.go @@ -23,6 +23,7 @@ func DCLNoteSchema() *dcl.Schema { Title: "ContainerAnalysis/Note", Description: "The ContainerAnalysis Note resource", StructName: "Note", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/containeranalysis/note_yaml_embed.go b/services/google/containeranalysis/note_yaml_embed.go index 95f65d6250..88667af5f2 100755 --- a/services/google/containeranalysis/note_yaml_embed.go +++ b/services/google/containeranalysis/note_yaml_embed.go @@ -17,7 +17,7 @@ package containeranalysis // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containeranalysis/note.yaml -var YAML_note = []byte("info:\n title: ContainerAnalysis/Note\n description: The ContainerAnalysis Note resource\n x-dcl-struct-name: Note\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n apply:\n description: The function used to apply information about a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n delete:\n description: The function used to delete a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n deleteAll:\n description: The function used to delete all Note\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Note\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Note:\n title: Note\n x-dcl-id: projects/{{project}}/notes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n attestation:\n type: object\n x-dcl-go-name: Attestation\n x-dcl-go-type: NoteAttestation\n description: A note describing an attestation role.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - deployment\n - discovery\n properties:\n hint:\n type: object\n x-dcl-go-name: Hint\n x-dcl-go-type: NoteAttestationHint\n description: Hint hints at the purpose of the attestation authority.\n required:\n - humanReadableName\n properties:\n humanReadableName:\n type: string\n x-dcl-go-name: HumanReadableName\n description: Required. The human readable name of this attestation\n authority, for example \"qa\".\n build:\n type: object\n x-dcl-go-name: Build\n x-dcl-go-type: NoteBuild\n description: A note describing build provenance for a verifiable build.\n x-dcl-conflicts:\n - vulnerability\n - image\n - package\n - deployment\n - discovery\n - attestation\n required:\n - builderVersion\n properties:\n builderVersion:\n type: string\n x-dcl-go-name: BuilderVersion\n description: Required. Immutable. Version of the builder which produced\n this build.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time this note was created. This field can\n be used as a filter in list requests.\n x-kubernetes-immutable: true\n deployment:\n type: object\n x-dcl-go-name: Deployment\n x-dcl-go-type: NoteDeployment\n description: A note describing something that can be deployed.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - discovery\n - attestation\n required:\n - resourceUri\n properties:\n resourceUri:\n type: array\n x-dcl-go-name: ResourceUri\n description: Required. Resource URI for the artifact being deployed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n discovery:\n type: object\n x-dcl-go-name: Discovery\n x-dcl-go-type: NoteDiscovery\n description: A note describing the initial analysis of a resource.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - deployment\n - attestation\n required:\n - analysisKind\n properties:\n analysisKind:\n type: string\n x-dcl-go-name: AnalysisKind\n x-dcl-go-type: NoteDiscoveryAnalysisKindEnum\n description: 'The kind of analysis that is handled by this discovery.\n Possible values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE,\n PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n expirationTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpirationTime\n description: Time of expiration for this note. Empty if note does not expire.\n image:\n type: object\n x-dcl-go-name: Image\n x-dcl-go-type: NoteImage\n description: A note describing a base image.\n x-dcl-conflicts:\n - vulnerability\n - build\n - package\n - deployment\n - discovery\n - attestation\n required:\n - resourceUrl\n - fingerprint\n properties:\n fingerprint:\n type: object\n x-dcl-go-name: Fingerprint\n x-dcl-go-type: NoteImageFingerprint\n description: Required. Immutable. The fingerprint of the base image.\n required:\n - v1Name\n - v2Blob\n properties:\n v1Name:\n type: string\n x-dcl-go-name: V1Name\n description: Required. The layer ID of the final layer in the Docker\n image's v1 representation.\n v2Blob:\n type: array\n x-dcl-go-name: V2Blob\n description: Required. The ordered list of v2 blobs that represent\n a given image.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n v2Name:\n type: string\n x-dcl-go-name: V2Name\n readOnly: true\n description: 'Output only. The name of the image''s v2 blobs computed\n via: ) Only the name of the final blob is kept.'\n resourceUrl:\n type: string\n x-dcl-go-name: ResourceUrl\n description: Required. Immutable. The resource_url for the resource\n representing the basis of associated occurrence images.\n longDescription:\n type: string\n x-dcl-go-name: LongDescription\n description: A detailed description of this note.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Immutable. The name of the package.\n x-kubernetes-immutable: true\n package:\n type: object\n x-dcl-go-name: Package\n x-dcl-go-type: NotePackage\n description: Required for non-Windows OS. The package this Upgrade is for.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - deployment\n - discovery\n - attestation\n required:\n - name\n properties:\n distribution:\n type: array\n x-dcl-go-name: Distribution\n description: The various channels by which a package is distributed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NotePackageDistribution\n required:\n - cpeUri\n properties:\n architecture:\n type: string\n x-dcl-go-name: Architecture\n x-dcl-go-type: NotePackageDistributionArchitectureEnum\n description: 'The CPU architecture for which packages in this\n distribution channel were built Possible values: ARCHITECTURE_UNSPECIFIED,\n X86, X64'\n enum:\n - ARCHITECTURE_UNSPECIFIED\n - X86\n - X64\n cpeUri:\n type: string\n x-dcl-go-name: CpeUri\n description: The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)\n denoting the package manager version distributing a package.\n description:\n type: string\n x-dcl-go-name: Description\n description: The distribution channel-specific description of\n this package.\n latestVersion:\n type: object\n x-dcl-go-name: LatestVersion\n x-dcl-go-type: NotePackageDistributionLatestVersion\n description: The latest available version of this package in this\n distribution channel.\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NotePackageDistributionLatestVersionKindEnum\n description: 'Distinguish between sentinel MIN/MAX versions\n and normal versions. If kind is not NORMAL, then the other\n fields are ignored. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: The main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n maintainer:\n type: string\n x-dcl-go-name: Maintainer\n description: A freeform string denoting the maintainer of this\n package.\n url:\n type: string\n x-dcl-go-name: Url\n description: The distribution channel-specific homepage for this\n package.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the package.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n relatedNoteNames:\n type: array\n x-dcl-go-name: RelatedNoteNames\n description: Other notes related to this note.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Containeranalysis/Note\n field: name\n relatedUrl:\n type: array\n x-dcl-go-name: RelatedUrl\n description: URLs associated with this note.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteRelatedUrl\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: Label to describe usage of the URL\n url:\n type: string\n x-dcl-go-name: Url\n description: Specific URL to associate with the note\n shortDescription:\n type: string\n x-dcl-go-name: ShortDescription\n description: A one sentence description of this note.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time this note was last updated. This field\n can be used as a filter in list requests.\n x-kubernetes-immutable: true\n vulnerability:\n type: object\n x-dcl-go-name: Vulnerability\n x-dcl-go-type: NoteVulnerability\n description: A note describing a package vulnerability.\n x-dcl-conflicts:\n - build\n - image\n - package\n - deployment\n - discovery\n - attestation\n properties:\n cvssScore:\n type: number\n format: double\n x-dcl-go-name: CvssScore\n description: The CVSS score of this vulnerability. CVSS score is on\n a scale of 0 - 10 where 0 indicates low severity and 10 indicates\n high severity.\n cvssV3:\n type: object\n x-dcl-go-name: CvssV3\n x-dcl-go-type: NoteVulnerabilityCvssV3\n description: The full description of the CVSSv3 for this vulnerability.\n properties:\n attackComplexity:\n type: string\n x-dcl-go-name: AttackComplexity\n x-dcl-go-type: NoteVulnerabilityCvssV3AttackComplexityEnum\n description: ' Possible values: ATTACK_COMPLEXITY_UNSPECIFIED, ATTACK_COMPLEXITY_LOW,\n ATTACK_COMPLEXITY_HIGH'\n enum:\n - ATTACK_COMPLEXITY_UNSPECIFIED\n - ATTACK_COMPLEXITY_LOW\n - ATTACK_COMPLEXITY_HIGH\n attackVector:\n type: string\n x-dcl-go-name: AttackVector\n x-dcl-go-type: NoteVulnerabilityCvssV3AttackVectorEnum\n description: 'Base Metrics Represents the intrinsic characteristics\n of a vulnerability that are constant over time and across user\n environments. Possible values: ATTACK_VECTOR_UNSPECIFIED, ATTACK_VECTOR_NETWORK,\n ATTACK_VECTOR_ADJACENT, ATTACK_VECTOR_LOCAL, ATTACK_VECTOR_PHYSICAL'\n enum:\n - ATTACK_VECTOR_UNSPECIFIED\n - ATTACK_VECTOR_NETWORK\n - ATTACK_VECTOR_ADJACENT\n - ATTACK_VECTOR_LOCAL\n - ATTACK_VECTOR_PHYSICAL\n availabilityImpact:\n type: string\n x-dcl-go-name: AvailabilityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3AvailabilityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n baseScore:\n type: number\n format: double\n x-dcl-go-name: BaseScore\n description: The base score is a function of the base metric scores.\n confidentialityImpact:\n type: string\n x-dcl-go-name: ConfidentialityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3ConfidentialityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n exploitabilityScore:\n type: number\n format: double\n x-dcl-go-name: ExploitabilityScore\n impactScore:\n type: number\n format: double\n x-dcl-go-name: ImpactScore\n integrityImpact:\n type: string\n x-dcl-go-name: IntegrityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3IntegrityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n privilegesRequired:\n type: string\n x-dcl-go-name: PrivilegesRequired\n x-dcl-go-type: NoteVulnerabilityCvssV3PrivilegesRequiredEnum\n description: ' Possible values: PRIVILEGES_REQUIRED_UNSPECIFIED,\n PRIVILEGES_REQUIRED_NONE, PRIVILEGES_REQUIRED_LOW, PRIVILEGES_REQUIRED_HIGH'\n enum:\n - PRIVILEGES_REQUIRED_UNSPECIFIED\n - PRIVILEGES_REQUIRED_NONE\n - PRIVILEGES_REQUIRED_LOW\n - PRIVILEGES_REQUIRED_HIGH\n scope:\n type: string\n x-dcl-go-name: Scope\n x-dcl-go-type: NoteVulnerabilityCvssV3ScopeEnum\n description: ' Possible values: SCOPE_UNSPECIFIED, SCOPE_UNCHANGED,\n SCOPE_CHANGED'\n enum:\n - SCOPE_UNSPECIFIED\n - SCOPE_UNCHANGED\n - SCOPE_CHANGED\n userInteraction:\n type: string\n x-dcl-go-name: UserInteraction\n x-dcl-go-type: NoteVulnerabilityCvssV3UserInteractionEnum\n description: ' Possible values: USER_INTERACTION_UNSPECIFIED, USER_INTERACTION_NONE,\n USER_INTERACTION_REQUIRED'\n enum:\n - USER_INTERACTION_UNSPECIFIED\n - USER_INTERACTION_NONE\n - USER_INTERACTION_REQUIRED\n details:\n type: array\n x-dcl-go-name: Details\n description: Details of all known distros and packages affected by this\n vulnerability.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityDetails\n required:\n - affectedCpeUri\n - affectedPackage\n properties:\n affectedCpeUri:\n type: string\n x-dcl-go-name: AffectedCpeUri\n description: Required. The (https://cpe.mitre.org/specification/)\n this vulnerability affects.\n affectedPackage:\n type: string\n x-dcl-go-name: AffectedPackage\n description: Required. The package this vulnerability affects.\n affectedVersionEnd:\n type: object\n x-dcl-go-name: AffectedVersionEnd\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionEnd\n description: 'The version number at the end of an interval in\n which this vulnerability exists. A vulnerability can affect\n a package between version numbers that are disjoint sets of\n intervals (example: ) each of which will be represented in its\n own Detail. If a specific affected version is provided by a\n vulnerability database, affected_version_start and affected_version_end\n will be the same in that Detail.'\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionEndKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n affectedVersionStart:\n type: object\n x-dcl-go-name: AffectedVersionStart\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionStart\n description: 'The version number at the start of an interval in\n which this vulnerability exists. A vulnerability can affect\n a package between version numbers that are disjoint sets of\n intervals (example: ) each of which will be represented in its\n own Detail. If a specific affected version is provided by a\n vulnerability database, affected_version_start and affected_version_end\n will be the same in that Detail.'\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionStartKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n description:\n type: string\n x-dcl-go-name: Description\n description: A vendor-specific description of this vulnerability.\n fixedCpeUri:\n type: string\n x-dcl-go-name: FixedCpeUri\n description: The distro recommended (https://cpe.mitre.org/specification/)\n to update to that contains a fix for this vulnerability. It\n is possible for this to be different from the affected_cpe_uri.\n fixedPackage:\n type: string\n x-dcl-go-name: FixedPackage\n description: The distro recommended package to update to that\n contains a fix for this vulnerability. It is possible for this\n to be different from the affected_package.\n fixedVersion:\n type: object\n x-dcl-go-name: FixedVersion\n x-dcl-go-type: NoteVulnerabilityDetailsFixedVersion\n description: The distro recommended version to update to that\n contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM\n means no such version is yet available.\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsFixedVersionKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n isObsolete:\n type: boolean\n x-dcl-go-name: IsObsolete\n description: Whether this detail is obsolete. Occurrences are\n expected not to point to obsolete details.\n packageType:\n type: string\n x-dcl-go-name: PackageType\n description: The type of package; whether native or non native\n (e.g., ruby gems, node.js packages, etc.).\n severityName:\n type: string\n x-dcl-go-name: SeverityName\n description: The distro assigned severity of this vulnerability.\n sourceUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: SourceUpdateTime\n description: The time this information was last changed at the\n source. This is an upstream timestamp from the underlying information\n source - e.g. Ubuntu security tracker.\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: NoteVulnerabilitySeverityEnum\n description: 'The note provider assigned severity of this vulnerability.\n Possible values: SEVERITY_UNSPECIFIED, MINIMAL, LOW, MEDIUM, HIGH,\n CRITICAL'\n enum:\n - SEVERITY_UNSPECIFIED\n - MINIMAL\n - LOW\n - MEDIUM\n - HIGH\n - CRITICAL\n sourceUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: SourceUpdateTime\n description: The time this information was last changed at the source.\n This is an upstream timestamp from the underlying information source\n - e.g. Ubuntu security tracker.\n windowsDetails:\n type: array\n x-dcl-go-name: WindowsDetails\n description: Windows details get their own format because the information\n format and model don't match a normal detail. Specifically Windows\n updates are done as patches, thus Windows vulnerabilities really are\n a missing package, rather than a package being at an incorrect version.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityWindowsDetails\n required:\n - cpeUri\n - name\n - fixingKbs\n properties:\n cpeUri:\n type: string\n x-dcl-go-name: CpeUri\n description: Required. The (https://cpe.mitre.org/specification/)\n this vulnerability affects.\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of this vulnerability.\n fixingKbs:\n type: array\n x-dcl-go-name: FixingKbs\n description: Required. The names of the KBs which have hotfixes\n to mitigate this vulnerability. Note that there may be multiple\n hotfixes (and thus multiple KBs) that mitigate a given vulnerability.\n Currently any listed KBs presence is considered a fix.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityWindowsDetailsFixingKbs\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The KB name (generally of the form KB+ (e.g.,\n KB123456)).\n url:\n type: string\n x-dcl-go-name: Url\n description: A link to the KB in the (https://www.catalog.update.microsoft.com/).\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of this vulnerability.\n") +var YAML_note = []byte("info:\n title: ContainerAnalysis/Note\n description: The ContainerAnalysis Note resource\n x-dcl-struct-name: Note\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n apply:\n description: The function used to apply information about a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n delete:\n description: The function used to delete a Note\n parameters:\n - name: Note\n required: true\n description: A full instance of a Note\n deleteAll:\n description: The function used to delete all Note\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Note\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Note:\n title: Note\n x-dcl-id: projects/{{project}}/notes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n attestation:\n type: object\n x-dcl-go-name: Attestation\n x-dcl-go-type: NoteAttestation\n description: A note describing an attestation role.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - deployment\n - discovery\n properties:\n hint:\n type: object\n x-dcl-go-name: Hint\n x-dcl-go-type: NoteAttestationHint\n description: Hint hints at the purpose of the attestation authority.\n required:\n - humanReadableName\n properties:\n humanReadableName:\n type: string\n x-dcl-go-name: HumanReadableName\n description: Required. The human readable name of this attestation\n authority, for example \"qa\".\n build:\n type: object\n x-dcl-go-name: Build\n x-dcl-go-type: NoteBuild\n description: A note describing build provenance for a verifiable build.\n x-dcl-conflicts:\n - vulnerability\n - image\n - package\n - deployment\n - discovery\n - attestation\n required:\n - builderVersion\n properties:\n builderVersion:\n type: string\n x-dcl-go-name: BuilderVersion\n description: Required. Immutable. Version of the builder which produced\n this build.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time this note was created. This field can\n be used as a filter in list requests.\n x-kubernetes-immutable: true\n deployment:\n type: object\n x-dcl-go-name: Deployment\n x-dcl-go-type: NoteDeployment\n description: A note describing something that can be deployed.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - discovery\n - attestation\n required:\n - resourceUri\n properties:\n resourceUri:\n type: array\n x-dcl-go-name: ResourceUri\n description: Required. Resource URI for the artifact being deployed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n discovery:\n type: object\n x-dcl-go-name: Discovery\n x-dcl-go-type: NoteDiscovery\n description: A note describing the initial analysis of a resource.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - package\n - deployment\n - attestation\n required:\n - analysisKind\n properties:\n analysisKind:\n type: string\n x-dcl-go-name: AnalysisKind\n x-dcl-go-type: NoteDiscoveryAnalysisKindEnum\n description: 'The kind of analysis that is handled by this discovery.\n Possible values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE,\n PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n expirationTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpirationTime\n description: Time of expiration for this note. Empty if note does not expire.\n image:\n type: object\n x-dcl-go-name: Image\n x-dcl-go-type: NoteImage\n description: A note describing a base image.\n x-dcl-conflicts:\n - vulnerability\n - build\n - package\n - deployment\n - discovery\n - attestation\n required:\n - resourceUrl\n - fingerprint\n properties:\n fingerprint:\n type: object\n x-dcl-go-name: Fingerprint\n x-dcl-go-type: NoteImageFingerprint\n description: Required. Immutable. The fingerprint of the base image.\n required:\n - v1Name\n - v2Blob\n properties:\n v1Name:\n type: string\n x-dcl-go-name: V1Name\n description: Required. The layer ID of the final layer in the Docker\n image's v1 representation.\n v2Blob:\n type: array\n x-dcl-go-name: V2Blob\n description: Required. The ordered list of v2 blobs that represent\n a given image.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n v2Name:\n type: string\n x-dcl-go-name: V2Name\n readOnly: true\n description: 'Output only. The name of the image''s v2 blobs computed\n via: ) Only the name of the final blob is kept.'\n resourceUrl:\n type: string\n x-dcl-go-name: ResourceUrl\n description: Required. Immutable. The resource_url for the resource\n representing the basis of associated occurrence images.\n longDescription:\n type: string\n x-dcl-go-name: LongDescription\n description: A detailed description of this note.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Immutable. The name of the package.\n x-kubernetes-immutable: true\n package:\n type: object\n x-dcl-go-name: Package\n x-dcl-go-type: NotePackage\n description: Required for non-Windows OS. The package this Upgrade is for.\n x-dcl-conflicts:\n - vulnerability\n - build\n - image\n - deployment\n - discovery\n - attestation\n required:\n - name\n properties:\n distribution:\n type: array\n x-dcl-go-name: Distribution\n description: The various channels by which a package is distributed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NotePackageDistribution\n required:\n - cpeUri\n properties:\n architecture:\n type: string\n x-dcl-go-name: Architecture\n x-dcl-go-type: NotePackageDistributionArchitectureEnum\n description: 'The CPU architecture for which packages in this\n distribution channel were built Possible values: ARCHITECTURE_UNSPECIFIED,\n X86, X64'\n enum:\n - ARCHITECTURE_UNSPECIFIED\n - X86\n - X64\n cpeUri:\n type: string\n x-dcl-go-name: CpeUri\n description: The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)\n denoting the package manager version distributing a package.\n description:\n type: string\n x-dcl-go-name: Description\n description: The distribution channel-specific description of\n this package.\n latestVersion:\n type: object\n x-dcl-go-name: LatestVersion\n x-dcl-go-type: NotePackageDistributionLatestVersion\n description: The latest available version of this package in this\n distribution channel.\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NotePackageDistributionLatestVersionKindEnum\n description: 'Distinguish between sentinel MIN/MAX versions\n and normal versions. If kind is not NORMAL, then the other\n fields are ignored. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: The main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n maintainer:\n type: string\n x-dcl-go-name: Maintainer\n description: A freeform string denoting the maintainer of this\n package.\n url:\n type: string\n x-dcl-go-name: Url\n description: The distribution channel-specific homepage for this\n package.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the package.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n relatedNoteNames:\n type: array\n x-dcl-go-name: RelatedNoteNames\n description: Other notes related to this note.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Containeranalysis/Note\n field: name\n relatedUrl:\n type: array\n x-dcl-go-name: RelatedUrl\n description: URLs associated with this note.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteRelatedUrl\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: Label to describe usage of the URL\n url:\n type: string\n x-dcl-go-name: Url\n description: Specific URL to associate with the note\n shortDescription:\n type: string\n x-dcl-go-name: ShortDescription\n description: A one sentence description of this note.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time this note was last updated. This field\n can be used as a filter in list requests.\n x-kubernetes-immutable: true\n vulnerability:\n type: object\n x-dcl-go-name: Vulnerability\n x-dcl-go-type: NoteVulnerability\n description: A note describing a package vulnerability.\n x-dcl-conflicts:\n - build\n - image\n - package\n - deployment\n - discovery\n - attestation\n properties:\n cvssScore:\n type: number\n format: double\n x-dcl-go-name: CvssScore\n description: The CVSS score of this vulnerability. CVSS score is on\n a scale of 0 - 10 where 0 indicates low severity and 10 indicates\n high severity.\n cvssV3:\n type: object\n x-dcl-go-name: CvssV3\n x-dcl-go-type: NoteVulnerabilityCvssV3\n description: The full description of the CVSSv3 for this vulnerability.\n properties:\n attackComplexity:\n type: string\n x-dcl-go-name: AttackComplexity\n x-dcl-go-type: NoteVulnerabilityCvssV3AttackComplexityEnum\n description: ' Possible values: ATTACK_COMPLEXITY_UNSPECIFIED, ATTACK_COMPLEXITY_LOW,\n ATTACK_COMPLEXITY_HIGH'\n enum:\n - ATTACK_COMPLEXITY_UNSPECIFIED\n - ATTACK_COMPLEXITY_LOW\n - ATTACK_COMPLEXITY_HIGH\n attackVector:\n type: string\n x-dcl-go-name: AttackVector\n x-dcl-go-type: NoteVulnerabilityCvssV3AttackVectorEnum\n description: 'Base Metrics Represents the intrinsic characteristics\n of a vulnerability that are constant over time and across user\n environments. Possible values: ATTACK_VECTOR_UNSPECIFIED, ATTACK_VECTOR_NETWORK,\n ATTACK_VECTOR_ADJACENT, ATTACK_VECTOR_LOCAL, ATTACK_VECTOR_PHYSICAL'\n enum:\n - ATTACK_VECTOR_UNSPECIFIED\n - ATTACK_VECTOR_NETWORK\n - ATTACK_VECTOR_ADJACENT\n - ATTACK_VECTOR_LOCAL\n - ATTACK_VECTOR_PHYSICAL\n availabilityImpact:\n type: string\n x-dcl-go-name: AvailabilityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3AvailabilityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n baseScore:\n type: number\n format: double\n x-dcl-go-name: BaseScore\n description: The base score is a function of the base metric scores.\n confidentialityImpact:\n type: string\n x-dcl-go-name: ConfidentialityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3ConfidentialityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n exploitabilityScore:\n type: number\n format: double\n x-dcl-go-name: ExploitabilityScore\n impactScore:\n type: number\n format: double\n x-dcl-go-name: ImpactScore\n integrityImpact:\n type: string\n x-dcl-go-name: IntegrityImpact\n x-dcl-go-type: NoteVulnerabilityCvssV3IntegrityImpactEnum\n description: ' Possible values: IMPACT_UNSPECIFIED, IMPACT_HIGH,\n IMPACT_LOW, IMPACT_NONE'\n enum:\n - IMPACT_UNSPECIFIED\n - IMPACT_HIGH\n - IMPACT_LOW\n - IMPACT_NONE\n privilegesRequired:\n type: string\n x-dcl-go-name: PrivilegesRequired\n x-dcl-go-type: NoteVulnerabilityCvssV3PrivilegesRequiredEnum\n description: ' Possible values: PRIVILEGES_REQUIRED_UNSPECIFIED,\n PRIVILEGES_REQUIRED_NONE, PRIVILEGES_REQUIRED_LOW, PRIVILEGES_REQUIRED_HIGH'\n enum:\n - PRIVILEGES_REQUIRED_UNSPECIFIED\n - PRIVILEGES_REQUIRED_NONE\n - PRIVILEGES_REQUIRED_LOW\n - PRIVILEGES_REQUIRED_HIGH\n scope:\n type: string\n x-dcl-go-name: Scope\n x-dcl-go-type: NoteVulnerabilityCvssV3ScopeEnum\n description: ' Possible values: SCOPE_UNSPECIFIED, SCOPE_UNCHANGED,\n SCOPE_CHANGED'\n enum:\n - SCOPE_UNSPECIFIED\n - SCOPE_UNCHANGED\n - SCOPE_CHANGED\n userInteraction:\n type: string\n x-dcl-go-name: UserInteraction\n x-dcl-go-type: NoteVulnerabilityCvssV3UserInteractionEnum\n description: ' Possible values: USER_INTERACTION_UNSPECIFIED, USER_INTERACTION_NONE,\n USER_INTERACTION_REQUIRED'\n enum:\n - USER_INTERACTION_UNSPECIFIED\n - USER_INTERACTION_NONE\n - USER_INTERACTION_REQUIRED\n details:\n type: array\n x-dcl-go-name: Details\n description: Details of all known distros and packages affected by this\n vulnerability.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityDetails\n required:\n - affectedCpeUri\n - affectedPackage\n properties:\n affectedCpeUri:\n type: string\n x-dcl-go-name: AffectedCpeUri\n description: Required. The (https://cpe.mitre.org/specification/)\n this vulnerability affects.\n affectedPackage:\n type: string\n x-dcl-go-name: AffectedPackage\n description: Required. The package this vulnerability affects.\n affectedVersionEnd:\n type: object\n x-dcl-go-name: AffectedVersionEnd\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionEnd\n description: 'The version number at the end of an interval in\n which this vulnerability exists. A vulnerability can affect\n a package between version numbers that are disjoint sets of\n intervals (example: ) each of which will be represented in its\n own Detail. If a specific affected version is provided by a\n vulnerability database, affected_version_start and affected_version_end\n will be the same in that Detail.'\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionEndKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n affectedVersionStart:\n type: object\n x-dcl-go-name: AffectedVersionStart\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionStart\n description: 'The version number at the start of an interval in\n which this vulnerability exists. A vulnerability can affect\n a package between version numbers that are disjoint sets of\n intervals (example: ) each of which will be represented in its\n own Detail. If a specific affected version is provided by a\n vulnerability database, affected_version_start and affected_version_end\n will be the same in that Detail.'\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsAffectedVersionStartKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n description:\n type: string\n x-dcl-go-name: Description\n description: A vendor-specific description of this vulnerability.\n fixedCpeUri:\n type: string\n x-dcl-go-name: FixedCpeUri\n description: The distro recommended (https://cpe.mitre.org/specification/)\n to update to that contains a fix for this vulnerability. It\n is possible for this to be different from the affected_cpe_uri.\n fixedPackage:\n type: string\n x-dcl-go-name: FixedPackage\n description: The distro recommended package to update to that\n contains a fix for this vulnerability. It is possible for this\n to be different from the affected_package.\n fixedVersion:\n type: object\n x-dcl-go-name: FixedVersion\n x-dcl-go-type: NoteVulnerabilityDetailsFixedVersion\n description: The distro recommended version to update to that\n contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM\n means no such version is yet available.\n required:\n - kind\n properties:\n epoch:\n type: integer\n format: int64\n x-dcl-go-name: Epoch\n description: Used to correct mistakes in the version numbering\n scheme.\n fullName:\n type: string\n x-dcl-go-name: FullName\n description: Human readable version string. This string is\n of the form :- and is only set when kind is NORMAL.\n kind:\n type: string\n x-dcl-go-name: Kind\n x-dcl-go-type: NoteVulnerabilityDetailsFixedVersionKindEnum\n description: 'Required. Distinguishes between sentinel MIN/MAX\n versions and normal versions. Possible values: NOTE_KIND_UNSPECIFIED,\n VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY,\n ATTESTATION, UPGRADE'\n enum:\n - NOTE_KIND_UNSPECIFIED\n - VULNERABILITY\n - BUILD\n - IMAGE\n - PACKAGE\n - DEPLOYMENT\n - DISCOVERY\n - ATTESTATION\n - UPGRADE\n name:\n type: string\n x-dcl-go-name: Name\n description: Required only when version kind is NORMAL. The\n main part of the version name.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The iteration of the package build from the above\n version.\n isObsolete:\n type: boolean\n x-dcl-go-name: IsObsolete\n description: Whether this detail is obsolete. Occurrences are\n expected not to point to obsolete details.\n packageType:\n type: string\n x-dcl-go-name: PackageType\n description: The type of package; whether native or non native\n (e.g., ruby gems, node.js packages, etc.).\n severityName:\n type: string\n x-dcl-go-name: SeverityName\n description: The distro assigned severity of this vulnerability.\n sourceUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: SourceUpdateTime\n description: The time this information was last changed at the\n source. This is an upstream timestamp from the underlying information\n source - e.g. Ubuntu security tracker.\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: NoteVulnerabilitySeverityEnum\n description: 'The note provider assigned severity of this vulnerability.\n Possible values: SEVERITY_UNSPECIFIED, MINIMAL, LOW, MEDIUM, HIGH,\n CRITICAL'\n enum:\n - SEVERITY_UNSPECIFIED\n - MINIMAL\n - LOW\n - MEDIUM\n - HIGH\n - CRITICAL\n sourceUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: SourceUpdateTime\n description: The time this information was last changed at the source.\n This is an upstream timestamp from the underlying information source\n - e.g. Ubuntu security tracker.\n windowsDetails:\n type: array\n x-dcl-go-name: WindowsDetails\n description: Windows details get their own format because the information\n format and model don't match a normal detail. Specifically Windows\n updates are done as patches, thus Windows vulnerabilities really are\n a missing package, rather than a package being at an incorrect version.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityWindowsDetails\n required:\n - cpeUri\n - name\n - fixingKbs\n properties:\n cpeUri:\n type: string\n x-dcl-go-name: CpeUri\n description: Required. The (https://cpe.mitre.org/specification/)\n this vulnerability affects.\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of this vulnerability.\n fixingKbs:\n type: array\n x-dcl-go-name: FixingKbs\n description: Required. The names of the KBs which have hotfixes\n to mitigate this vulnerability. Note that there may be multiple\n hotfixes (and thus multiple KBs) that mitigate a given vulnerability.\n Currently any listed KBs presence is considered a fix.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NoteVulnerabilityWindowsDetailsFixingKbs\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The KB name (generally of the form KB+ (e.g.,\n KB123456)).\n url:\n type: string\n x-dcl-go-name: Url\n description: A link to the KB in the (https://www.catalog.update.microsoft.com/).\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of this vulnerability.\n") -// 33837 bytes -// MD5: c3c15bfb96e84ded339768bf62da8228 +// 33862 bytes +// MD5: ebf64764d6044e455b53ad5ccd65a712 diff --git a/services/google/containeraws/alpha/cluster.yaml b/services/google/containeraws/alpha/cluster.yaml index cffd4e736b..3024bf53db 100755 --- a/services/google/containeraws/alpha/cluster.yaml +++ b/services/google/containeraws/alpha/cluster.yaml @@ -15,6 +15,7 @@ info: title: ContainerAws/Cluster description: An Anthos cluster running on AWS. x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containeraws/alpha/cluster_alpha_yaml_embed.go b/services/google/containeraws/alpha/cluster_alpha_yaml_embed.go index 16f4223782..06183a99f5 100755 --- a/services/google/containeraws/alpha/cluster_alpha_yaml_embed.go +++ b/services/google/containeraws/alpha/cluster_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containeraws/alpha/cluster.yaml -var YAML_cluster = []byte("info:\n title: ContainerAws/Cluster\n description: An Anthos cluster running on AWS.\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - networking\n - awsRegion\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Key can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users to perform operations as a cluster admin. A managed\n ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole\n to the users. Up to ten admin users can be provided. For more info\n on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n awsRegion:\n type: string\n x-dcl-go-name: AwsRegion\n description: The AWS region where the cluster runs. Each Google Cloud region\n supports a subset of nearby AWS regions. You can call to list all supported\n AWS regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetIds\n - configEncryption\n - iamInstanceProfile\n - databaseEncryption\n - awsServicesAuthentication\n properties:\n awsServicesAuthentication:\n type: object\n x-dcl-go-name: AwsServicesAuthentication\n x-dcl-go-type: ClusterControlPlaneAwsServicesAuthentication\n description: Authentication configuration for management of AWS resources.\n required:\n - roleArn\n properties:\n roleArn:\n type: string\n x-dcl-go-name: RoleArn\n description: The Amazon Resource Name (ARN) of the role that the\n Anthos Multi-Cloud API will assume when managing AWS resources\n on your account.\n roleSessionName:\n type: string\n x-dcl-go-name: RoleSessionName\n description: Optional. An identifier for the assumed role session.\n When unspecified, it defaults to `multicloud-service-agent`.\n x-dcl-server-default: true\n configEncryption:\n type: object\n x-dcl-go-name: ConfigEncryption\n x-dcl-go-type: ClusterControlPlaneConfigEncryption\n description: The ARN of the AWS KMS key used to encrypt cluster configuration.\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt cluster\n configuration.\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: The ARN of the AWS KMS key used to encrypt cluster secrets.\n x-kubernetes-immutable: true\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt cluster\n secrets.\n x-kubernetes-immutable: true\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: The name of the AWS IAM instance pofile to assign to each\n control plane replica.\n x-kubernetes-immutable: true\n instancePlacement:\n type: object\n x-dcl-go-name: InstancePlacement\n x-dcl-go-type: ClusterControlPlaneInstancePlacement\n description: Details of placement information for an instance.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n tenancy:\n type: string\n x-dcl-go-name: Tenancy\n x-dcl-go-type: ClusterControlPlaneInstancePlacementTenancyEnum\n description: 'The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED,\n DEFAULT, DEDICATED, HOST'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TENANCY_UNSPECIFIED\n - DEFAULT\n - DEDICATED\n - HOST\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `m5.large`.\n x-dcl-server-default: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. Volumes will be provisioned in the\n availability zone associated with the corresponding subnet. When unspecified,\n it defaults to 8 GiB with the GP2 volume type.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n x-kubernetes-immutable: true\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: ClusterControlPlaneMainVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n required:\n - secretArn\n - secretVersion\n properties:\n secretArn:\n type: string\n x-dcl-go-name: SecretArn\n description: The ARN of the AWS Secret Manager secret that contains\n the HTTP(S) proxy configuration.\n secretVersion:\n type: string\n x-dcl-go-name: SecretVersion\n description: The version string of the AWS Secret Manager secret\n that contains the HTTP(S) proxy configuration.\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. Volumes will be provisioned in the\n availability zone associated with the corresponding subnet. When unspecified,\n it defaults to 32 GiB with the GP2 volume type.\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: ClusterControlPlaneRootVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n securityGroupIds:\n type: array\n x-dcl-go-name: SecurityGroupIds\n description: Optional. The IDs of additional security groups to add\n to control plane replicas. The Anthos Multi-Cloud API will automatically\n create and manage security groups with the minimum rules needed for\n a functioning cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: Optional. SSH configuration for how to access the underlying\n control plane machines.\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: The name of the EC2 key pair used to login into cluster\n machines.\n subnetIds:\n type: array\n x-dcl-go-name: SubnetIds\n description: The list of subnets where control plane replicas will run.\n A replica will be provisioned on each subnet and up to three values\n can be provided. Each subnet must be in a different AWS Availability\n Zone (AZ).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of AWS resource tags to propagate to all\n underlying managed AWS resources. Specify at most 50 pairs containing\n alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127\n Unicode characters. Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling .\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects//locations/global/membership/.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: ClusterLoggingConfig\n description: Logging configuration.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n componentConfig:\n type: object\n x-dcl-go-name: ComponentConfig\n x-dcl-go-type: ClusterLoggingConfigComponentConfig\n description: Configuration of the logging components.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n enableComponents:\n type: array\n x-dcl-go-name: EnableComponents\n description: Components of the logging configuration to be enabled.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterLoggingConfigComponentConfigEnableComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - SYSTEM_COMPONENTS\n - WORKLOADS\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - vpcId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: All pods in the cluster are assigned an RFC1918 IPv4 address\n from these ranges. Only a single range is supported. This field cannot\n be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: All services in the cluster are assigned an RFC1918 IPv4\n address from these ranges. Only a single range is supported. This\n field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n vpcId:\n type: string\n x-dcl-go-name: VPCId\n description: The VPC associated with the cluster. All component clusters\n (i.e. control plane and node pools) run on a single VPC. This field\n cannot be changed after creation.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n") +var YAML_cluster = []byte("info:\n title: ContainerAws/Cluster\n description: An Anthos cluster running on AWS.\n x-dcl-struct-name: Cluster\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - networking\n - awsRegion\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Key can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users to perform operations as a cluster admin. A managed\n ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole\n to the users. Up to ten admin users can be provided. For more info\n on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n awsRegion:\n type: string\n x-dcl-go-name: AwsRegion\n description: The AWS region where the cluster runs. Each Google Cloud region\n supports a subset of nearby AWS regions. You can call to list all supported\n AWS regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetIds\n - configEncryption\n - iamInstanceProfile\n - databaseEncryption\n - awsServicesAuthentication\n properties:\n awsServicesAuthentication:\n type: object\n x-dcl-go-name: AwsServicesAuthentication\n x-dcl-go-type: ClusterControlPlaneAwsServicesAuthentication\n description: Authentication configuration for management of AWS resources.\n required:\n - roleArn\n properties:\n roleArn:\n type: string\n x-dcl-go-name: RoleArn\n description: The Amazon Resource Name (ARN) of the role that the\n Anthos Multi-Cloud API will assume when managing AWS resources\n on your account.\n roleSessionName:\n type: string\n x-dcl-go-name: RoleSessionName\n description: Optional. An identifier for the assumed role session.\n When unspecified, it defaults to `multicloud-service-agent`.\n x-dcl-server-default: true\n configEncryption:\n type: object\n x-dcl-go-name: ConfigEncryption\n x-dcl-go-type: ClusterControlPlaneConfigEncryption\n description: The ARN of the AWS KMS key used to encrypt cluster configuration.\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt cluster\n configuration.\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: The ARN of the AWS KMS key used to encrypt cluster secrets.\n x-kubernetes-immutable: true\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt cluster\n secrets.\n x-kubernetes-immutable: true\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: The name of the AWS IAM instance pofile to assign to each\n control plane replica.\n x-kubernetes-immutable: true\n instancePlacement:\n type: object\n x-dcl-go-name: InstancePlacement\n x-dcl-go-type: ClusterControlPlaneInstancePlacement\n description: Details of placement information for an instance.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n tenancy:\n type: string\n x-dcl-go-name: Tenancy\n x-dcl-go-type: ClusterControlPlaneInstancePlacementTenancyEnum\n description: 'The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED,\n DEFAULT, DEDICATED, HOST'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TENANCY_UNSPECIFIED\n - DEFAULT\n - DEDICATED\n - HOST\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `m5.large`.\n x-dcl-server-default: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. Volumes will be provisioned in the\n availability zone associated with the corresponding subnet. When unspecified,\n it defaults to 8 GiB with the GP2 volume type.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n x-kubernetes-immutable: true\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: ClusterControlPlaneMainVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n required:\n - secretArn\n - secretVersion\n properties:\n secretArn:\n type: string\n x-dcl-go-name: SecretArn\n description: The ARN of the AWS Secret Manager secret that contains\n the HTTP(S) proxy configuration.\n secretVersion:\n type: string\n x-dcl-go-name: SecretVersion\n description: The version string of the AWS Secret Manager secret\n that contains the HTTP(S) proxy configuration.\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. Volumes will be provisioned in the\n availability zone associated with the corresponding subnet. When unspecified,\n it defaults to 32 GiB with the GP2 volume type.\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: ClusterControlPlaneRootVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n securityGroupIds:\n type: array\n x-dcl-go-name: SecurityGroupIds\n description: Optional. The IDs of additional security groups to add\n to control plane replicas. The Anthos Multi-Cloud API will automatically\n create and manage security groups with the minimum rules needed for\n a functioning cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: Optional. SSH configuration for how to access the underlying\n control plane machines.\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: The name of the EC2 key pair used to login into cluster\n machines.\n subnetIds:\n type: array\n x-dcl-go-name: SubnetIds\n description: The list of subnets where control plane replicas will run.\n A replica will be provisioned on each subnet and up to three values\n can be provided. Each subnet must be in a different AWS Availability\n Zone (AZ).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of AWS resource tags to propagate to all\n underlying managed AWS resources. Specify at most 50 pairs containing\n alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127\n Unicode characters. Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling .\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects//locations/global/membership/.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: ClusterLoggingConfig\n description: Logging configuration.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n componentConfig:\n type: object\n x-dcl-go-name: ComponentConfig\n x-dcl-go-type: ClusterLoggingConfigComponentConfig\n description: Configuration of the logging components.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n enableComponents:\n type: array\n x-dcl-go-name: EnableComponents\n description: Components of the logging configuration to be enabled.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterLoggingConfigComponentConfigEnableComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - SYSTEM_COMPONENTS\n - WORKLOADS\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - vpcId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: All pods in the cluster are assigned an RFC1918 IPv4 address\n from these ranges. Only a single range is supported. This field cannot\n be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: All services in the cluster are assigned an RFC1918 IPv4\n address from these ranges. Only a single range is supported. This\n field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n vpcId:\n type: string\n x-dcl-go-name: VPCId\n description: The VPC associated with the cluster. All component clusters\n (i.e. control plane and node pools) run on a single VPC. This field\n cannot be changed after creation.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n") -// 24187 bytes -// MD5: 7e2bffb4db32b96d97c17e56520abe34 +// 24212 bytes +// MD5: a4aaff7c4442f77f911a241ff9573cef diff --git a/services/google/containeraws/alpha/cluster_schema.go b/services/google/containeraws/alpha/cluster_schema.go index 4a86b8ec27..ddd99ef16c 100755 --- a/services/google/containeraws/alpha/cluster_schema.go +++ b/services/google/containeraws/alpha/cluster_schema.go @@ -23,6 +23,7 @@ func DCLClusterSchema() *dcl.Schema { Title: "ContainerAws/Cluster", Description: "An Anthos cluster running on AWS.", StructName: "Cluster", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters", diff --git a/services/google/containeraws/alpha/node_pool.yaml b/services/google/containeraws/alpha/node_pool.yaml index c3b3926769..0da369830b 100755 --- a/services/google/containeraws/alpha/node_pool.yaml +++ b/services/google/containeraws/alpha/node_pool.yaml @@ -15,6 +15,7 @@ info: title: ContainerAws/NodePool description: An Anthos node pool running on AWS. x-dcl-struct-name: NodePool + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containeraws/alpha/node_pool_alpha_yaml_embed.go b/services/google/containeraws/alpha/node_pool_alpha_yaml_embed.go index eea27ff3df..e5e5ef3163 100755 --- a/services/google/containeraws/alpha/node_pool_alpha_yaml_embed.go +++ b/services/google/containeraws/alpha/node_pool_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containeraws/alpha/node_pool.yaml -var YAML_node_pool = []byte("info:\n title: ContainerAws/NodePool\n description: An Anthos node pool running on AWS.\n x-dcl-struct-name: NodePool\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters.awsNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{cluster}}/awsNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - version\n - config\n - autoscaling\n - subnetId\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Key can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the NodePool. Must be >= min_node_count.\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the NodePool. Must be >= 1 and\n <= max_node_count.\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The awsCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The configuration of the node pool.\n required:\n - iamInstanceProfile\n - configEncryption\n properties:\n configEncryption:\n type: object\n x-dcl-go-name: ConfigEncryption\n x-dcl-go-type: NodePoolConfigConfigEncryption\n description: The ARN of the AWS KMS key used to encrypt node pool configuration.\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt node pool\n configuration.\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: The name of the AWS IAM role assigned to nodes in the pool.\n x-kubernetes-immutable: true\n imageType:\n type: string\n x-dcl-go-name: ImageType\n description: The OS image type to use on node pool instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n instancePlacement:\n type: object\n x-dcl-go-name: InstancePlacement\n x-dcl-go-type: NodePoolConfigInstancePlacement\n description: Details of placement information for an instance.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n tenancy:\n type: string\n x-dcl-go-name: Tenancy\n x-dcl-go-type: NodePoolConfigInstancePlacementTenancyEnum\n description: 'The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED,\n DEFAULT, DEDICATED, HOST'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TENANCY_UNSPECIFIED\n - DEFAULT\n - DEDICATED\n - HOST\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `m5.large`.\n x-dcl-server-default: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The initial labels assigned to nodes of this\n node pool. An object containing a list of \"key\": value pairs. Example:\n { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.'\n x-kubernetes-immutable: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n required:\n - secretArn\n - secretVersion\n properties:\n secretArn:\n type: string\n x-dcl-go-name: SecretArn\n description: The ARN of the AWS Secret Manager secret that contains\n the HTTP(S) proxy configuration.\n secretVersion:\n type: string\n x-dcl-go-name: SecretVersion\n description: The version string of the AWS Secret Manager secret\n that contains the HTTP(S) proxy configuration.\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Template for the root volume provisioned for\n node pool nodes. Volumes will be provisioned in the availability zone\n assigned to the node pool subnet. When unspecified, it defaults to\n 32 GiB with the GP2 volume type.\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: NodePoolConfigRootVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n securityGroupIds:\n type: array\n x-dcl-go-name: SecurityGroupIds\n description: Optional. The IDs of additional security groups to add\n to nodes in this pool. The manager will automatically create security\n groups with minimum rules needed for a functioning cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: Optional. The SSH configuration.\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: The name of the EC2 key pair used to login into cluster\n machines.\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. Key/value metadata to assign to each underlying\n AWS resource. Specify at most 50 pairs containing alphanumerics, spaces,\n and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n taints:\n type: array\n x-dcl-go-name: Taints\n description: Optional. The initial taints assigned to nodes of this\n node pool.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NodePoolConfigTaints\n required:\n - key\n - value\n - effect\n properties:\n effect:\n type: string\n x-dcl-go-name: Effect\n x-dcl-go-type: NodePoolConfigTaintsEffectEnum\n description: 'The taint effect. Possible values: EFFECT_UNSPECIFIED,\n NO_SCHEDULE, PREFER_NO_SCHEDULE, NO_EXECUTE'\n x-kubernetes-immutable: true\n enum:\n - EFFECT_UNSPECIFIED\n - NO_SCHEDULE\n - PREFER_NO_SCHEDULE\n - NO_EXECUTE\n key:\n type: string\n x-dcl-go-name: Key\n description: Key for the taint.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Value for the taint.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The lifecycle state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The subnet where the node pool node run.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).\n You can list all supported versions on a given Google Cloud region by\n calling GetAwsServerConfig.\n") +var YAML_node_pool = []byte("info:\n title: ContainerAws/NodePool\n description: An Anthos node pool running on AWS.\n x-dcl-struct-name: NodePool\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters.awsNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{cluster}}/awsNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - version\n - config\n - autoscaling\n - subnetId\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Key can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the NodePool. Must be >= min_node_count.\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the NodePool. Must be >= 1 and\n <= max_node_count.\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The awsCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The configuration of the node pool.\n required:\n - iamInstanceProfile\n - configEncryption\n properties:\n configEncryption:\n type: object\n x-dcl-go-name: ConfigEncryption\n x-dcl-go-type: NodePoolConfigConfigEncryption\n description: The ARN of the AWS KMS key used to encrypt node pool configuration.\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt node pool\n configuration.\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: The name of the AWS IAM role assigned to nodes in the pool.\n x-kubernetes-immutable: true\n imageType:\n type: string\n x-dcl-go-name: ImageType\n description: The OS image type to use on node pool instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n instancePlacement:\n type: object\n x-dcl-go-name: InstancePlacement\n x-dcl-go-type: NodePoolConfigInstancePlacement\n description: Details of placement information for an instance.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n tenancy:\n type: string\n x-dcl-go-name: Tenancy\n x-dcl-go-type: NodePoolConfigInstancePlacementTenancyEnum\n description: 'The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED,\n DEFAULT, DEDICATED, HOST'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TENANCY_UNSPECIFIED\n - DEFAULT\n - DEDICATED\n - HOST\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `m5.large`.\n x-dcl-server-default: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The initial labels assigned to nodes of this\n node pool. An object containing a list of \"key\": value pairs. Example:\n { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.'\n x-kubernetes-immutable: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n required:\n - secretArn\n - secretVersion\n properties:\n secretArn:\n type: string\n x-dcl-go-name: SecretArn\n description: The ARN of the AWS Secret Manager secret that contains\n the HTTP(S) proxy configuration.\n secretVersion:\n type: string\n x-dcl-go-name: SecretVersion\n description: The version string of the AWS Secret Manager secret\n that contains the HTTP(S) proxy configuration.\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Template for the root volume provisioned for\n node pool nodes. Volumes will be provisioned in the availability zone\n assigned to the node pool subnet. When unspecified, it defaults to\n 32 GiB with the GP2 volume type.\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: NodePoolConfigRootVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n securityGroupIds:\n type: array\n x-dcl-go-name: SecurityGroupIds\n description: Optional. The IDs of additional security groups to add\n to nodes in this pool. The manager will automatically create security\n groups with minimum rules needed for a functioning cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: Optional. The SSH configuration.\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: The name of the EC2 key pair used to login into cluster\n machines.\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. Key/value metadata to assign to each underlying\n AWS resource. Specify at most 50 pairs containing alphanumerics, spaces,\n and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n taints:\n type: array\n x-dcl-go-name: Taints\n description: Optional. The initial taints assigned to nodes of this\n node pool.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NodePoolConfigTaints\n required:\n - key\n - value\n - effect\n properties:\n effect:\n type: string\n x-dcl-go-name: Effect\n x-dcl-go-type: NodePoolConfigTaintsEffectEnum\n description: 'The taint effect. Possible values: EFFECT_UNSPECIFIED,\n NO_SCHEDULE, PREFER_NO_SCHEDULE, NO_EXECUTE'\n x-kubernetes-immutable: true\n enum:\n - EFFECT_UNSPECIFIED\n - NO_SCHEDULE\n - PREFER_NO_SCHEDULE\n - NO_EXECUTE\n key:\n type: string\n x-dcl-go-name: Key\n description: Key for the taint.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Value for the taint.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The lifecycle state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The subnet where the node pool node run.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).\n You can list all supported versions on a given Google Cloud region by\n calling GetAwsServerConfig.\n") -// 16295 bytes -// MD5: 371b6370f2a111246aa34f84c341bc22 +// 16320 bytes +// MD5: 0e2f1db1b63cfc841a8bf83ff6ab1887 diff --git a/services/google/containeraws/alpha/node_pool_schema.go b/services/google/containeraws/alpha/node_pool_schema.go index 5f8bb7e9a2..4c6bfb584b 100755 --- a/services/google/containeraws/alpha/node_pool_schema.go +++ b/services/google/containeraws/alpha/node_pool_schema.go @@ -23,6 +23,7 @@ func DCLNodePoolSchema() *dcl.Schema { Title: "ContainerAws/NodePool", Description: "An Anthos node pool running on AWS.", StructName: "NodePool", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters.awsNodePools", diff --git a/services/google/containeraws/beta/cluster.yaml b/services/google/containeraws/beta/cluster.yaml index cffd4e736b..3024bf53db 100755 --- a/services/google/containeraws/beta/cluster.yaml +++ b/services/google/containeraws/beta/cluster.yaml @@ -15,6 +15,7 @@ info: title: ContainerAws/Cluster description: An Anthos cluster running on AWS. x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containeraws/beta/cluster_beta_yaml_embed.go b/services/google/containeraws/beta/cluster_beta_yaml_embed.go index f0737bd98f..1a6b811cfa 100755 --- a/services/google/containeraws/beta/cluster_beta_yaml_embed.go +++ b/services/google/containeraws/beta/cluster_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containeraws/beta/cluster.yaml -var YAML_cluster = []byte("info:\n title: ContainerAws/Cluster\n description: An Anthos cluster running on AWS.\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - networking\n - awsRegion\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Key can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users to perform operations as a cluster admin. A managed\n ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole\n to the users. Up to ten admin users can be provided. For more info\n on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n awsRegion:\n type: string\n x-dcl-go-name: AwsRegion\n description: The AWS region where the cluster runs. Each Google Cloud region\n supports a subset of nearby AWS regions. You can call to list all supported\n AWS regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetIds\n - configEncryption\n - iamInstanceProfile\n - databaseEncryption\n - awsServicesAuthentication\n properties:\n awsServicesAuthentication:\n type: object\n x-dcl-go-name: AwsServicesAuthentication\n x-dcl-go-type: ClusterControlPlaneAwsServicesAuthentication\n description: Authentication configuration for management of AWS resources.\n required:\n - roleArn\n properties:\n roleArn:\n type: string\n x-dcl-go-name: RoleArn\n description: The Amazon Resource Name (ARN) of the role that the\n Anthos Multi-Cloud API will assume when managing AWS resources\n on your account.\n roleSessionName:\n type: string\n x-dcl-go-name: RoleSessionName\n description: Optional. An identifier for the assumed role session.\n When unspecified, it defaults to `multicloud-service-agent`.\n x-dcl-server-default: true\n configEncryption:\n type: object\n x-dcl-go-name: ConfigEncryption\n x-dcl-go-type: ClusterControlPlaneConfigEncryption\n description: The ARN of the AWS KMS key used to encrypt cluster configuration.\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt cluster\n configuration.\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: The ARN of the AWS KMS key used to encrypt cluster secrets.\n x-kubernetes-immutable: true\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt cluster\n secrets.\n x-kubernetes-immutable: true\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: The name of the AWS IAM instance pofile to assign to each\n control plane replica.\n x-kubernetes-immutable: true\n instancePlacement:\n type: object\n x-dcl-go-name: InstancePlacement\n x-dcl-go-type: ClusterControlPlaneInstancePlacement\n description: Details of placement information for an instance.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n tenancy:\n type: string\n x-dcl-go-name: Tenancy\n x-dcl-go-type: ClusterControlPlaneInstancePlacementTenancyEnum\n description: 'The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED,\n DEFAULT, DEDICATED, HOST'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TENANCY_UNSPECIFIED\n - DEFAULT\n - DEDICATED\n - HOST\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `m5.large`.\n x-dcl-server-default: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. Volumes will be provisioned in the\n availability zone associated with the corresponding subnet. When unspecified,\n it defaults to 8 GiB with the GP2 volume type.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n x-kubernetes-immutable: true\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: ClusterControlPlaneMainVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n required:\n - secretArn\n - secretVersion\n properties:\n secretArn:\n type: string\n x-dcl-go-name: SecretArn\n description: The ARN of the AWS Secret Manager secret that contains\n the HTTP(S) proxy configuration.\n secretVersion:\n type: string\n x-dcl-go-name: SecretVersion\n description: The version string of the AWS Secret Manager secret\n that contains the HTTP(S) proxy configuration.\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. Volumes will be provisioned in the\n availability zone associated with the corresponding subnet. When unspecified,\n it defaults to 32 GiB with the GP2 volume type.\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: ClusterControlPlaneRootVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n securityGroupIds:\n type: array\n x-dcl-go-name: SecurityGroupIds\n description: Optional. The IDs of additional security groups to add\n to control plane replicas. The Anthos Multi-Cloud API will automatically\n create and manage security groups with the minimum rules needed for\n a functioning cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: Optional. SSH configuration for how to access the underlying\n control plane machines.\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: The name of the EC2 key pair used to login into cluster\n machines.\n subnetIds:\n type: array\n x-dcl-go-name: SubnetIds\n description: The list of subnets where control plane replicas will run.\n A replica will be provisioned on each subnet and up to three values\n can be provided. Each subnet must be in a different AWS Availability\n Zone (AZ).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of AWS resource tags to propagate to all\n underlying managed AWS resources. Specify at most 50 pairs containing\n alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127\n Unicode characters. Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling .\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects//locations/global/membership/.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: ClusterLoggingConfig\n description: Logging configuration.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n componentConfig:\n type: object\n x-dcl-go-name: ComponentConfig\n x-dcl-go-type: ClusterLoggingConfigComponentConfig\n description: Configuration of the logging components.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n enableComponents:\n type: array\n x-dcl-go-name: EnableComponents\n description: Components of the logging configuration to be enabled.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterLoggingConfigComponentConfigEnableComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - SYSTEM_COMPONENTS\n - WORKLOADS\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - vpcId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: All pods in the cluster are assigned an RFC1918 IPv4 address\n from these ranges. Only a single range is supported. This field cannot\n be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: All services in the cluster are assigned an RFC1918 IPv4\n address from these ranges. Only a single range is supported. This\n field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n vpcId:\n type: string\n x-dcl-go-name: VPCId\n description: The VPC associated with the cluster. All component clusters\n (i.e. control plane and node pools) run on a single VPC. This field\n cannot be changed after creation.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n") +var YAML_cluster = []byte("info:\n title: ContainerAws/Cluster\n description: An Anthos cluster running on AWS.\n x-dcl-struct-name: Cluster\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - networking\n - awsRegion\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Key can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users to perform operations as a cluster admin. A managed\n ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole\n to the users. Up to ten admin users can be provided. For more info\n on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n awsRegion:\n type: string\n x-dcl-go-name: AwsRegion\n description: The AWS region where the cluster runs. Each Google Cloud region\n supports a subset of nearby AWS regions. You can call to list all supported\n AWS regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetIds\n - configEncryption\n - iamInstanceProfile\n - databaseEncryption\n - awsServicesAuthentication\n properties:\n awsServicesAuthentication:\n type: object\n x-dcl-go-name: AwsServicesAuthentication\n x-dcl-go-type: ClusterControlPlaneAwsServicesAuthentication\n description: Authentication configuration for management of AWS resources.\n required:\n - roleArn\n properties:\n roleArn:\n type: string\n x-dcl-go-name: RoleArn\n description: The Amazon Resource Name (ARN) of the role that the\n Anthos Multi-Cloud API will assume when managing AWS resources\n on your account.\n roleSessionName:\n type: string\n x-dcl-go-name: RoleSessionName\n description: Optional. An identifier for the assumed role session.\n When unspecified, it defaults to `multicloud-service-agent`.\n x-dcl-server-default: true\n configEncryption:\n type: object\n x-dcl-go-name: ConfigEncryption\n x-dcl-go-type: ClusterControlPlaneConfigEncryption\n description: The ARN of the AWS KMS key used to encrypt cluster configuration.\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt cluster\n configuration.\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: The ARN of the AWS KMS key used to encrypt cluster secrets.\n x-kubernetes-immutable: true\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt cluster\n secrets.\n x-kubernetes-immutable: true\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: The name of the AWS IAM instance pofile to assign to each\n control plane replica.\n x-kubernetes-immutable: true\n instancePlacement:\n type: object\n x-dcl-go-name: InstancePlacement\n x-dcl-go-type: ClusterControlPlaneInstancePlacement\n description: Details of placement information for an instance.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n tenancy:\n type: string\n x-dcl-go-name: Tenancy\n x-dcl-go-type: ClusterControlPlaneInstancePlacementTenancyEnum\n description: 'The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED,\n DEFAULT, DEDICATED, HOST'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TENANCY_UNSPECIFIED\n - DEFAULT\n - DEDICATED\n - HOST\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `m5.large`.\n x-dcl-server-default: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. Volumes will be provisioned in the\n availability zone associated with the corresponding subnet. When unspecified,\n it defaults to 8 GiB with the GP2 volume type.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n x-kubernetes-immutable: true\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: ClusterControlPlaneMainVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n required:\n - secretArn\n - secretVersion\n properties:\n secretArn:\n type: string\n x-dcl-go-name: SecretArn\n description: The ARN of the AWS Secret Manager secret that contains\n the HTTP(S) proxy configuration.\n secretVersion:\n type: string\n x-dcl-go-name: SecretVersion\n description: The version string of the AWS Secret Manager secret\n that contains the HTTP(S) proxy configuration.\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. Volumes will be provisioned in the\n availability zone associated with the corresponding subnet. When unspecified,\n it defaults to 32 GiB with the GP2 volume type.\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: ClusterControlPlaneRootVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n securityGroupIds:\n type: array\n x-dcl-go-name: SecurityGroupIds\n description: Optional. The IDs of additional security groups to add\n to control plane replicas. The Anthos Multi-Cloud API will automatically\n create and manage security groups with the minimum rules needed for\n a functioning cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: Optional. SSH configuration for how to access the underlying\n control plane machines.\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: The name of the EC2 key pair used to login into cluster\n machines.\n subnetIds:\n type: array\n x-dcl-go-name: SubnetIds\n description: The list of subnets where control plane replicas will run.\n A replica will be provisioned on each subnet and up to three values\n can be provided. Each subnet must be in a different AWS Availability\n Zone (AZ).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of AWS resource tags to propagate to all\n underlying managed AWS resources. Specify at most 50 pairs containing\n alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127\n Unicode characters. Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling .\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects//locations/global/membership/.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: ClusterLoggingConfig\n description: Logging configuration.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n componentConfig:\n type: object\n x-dcl-go-name: ComponentConfig\n x-dcl-go-type: ClusterLoggingConfigComponentConfig\n description: Configuration of the logging components.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n enableComponents:\n type: array\n x-dcl-go-name: EnableComponents\n description: Components of the logging configuration to be enabled.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterLoggingConfigComponentConfigEnableComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - SYSTEM_COMPONENTS\n - WORKLOADS\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - vpcId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: All pods in the cluster are assigned an RFC1918 IPv4 address\n from these ranges. Only a single range is supported. This field cannot\n be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: All services in the cluster are assigned an RFC1918 IPv4\n address from these ranges. Only a single range is supported. This\n field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n vpcId:\n type: string\n x-dcl-go-name: VPCId\n description: The VPC associated with the cluster. All component clusters\n (i.e. control plane and node pools) run on a single VPC. This field\n cannot be changed after creation.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n") -// 24187 bytes -// MD5: 7e2bffb4db32b96d97c17e56520abe34 +// 24212 bytes +// MD5: a4aaff7c4442f77f911a241ff9573cef diff --git a/services/google/containeraws/beta/cluster_schema.go b/services/google/containeraws/beta/cluster_schema.go index d68f60cc5a..ea7ffb0650 100755 --- a/services/google/containeraws/beta/cluster_schema.go +++ b/services/google/containeraws/beta/cluster_schema.go @@ -23,6 +23,7 @@ func DCLClusterSchema() *dcl.Schema { Title: "ContainerAws/Cluster", Description: "An Anthos cluster running on AWS.", StructName: "Cluster", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters", diff --git a/services/google/containeraws/beta/node_pool.yaml b/services/google/containeraws/beta/node_pool.yaml index c3b3926769..0da369830b 100755 --- a/services/google/containeraws/beta/node_pool.yaml +++ b/services/google/containeraws/beta/node_pool.yaml @@ -15,6 +15,7 @@ info: title: ContainerAws/NodePool description: An Anthos node pool running on AWS. x-dcl-struct-name: NodePool + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containeraws/beta/node_pool_beta_yaml_embed.go b/services/google/containeraws/beta/node_pool_beta_yaml_embed.go index 73ec8d46f0..1d2edbb17f 100755 --- a/services/google/containeraws/beta/node_pool_beta_yaml_embed.go +++ b/services/google/containeraws/beta/node_pool_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containeraws/beta/node_pool.yaml -var YAML_node_pool = []byte("info:\n title: ContainerAws/NodePool\n description: An Anthos node pool running on AWS.\n x-dcl-struct-name: NodePool\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters.awsNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{cluster}}/awsNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - version\n - config\n - autoscaling\n - subnetId\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Key can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the NodePool. Must be >= min_node_count.\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the NodePool. Must be >= 1 and\n <= max_node_count.\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The awsCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The configuration of the node pool.\n required:\n - iamInstanceProfile\n - configEncryption\n properties:\n configEncryption:\n type: object\n x-dcl-go-name: ConfigEncryption\n x-dcl-go-type: NodePoolConfigConfigEncryption\n description: The ARN of the AWS KMS key used to encrypt node pool configuration.\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt node pool\n configuration.\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: The name of the AWS IAM role assigned to nodes in the pool.\n x-kubernetes-immutable: true\n imageType:\n type: string\n x-dcl-go-name: ImageType\n description: The OS image type to use on node pool instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n instancePlacement:\n type: object\n x-dcl-go-name: InstancePlacement\n x-dcl-go-type: NodePoolConfigInstancePlacement\n description: Details of placement information for an instance.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n tenancy:\n type: string\n x-dcl-go-name: Tenancy\n x-dcl-go-type: NodePoolConfigInstancePlacementTenancyEnum\n description: 'The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED,\n DEFAULT, DEDICATED, HOST'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TENANCY_UNSPECIFIED\n - DEFAULT\n - DEDICATED\n - HOST\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `m5.large`.\n x-dcl-server-default: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The initial labels assigned to nodes of this\n node pool. An object containing a list of \"key\": value pairs. Example:\n { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.'\n x-kubernetes-immutable: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n required:\n - secretArn\n - secretVersion\n properties:\n secretArn:\n type: string\n x-dcl-go-name: SecretArn\n description: The ARN of the AWS Secret Manager secret that contains\n the HTTP(S) proxy configuration.\n secretVersion:\n type: string\n x-dcl-go-name: SecretVersion\n description: The version string of the AWS Secret Manager secret\n that contains the HTTP(S) proxy configuration.\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Template for the root volume provisioned for\n node pool nodes. Volumes will be provisioned in the availability zone\n assigned to the node pool subnet. When unspecified, it defaults to\n 32 GiB with the GP2 volume type.\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: NodePoolConfigRootVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n securityGroupIds:\n type: array\n x-dcl-go-name: SecurityGroupIds\n description: Optional. The IDs of additional security groups to add\n to nodes in this pool. The manager will automatically create security\n groups with minimum rules needed for a functioning cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: Optional. The SSH configuration.\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: The name of the EC2 key pair used to login into cluster\n machines.\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. Key/value metadata to assign to each underlying\n AWS resource. Specify at most 50 pairs containing alphanumerics, spaces,\n and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n taints:\n type: array\n x-dcl-go-name: Taints\n description: Optional. The initial taints assigned to nodes of this\n node pool.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NodePoolConfigTaints\n required:\n - key\n - value\n - effect\n properties:\n effect:\n type: string\n x-dcl-go-name: Effect\n x-dcl-go-type: NodePoolConfigTaintsEffectEnum\n description: 'The taint effect. Possible values: EFFECT_UNSPECIFIED,\n NO_SCHEDULE, PREFER_NO_SCHEDULE, NO_EXECUTE'\n x-kubernetes-immutable: true\n enum:\n - EFFECT_UNSPECIFIED\n - NO_SCHEDULE\n - PREFER_NO_SCHEDULE\n - NO_EXECUTE\n key:\n type: string\n x-dcl-go-name: Key\n description: Key for the taint.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Value for the taint.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The lifecycle state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The subnet where the node pool node run.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).\n You can list all supported versions on a given Google Cloud region by\n calling GetAwsServerConfig.\n") +var YAML_node_pool = []byte("info:\n title: ContainerAws/NodePool\n description: An Anthos node pool running on AWS.\n x-dcl-struct-name: NodePool\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters.awsNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{cluster}}/awsNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - version\n - config\n - autoscaling\n - subnetId\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Key can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the NodePool. Must be >= min_node_count.\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the NodePool. Must be >= 1 and\n <= max_node_count.\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The awsCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The configuration of the node pool.\n required:\n - iamInstanceProfile\n - configEncryption\n properties:\n configEncryption:\n type: object\n x-dcl-go-name: ConfigEncryption\n x-dcl-go-type: NodePoolConfigConfigEncryption\n description: The ARN of the AWS KMS key used to encrypt node pool configuration.\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt node pool\n configuration.\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: The name of the AWS IAM role assigned to nodes in the pool.\n x-kubernetes-immutable: true\n imageType:\n type: string\n x-dcl-go-name: ImageType\n description: The OS image type to use on node pool instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n instancePlacement:\n type: object\n x-dcl-go-name: InstancePlacement\n x-dcl-go-type: NodePoolConfigInstancePlacement\n description: Details of placement information for an instance.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n tenancy:\n type: string\n x-dcl-go-name: Tenancy\n x-dcl-go-type: NodePoolConfigInstancePlacementTenancyEnum\n description: 'The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED,\n DEFAULT, DEDICATED, HOST'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TENANCY_UNSPECIFIED\n - DEFAULT\n - DEDICATED\n - HOST\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `m5.large`.\n x-dcl-server-default: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The initial labels assigned to nodes of this\n node pool. An object containing a list of \"key\": value pairs. Example:\n { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.'\n x-kubernetes-immutable: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n required:\n - secretArn\n - secretVersion\n properties:\n secretArn:\n type: string\n x-dcl-go-name: SecretArn\n description: The ARN of the AWS Secret Manager secret that contains\n the HTTP(S) proxy configuration.\n secretVersion:\n type: string\n x-dcl-go-name: SecretVersion\n description: The version string of the AWS Secret Manager secret\n that contains the HTTP(S) proxy configuration.\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Template for the root volume provisioned for\n node pool nodes. Volumes will be provisioned in the availability zone\n assigned to the node pool subnet. When unspecified, it defaults to\n 32 GiB with the GP2 volume type.\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: NodePoolConfigRootVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n securityGroupIds:\n type: array\n x-dcl-go-name: SecurityGroupIds\n description: Optional. The IDs of additional security groups to add\n to nodes in this pool. The manager will automatically create security\n groups with minimum rules needed for a functioning cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: Optional. The SSH configuration.\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: The name of the EC2 key pair used to login into cluster\n machines.\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. Key/value metadata to assign to each underlying\n AWS resource. Specify at most 50 pairs containing alphanumerics, spaces,\n and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n taints:\n type: array\n x-dcl-go-name: Taints\n description: Optional. The initial taints assigned to nodes of this\n node pool.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NodePoolConfigTaints\n required:\n - key\n - value\n - effect\n properties:\n effect:\n type: string\n x-dcl-go-name: Effect\n x-dcl-go-type: NodePoolConfigTaintsEffectEnum\n description: 'The taint effect. Possible values: EFFECT_UNSPECIFIED,\n NO_SCHEDULE, PREFER_NO_SCHEDULE, NO_EXECUTE'\n x-kubernetes-immutable: true\n enum:\n - EFFECT_UNSPECIFIED\n - NO_SCHEDULE\n - PREFER_NO_SCHEDULE\n - NO_EXECUTE\n key:\n type: string\n x-dcl-go-name: Key\n description: Key for the taint.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Value for the taint.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The lifecycle state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The subnet where the node pool node run.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).\n You can list all supported versions on a given Google Cloud region by\n calling GetAwsServerConfig.\n") -// 16295 bytes -// MD5: 371b6370f2a111246aa34f84c341bc22 +// 16320 bytes +// MD5: 0e2f1db1b63cfc841a8bf83ff6ab1887 diff --git a/services/google/containeraws/beta/node_pool_schema.go b/services/google/containeraws/beta/node_pool_schema.go index 7bd258d507..019b2050e3 100755 --- a/services/google/containeraws/beta/node_pool_schema.go +++ b/services/google/containeraws/beta/node_pool_schema.go @@ -23,6 +23,7 @@ func DCLNodePoolSchema() *dcl.Schema { Title: "ContainerAws/NodePool", Description: "An Anthos node pool running on AWS.", StructName: "NodePool", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters.awsNodePools", diff --git a/services/google/containeraws/cluster.yaml b/services/google/containeraws/cluster.yaml index a0aecb69c0..272345398a 100755 --- a/services/google/containeraws/cluster.yaml +++ b/services/google/containeraws/cluster.yaml @@ -15,6 +15,7 @@ info: title: ContainerAws/Cluster description: An Anthos cluster running on AWS. x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containeraws/cluster_schema.go b/services/google/containeraws/cluster_schema.go index 2721d3f209..1dbacdd679 100755 --- a/services/google/containeraws/cluster_schema.go +++ b/services/google/containeraws/cluster_schema.go @@ -23,6 +23,7 @@ func DCLClusterSchema() *dcl.Schema { Title: "ContainerAws/Cluster", Description: "An Anthos cluster running on AWS.", StructName: "Cluster", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters", diff --git a/services/google/containeraws/cluster_yaml_embed.go b/services/google/containeraws/cluster_yaml_embed.go index 1d3bcf2c6e..753d403cdf 100755 --- a/services/google/containeraws/cluster_yaml_embed.go +++ b/services/google/containeraws/cluster_yaml_embed.go @@ -17,7 +17,7 @@ package containeraws // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containeraws/cluster.yaml -var YAML_cluster = []byte("info:\n title: ContainerAws/Cluster\n description: An Anthos cluster running on AWS.\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - networking\n - awsRegion\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Key can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users to perform operations as a cluster admin. A managed\n ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole\n to the users. Up to ten admin users can be provided. For more info\n on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n awsRegion:\n type: string\n x-dcl-go-name: AwsRegion\n description: The AWS region where the cluster runs. Each Google Cloud region\n supports a subset of nearby AWS regions. You can call to list all supported\n AWS regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetIds\n - configEncryption\n - iamInstanceProfile\n - databaseEncryption\n - awsServicesAuthentication\n properties:\n awsServicesAuthentication:\n type: object\n x-dcl-go-name: AwsServicesAuthentication\n x-dcl-go-type: ClusterControlPlaneAwsServicesAuthentication\n description: Authentication configuration for management of AWS resources.\n required:\n - roleArn\n properties:\n roleArn:\n type: string\n x-dcl-go-name: RoleArn\n description: The Amazon Resource Name (ARN) of the role that the\n Anthos Multi-Cloud API will assume when managing AWS resources\n on your account.\n roleSessionName:\n type: string\n x-dcl-go-name: RoleSessionName\n description: Optional. An identifier for the assumed role session.\n When unspecified, it defaults to `multicloud-service-agent`.\n x-dcl-server-default: true\n configEncryption:\n type: object\n x-dcl-go-name: ConfigEncryption\n x-dcl-go-type: ClusterControlPlaneConfigEncryption\n description: The ARN of the AWS KMS key used to encrypt cluster configuration.\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt cluster\n configuration.\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: The ARN of the AWS KMS key used to encrypt cluster secrets.\n x-kubernetes-immutable: true\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt cluster\n secrets.\n x-kubernetes-immutable: true\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: The name of the AWS IAM instance pofile to assign to each\n control plane replica.\n x-kubernetes-immutable: true\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `m5.large`.\n x-dcl-server-default: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. Volumes will be provisioned in the\n availability zone associated with the corresponding subnet. When unspecified,\n it defaults to 8 GiB with the GP2 volume type.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n x-kubernetes-immutable: true\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: ClusterControlPlaneMainVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n required:\n - secretArn\n - secretVersion\n properties:\n secretArn:\n type: string\n x-dcl-go-name: SecretArn\n description: The ARN of the AWS Secret Manager secret that contains\n the HTTP(S) proxy configuration.\n secretVersion:\n type: string\n x-dcl-go-name: SecretVersion\n description: The version string of the AWS Secret Manager secret\n that contains the HTTP(S) proxy configuration.\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. Volumes will be provisioned in the\n availability zone associated with the corresponding subnet. When unspecified,\n it defaults to 32 GiB with the GP2 volume type.\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: ClusterControlPlaneRootVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n securityGroupIds:\n type: array\n x-dcl-go-name: SecurityGroupIds\n description: Optional. The IDs of additional security groups to add\n to control plane replicas. The Anthos Multi-Cloud API will automatically\n create and manage security groups with the minimum rules needed for\n a functioning cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: Optional. SSH configuration for how to access the underlying\n control plane machines.\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: The name of the EC2 key pair used to login into cluster\n machines.\n subnetIds:\n type: array\n x-dcl-go-name: SubnetIds\n description: The list of subnets where control plane replicas will run.\n A replica will be provisioned on each subnet and up to three values\n can be provided. Each subnet must be in a different AWS Availability\n Zone (AZ).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of AWS resource tags to propagate to all\n underlying managed AWS resources. Specify at most 50 pairs containing\n alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127\n Unicode characters. Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling .\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects//locations/global/membership/.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - vpcId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: All pods in the cluster are assigned an RFC1918 IPv4 address\n from these ranges. Only a single range is supported. This field cannot\n be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: All services in the cluster are assigned an RFC1918 IPv4\n address from these ranges. Only a single range is supported. This\n field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n vpcId:\n type: string\n x-dcl-go-name: VPCId\n description: The VPC associated with the cluster. All component clusters\n (i.e. control plane and node pools) run on a single VPC. This field\n cannot be changed after creation.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n") +var YAML_cluster = []byte("info:\n title: ContainerAws/Cluster\n description: An Anthos cluster running on AWS.\n x-dcl-struct-name: Cluster\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - networking\n - awsRegion\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Key can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users to perform operations as a cluster admin. A managed\n ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole\n to the users. Up to ten admin users can be provided. For more info\n on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n awsRegion:\n type: string\n x-dcl-go-name: AwsRegion\n description: The AWS region where the cluster runs. Each Google Cloud region\n supports a subset of nearby AWS regions. You can call to list all supported\n AWS regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetIds\n - configEncryption\n - iamInstanceProfile\n - databaseEncryption\n - awsServicesAuthentication\n properties:\n awsServicesAuthentication:\n type: object\n x-dcl-go-name: AwsServicesAuthentication\n x-dcl-go-type: ClusterControlPlaneAwsServicesAuthentication\n description: Authentication configuration for management of AWS resources.\n required:\n - roleArn\n properties:\n roleArn:\n type: string\n x-dcl-go-name: RoleArn\n description: The Amazon Resource Name (ARN) of the role that the\n Anthos Multi-Cloud API will assume when managing AWS resources\n on your account.\n roleSessionName:\n type: string\n x-dcl-go-name: RoleSessionName\n description: Optional. An identifier for the assumed role session.\n When unspecified, it defaults to `multicloud-service-agent`.\n x-dcl-server-default: true\n configEncryption:\n type: object\n x-dcl-go-name: ConfigEncryption\n x-dcl-go-type: ClusterControlPlaneConfigEncryption\n description: The ARN of the AWS KMS key used to encrypt cluster configuration.\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt cluster\n configuration.\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: The ARN of the AWS KMS key used to encrypt cluster secrets.\n x-kubernetes-immutable: true\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt cluster\n secrets.\n x-kubernetes-immutable: true\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: The name of the AWS IAM instance pofile to assign to each\n control plane replica.\n x-kubernetes-immutable: true\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `m5.large`.\n x-dcl-server-default: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. Volumes will be provisioned in the\n availability zone associated with the corresponding subnet. When unspecified,\n it defaults to 8 GiB with the GP2 volume type.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n x-kubernetes-immutable: true\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: ClusterControlPlaneMainVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n required:\n - secretArn\n - secretVersion\n properties:\n secretArn:\n type: string\n x-dcl-go-name: SecretArn\n description: The ARN of the AWS Secret Manager secret that contains\n the HTTP(S) proxy configuration.\n secretVersion:\n type: string\n x-dcl-go-name: SecretVersion\n description: The version string of the AWS Secret Manager secret\n that contains the HTTP(S) proxy configuration.\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. Volumes will be provisioned in the\n availability zone associated with the corresponding subnet. When unspecified,\n it defaults to 32 GiB with the GP2 volume type.\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: ClusterControlPlaneRootVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n securityGroupIds:\n type: array\n x-dcl-go-name: SecurityGroupIds\n description: Optional. The IDs of additional security groups to add\n to control plane replicas. The Anthos Multi-Cloud API will automatically\n create and manage security groups with the minimum rules needed for\n a functioning cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: Optional. SSH configuration for how to access the underlying\n control plane machines.\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: The name of the EC2 key pair used to login into cluster\n machines.\n subnetIds:\n type: array\n x-dcl-go-name: SubnetIds\n description: The list of subnets where control plane replicas will run.\n A replica will be provisioned on each subnet and up to three values\n can be provided. Each subnet must be in a different AWS Availability\n Zone (AZ).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of AWS resource tags to propagate to all\n underlying managed AWS resources. Specify at most 50 pairs containing\n alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127\n Unicode characters. Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling .\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects//locations/global/membership/.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - vpcId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: All pods in the cluster are assigned an RFC1918 IPv4 address\n from these ranges. Only a single range is supported. This field cannot\n be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: All services in the cluster are assigned an RFC1918 IPv4\n address from these ranges. Only a single range is supported. This\n field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n vpcId:\n type: string\n x-dcl-go-name: VPCId\n description: The VPC associated with the cluster. All component clusters\n (i.e. control plane and node pools) run on a single VPC. This field\n cannot be changed after creation.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n") -// 21983 bytes -// MD5: 6a71c950d0c82ec6ccb7d613cc8920ed +// 22008 bytes +// MD5: d61ccf54e618d36aaaeb454de243cd52 diff --git a/services/google/containeraws/node_pool.yaml b/services/google/containeraws/node_pool.yaml index 2aa98a94ee..c2f45027bd 100755 --- a/services/google/containeraws/node_pool.yaml +++ b/services/google/containeraws/node_pool.yaml @@ -15,6 +15,7 @@ info: title: ContainerAws/NodePool description: An Anthos node pool running on AWS. x-dcl-struct-name: NodePool + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containeraws/node_pool_schema.go b/services/google/containeraws/node_pool_schema.go index 476f1041e2..7882152ca2 100755 --- a/services/google/containeraws/node_pool_schema.go +++ b/services/google/containeraws/node_pool_schema.go @@ -23,6 +23,7 @@ func DCLNodePoolSchema() *dcl.Schema { Title: "ContainerAws/NodePool", Description: "An Anthos node pool running on AWS.", StructName: "NodePool", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters.awsNodePools", diff --git a/services/google/containeraws/node_pool_yaml_embed.go b/services/google/containeraws/node_pool_yaml_embed.go index ae4a51313c..f844c6179b 100755 --- a/services/google/containeraws/node_pool_yaml_embed.go +++ b/services/google/containeraws/node_pool_yaml_embed.go @@ -17,7 +17,7 @@ package containeraws // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containeraws/node_pool.yaml -var YAML_node_pool = []byte("info:\n title: ContainerAws/NodePool\n description: An Anthos node pool running on AWS.\n x-dcl-struct-name: NodePool\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters.awsNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{cluster}}/awsNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - version\n - config\n - autoscaling\n - subnetId\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Key can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the NodePool. Must be >= min_node_count.\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the NodePool. Must be >= 1 and\n <= max_node_count.\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The awsCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The configuration of the node pool.\n required:\n - iamInstanceProfile\n - configEncryption\n properties:\n configEncryption:\n type: object\n x-dcl-go-name: ConfigEncryption\n x-dcl-go-type: NodePoolConfigConfigEncryption\n description: The ARN of the AWS KMS key used to encrypt node pool configuration.\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt node pool\n configuration.\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: The name of the AWS IAM role assigned to nodes in the pool.\n x-kubernetes-immutable: true\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `m5.large`.\n x-dcl-server-default: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The initial labels assigned to nodes of this\n node pool. An object containing a list of \"key\": value pairs. Example:\n { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.'\n x-kubernetes-immutable: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n required:\n - secretArn\n - secretVersion\n properties:\n secretArn:\n type: string\n x-dcl-go-name: SecretArn\n description: The ARN of the AWS Secret Manager secret that contains\n the HTTP(S) proxy configuration.\n secretVersion:\n type: string\n x-dcl-go-name: SecretVersion\n description: The version string of the AWS Secret Manager secret\n that contains the HTTP(S) proxy configuration.\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Template for the root volume provisioned for\n node pool nodes. Volumes will be provisioned in the availability zone\n assigned to the node pool subnet. When unspecified, it defaults to\n 32 GiB with the GP2 volume type.\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: NodePoolConfigRootVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n securityGroupIds:\n type: array\n x-dcl-go-name: SecurityGroupIds\n description: Optional. The IDs of additional security groups to add\n to nodes in this pool. The manager will automatically create security\n groups with minimum rules needed for a functioning cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: Optional. The SSH configuration.\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: The name of the EC2 key pair used to login into cluster\n machines.\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. Key/value metadata to assign to each underlying\n AWS resource. Specify at most 50 pairs containing alphanumerics, spaces,\n and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n taints:\n type: array\n x-dcl-go-name: Taints\n description: Optional. The initial taints assigned to nodes of this\n node pool.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NodePoolConfigTaints\n required:\n - key\n - value\n - effect\n properties:\n effect:\n type: string\n x-dcl-go-name: Effect\n x-dcl-go-type: NodePoolConfigTaintsEffectEnum\n description: 'The taint effect. Possible values: EFFECT_UNSPECIFIED,\n NO_SCHEDULE, PREFER_NO_SCHEDULE, NO_EXECUTE'\n x-kubernetes-immutable: true\n enum:\n - EFFECT_UNSPECIFIED\n - NO_SCHEDULE\n - PREFER_NO_SCHEDULE\n - NO_EXECUTE\n key:\n type: string\n x-dcl-go-name: Key\n description: Key for the taint.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Value for the taint.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The lifecycle state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The subnet where the node pool node run.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).\n You can list all supported versions on a given Google Cloud region by\n calling GetAwsServerConfig.\n") +var YAML_node_pool = []byte("info:\n title: ContainerAws/NodePool\n description: An Anthos node pool running on AWS.\n x-dcl-struct-name: NodePool\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters.awsNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{cluster}}/awsNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - version\n - config\n - autoscaling\n - subnetId\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Key can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the NodePool. Must be >= min_node_count.\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the NodePool. Must be >= 1 and\n <= max_node_count.\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The awsCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The configuration of the node pool.\n required:\n - iamInstanceProfile\n - configEncryption\n properties:\n configEncryption:\n type: object\n x-dcl-go-name: ConfigEncryption\n x-dcl-go-type: NodePoolConfigConfigEncryption\n description: The ARN of the AWS KMS key used to encrypt node pool configuration.\n required:\n - kmsKeyArn\n properties:\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: The ARN of the AWS KMS key used to encrypt node pool\n configuration.\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: The name of the AWS IAM role assigned to nodes in the pool.\n x-kubernetes-immutable: true\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `m5.large`.\n x-dcl-server-default: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The initial labels assigned to nodes of this\n node pool. An object containing a list of \"key\": value pairs. Example:\n { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.'\n x-kubernetes-immutable: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n required:\n - secretArn\n - secretVersion\n properties:\n secretArn:\n type: string\n x-dcl-go-name: SecretArn\n description: The ARN of the AWS Secret Manager secret that contains\n the HTTP(S) proxy configuration.\n secretVersion:\n type: string\n x-dcl-go-name: SecretVersion\n description: The version string of the AWS Secret Manager secret\n that contains the HTTP(S) proxy configuration.\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Template for the root volume provisioned for\n node pool nodes. Volumes will be provisioned in the availability zone\n assigned to the node pool subnet. When unspecified, it defaults to\n 32 GiB with the GP2 volume type.\n x-dcl-server-default: true\n properties:\n iops:\n type: integer\n format: int64\n x-dcl-go-name: Iops\n description: Optional. The number of I/O operations per second (IOPS)\n to provision for GP3 volume.\n x-dcl-server-default: true\n kmsKeyArn:\n type: string\n x-dcl-go-name: KmsKeyArn\n description: Optional. The Amazon Resource Name (ARN) of the Customer\n Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n the default Amazon managed key associated to the AWS region where\n this cluster runs will be used.\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the volume, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-dcl-server-default: true\n volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: NodePoolConfigRootVolumeVolumeTypeEnum\n description: 'Optional. Type of the EBS volume. When unspecified,\n it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n GP2, GP3'\n x-dcl-server-default: true\n enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n securityGroupIds:\n type: array\n x-dcl-go-name: SecurityGroupIds\n description: Optional. The IDs of additional security groups to add\n to nodes in this pool. The manager will automatically create security\n groups with minimum rules needed for a functioning cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: Optional. The SSH configuration.\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: The name of the EC2 key pair used to login into cluster\n machines.\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. Key/value metadata to assign to each underlying\n AWS resource. Specify at most 50 pairs containing alphanumerics, spaces,\n and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n taints:\n type: array\n x-dcl-go-name: Taints\n description: Optional. The initial taints assigned to nodes of this\n node pool.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: NodePoolConfigTaints\n required:\n - key\n - value\n - effect\n properties:\n effect:\n type: string\n x-dcl-go-name: Effect\n x-dcl-go-type: NodePoolConfigTaintsEffectEnum\n description: 'The taint effect. Possible values: EFFECT_UNSPECIFIED,\n NO_SCHEDULE, PREFER_NO_SCHEDULE, NO_EXECUTE'\n x-kubernetes-immutable: true\n enum:\n - EFFECT_UNSPECIFIED\n - NO_SCHEDULE\n - PREFER_NO_SCHEDULE\n - NO_EXECUTE\n key:\n type: string\n x-dcl-go-name: Key\n description: Key for the taint.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Value for the taint.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The lifecycle state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The subnet where the node pool node run.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).\n You can list all supported versions on a given Google Cloud region by\n calling GetAwsServerConfig.\n") -// 15135 bytes -// MD5: 9a7256c61215f1957e8c713c6ea75360 +// 15160 bytes +// MD5: 825e03c48ef531e5ace5ee5194eab5b8 diff --git a/services/google/containerazure/alpha/azure_client.yaml b/services/google/containerazure/alpha/azure_client.yaml index f0bc80974e..c26a3bc62b 100755 --- a/services/google/containerazure/alpha/azure_client.yaml +++ b/services/google/containerazure/alpha/azure_client.yaml @@ -21,6 +21,7 @@ info: cannot be modified upon creation.Each AzureClient resource is bound to a single Azure Active Directory Application and tenant. x-dcl-struct-name: AzureClient + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containerazure/alpha/azure_client_alpha_yaml_embed.go b/services/google/containerazure/alpha/azure_client_alpha_yaml_embed.go index 5230f48157..12e5534afb 100755 --- a/services/google/containerazure/alpha/azure_client_alpha_yaml_embed.go +++ b/services/google/containerazure/alpha/azure_client_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/alpha/azure_client.yaml -var YAML_azure_client = []byte("info:\n title: ContainerAzure/Client\n description: AzureClient resources hold client authentication information needed\n by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When\n an AzureCluster is created, an AzureClient resource needs to be provided and all\n operations on Azure resources associated to that cluster will authenticate to\n Azure services using the given client.AzureClient resources are immutable and\n cannot be modified upon creation.Each AzureClient resource is bound to a single\n Azure Active Directory Application and tenant.\n x-dcl-struct-name: AzureClient\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClients\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n apply:\n description: The function used to apply information about a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n delete:\n description: The function used to delete a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n deleteAll:\n description: The function used to delete all Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Client:\n title: AzureClient\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - tenantId\n - applicationId\n - project\n - location\n properties:\n applicationId:\n type: string\n x-dcl-go-name: ApplicationId\n description: The Azure Active Directory Application ID.\n x-kubernetes-immutable: true\n certificate:\n type: string\n x-dcl-go-name: Certificate\n readOnly: true\n description: Output only. The PEM encoded x509 certificate.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this resource was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n tenantId:\n type: string\n x-dcl-go-name: TenantId\n description: The Azure Active Directory Tenant ID.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the client.\n x-kubernetes-immutable: true\n") +var YAML_azure_client = []byte("info:\n title: ContainerAzure/Client\n description: AzureClient resources hold client authentication information needed\n by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When\n an AzureCluster is created, an AzureClient resource needs to be provided and all\n operations on Azure resources associated to that cluster will authenticate to\n Azure services using the given client.AzureClient resources are immutable and\n cannot be modified upon creation.Each AzureClient resource is bound to a single\n Azure Active Directory Application and tenant.\n x-dcl-struct-name: AzureClient\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClients\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n apply:\n description: The function used to apply information about a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n delete:\n description: The function used to delete a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n deleteAll:\n description: The function used to delete all Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Client:\n title: AzureClient\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - tenantId\n - applicationId\n - project\n - location\n properties:\n applicationId:\n type: string\n x-dcl-go-name: ApplicationId\n description: The Azure Active Directory Application ID.\n x-kubernetes-immutable: true\n certificate:\n type: string\n x-dcl-go-name: Certificate\n readOnly: true\n description: Output only. The PEM encoded x509 certificate.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this resource was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n tenantId:\n type: string\n x-dcl-go-name: TenantId\n description: The Azure Active Directory Tenant ID.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the client.\n x-kubernetes-immutable: true\n") -// 3945 bytes -// MD5: d00f75fdbb4edae2324a732e6e162d88 +// 3970 bytes +// MD5: 943a9ce17bda01509c52ec86264ef513 diff --git a/services/google/containerazure/alpha/azure_client_schema.go b/services/google/containerazure/alpha/azure_client_schema.go index 24d57b8784..0e91e52180 100755 --- a/services/google/containerazure/alpha/azure_client_schema.go +++ b/services/google/containerazure/alpha/azure_client_schema.go @@ -23,6 +23,7 @@ func DCLAzureClientSchema() *dcl.Schema { Title: "ContainerAzure/Client", Description: "AzureClient resources hold client authentication information needed by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When an AzureCluster is created, an AzureClient resource needs to be provided and all operations on Azure resources associated to that cluster will authenticate to Azure services using the given client.AzureClient resources are immutable and cannot be modified upon creation.Each AzureClient resource is bound to a single Azure Active Directory Application and tenant.", StructName: "AzureClient", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClients", diff --git a/services/google/containerazure/alpha/cluster.yaml b/services/google/containerazure/alpha/cluster.yaml index c1c6a2b2fc..981ca26fb7 100755 --- a/services/google/containerazure/alpha/cluster.yaml +++ b/services/google/containerazure/alpha/cluster.yaml @@ -15,6 +15,7 @@ info: title: ContainerAzure/Cluster description: An Anthos cluster running on Azure. x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containerazure/alpha/cluster_alpha_yaml_embed.go b/services/google/containerazure/alpha/cluster_alpha_yaml_embed.go index 4e703f3502..2b26cb1868 100755 --- a/services/google/containerazure/alpha/cluster_alpha_yaml_embed.go +++ b/services/google/containerazure/alpha/cluster_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/alpha/cluster.yaml -var YAML_cluster = []byte("info:\n title: ContainerAzure/Cluster\n description: An Anthos cluster running on Azure.\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - azureRegion\n - resourceGroupId\n - client\n - networking\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Keys can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n x-kubernetes-immutable: true\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users that can perform operations as a cluster admin. A\n new ClusterRoleBinding will be created to grant the cluster-admin\n ClusterRole to the users. Up to ten admin users can be provided. For\n more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n azureRegion:\n type: string\n x-dcl-go-name: AzureRegion\n description: The Azure region where the cluster runs. Each Google Cloud\n region supports a subset of nearby Azure regions. You can call to list\n all supported Azure regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n client:\n type: string\n x-dcl-go-name: Client\n description: Name of the AzureClient. The `AzureClient` resource must reside\n on the same GCP project and region as the `AzureCluster`. `AzureClient`\n names are formatted as `projects//locations//azureClients/`.\n See Resource Names (https:cloud.google.com/apis/design/resource_names)\n for more details on Google Cloud resource names.\n x-dcl-references:\n - resource: ContainerAzure/AzureClient\n field: name\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetId\n - sshConfig\n properties:\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: Optional. Configuration related to application-layer secrets\n encryption.\n x-kubernetes-immutable: true\n required:\n - keyId\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: 'The ARM ID of the Azure Key Vault key to encrypt /\n decrypt data. For example: `/subscriptions//resourceGroups//providers/Microsoft.KeyVault/vaults//keys/`\n Encryption will always take the latest version of the key and\n hence specific version is not supported.'\n x-kubernetes-immutable: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. When unspecified, it defaults to\n a 8-GiB Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:.vault.azure.net/secrets//`.\n x-kubernetes-immutable: true\n replicaPlacements:\n type: array\n x-dcl-go-name: ReplicaPlacements\n description: Configuration for where to place the control plane replicas.\n Up to three replica placement instances can be specified. If replica_placements\n is set, the replica placement instances will be applied to the three\n control plane replicas as evenly as possible.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterControlPlaneReplicaPlacements\n required:\n - subnetId\n - azureAvailabilityZone\n properties:\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: For a given replica, the Azure availability zone\n where to provision the control plane VM and the ETCD disk.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: For a given replica, the ARM ID of the subnet where\n the control plane VM is deployed. Make sure it's a subnet under\n the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. When unspecified, it defaults to 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: SSH configuration for how to access the underlying control\n plane machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: 'The ARM ID of the subnet where the control plane VMs are\n deployed. Example: `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default`.'\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying control\n plane Azure resources.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling GetAzureServerConfig.\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects//locations/global/membership/.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: ClusterLoggingConfig\n description: Logging configuration.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n componentConfig:\n type: object\n x-dcl-go-name: ComponentConfig\n x-dcl-go-type: ClusterLoggingConfigComponentConfig\n description: Configuration of the logging components.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n enableComponents:\n type: array\n x-dcl-go-name: EnableComponents\n description: Components of the logging configuration to be enabled.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterLoggingConfigComponentConfigEnableComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - SYSTEM_COMPONENTS\n - WORKLOADS\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - virtualNetworkId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: The IP address range of the pods in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All pods in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: The IP address range for services in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All services in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creating a cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n virtualNetworkId:\n type: string\n x-dcl-go-name: VirtualNetworkId\n description: 'The Azure Resource Manager (ARM) ID of the VNet associated\n with your cluster. All components in the cluster (i.e. control plane\n and node pools) run on a single VNet. Example: `/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/*`\n This field cannot be changed after creation.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: 'The ARM ID of the resource group where the cluster resources\n are deployed. For example: `/subscriptions/*/resourceGroups/*`'\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n") +var YAML_cluster = []byte("info:\n title: ContainerAzure/Cluster\n description: An Anthos cluster running on Azure.\n x-dcl-struct-name: Cluster\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - azureRegion\n - resourceGroupId\n - client\n - networking\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Keys can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n x-kubernetes-immutable: true\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users that can perform operations as a cluster admin. A\n new ClusterRoleBinding will be created to grant the cluster-admin\n ClusterRole to the users. Up to ten admin users can be provided. For\n more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n azureRegion:\n type: string\n x-dcl-go-name: AzureRegion\n description: The Azure region where the cluster runs. Each Google Cloud\n region supports a subset of nearby Azure regions. You can call to list\n all supported Azure regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n client:\n type: string\n x-dcl-go-name: Client\n description: Name of the AzureClient. The `AzureClient` resource must reside\n on the same GCP project and region as the `AzureCluster`. `AzureClient`\n names are formatted as `projects//locations//azureClients/`.\n See Resource Names (https:cloud.google.com/apis/design/resource_names)\n for more details on Google Cloud resource names.\n x-dcl-references:\n - resource: ContainerAzure/AzureClient\n field: name\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetId\n - sshConfig\n properties:\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: Optional. Configuration related to application-layer secrets\n encryption.\n x-kubernetes-immutable: true\n required:\n - keyId\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: 'The ARM ID of the Azure Key Vault key to encrypt /\n decrypt data. For example: `/subscriptions//resourceGroups//providers/Microsoft.KeyVault/vaults//keys/`\n Encryption will always take the latest version of the key and\n hence specific version is not supported.'\n x-kubernetes-immutable: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. When unspecified, it defaults to\n a 8-GiB Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:.vault.azure.net/secrets//`.\n x-kubernetes-immutable: true\n replicaPlacements:\n type: array\n x-dcl-go-name: ReplicaPlacements\n description: Configuration for where to place the control plane replicas.\n Up to three replica placement instances can be specified. If replica_placements\n is set, the replica placement instances will be applied to the three\n control plane replicas as evenly as possible.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterControlPlaneReplicaPlacements\n required:\n - subnetId\n - azureAvailabilityZone\n properties:\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: For a given replica, the Azure availability zone\n where to provision the control plane VM and the ETCD disk.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: For a given replica, the ARM ID of the subnet where\n the control plane VM is deployed. Make sure it's a subnet under\n the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. When unspecified, it defaults to 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: SSH configuration for how to access the underlying control\n plane machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: 'The ARM ID of the subnet where the control plane VMs are\n deployed. Example: `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default`.'\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying control\n plane Azure resources.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling GetAzureServerConfig.\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects//locations/global/membership/.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: ClusterLoggingConfig\n description: Logging configuration.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n componentConfig:\n type: object\n x-dcl-go-name: ComponentConfig\n x-dcl-go-type: ClusterLoggingConfigComponentConfig\n description: Configuration of the logging components.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n enableComponents:\n type: array\n x-dcl-go-name: EnableComponents\n description: Components of the logging configuration to be enabled.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterLoggingConfigComponentConfigEnableComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - SYSTEM_COMPONENTS\n - WORKLOADS\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - virtualNetworkId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: The IP address range of the pods in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All pods in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: The IP address range for services in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All services in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creating a cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n virtualNetworkId:\n type: string\n x-dcl-go-name: VirtualNetworkId\n description: 'The Azure Resource Manager (ARM) ID of the VNet associated\n with your cluster. All components in the cluster (i.e. control plane\n and node pools) run on a single VNet. Example: `/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/*`\n This field cannot be changed after creation.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: 'The ARM ID of the resource group where the cluster resources\n are deployed. For example: `/subscriptions/*/resourceGroups/*`'\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n") -// 21428 bytes -// MD5: 5247e5e9579ea8d29b949eef939ecf1e +// 21453 bytes +// MD5: 98a0eeea11505bf4b1269c167df38124 diff --git a/services/google/containerazure/alpha/cluster_schema.go b/services/google/containerazure/alpha/cluster_schema.go index 6a25427175..195a5836fb 100755 --- a/services/google/containerazure/alpha/cluster_schema.go +++ b/services/google/containerazure/alpha/cluster_schema.go @@ -23,6 +23,7 @@ func DCLClusterSchema() *dcl.Schema { Title: "ContainerAzure/Cluster", Description: "An Anthos cluster running on Azure.", StructName: "Cluster", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters", diff --git a/services/google/containerazure/alpha/node_pool.yaml b/services/google/containerazure/alpha/node_pool.yaml index b3eeadbeb4..ff9762fae4 100755 --- a/services/google/containerazure/alpha/node_pool.yaml +++ b/services/google/containerazure/alpha/node_pool.yaml @@ -15,6 +15,7 @@ info: title: ContainerAzure/NodePool description: An Anthos node pool running on Azure. x-dcl-struct-name: NodePool + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containerazure/alpha/node_pool_alpha_yaml_embed.go b/services/google/containerazure/alpha/node_pool_alpha_yaml_embed.go index 6dc537fa5e..e811957bfe 100755 --- a/services/google/containerazure/alpha/node_pool_alpha_yaml_embed.go +++ b/services/google/containerazure/alpha/node_pool_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/alpha/node_pool.yaml -var YAML_node_pool = []byte("info:\n title: ContainerAzure/NodePool\n description: An Anthos node pool running on Azure.\n x-dcl-struct-name: NodePool\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters.azureNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{cluster}}/azureNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - version\n - config\n - subnetId\n - autoscaling\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Keys can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n x-kubernetes-immutable: true\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the node pool. Must be >= min_node_count.\n x-kubernetes-immutable: true\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the node pool. Must be >= 1\n and <= max_node_count.\n x-kubernetes-immutable: true\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: Optional. The Azure availability zone of the nodes in this\n nodepool. When unspecified, it defaults to `1`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The azureCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The node configuration of the node pool.\n x-kubernetes-immutable: true\n required:\n - sshConfig\n properties:\n imageType:\n type: string\n x-dcl-go-name: ImageType\n description: The OS image type to use on node pool instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:.vault.azure.net/secrets//`.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each node pool machine. When unspecified, it defaults to a 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: SSH configuration for how to access the node pool machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying Azure\n resources for this node pool. This currently only includes Virtual\n Machine Scale Sets. Specify at most 50 pairs containing alphanumerics,\n spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n See (/anthos/clusters/docs/azure/reference/supported-vms) for options.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently pending changes to\n the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The current state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The ARM ID of the subnet where the node pool VMs run. Make\n sure it's a subnet under the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version (e.g. `1.19.10-gke.1000`) running on\n this node pool.\n") +var YAML_node_pool = []byte("info:\n title: ContainerAzure/NodePool\n description: An Anthos node pool running on Azure.\n x-dcl-struct-name: NodePool\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters.azureNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{cluster}}/azureNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - version\n - config\n - subnetId\n - autoscaling\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Keys can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n x-kubernetes-immutable: true\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the node pool. Must be >= min_node_count.\n x-kubernetes-immutable: true\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the node pool. Must be >= 1\n and <= max_node_count.\n x-kubernetes-immutable: true\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: Optional. The Azure availability zone of the nodes in this\n nodepool. When unspecified, it defaults to `1`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The azureCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The node configuration of the node pool.\n x-kubernetes-immutable: true\n required:\n - sshConfig\n properties:\n imageType:\n type: string\n x-dcl-go-name: ImageType\n description: The OS image type to use on node pool instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:.vault.azure.net/secrets//`.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each node pool machine. When unspecified, it defaults to a 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: SSH configuration for how to access the node pool machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying Azure\n resources for this node pool. This currently only includes Virtual\n Machine Scale Sets. Specify at most 50 pairs containing alphanumerics,\n spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n See (/anthos/clusters/docs/azure/reference/supported-vms) for options.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently pending changes to\n the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The current state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The ARM ID of the subnet where the node pool VMs run. Make\n sure it's a subnet under the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version (e.g. `1.19.10-gke.1000`) running on\n this node pool.\n") -// 12132 bytes -// MD5: 43b8ea05cb1a47f4108b3e3df67abcc4 +// 12157 bytes +// MD5: 28126a480dcfc51276cf637a81b90c96 diff --git a/services/google/containerazure/alpha/node_pool_schema.go b/services/google/containerazure/alpha/node_pool_schema.go index 9140787871..8db6086463 100755 --- a/services/google/containerazure/alpha/node_pool_schema.go +++ b/services/google/containerazure/alpha/node_pool_schema.go @@ -23,6 +23,7 @@ func DCLNodePoolSchema() *dcl.Schema { Title: "ContainerAzure/NodePool", Description: "An Anthos node pool running on Azure.", StructName: "NodePool", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters.azureNodePools", diff --git a/services/google/containerazure/azure_client.yaml b/services/google/containerazure/azure_client.yaml index f0bc80974e..c26a3bc62b 100755 --- a/services/google/containerazure/azure_client.yaml +++ b/services/google/containerazure/azure_client.yaml @@ -21,6 +21,7 @@ info: cannot be modified upon creation.Each AzureClient resource is bound to a single Azure Active Directory Application and tenant. x-dcl-struct-name: AzureClient + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containerazure/azure_client_schema.go b/services/google/containerazure/azure_client_schema.go index dda33286a1..585d74c2c7 100755 --- a/services/google/containerazure/azure_client_schema.go +++ b/services/google/containerazure/azure_client_schema.go @@ -23,6 +23,7 @@ func DCLAzureClientSchema() *dcl.Schema { Title: "ContainerAzure/Client", Description: "AzureClient resources hold client authentication information needed by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When an AzureCluster is created, an AzureClient resource needs to be provided and all operations on Azure resources associated to that cluster will authenticate to Azure services using the given client.AzureClient resources are immutable and cannot be modified upon creation.Each AzureClient resource is bound to a single Azure Active Directory Application and tenant.", StructName: "AzureClient", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClients", diff --git a/services/google/containerazure/azure_client_yaml_embed.go b/services/google/containerazure/azure_client_yaml_embed.go index 673061395e..55a40f1ea1 100755 --- a/services/google/containerazure/azure_client_yaml_embed.go +++ b/services/google/containerazure/azure_client_yaml_embed.go @@ -17,7 +17,7 @@ package containerazure // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/azure_client.yaml -var YAML_azure_client = []byte("info:\n title: ContainerAzure/Client\n description: AzureClient resources hold client authentication information needed\n by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When\n an AzureCluster is created, an AzureClient resource needs to be provided and all\n operations on Azure resources associated to that cluster will authenticate to\n Azure services using the given client.AzureClient resources are immutable and\n cannot be modified upon creation.Each AzureClient resource is bound to a single\n Azure Active Directory Application and tenant.\n x-dcl-struct-name: AzureClient\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClients\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n apply:\n description: The function used to apply information about a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n delete:\n description: The function used to delete a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n deleteAll:\n description: The function used to delete all Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Client:\n title: AzureClient\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - tenantId\n - applicationId\n - project\n - location\n properties:\n applicationId:\n type: string\n x-dcl-go-name: ApplicationId\n description: The Azure Active Directory Application ID.\n x-kubernetes-immutable: true\n certificate:\n type: string\n x-dcl-go-name: Certificate\n readOnly: true\n description: Output only. The PEM encoded x509 certificate.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this resource was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n tenantId:\n type: string\n x-dcl-go-name: TenantId\n description: The Azure Active Directory Tenant ID.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the client.\n x-kubernetes-immutable: true\n") +var YAML_azure_client = []byte("info:\n title: ContainerAzure/Client\n description: AzureClient resources hold client authentication information needed\n by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When\n an AzureCluster is created, an AzureClient resource needs to be provided and all\n operations on Azure resources associated to that cluster will authenticate to\n Azure services using the given client.AzureClient resources are immutable and\n cannot be modified upon creation.Each AzureClient resource is bound to a single\n Azure Active Directory Application and tenant.\n x-dcl-struct-name: AzureClient\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClients\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n apply:\n description: The function used to apply information about a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n delete:\n description: The function used to delete a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n deleteAll:\n description: The function used to delete all Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Client:\n title: AzureClient\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - tenantId\n - applicationId\n - project\n - location\n properties:\n applicationId:\n type: string\n x-dcl-go-name: ApplicationId\n description: The Azure Active Directory Application ID.\n x-kubernetes-immutable: true\n certificate:\n type: string\n x-dcl-go-name: Certificate\n readOnly: true\n description: Output only. The PEM encoded x509 certificate.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this resource was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n tenantId:\n type: string\n x-dcl-go-name: TenantId\n description: The Azure Active Directory Tenant ID.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the client.\n x-kubernetes-immutable: true\n") -// 3945 bytes -// MD5: d00f75fdbb4edae2324a732e6e162d88 +// 3970 bytes +// MD5: 943a9ce17bda01509c52ec86264ef513 diff --git a/services/google/containerazure/beta/azure_client.yaml b/services/google/containerazure/beta/azure_client.yaml index f0bc80974e..c26a3bc62b 100755 --- a/services/google/containerazure/beta/azure_client.yaml +++ b/services/google/containerazure/beta/azure_client.yaml @@ -21,6 +21,7 @@ info: cannot be modified upon creation.Each AzureClient resource is bound to a single Azure Active Directory Application and tenant. x-dcl-struct-name: AzureClient + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containerazure/beta/azure_client_beta_yaml_embed.go b/services/google/containerazure/beta/azure_client_beta_yaml_embed.go index 2943dd7c6e..5058f134da 100755 --- a/services/google/containerazure/beta/azure_client_beta_yaml_embed.go +++ b/services/google/containerazure/beta/azure_client_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/beta/azure_client.yaml -var YAML_azure_client = []byte("info:\n title: ContainerAzure/Client\n description: AzureClient resources hold client authentication information needed\n by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When\n an AzureCluster is created, an AzureClient resource needs to be provided and all\n operations on Azure resources associated to that cluster will authenticate to\n Azure services using the given client.AzureClient resources are immutable and\n cannot be modified upon creation.Each AzureClient resource is bound to a single\n Azure Active Directory Application and tenant.\n x-dcl-struct-name: AzureClient\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClients\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n apply:\n description: The function used to apply information about a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n delete:\n description: The function used to delete a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n deleteAll:\n description: The function used to delete all Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Client:\n title: AzureClient\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - tenantId\n - applicationId\n - project\n - location\n properties:\n applicationId:\n type: string\n x-dcl-go-name: ApplicationId\n description: The Azure Active Directory Application ID.\n x-kubernetes-immutable: true\n certificate:\n type: string\n x-dcl-go-name: Certificate\n readOnly: true\n description: Output only. The PEM encoded x509 certificate.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this resource was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n tenantId:\n type: string\n x-dcl-go-name: TenantId\n description: The Azure Active Directory Tenant ID.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the client.\n x-kubernetes-immutable: true\n") +var YAML_azure_client = []byte("info:\n title: ContainerAzure/Client\n description: AzureClient resources hold client authentication information needed\n by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When\n an AzureCluster is created, an AzureClient resource needs to be provided and all\n operations on Azure resources associated to that cluster will authenticate to\n Azure services using the given client.AzureClient resources are immutable and\n cannot be modified upon creation.Each AzureClient resource is bound to a single\n Azure Active Directory Application and tenant.\n x-dcl-struct-name: AzureClient\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClients\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n apply:\n description: The function used to apply information about a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n delete:\n description: The function used to delete a Client\n parameters:\n - name: Client\n required: true\n description: A full instance of a Client\n deleteAll:\n description: The function used to delete all Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Client:\n title: AzureClient\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - tenantId\n - applicationId\n - project\n - location\n properties:\n applicationId:\n type: string\n x-dcl-go-name: ApplicationId\n description: The Azure Active Directory Application ID.\n x-kubernetes-immutable: true\n certificate:\n type: string\n x-dcl-go-name: Certificate\n readOnly: true\n description: Output only. The PEM encoded x509 certificate.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this resource was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n tenantId:\n type: string\n x-dcl-go-name: TenantId\n description: The Azure Active Directory Tenant ID.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the client.\n x-kubernetes-immutable: true\n") -// 3945 bytes -// MD5: d00f75fdbb4edae2324a732e6e162d88 +// 3970 bytes +// MD5: 943a9ce17bda01509c52ec86264ef513 diff --git a/services/google/containerazure/beta/azure_client_schema.go b/services/google/containerazure/beta/azure_client_schema.go index 3d576afe30..e59c43a0af 100755 --- a/services/google/containerazure/beta/azure_client_schema.go +++ b/services/google/containerazure/beta/azure_client_schema.go @@ -23,6 +23,7 @@ func DCLAzureClientSchema() *dcl.Schema { Title: "ContainerAzure/Client", Description: "AzureClient resources hold client authentication information needed by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When an AzureCluster is created, an AzureClient resource needs to be provided and all operations on Azure resources associated to that cluster will authenticate to Azure services using the given client.AzureClient resources are immutable and cannot be modified upon creation.Each AzureClient resource is bound to a single Azure Active Directory Application and tenant.", StructName: "AzureClient", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClients", diff --git a/services/google/containerazure/beta/cluster.yaml b/services/google/containerazure/beta/cluster.yaml index c1c6a2b2fc..981ca26fb7 100755 --- a/services/google/containerazure/beta/cluster.yaml +++ b/services/google/containerazure/beta/cluster.yaml @@ -15,6 +15,7 @@ info: title: ContainerAzure/Cluster description: An Anthos cluster running on Azure. x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containerazure/beta/cluster_beta_yaml_embed.go b/services/google/containerazure/beta/cluster_beta_yaml_embed.go index 9993a79bbb..d7197fce22 100755 --- a/services/google/containerazure/beta/cluster_beta_yaml_embed.go +++ b/services/google/containerazure/beta/cluster_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/beta/cluster.yaml -var YAML_cluster = []byte("info:\n title: ContainerAzure/Cluster\n description: An Anthos cluster running on Azure.\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - azureRegion\n - resourceGroupId\n - client\n - networking\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Keys can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n x-kubernetes-immutable: true\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users that can perform operations as a cluster admin. A\n new ClusterRoleBinding will be created to grant the cluster-admin\n ClusterRole to the users. Up to ten admin users can be provided. For\n more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n azureRegion:\n type: string\n x-dcl-go-name: AzureRegion\n description: The Azure region where the cluster runs. Each Google Cloud\n region supports a subset of nearby Azure regions. You can call to list\n all supported Azure regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n client:\n type: string\n x-dcl-go-name: Client\n description: Name of the AzureClient. The `AzureClient` resource must reside\n on the same GCP project and region as the `AzureCluster`. `AzureClient`\n names are formatted as `projects//locations//azureClients/`.\n See Resource Names (https:cloud.google.com/apis/design/resource_names)\n for more details on Google Cloud resource names.\n x-dcl-references:\n - resource: ContainerAzure/AzureClient\n field: name\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetId\n - sshConfig\n properties:\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: Optional. Configuration related to application-layer secrets\n encryption.\n x-kubernetes-immutable: true\n required:\n - keyId\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: 'The ARM ID of the Azure Key Vault key to encrypt /\n decrypt data. For example: `/subscriptions//resourceGroups//providers/Microsoft.KeyVault/vaults//keys/`\n Encryption will always take the latest version of the key and\n hence specific version is not supported.'\n x-kubernetes-immutable: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. When unspecified, it defaults to\n a 8-GiB Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:.vault.azure.net/secrets//`.\n x-kubernetes-immutable: true\n replicaPlacements:\n type: array\n x-dcl-go-name: ReplicaPlacements\n description: Configuration for where to place the control plane replicas.\n Up to three replica placement instances can be specified. If replica_placements\n is set, the replica placement instances will be applied to the three\n control plane replicas as evenly as possible.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterControlPlaneReplicaPlacements\n required:\n - subnetId\n - azureAvailabilityZone\n properties:\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: For a given replica, the Azure availability zone\n where to provision the control plane VM and the ETCD disk.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: For a given replica, the ARM ID of the subnet where\n the control plane VM is deployed. Make sure it's a subnet under\n the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. When unspecified, it defaults to 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: SSH configuration for how to access the underlying control\n plane machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: 'The ARM ID of the subnet where the control plane VMs are\n deployed. Example: `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default`.'\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying control\n plane Azure resources.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling GetAzureServerConfig.\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects//locations/global/membership/.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: ClusterLoggingConfig\n description: Logging configuration.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n componentConfig:\n type: object\n x-dcl-go-name: ComponentConfig\n x-dcl-go-type: ClusterLoggingConfigComponentConfig\n description: Configuration of the logging components.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n enableComponents:\n type: array\n x-dcl-go-name: EnableComponents\n description: Components of the logging configuration to be enabled.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterLoggingConfigComponentConfigEnableComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - SYSTEM_COMPONENTS\n - WORKLOADS\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - virtualNetworkId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: The IP address range of the pods in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All pods in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: The IP address range for services in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All services in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creating a cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n virtualNetworkId:\n type: string\n x-dcl-go-name: VirtualNetworkId\n description: 'The Azure Resource Manager (ARM) ID of the VNet associated\n with your cluster. All components in the cluster (i.e. control plane\n and node pools) run on a single VNet. Example: `/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/*`\n This field cannot be changed after creation.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: 'The ARM ID of the resource group where the cluster resources\n are deployed. For example: `/subscriptions/*/resourceGroups/*`'\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n") +var YAML_cluster = []byte("info:\n title: ContainerAzure/Cluster\n description: An Anthos cluster running on Azure.\n x-dcl-struct-name: Cluster\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - azureRegion\n - resourceGroupId\n - client\n - networking\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Keys can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n x-kubernetes-immutable: true\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users that can perform operations as a cluster admin. A\n new ClusterRoleBinding will be created to grant the cluster-admin\n ClusterRole to the users. Up to ten admin users can be provided. For\n more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n azureRegion:\n type: string\n x-dcl-go-name: AzureRegion\n description: The Azure region where the cluster runs. Each Google Cloud\n region supports a subset of nearby Azure regions. You can call to list\n all supported Azure regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n client:\n type: string\n x-dcl-go-name: Client\n description: Name of the AzureClient. The `AzureClient` resource must reside\n on the same GCP project and region as the `AzureCluster`. `AzureClient`\n names are formatted as `projects//locations//azureClients/`.\n See Resource Names (https:cloud.google.com/apis/design/resource_names)\n for more details on Google Cloud resource names.\n x-dcl-references:\n - resource: ContainerAzure/AzureClient\n field: name\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetId\n - sshConfig\n properties:\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: Optional. Configuration related to application-layer secrets\n encryption.\n x-kubernetes-immutable: true\n required:\n - keyId\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: 'The ARM ID of the Azure Key Vault key to encrypt /\n decrypt data. For example: `/subscriptions//resourceGroups//providers/Microsoft.KeyVault/vaults//keys/`\n Encryption will always take the latest version of the key and\n hence specific version is not supported.'\n x-kubernetes-immutable: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. When unspecified, it defaults to\n a 8-GiB Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:.vault.azure.net/secrets//`.\n x-kubernetes-immutable: true\n replicaPlacements:\n type: array\n x-dcl-go-name: ReplicaPlacements\n description: Configuration for where to place the control plane replicas.\n Up to three replica placement instances can be specified. If replica_placements\n is set, the replica placement instances will be applied to the three\n control plane replicas as evenly as possible.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterControlPlaneReplicaPlacements\n required:\n - subnetId\n - azureAvailabilityZone\n properties:\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: For a given replica, the Azure availability zone\n where to provision the control plane VM and the ETCD disk.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: For a given replica, the ARM ID of the subnet where\n the control plane VM is deployed. Make sure it's a subnet under\n the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. When unspecified, it defaults to 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: SSH configuration for how to access the underlying control\n plane machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: 'The ARM ID of the subnet where the control plane VMs are\n deployed. Example: `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default`.'\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying control\n plane Azure resources.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling GetAzureServerConfig.\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects//locations/global/membership/.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: ClusterLoggingConfig\n description: Logging configuration.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n componentConfig:\n type: object\n x-dcl-go-name: ComponentConfig\n x-dcl-go-type: ClusterLoggingConfigComponentConfig\n description: Configuration of the logging components.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n enableComponents:\n type: array\n x-dcl-go-name: EnableComponents\n description: Components of the logging configuration to be enabled.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterLoggingConfigComponentConfigEnableComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - SYSTEM_COMPONENTS\n - WORKLOADS\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - virtualNetworkId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: The IP address range of the pods in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All pods in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: The IP address range for services in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All services in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creating a cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n virtualNetworkId:\n type: string\n x-dcl-go-name: VirtualNetworkId\n description: 'The Azure Resource Manager (ARM) ID of the VNet associated\n with your cluster. All components in the cluster (i.e. control plane\n and node pools) run on a single VNet. Example: `/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/*`\n This field cannot be changed after creation.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: 'The ARM ID of the resource group where the cluster resources\n are deployed. For example: `/subscriptions/*/resourceGroups/*`'\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n") -// 21428 bytes -// MD5: 5247e5e9579ea8d29b949eef939ecf1e +// 21453 bytes +// MD5: 98a0eeea11505bf4b1269c167df38124 diff --git a/services/google/containerazure/beta/cluster_schema.go b/services/google/containerazure/beta/cluster_schema.go index d47a3aed1a..bc2c91cb1a 100755 --- a/services/google/containerazure/beta/cluster_schema.go +++ b/services/google/containerazure/beta/cluster_schema.go @@ -23,6 +23,7 @@ func DCLClusterSchema() *dcl.Schema { Title: "ContainerAzure/Cluster", Description: "An Anthos cluster running on Azure.", StructName: "Cluster", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters", diff --git a/services/google/containerazure/beta/node_pool.yaml b/services/google/containerazure/beta/node_pool.yaml index b3eeadbeb4..ff9762fae4 100755 --- a/services/google/containerazure/beta/node_pool.yaml +++ b/services/google/containerazure/beta/node_pool.yaml @@ -15,6 +15,7 @@ info: title: ContainerAzure/NodePool description: An Anthos node pool running on Azure. x-dcl-struct-name: NodePool + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containerazure/beta/node_pool_beta_yaml_embed.go b/services/google/containerazure/beta/node_pool_beta_yaml_embed.go index 13e9b5d2db..f7583aa4b3 100755 --- a/services/google/containerazure/beta/node_pool_beta_yaml_embed.go +++ b/services/google/containerazure/beta/node_pool_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/beta/node_pool.yaml -var YAML_node_pool = []byte("info:\n title: ContainerAzure/NodePool\n description: An Anthos node pool running on Azure.\n x-dcl-struct-name: NodePool\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters.azureNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{cluster}}/azureNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - version\n - config\n - subnetId\n - autoscaling\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Keys can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n x-kubernetes-immutable: true\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the node pool. Must be >= min_node_count.\n x-kubernetes-immutable: true\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the node pool. Must be >= 1\n and <= max_node_count.\n x-kubernetes-immutable: true\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: Optional. The Azure availability zone of the nodes in this\n nodepool. When unspecified, it defaults to `1`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The azureCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The node configuration of the node pool.\n x-kubernetes-immutable: true\n required:\n - sshConfig\n properties:\n imageType:\n type: string\n x-dcl-go-name: ImageType\n description: The OS image type to use on node pool instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:.vault.azure.net/secrets//`.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each node pool machine. When unspecified, it defaults to a 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: SSH configuration for how to access the node pool machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying Azure\n resources for this node pool. This currently only includes Virtual\n Machine Scale Sets. Specify at most 50 pairs containing alphanumerics,\n spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n See (/anthos/clusters/docs/azure/reference/supported-vms) for options.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently pending changes to\n the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The current state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The ARM ID of the subnet where the node pool VMs run. Make\n sure it's a subnet under the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version (e.g. `1.19.10-gke.1000`) running on\n this node pool.\n") +var YAML_node_pool = []byte("info:\n title: ContainerAzure/NodePool\n description: An Anthos node pool running on Azure.\n x-dcl-struct-name: NodePool\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters.azureNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{cluster}}/azureNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - version\n - config\n - subnetId\n - autoscaling\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Keys can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n x-kubernetes-immutable: true\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the node pool. Must be >= min_node_count.\n x-kubernetes-immutable: true\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the node pool. Must be >= 1\n and <= max_node_count.\n x-kubernetes-immutable: true\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: Optional. The Azure availability zone of the nodes in this\n nodepool. When unspecified, it defaults to `1`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The azureCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The node configuration of the node pool.\n x-kubernetes-immutable: true\n required:\n - sshConfig\n properties:\n imageType:\n type: string\n x-dcl-go-name: ImageType\n description: The OS image type to use on node pool instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:.vault.azure.net/secrets//`.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each node pool machine. When unspecified, it defaults to a 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: SSH configuration for how to access the node pool machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying Azure\n resources for this node pool. This currently only includes Virtual\n Machine Scale Sets. Specify at most 50 pairs containing alphanumerics,\n spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n See (/anthos/clusters/docs/azure/reference/supported-vms) for options.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently pending changes to\n the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The current state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The ARM ID of the subnet where the node pool VMs run. Make\n sure it's a subnet under the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version (e.g. `1.19.10-gke.1000`) running on\n this node pool.\n") -// 12132 bytes -// MD5: 43b8ea05cb1a47f4108b3e3df67abcc4 +// 12157 bytes +// MD5: 28126a480dcfc51276cf637a81b90c96 diff --git a/services/google/containerazure/beta/node_pool_schema.go b/services/google/containerazure/beta/node_pool_schema.go index 3efcae0a2e..17c61c7abf 100755 --- a/services/google/containerazure/beta/node_pool_schema.go +++ b/services/google/containerazure/beta/node_pool_schema.go @@ -23,6 +23,7 @@ func DCLNodePoolSchema() *dcl.Schema { Title: "ContainerAzure/NodePool", Description: "An Anthos node pool running on Azure.", StructName: "NodePool", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters.azureNodePools", diff --git a/services/google/containerazure/cluster.yaml b/services/google/containerazure/cluster.yaml index e9f8bd1f9a..8232f100b2 100755 --- a/services/google/containerazure/cluster.yaml +++ b/services/google/containerazure/cluster.yaml @@ -15,6 +15,7 @@ info: title: ContainerAzure/Cluster description: An Anthos cluster running on Azure. x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containerazure/cluster_schema.go b/services/google/containerazure/cluster_schema.go index c231d41c39..df63084906 100755 --- a/services/google/containerazure/cluster_schema.go +++ b/services/google/containerazure/cluster_schema.go @@ -23,6 +23,7 @@ func DCLClusterSchema() *dcl.Schema { Title: "ContainerAzure/Cluster", Description: "An Anthos cluster running on Azure.", StructName: "Cluster", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters", diff --git a/services/google/containerazure/cluster_yaml_embed.go b/services/google/containerazure/cluster_yaml_embed.go index 9e1ef87f57..d266a45057 100755 --- a/services/google/containerazure/cluster_yaml_embed.go +++ b/services/google/containerazure/cluster_yaml_embed.go @@ -17,7 +17,7 @@ package containerazure // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/cluster.yaml -var YAML_cluster = []byte("info:\n title: ContainerAzure/Cluster\n description: An Anthos cluster running on Azure.\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - azureRegion\n - resourceGroupId\n - client\n - networking\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Keys can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n x-kubernetes-immutable: true\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users that can perform operations as a cluster admin. A\n new ClusterRoleBinding will be created to grant the cluster-admin\n ClusterRole to the users. Up to ten admin users can be provided. For\n more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n azureRegion:\n type: string\n x-dcl-go-name: AzureRegion\n description: The Azure region where the cluster runs. Each Google Cloud\n region supports a subset of nearby Azure regions. You can call to list\n all supported Azure regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n client:\n type: string\n x-dcl-go-name: Client\n description: Name of the AzureClient. The `AzureClient` resource must reside\n on the same GCP project and region as the `AzureCluster`. `AzureClient`\n names are formatted as `projects//locations//azureClients/`.\n See Resource Names (https:cloud.google.com/apis/design/resource_names)\n for more details on Google Cloud resource names.\n x-dcl-references:\n - resource: ContainerAzure/AzureClient\n field: name\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetId\n - sshConfig\n properties:\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: Optional. Configuration related to application-layer secrets\n encryption.\n x-kubernetes-immutable: true\n required:\n - keyId\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: 'The ARM ID of the Azure Key Vault key to encrypt /\n decrypt data. For example: `/subscriptions//resourceGroups//providers/Microsoft.KeyVault/vaults//keys/`\n Encryption will always take the latest version of the key and\n hence specific version is not supported.'\n x-kubernetes-immutable: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. When unspecified, it defaults to\n a 8-GiB Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:.vault.azure.net/secrets//`.\n x-kubernetes-immutable: true\n replicaPlacements:\n type: array\n x-dcl-go-name: ReplicaPlacements\n description: Configuration for where to place the control plane replicas.\n Up to three replica placement instances can be specified. If replica_placements\n is set, the replica placement instances will be applied to the three\n control plane replicas as evenly as possible.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterControlPlaneReplicaPlacements\n required:\n - subnetId\n - azureAvailabilityZone\n properties:\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: For a given replica, the Azure availability zone\n where to provision the control plane VM and the ETCD disk.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: For a given replica, the ARM ID of the subnet where\n the control plane VM is deployed. Make sure it's a subnet under\n the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. When unspecified, it defaults to 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: SSH configuration for how to access the underlying control\n plane machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: 'The ARM ID of the subnet where the control plane VMs are\n deployed. Example: `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default`.'\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying control\n plane Azure resources.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling GetAzureServerConfig.\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects//locations/global/membership/.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - virtualNetworkId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: The IP address range of the pods in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All pods in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: The IP address range for services in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All services in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creating a cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n virtualNetworkId:\n type: string\n x-dcl-go-name: VirtualNetworkId\n description: 'The Azure Resource Manager (ARM) ID of the VNet associated\n with your cluster. All components in the cluster (i.e. control plane\n and node pools) run on a single VNet. Example: `/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/*`\n This field cannot be changed after creation.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: 'The ARM ID of the resource group where the cluster resources\n are deployed. For example: `/subscriptions/*/resourceGroups/*`'\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n") +var YAML_cluster = []byte("info:\n title: ContainerAzure/Cluster\n description: An Anthos cluster running on Azure.\n x-dcl-struct-name: Cluster\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - azureRegion\n - resourceGroupId\n - client\n - networking\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Keys can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n x-kubernetes-immutable: true\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users that can perform operations as a cluster admin. A\n new ClusterRoleBinding will be created to grant the cluster-admin\n ClusterRole to the users. Up to ten admin users can be provided. For\n more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n azureRegion:\n type: string\n x-dcl-go-name: AzureRegion\n description: The Azure region where the cluster runs. Each Google Cloud\n region supports a subset of nearby Azure regions. You can call to list\n all supported Azure regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n client:\n type: string\n x-dcl-go-name: Client\n description: Name of the AzureClient. The `AzureClient` resource must reside\n on the same GCP project and region as the `AzureCluster`. `AzureClient`\n names are formatted as `projects//locations//azureClients/`.\n See Resource Names (https:cloud.google.com/apis/design/resource_names)\n for more details on Google Cloud resource names.\n x-dcl-references:\n - resource: ContainerAzure/AzureClient\n field: name\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetId\n - sshConfig\n properties:\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: Optional. Configuration related to application-layer secrets\n encryption.\n x-kubernetes-immutable: true\n required:\n - keyId\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: 'The ARM ID of the Azure Key Vault key to encrypt /\n decrypt data. For example: `/subscriptions//resourceGroups//providers/Microsoft.KeyVault/vaults//keys/`\n Encryption will always take the latest version of the key and\n hence specific version is not supported.'\n x-kubernetes-immutable: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. When unspecified, it defaults to\n a 8-GiB Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:.vault.azure.net/secrets//`.\n x-kubernetes-immutable: true\n replicaPlacements:\n type: array\n x-dcl-go-name: ReplicaPlacements\n description: Configuration for where to place the control plane replicas.\n Up to three replica placement instances can be specified. If replica_placements\n is set, the replica placement instances will be applied to the three\n control plane replicas as evenly as possible.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterControlPlaneReplicaPlacements\n required:\n - subnetId\n - azureAvailabilityZone\n properties:\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: For a given replica, the Azure availability zone\n where to provision the control plane VM and the ETCD disk.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: For a given replica, the ARM ID of the subnet where\n the control plane VM is deployed. Make sure it's a subnet under\n the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. When unspecified, it defaults to 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: SSH configuration for how to access the underlying control\n plane machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: 'The ARM ID of the subnet where the control plane VMs are\n deployed. Example: `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default`.'\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying control\n plane Azure resources.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling GetAzureServerConfig.\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects//locations/global/membership/.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - virtualNetworkId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: The IP address range of the pods in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All pods in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: The IP address range for services in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All services in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creating a cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n virtualNetworkId:\n type: string\n x-dcl-go-name: VirtualNetworkId\n description: 'The Azure Resource Manager (ARM) ID of the VNet associated\n with your cluster. All components in the cluster (i.e. control plane\n and node pools) run on a single VNet. Example: `/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/*`\n This field cannot be changed after creation.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: 'The ARM ID of the resource group where the cluster resources\n are deployed. For example: `/subscriptions/*/resourceGroups/*`'\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n") -// 20145 bytes -// MD5: f7596812a711e75a5a2d9f430b6fd258 +// 20170 bytes +// MD5: 16ade0e222f44214262dddb22938e74e diff --git a/services/google/containerazure/node_pool.yaml b/services/google/containerazure/node_pool.yaml index 5d686b220e..86a8faa3d4 100755 --- a/services/google/containerazure/node_pool.yaml +++ b/services/google/containerazure/node_pool.yaml @@ -15,6 +15,7 @@ info: title: ContainerAzure/NodePool description: An Anthos node pool running on Azure. x-dcl-struct-name: NodePool + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API reference diff --git a/services/google/containerazure/node_pool_schema.go b/services/google/containerazure/node_pool_schema.go index 5197b4757e..de11c91a00 100755 --- a/services/google/containerazure/node_pool_schema.go +++ b/services/google/containerazure/node_pool_schema.go @@ -23,6 +23,7 @@ func DCLNodePoolSchema() *dcl.Schema { Title: "ContainerAzure/NodePool", Description: "An Anthos node pool running on Azure.", StructName: "NodePool", + HasCreate: true, Reference: &dcl.Link{ Text: "API reference", URL: "https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters.azureNodePools", diff --git a/services/google/containerazure/node_pool_yaml_embed.go b/services/google/containerazure/node_pool_yaml_embed.go index 8b449a8522..de4926194b 100755 --- a/services/google/containerazure/node_pool_yaml_embed.go +++ b/services/google/containerazure/node_pool_yaml_embed.go @@ -17,7 +17,7 @@ package containerazure // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/node_pool.yaml -var YAML_node_pool = []byte("info:\n title: ContainerAzure/NodePool\n description: An Anthos node pool running on Azure.\n x-dcl-struct-name: NodePool\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters.azureNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{cluster}}/azureNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - version\n - config\n - subnetId\n - autoscaling\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Keys can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n x-kubernetes-immutable: true\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the node pool. Must be >= min_node_count.\n x-kubernetes-immutable: true\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the node pool. Must be >= 1\n and <= max_node_count.\n x-kubernetes-immutable: true\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: Optional. The Azure availability zone of the nodes in this\n nodepool. When unspecified, it defaults to `1`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The azureCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The node configuration of the node pool.\n x-kubernetes-immutable: true\n required:\n - sshConfig\n properties:\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:.vault.azure.net/secrets//`.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each node pool machine. When unspecified, it defaults to a 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: SSH configuration for how to access the node pool machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying Azure\n resources for this node pool. This currently only includes Virtual\n Machine Scale Sets. Specify at most 50 pairs containing alphanumerics,\n spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n See (/anthos/clusters/docs/azure/reference/supported-vms) for options.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently pending changes to\n the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The current state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The ARM ID of the subnet where the node pool VMs run. Make\n sure it's a subnet under the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version (e.g. `1.19.10-gke.1000`) running on\n this node pool.\n") +var YAML_node_pool = []byte("info:\n title: ContainerAzure/NodePool\n description: An Anthos node pool running on Azure.\n x-dcl-struct-name: NodePool\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters.azureNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: NodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{cluster}}/azureNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - version\n - config\n - subnetId\n - autoscaling\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Keys can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n x-kubernetes-immutable: true\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the node pool. Must be >= min_node_count.\n x-kubernetes-immutable: true\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the node pool. Must be >= 1\n and <= max_node_count.\n x-kubernetes-immutable: true\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: Optional. The Azure availability zone of the nodes in this\n nodepool. When unspecified, it defaults to `1`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The azureCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The node configuration of the node pool.\n x-kubernetes-immutable: true\n required:\n - sshConfig\n properties:\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:.vault.azure.net/secrets//`.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each node pool machine. When unspecified, it defaults to a 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: SSH configuration for how to access the node pool machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying Azure\n resources for this node pool. This currently only includes Virtual\n Machine Scale Sets. Specify at most 50 pairs containing alphanumerics,\n spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n See (/anthos/clusters/docs/azure/reference/supported-vms) for options.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently pending changes to\n the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The current state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The ARM ID of the subnet where the node pool VMs run. Make\n sure it's a subnet under the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version (e.g. `1.19.10-gke.1000`) running on\n this node pool.\n") -// 11883 bytes -// MD5: a06597ffd7542c7f1f267dc6b769e725 +// 11908 bytes +// MD5: c27fb3a6a559a3390728707cafd47cad diff --git a/services/google/datafusion/alpha/instance.yaml b/services/google/datafusion/alpha/instance.yaml index 5a4b1bce5f..5b52932208 100755 --- a/services/google/datafusion/alpha/instance.yaml +++ b/services/google/datafusion/alpha/instance.yaml @@ -15,6 +15,7 @@ info: title: DataFusion/Instance description: The DataFusion Instance resource x-dcl-struct-name: Instance + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/datafusion/alpha/instance_alpha_yaml_embed.go b/services/google/datafusion/alpha/instance_alpha_yaml_embed.go index a1691fa007..770c2af94f 100755 --- a/services/google/datafusion/alpha/instance_alpha_yaml_embed.go +++ b/services/google/datafusion/alpha/instance_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/datafusion/alpha/instance.yaml -var YAML_instance = []byte("info:\n title: DataFusion/Instance\n description: The DataFusion Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/locations/{{location}}/instances/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - project\n - location\n properties:\n apiEndpoint:\n type: string\n x-dcl-go-name: ApiEndpoint\n readOnly: true\n description: Output only. Endpoint on which the REST APIs is accessible.\n x-kubernetes-immutable: true\n availableVersion:\n type: array\n x-dcl-go-name: AvailableVersion\n readOnly: true\n description: Available versions that the instance can be upgraded to.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceAvailableVersion\n properties:\n availableFeatures:\n type: array\n x-dcl-go-name: AvailableFeatures\n readOnly: true\n description: Represents a list of available feature names for a given\n version.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n defaultVersion:\n type: boolean\n x-dcl-go-name: DefaultVersion\n readOnly: true\n description: Whether this is currently the default version for Cloud\n Data Fusion\n x-kubernetes-immutable: true\n versionNumber:\n type: string\n x-dcl-go-name: VersionNumber\n readOnly: true\n description: The version number of the Data Fusion instance, such\n as '6.0.1.0'.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the instance was created.\n x-kubernetes-immutable: true\n dataprocServiceAccount:\n type: string\n x-dcl-go-name: DataprocServiceAccount\n description: User-managed service account to set on Dataproc when Cloud\n Data Fusion creates Dataproc to run data processing pipelines. This allows\n users to have fine-grained access control on Dataproc's accesses to cloud\n resources.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of this instance.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name for an instance.\n x-kubernetes-immutable: true\n enableStackdriverLogging:\n type: boolean\n x-dcl-go-name: EnableStackdriverLogging\n description: Option to enable Stackdriver Logging.\n enableStackdriverMonitoring:\n type: boolean\n x-dcl-go-name: EnableStackdriverMonitoring\n description: Option to enable Stackdriver Monitoring.\n gcsBucket:\n type: string\n x-dcl-go-name: GcsBucket\n readOnly: true\n description: Output only. Cloud Storage bucket generated by Data Fusion\n in the customer project.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The resource labels for instance to use to annotate any related\n underlying resources such as GCE VMs. The character '=' is not allowed\n to be used within the labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: InstanceNetworkConfig\n description: Network configuration options. These are required when a private\n Data Fusion instance is to be created.\n x-kubernetes-immutable: true\n properties:\n ipAllocation:\n type: string\n x-dcl-go-name: IPAllocation\n description: The IP range in CIDR notation to use for the managed Data\n Fusion instance nodes. This range must not overlap with any other\n ranges used in the customer network.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Name of the network in the customer project with which\n the Tenant Project will be peered for executing pipelines. In case\n of shared VPC where the network resides in another host project the\n network should specified in the form of projects/{host-project-id}/global/networks/{network}\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n options:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Options\n description: Map of additional options used to configure the behavior of\n Data Fusion instance.\n x-kubernetes-immutable: true\n p4ServiceAccount:\n type: string\n x-dcl-go-name: P4ServiceAccount\n readOnly: true\n description: Output only. P4 service account for the customer project.\n x-kubernetes-immutable: true\n privateInstance:\n type: boolean\n x-dcl-go-name: PrivateInstance\n description: Specifies whether the Data Fusion instance should be private.\n If set to true, all Data Fusion nodes will have private IP addresses and\n will not be able to access the public internet.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceEndpoint:\n type: string\n x-dcl-go-name: ServiceEndpoint\n readOnly: true\n description: Output only. Endpoint on which the Data Fusion UI is accessible.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. The current state of this Data Fusion instance.\n Possible values: STATE_UNSPECIFIED, ENABLED, DISABLED, UNKNOWN'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLED\n - DISABLED\n - UNKNOWN\n stateMessage:\n type: string\n x-dcl-go-name: StateMessage\n readOnly: true\n description: Output only. Additional information about the current state\n of this Data Fusion instance if available.\n x-kubernetes-immutable: true\n tenantProjectId:\n type: string\n x-dcl-go-name: TenantProjectId\n readOnly: true\n description: Output only. The name of the tenant project.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceTypeEnum\n description: 'Required. Instance type. Possible values: TYPE_UNSPECIFIED,\n BASIC, ENTERPRISE, DEVELOPER'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - BASIC\n - ENTERPRISE\n - DEVELOPER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the instance was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Current version of the Data Fusion.\n zone:\n type: string\n x-dcl-go-name: Zone\n description: Name of the zone in which the Data Fusion instance will be\n created. Only DEVELOPER instances use this field.\n x-kubernetes-immutable: true\n") +var YAML_instance = []byte("info:\n title: DataFusion/Instance\n description: The DataFusion Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/locations/{{location}}/instances/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - project\n - location\n properties:\n apiEndpoint:\n type: string\n x-dcl-go-name: ApiEndpoint\n readOnly: true\n description: Output only. Endpoint on which the REST APIs is accessible.\n x-kubernetes-immutable: true\n availableVersion:\n type: array\n x-dcl-go-name: AvailableVersion\n readOnly: true\n description: Available versions that the instance can be upgraded to.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceAvailableVersion\n properties:\n availableFeatures:\n type: array\n x-dcl-go-name: AvailableFeatures\n readOnly: true\n description: Represents a list of available feature names for a given\n version.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n defaultVersion:\n type: boolean\n x-dcl-go-name: DefaultVersion\n readOnly: true\n description: Whether this is currently the default version for Cloud\n Data Fusion\n x-kubernetes-immutable: true\n versionNumber:\n type: string\n x-dcl-go-name: VersionNumber\n readOnly: true\n description: The version number of the Data Fusion instance, such\n as '6.0.1.0'.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the instance was created.\n x-kubernetes-immutable: true\n dataprocServiceAccount:\n type: string\n x-dcl-go-name: DataprocServiceAccount\n description: User-managed service account to set on Dataproc when Cloud\n Data Fusion creates Dataproc to run data processing pipelines. This allows\n users to have fine-grained access control on Dataproc's accesses to cloud\n resources.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of this instance.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name for an instance.\n x-kubernetes-immutable: true\n enableStackdriverLogging:\n type: boolean\n x-dcl-go-name: EnableStackdriverLogging\n description: Option to enable Stackdriver Logging.\n enableStackdriverMonitoring:\n type: boolean\n x-dcl-go-name: EnableStackdriverMonitoring\n description: Option to enable Stackdriver Monitoring.\n gcsBucket:\n type: string\n x-dcl-go-name: GcsBucket\n readOnly: true\n description: Output only. Cloud Storage bucket generated by Data Fusion\n in the customer project.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The resource labels for instance to use to annotate any related\n underlying resources such as GCE VMs. The character '=' is not allowed\n to be used within the labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: InstanceNetworkConfig\n description: Network configuration options. These are required when a private\n Data Fusion instance is to be created.\n x-kubernetes-immutable: true\n properties:\n ipAllocation:\n type: string\n x-dcl-go-name: IPAllocation\n description: The IP range in CIDR notation to use for the managed Data\n Fusion instance nodes. This range must not overlap with any other\n ranges used in the customer network.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Name of the network in the customer project with which\n the Tenant Project will be peered for executing pipelines. In case\n of shared VPC where the network resides in another host project the\n network should specified in the form of projects/{host-project-id}/global/networks/{network}\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n options:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Options\n description: Map of additional options used to configure the behavior of\n Data Fusion instance.\n x-kubernetes-immutable: true\n p4ServiceAccount:\n type: string\n x-dcl-go-name: P4ServiceAccount\n readOnly: true\n description: Output only. P4 service account for the customer project.\n x-kubernetes-immutable: true\n privateInstance:\n type: boolean\n x-dcl-go-name: PrivateInstance\n description: Specifies whether the Data Fusion instance should be private.\n If set to true, all Data Fusion nodes will have private IP addresses and\n will not be able to access the public internet.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceEndpoint:\n type: string\n x-dcl-go-name: ServiceEndpoint\n readOnly: true\n description: Output only. Endpoint on which the Data Fusion UI is accessible.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. The current state of this Data Fusion instance.\n Possible values: STATE_UNSPECIFIED, ENABLED, DISABLED, UNKNOWN'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLED\n - DISABLED\n - UNKNOWN\n stateMessage:\n type: string\n x-dcl-go-name: StateMessage\n readOnly: true\n description: Output only. Additional information about the current state\n of this Data Fusion instance if available.\n x-kubernetes-immutable: true\n tenantProjectId:\n type: string\n x-dcl-go-name: TenantProjectId\n readOnly: true\n description: Output only. The name of the tenant project.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceTypeEnum\n description: 'Required. Instance type. Possible values: TYPE_UNSPECIFIED,\n BASIC, ENTERPRISE, DEVELOPER'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - BASIC\n - ENTERPRISE\n - DEVELOPER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the instance was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Current version of the Data Fusion.\n zone:\n type: string\n x-dcl-go-name: Zone\n description: Name of the zone in which the Data Fusion instance will be\n created. Only DEVELOPER instances use this field.\n x-kubernetes-immutable: true\n") -// 10376 bytes -// MD5: 7f2e0cde831b590cf6205c0227528eaa +// 10401 bytes +// MD5: eebc530acdbe803b65ce860861fe2d0a diff --git a/services/google/datafusion/alpha/instance_schema.go b/services/google/datafusion/alpha/instance_schema.go index e46ef6f852..f9667d5b5d 100755 --- a/services/google/datafusion/alpha/instance_schema.go +++ b/services/google/datafusion/alpha/instance_schema.go @@ -23,6 +23,7 @@ func DCLInstanceSchema() *dcl.Schema { Title: "DataFusion/Instance", Description: "The DataFusion Instance resource", StructName: "Instance", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/datafusion/beta/instance.yaml b/services/google/datafusion/beta/instance.yaml index 5a4b1bce5f..5b52932208 100755 --- a/services/google/datafusion/beta/instance.yaml +++ b/services/google/datafusion/beta/instance.yaml @@ -15,6 +15,7 @@ info: title: DataFusion/Instance description: The DataFusion Instance resource x-dcl-struct-name: Instance + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/datafusion/beta/instance_beta_yaml_embed.go b/services/google/datafusion/beta/instance_beta_yaml_embed.go index c4ee095046..a0601e56bb 100755 --- a/services/google/datafusion/beta/instance_beta_yaml_embed.go +++ b/services/google/datafusion/beta/instance_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/datafusion/beta/instance.yaml -var YAML_instance = []byte("info:\n title: DataFusion/Instance\n description: The DataFusion Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/locations/{{location}}/instances/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - project\n - location\n properties:\n apiEndpoint:\n type: string\n x-dcl-go-name: ApiEndpoint\n readOnly: true\n description: Output only. Endpoint on which the REST APIs is accessible.\n x-kubernetes-immutable: true\n availableVersion:\n type: array\n x-dcl-go-name: AvailableVersion\n readOnly: true\n description: Available versions that the instance can be upgraded to.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceAvailableVersion\n properties:\n availableFeatures:\n type: array\n x-dcl-go-name: AvailableFeatures\n readOnly: true\n description: Represents a list of available feature names for a given\n version.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n defaultVersion:\n type: boolean\n x-dcl-go-name: DefaultVersion\n readOnly: true\n description: Whether this is currently the default version for Cloud\n Data Fusion\n x-kubernetes-immutable: true\n versionNumber:\n type: string\n x-dcl-go-name: VersionNumber\n readOnly: true\n description: The version number of the Data Fusion instance, such\n as '6.0.1.0'.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the instance was created.\n x-kubernetes-immutable: true\n dataprocServiceAccount:\n type: string\n x-dcl-go-name: DataprocServiceAccount\n description: User-managed service account to set on Dataproc when Cloud\n Data Fusion creates Dataproc to run data processing pipelines. This allows\n users to have fine-grained access control on Dataproc's accesses to cloud\n resources.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of this instance.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name for an instance.\n x-kubernetes-immutable: true\n enableStackdriverLogging:\n type: boolean\n x-dcl-go-name: EnableStackdriverLogging\n description: Option to enable Stackdriver Logging.\n enableStackdriverMonitoring:\n type: boolean\n x-dcl-go-name: EnableStackdriverMonitoring\n description: Option to enable Stackdriver Monitoring.\n gcsBucket:\n type: string\n x-dcl-go-name: GcsBucket\n readOnly: true\n description: Output only. Cloud Storage bucket generated by Data Fusion\n in the customer project.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The resource labels for instance to use to annotate any related\n underlying resources such as GCE VMs. The character '=' is not allowed\n to be used within the labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: InstanceNetworkConfig\n description: Network configuration options. These are required when a private\n Data Fusion instance is to be created.\n x-kubernetes-immutable: true\n properties:\n ipAllocation:\n type: string\n x-dcl-go-name: IPAllocation\n description: The IP range in CIDR notation to use for the managed Data\n Fusion instance nodes. This range must not overlap with any other\n ranges used in the customer network.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Name of the network in the customer project with which\n the Tenant Project will be peered for executing pipelines. In case\n of shared VPC where the network resides in another host project the\n network should specified in the form of projects/{host-project-id}/global/networks/{network}\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n options:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Options\n description: Map of additional options used to configure the behavior of\n Data Fusion instance.\n x-kubernetes-immutable: true\n p4ServiceAccount:\n type: string\n x-dcl-go-name: P4ServiceAccount\n readOnly: true\n description: Output only. P4 service account for the customer project.\n x-kubernetes-immutable: true\n privateInstance:\n type: boolean\n x-dcl-go-name: PrivateInstance\n description: Specifies whether the Data Fusion instance should be private.\n If set to true, all Data Fusion nodes will have private IP addresses and\n will not be able to access the public internet.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceEndpoint:\n type: string\n x-dcl-go-name: ServiceEndpoint\n readOnly: true\n description: Output only. Endpoint on which the Data Fusion UI is accessible.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. The current state of this Data Fusion instance.\n Possible values: STATE_UNSPECIFIED, ENABLED, DISABLED, UNKNOWN'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLED\n - DISABLED\n - UNKNOWN\n stateMessage:\n type: string\n x-dcl-go-name: StateMessage\n readOnly: true\n description: Output only. Additional information about the current state\n of this Data Fusion instance if available.\n x-kubernetes-immutable: true\n tenantProjectId:\n type: string\n x-dcl-go-name: TenantProjectId\n readOnly: true\n description: Output only. The name of the tenant project.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceTypeEnum\n description: 'Required. Instance type. Possible values: TYPE_UNSPECIFIED,\n BASIC, ENTERPRISE, DEVELOPER'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - BASIC\n - ENTERPRISE\n - DEVELOPER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the instance was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Current version of the Data Fusion.\n zone:\n type: string\n x-dcl-go-name: Zone\n description: Name of the zone in which the Data Fusion instance will be\n created. Only DEVELOPER instances use this field.\n x-kubernetes-immutable: true\n") +var YAML_instance = []byte("info:\n title: DataFusion/Instance\n description: The DataFusion Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/locations/{{location}}/instances/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - project\n - location\n properties:\n apiEndpoint:\n type: string\n x-dcl-go-name: ApiEndpoint\n readOnly: true\n description: Output only. Endpoint on which the REST APIs is accessible.\n x-kubernetes-immutable: true\n availableVersion:\n type: array\n x-dcl-go-name: AvailableVersion\n readOnly: true\n description: Available versions that the instance can be upgraded to.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceAvailableVersion\n properties:\n availableFeatures:\n type: array\n x-dcl-go-name: AvailableFeatures\n readOnly: true\n description: Represents a list of available feature names for a given\n version.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n defaultVersion:\n type: boolean\n x-dcl-go-name: DefaultVersion\n readOnly: true\n description: Whether this is currently the default version for Cloud\n Data Fusion\n x-kubernetes-immutable: true\n versionNumber:\n type: string\n x-dcl-go-name: VersionNumber\n readOnly: true\n description: The version number of the Data Fusion instance, such\n as '6.0.1.0'.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the instance was created.\n x-kubernetes-immutable: true\n dataprocServiceAccount:\n type: string\n x-dcl-go-name: DataprocServiceAccount\n description: User-managed service account to set on Dataproc when Cloud\n Data Fusion creates Dataproc to run data processing pipelines. This allows\n users to have fine-grained access control on Dataproc's accesses to cloud\n resources.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of this instance.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name for an instance.\n x-kubernetes-immutable: true\n enableStackdriverLogging:\n type: boolean\n x-dcl-go-name: EnableStackdriverLogging\n description: Option to enable Stackdriver Logging.\n enableStackdriverMonitoring:\n type: boolean\n x-dcl-go-name: EnableStackdriverMonitoring\n description: Option to enable Stackdriver Monitoring.\n gcsBucket:\n type: string\n x-dcl-go-name: GcsBucket\n readOnly: true\n description: Output only. Cloud Storage bucket generated by Data Fusion\n in the customer project.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The resource labels for instance to use to annotate any related\n underlying resources such as GCE VMs. The character '=' is not allowed\n to be used within the labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: InstanceNetworkConfig\n description: Network configuration options. These are required when a private\n Data Fusion instance is to be created.\n x-kubernetes-immutable: true\n properties:\n ipAllocation:\n type: string\n x-dcl-go-name: IPAllocation\n description: The IP range in CIDR notation to use for the managed Data\n Fusion instance nodes. This range must not overlap with any other\n ranges used in the customer network.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Name of the network in the customer project with which\n the Tenant Project will be peered for executing pipelines. In case\n of shared VPC where the network resides in another host project the\n network should specified in the form of projects/{host-project-id}/global/networks/{network}\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n options:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Options\n description: Map of additional options used to configure the behavior of\n Data Fusion instance.\n x-kubernetes-immutable: true\n p4ServiceAccount:\n type: string\n x-dcl-go-name: P4ServiceAccount\n readOnly: true\n description: Output only. P4 service account for the customer project.\n x-kubernetes-immutable: true\n privateInstance:\n type: boolean\n x-dcl-go-name: PrivateInstance\n description: Specifies whether the Data Fusion instance should be private.\n If set to true, all Data Fusion nodes will have private IP addresses and\n will not be able to access the public internet.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceEndpoint:\n type: string\n x-dcl-go-name: ServiceEndpoint\n readOnly: true\n description: Output only. Endpoint on which the Data Fusion UI is accessible.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. The current state of this Data Fusion instance.\n Possible values: STATE_UNSPECIFIED, ENABLED, DISABLED, UNKNOWN'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLED\n - DISABLED\n - UNKNOWN\n stateMessage:\n type: string\n x-dcl-go-name: StateMessage\n readOnly: true\n description: Output only. Additional information about the current state\n of this Data Fusion instance if available.\n x-kubernetes-immutable: true\n tenantProjectId:\n type: string\n x-dcl-go-name: TenantProjectId\n readOnly: true\n description: Output only. The name of the tenant project.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: InstanceTypeEnum\n description: 'Required. Instance type. Possible values: TYPE_UNSPECIFIED,\n BASIC, ENTERPRISE, DEVELOPER'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - BASIC\n - ENTERPRISE\n - DEVELOPER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the instance was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Current version of the Data Fusion.\n zone:\n type: string\n x-dcl-go-name: Zone\n description: Name of the zone in which the Data Fusion instance will be\n created. Only DEVELOPER instances use this field.\n x-kubernetes-immutable: true\n") -// 10376 bytes -// MD5: 7f2e0cde831b590cf6205c0227528eaa +// 10401 bytes +// MD5: eebc530acdbe803b65ce860861fe2d0a diff --git a/services/google/datafusion/beta/instance_schema.go b/services/google/datafusion/beta/instance_schema.go index b72d305258..3ea425c5e0 100755 --- a/services/google/datafusion/beta/instance_schema.go +++ b/services/google/datafusion/beta/instance_schema.go @@ -23,6 +23,7 @@ func DCLInstanceSchema() *dcl.Schema { Title: "DataFusion/Instance", Description: "The DataFusion Instance resource", StructName: "Instance", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataplex/alpha/asset.yaml b/services/google/dataplex/alpha/asset.yaml index a6a8ce71ed..087d627244 100755 --- a/services/google/dataplex/alpha/asset.yaml +++ b/services/google/dataplex/alpha/asset.yaml @@ -15,6 +15,7 @@ info: title: Dataplex/Asset description: The Dataplex Asset resource x-dcl-struct-name: Asset + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataplex/alpha/asset_alpha_yaml_embed.go b/services/google/dataplex/alpha/asset_alpha_yaml_embed.go index e4b6edd13a..5a5bb211db 100755 --- a/services/google/dataplex/alpha/asset_alpha_yaml_embed.go +++ b/services/google/dataplex/alpha/asset_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataplex/alpha/asset.yaml -var YAML_asset = []byte("info:\n title: Dataplex/Asset\n description: The Dataplex Asset resource\n x-dcl-struct-name: Asset\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n apply:\n description: The function used to apply information about a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n delete:\n description: The function used to delete a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n deleteAll:\n description: The function used to delete all Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Asset:\n title: Asset\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{zone}}/assets/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - resourceSpec\n - project\n - location\n - lake\n - zone\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the asset was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the asset.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: AssetDiscoverySpec\n description: Optional. Specification of the discovery feature applied to\n data referenced by this asset. When this spec is left unset, the asset\n will use the spec set on the parent zone.\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: AssetDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Optional. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: AssetDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n discoveryStatus:\n type: object\n x-dcl-go-name: DiscoveryStatus\n x-dcl-go-type: AssetDiscoveryStatus\n readOnly: true\n description: Output only. Status of the discovery feature applied to data\n referenced by this asset.\n properties:\n lastRunDuration:\n type: string\n x-dcl-go-name: LastRunDuration\n description: The duration of the last discovery run.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n description: The start time of the last discovery run.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetDiscoveryStatusStateEnum\n description: 'The current status of the discovery feature. Possible\n values: STATE_UNSPECIFIED, SCHEDULED, IN_PROGRESS, PAUSED, DISABLED'\n enum:\n - STATE_UNSPECIFIED\n - SCHEDULED\n - IN_PROGRESS\n - PAUSED\n - DISABLED\n stats:\n type: object\n x-dcl-go-name: Stats\n x-dcl-go-type: AssetDiscoveryStatusStats\n description: Data Stats of the asset reported by discovery.\n properties:\n dataItems:\n type: integer\n format: int64\n x-dcl-go-name: DataItems\n description: The count of data items within the referenced resource.\n dataSize:\n type: integer\n format: int64\n x-dcl-go-name: DataSize\n description: The number of stored data bytes within the referenced\n resource.\n filesets:\n type: integer\n format: int64\n x-dcl-go-name: Filesets\n description: The count of fileset entities within the referenced\n resource.\n tables:\n type: integer\n format: int64\n x-dcl-go-name: Tables\n description: The count of table entities within the referenced resource.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the asset.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the asset.\n x-dcl-references:\n - resource: Dataplex/Asset\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: AssetResourceSpec\n description: Required. Specification of the resource that is referenced\n by this asset.\n required:\n - type\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. Relative name of the cloud resource that contains\n the data that is being managed within a lake. For example: `projects/{project_number}/buckets/{bucket_id}`\n `projects/{project_number}/datasets/{dataset_id}`'\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: AssetResourceSpecTypeEnum\n description: 'Required. Immutable. Type of resource. Possible values:\n TYPE_UNSPECIFIED, STORAGE_BUCKET, BIGQUERY_DATASET'\n enum:\n - TYPE_UNSPECIFIED\n - STORAGE_BUCKET\n - BIGQUERY_DATASET\n resourceStatus:\n type: object\n x-dcl-go-name: ResourceStatus\n x-dcl-go-type: AssetResourceStatus\n readOnly: true\n description: Output only. Status of the resource referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetResourceStatusStateEnum\n description: 'The current state of the managed resource. Possible values:\n STATE_UNSPECIFIED, READY, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n securityStatus:\n type: object\n x-dcl-go-name: SecurityStatus\n x-dcl-go-type: AssetSecurityStatus\n readOnly: true\n description: Output only. Status of the security policy applied to resource\n referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetSecurityStatusStateEnum\n description: 'The current state of the security policy applied to the\n attached resource. Possible values: STATE_UNSPECIFIED, READY, APPLYING,\n ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - APPLYING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetStateEnum\n readOnly: true\n description: 'Output only. Current state of the asset. Possible values:\n STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the asset.\n This ID will be different if the asset is deleted and re-created with\n the same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the asset was last updated.\n x-kubernetes-immutable: true\n zone:\n type: string\n x-dcl-go-name: Zone\n description: The zone for the resource\n x-kubernetes-immutable: true\n") +var YAML_asset = []byte("info:\n title: Dataplex/Asset\n description: The Dataplex Asset resource\n x-dcl-struct-name: Asset\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n apply:\n description: The function used to apply information about a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n delete:\n description: The function used to delete a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n deleteAll:\n description: The function used to delete all Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Asset:\n title: Asset\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{zone}}/assets/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - resourceSpec\n - project\n - location\n - lake\n - zone\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the asset was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the asset.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: AssetDiscoverySpec\n description: Optional. Specification of the discovery feature applied to\n data referenced by this asset. When this spec is left unset, the asset\n will use the spec set on the parent zone.\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: AssetDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Optional. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: AssetDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n discoveryStatus:\n type: object\n x-dcl-go-name: DiscoveryStatus\n x-dcl-go-type: AssetDiscoveryStatus\n readOnly: true\n description: Output only. Status of the discovery feature applied to data\n referenced by this asset.\n properties:\n lastRunDuration:\n type: string\n x-dcl-go-name: LastRunDuration\n description: The duration of the last discovery run.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n description: The start time of the last discovery run.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetDiscoveryStatusStateEnum\n description: 'The current status of the discovery feature. Possible\n values: STATE_UNSPECIFIED, SCHEDULED, IN_PROGRESS, PAUSED, DISABLED'\n enum:\n - STATE_UNSPECIFIED\n - SCHEDULED\n - IN_PROGRESS\n - PAUSED\n - DISABLED\n stats:\n type: object\n x-dcl-go-name: Stats\n x-dcl-go-type: AssetDiscoveryStatusStats\n description: Data Stats of the asset reported by discovery.\n properties:\n dataItems:\n type: integer\n format: int64\n x-dcl-go-name: DataItems\n description: The count of data items within the referenced resource.\n dataSize:\n type: integer\n format: int64\n x-dcl-go-name: DataSize\n description: The number of stored data bytes within the referenced\n resource.\n filesets:\n type: integer\n format: int64\n x-dcl-go-name: Filesets\n description: The count of fileset entities within the referenced\n resource.\n tables:\n type: integer\n format: int64\n x-dcl-go-name: Tables\n description: The count of table entities within the referenced resource.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the asset.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the asset.\n x-dcl-references:\n - resource: Dataplex/Asset\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: AssetResourceSpec\n description: Required. Specification of the resource that is referenced\n by this asset.\n required:\n - type\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. Relative name of the cloud resource that contains\n the data that is being managed within a lake. For example: `projects/{project_number}/buckets/{bucket_id}`\n `projects/{project_number}/datasets/{dataset_id}`'\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: AssetResourceSpecTypeEnum\n description: 'Required. Immutable. Type of resource. Possible values:\n TYPE_UNSPECIFIED, STORAGE_BUCKET, BIGQUERY_DATASET'\n enum:\n - TYPE_UNSPECIFIED\n - STORAGE_BUCKET\n - BIGQUERY_DATASET\n resourceStatus:\n type: object\n x-dcl-go-name: ResourceStatus\n x-dcl-go-type: AssetResourceStatus\n readOnly: true\n description: Output only. Status of the resource referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetResourceStatusStateEnum\n description: 'The current state of the managed resource. Possible values:\n STATE_UNSPECIFIED, READY, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n securityStatus:\n type: object\n x-dcl-go-name: SecurityStatus\n x-dcl-go-type: AssetSecurityStatus\n readOnly: true\n description: Output only. Status of the security policy applied to resource\n referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetSecurityStatusStateEnum\n description: 'The current state of the security policy applied to the\n attached resource. Possible values: STATE_UNSPECIFIED, READY, APPLYING,\n ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - APPLYING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetStateEnum\n readOnly: true\n description: 'Output only. Current state of the asset. Possible values:\n STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the asset.\n This ID will be different if the asset is deleted and re-created with\n the same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the asset was last updated.\n x-kubernetes-immutable: true\n zone:\n type: string\n x-dcl-go-name: Zone\n description: The zone for the resource\n x-kubernetes-immutable: true\n") -// 15045 bytes -// MD5: 50efb66a436850042f57ea1eb4f31ac3 +// 15070 bytes +// MD5: 41bc70d4d3d290508caa21c3796d9b11 diff --git a/services/google/dataplex/alpha/asset_schema.go b/services/google/dataplex/alpha/asset_schema.go index b8ddcf314c..3026ce988a 100755 --- a/services/google/dataplex/alpha/asset_schema.go +++ b/services/google/dataplex/alpha/asset_schema.go @@ -23,6 +23,7 @@ func DCLAssetSchema() *dcl.Schema { Title: "Dataplex/Asset", Description: "The Dataplex Asset resource", StructName: "Asset", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataplex/alpha/lake.yaml b/services/google/dataplex/alpha/lake.yaml index 98ee376932..c06b8a6214 100755 --- a/services/google/dataplex/alpha/lake.yaml +++ b/services/google/dataplex/alpha/lake.yaml @@ -15,6 +15,7 @@ info: title: Dataplex/Lake description: The Dataplex Lake resource x-dcl-struct-name: Lake + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataplex/alpha/lake_alpha_yaml_embed.go b/services/google/dataplex/alpha/lake_alpha_yaml_embed.go index cc6d957036..b2fc4faae9 100755 --- a/services/google/dataplex/alpha/lake_alpha_yaml_embed.go +++ b/services/google/dataplex/alpha/lake_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataplex/alpha/lake.yaml -var YAML_lake = []byte("info:\n title: Dataplex/Lake\n description: The Dataplex Lake resource\n x-dcl-struct-name: Lake\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n apply:\n description: The function used to apply information about a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n delete:\n description: The function used to delete a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n deleteAll:\n description: The function used to delete all Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Lake:\n title: Lake\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: LakeAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the lake.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the lake was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the lake.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User-defined labels for the lake.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n metastore:\n type: object\n x-dcl-go-name: Metastore\n x-dcl-go-type: LakeMetastore\n description: Optional. Settings to manage lake and Dataproc Metastore service\n instance association.\n properties:\n service:\n type: string\n x-dcl-go-name: Service\n description: 'Optional. A relative reference to the Dataproc Metastore\n (https://cloud.google.com/dataproc-metastore/docs) service associated\n with the lake: `projects/{project_id}/locations/{location_id}/services/{service_id}`'\n metastoreStatus:\n type: object\n x-dcl-go-name: MetastoreStatus\n x-dcl-go-type: LakeMetastoreStatus\n readOnly: true\n description: Output only. Metastore status of the lake.\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The URI of the endpoint used to access the Metastore service.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeMetastoreStatusStateEnum\n description: 'Current state of association. Possible values: STATE_UNSPECIFIED,\n NONE, READY, UPDATING, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - NONE\n - READY\n - UPDATING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the metastore status of the lake.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the lake.\n x-dcl-references:\n - resource: Dataplex/Lake\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n readOnly: true\n description: Output only. Service account associated with this lake. This\n service account must be authorized to access or operate on resources managed\n by the lake.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeStateEnum\n readOnly: true\n description: 'Output only. Current state of the lake. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the lake.\n This ID will be different if the lake is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the lake was last updated.\n x-kubernetes-immutable: true\n") +var YAML_lake = []byte("info:\n title: Dataplex/Lake\n description: The Dataplex Lake resource\n x-dcl-struct-name: Lake\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n apply:\n description: The function used to apply information about a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n delete:\n description: The function used to delete a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n deleteAll:\n description: The function used to delete all Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Lake:\n title: Lake\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: LakeAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the lake.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the lake was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the lake.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User-defined labels for the lake.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n metastore:\n type: object\n x-dcl-go-name: Metastore\n x-dcl-go-type: LakeMetastore\n description: Optional. Settings to manage lake and Dataproc Metastore service\n instance association.\n properties:\n service:\n type: string\n x-dcl-go-name: Service\n description: 'Optional. A relative reference to the Dataproc Metastore\n (https://cloud.google.com/dataproc-metastore/docs) service associated\n with the lake: `projects/{project_id}/locations/{location_id}/services/{service_id}`'\n metastoreStatus:\n type: object\n x-dcl-go-name: MetastoreStatus\n x-dcl-go-type: LakeMetastoreStatus\n readOnly: true\n description: Output only. Metastore status of the lake.\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The URI of the endpoint used to access the Metastore service.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeMetastoreStatusStateEnum\n description: 'Current state of association. Possible values: STATE_UNSPECIFIED,\n NONE, READY, UPDATING, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - NONE\n - READY\n - UPDATING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the metastore status of the lake.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the lake.\n x-dcl-references:\n - resource: Dataplex/Lake\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n readOnly: true\n description: Output only. Service account associated with this lake. This\n service account must be authorized to access or operate on resources managed\n by the lake.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeStateEnum\n readOnly: true\n description: 'Output only. Current state of the lake. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the lake.\n This ID will be different if the lake is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the lake was last updated.\n x-kubernetes-immutable: true\n") -// 6954 bytes -// MD5: 710afaf13d8ee1c0b58d12af20f9cfba +// 6979 bytes +// MD5: 9349256747be9ac964230d83c82ad27c diff --git a/services/google/dataplex/alpha/lake_schema.go b/services/google/dataplex/alpha/lake_schema.go index 09cbde2bb5..feb99448f7 100755 --- a/services/google/dataplex/alpha/lake_schema.go +++ b/services/google/dataplex/alpha/lake_schema.go @@ -23,6 +23,7 @@ func DCLLakeSchema() *dcl.Schema { Title: "Dataplex/Lake", Description: "The Dataplex Lake resource", StructName: "Lake", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataplex/alpha/zone.yaml b/services/google/dataplex/alpha/zone.yaml index c0d7c8f2ea..ddafc55edc 100755 --- a/services/google/dataplex/alpha/zone.yaml +++ b/services/google/dataplex/alpha/zone.yaml @@ -15,6 +15,7 @@ info: title: Dataplex/Zone description: The Dataplex Zone resource x-dcl-struct-name: Zone + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataplex/alpha/zone_alpha_yaml_embed.go b/services/google/dataplex/alpha/zone_alpha_yaml_embed.go index 8437959669..548c28e3da 100755 --- a/services/google/dataplex/alpha/zone_alpha_yaml_embed.go +++ b/services/google/dataplex/alpha/zone_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataplex/alpha/zone.yaml -var YAML_zone = []byte("info:\n title: Dataplex/Zone\n description: The Dataplex Zone resource\n x-dcl-struct-name: Zone\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n apply:\n description: The function used to apply information about a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n delete:\n description: The function used to delete a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n deleteAll:\n description: The function used to delete all Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Zone:\n title: Zone\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - resourceSpec\n - project\n - location\n - lake\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: ZoneAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the zone.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the zone was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the zone.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: ZoneDiscoverySpec\n description: Optional. Specification of the discovery feature applied to\n data in this zone.\n required:\n - enabled\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: ZoneDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Required. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: ZoneDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n x-dcl-server-default: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the zone.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the zone.\n x-dcl-references:\n - resource: Dataplex/Zone\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: ZoneResourceSpec\n description: Required. Specification of the resources that are referenced\n by the assets within this zone.\n required:\n - locationType\n properties:\n locationType:\n type: string\n x-dcl-go-name: LocationType\n x-dcl-go-type: ZoneResourceSpecLocationTypeEnum\n description: 'Required. Immutable. The location type of the resources\n that are allowed to be attached to the assets within this zone. Possible\n values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION'\n enum:\n - LOCATION_TYPE_UNSPECIFIED\n - SINGLE_REGION\n - MULTI_REGION\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ZoneStateEnum\n readOnly: true\n description: 'Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ZoneTypeEnum\n description: 'Required. Immutable. The type of the zone. Possible values:\n TYPE_UNSPECIFIED, RAW, CURATED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - RAW\n - CURATED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the zone.\n This ID will be different if the zone is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the zone was last updated.\n x-kubernetes-immutable: true\n") +var YAML_zone = []byte("info:\n title: Dataplex/Zone\n description: The Dataplex Zone resource\n x-dcl-struct-name: Zone\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n apply:\n description: The function used to apply information about a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n delete:\n description: The function used to delete a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n deleteAll:\n description: The function used to delete all Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Zone:\n title: Zone\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - resourceSpec\n - project\n - location\n - lake\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: ZoneAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the zone.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the zone was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the zone.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: ZoneDiscoverySpec\n description: Optional. Specification of the discovery feature applied to\n data in this zone.\n required:\n - enabled\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: ZoneDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Required. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: ZoneDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n x-dcl-server-default: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the zone.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the zone.\n x-dcl-references:\n - resource: Dataplex/Zone\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: ZoneResourceSpec\n description: Required. Specification of the resources that are referenced\n by the assets within this zone.\n required:\n - locationType\n properties:\n locationType:\n type: string\n x-dcl-go-name: LocationType\n x-dcl-go-type: ZoneResourceSpecLocationTypeEnum\n description: 'Required. Immutable. The location type of the resources\n that are allowed to be attached to the assets within this zone. Possible\n values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION'\n enum:\n - LOCATION_TYPE_UNSPECIFIED\n - SINGLE_REGION\n - MULTI_REGION\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ZoneStateEnum\n readOnly: true\n description: 'Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ZoneTypeEnum\n description: 'Required. Immutable. The type of the zone. Possible values:\n TYPE_UNSPECIFIED, RAW, CURATED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - RAW\n - CURATED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the zone.\n This ID will be different if the zone is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the zone was last updated.\n x-kubernetes-immutable: true\n") -// 10988 bytes -// MD5: 31f8bca0d1d91d404eaebd100f33ae01 +// 11013 bytes +// MD5: abeea4045cf131d97e5e0c4388f44b04 diff --git a/services/google/dataplex/alpha/zone_schema.go b/services/google/dataplex/alpha/zone_schema.go index f722969aa7..a1e3720226 100755 --- a/services/google/dataplex/alpha/zone_schema.go +++ b/services/google/dataplex/alpha/zone_schema.go @@ -23,6 +23,7 @@ func DCLZoneSchema() *dcl.Schema { Title: "Dataplex/Zone", Description: "The Dataplex Zone resource", StructName: "Zone", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataplex/asset.yaml b/services/google/dataplex/asset.yaml index a6a8ce71ed..087d627244 100755 --- a/services/google/dataplex/asset.yaml +++ b/services/google/dataplex/asset.yaml @@ -15,6 +15,7 @@ info: title: Dataplex/Asset description: The Dataplex Asset resource x-dcl-struct-name: Asset + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataplex/asset_schema.go b/services/google/dataplex/asset_schema.go index b87032ca9f..7c50e8c87b 100755 --- a/services/google/dataplex/asset_schema.go +++ b/services/google/dataplex/asset_schema.go @@ -23,6 +23,7 @@ func DCLAssetSchema() *dcl.Schema { Title: "Dataplex/Asset", Description: "The Dataplex Asset resource", StructName: "Asset", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataplex/asset_yaml_embed.go b/services/google/dataplex/asset_yaml_embed.go index a4548a9cf3..fcceca10b3 100755 --- a/services/google/dataplex/asset_yaml_embed.go +++ b/services/google/dataplex/asset_yaml_embed.go @@ -17,7 +17,7 @@ package dataplex // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataplex/asset.yaml -var YAML_asset = []byte("info:\n title: Dataplex/Asset\n description: The Dataplex Asset resource\n x-dcl-struct-name: Asset\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n apply:\n description: The function used to apply information about a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n delete:\n description: The function used to delete a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n deleteAll:\n description: The function used to delete all Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Asset:\n title: Asset\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{zone}}/assets/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - resourceSpec\n - project\n - location\n - lake\n - zone\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the asset was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the asset.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: AssetDiscoverySpec\n description: Optional. Specification of the discovery feature applied to\n data referenced by this asset. When this spec is left unset, the asset\n will use the spec set on the parent zone.\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: AssetDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Optional. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: AssetDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n discoveryStatus:\n type: object\n x-dcl-go-name: DiscoveryStatus\n x-dcl-go-type: AssetDiscoveryStatus\n readOnly: true\n description: Output only. Status of the discovery feature applied to data\n referenced by this asset.\n properties:\n lastRunDuration:\n type: string\n x-dcl-go-name: LastRunDuration\n description: The duration of the last discovery run.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n description: The start time of the last discovery run.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetDiscoveryStatusStateEnum\n description: 'The current status of the discovery feature. Possible\n values: STATE_UNSPECIFIED, SCHEDULED, IN_PROGRESS, PAUSED, DISABLED'\n enum:\n - STATE_UNSPECIFIED\n - SCHEDULED\n - IN_PROGRESS\n - PAUSED\n - DISABLED\n stats:\n type: object\n x-dcl-go-name: Stats\n x-dcl-go-type: AssetDiscoveryStatusStats\n description: Data Stats of the asset reported by discovery.\n properties:\n dataItems:\n type: integer\n format: int64\n x-dcl-go-name: DataItems\n description: The count of data items within the referenced resource.\n dataSize:\n type: integer\n format: int64\n x-dcl-go-name: DataSize\n description: The number of stored data bytes within the referenced\n resource.\n filesets:\n type: integer\n format: int64\n x-dcl-go-name: Filesets\n description: The count of fileset entities within the referenced\n resource.\n tables:\n type: integer\n format: int64\n x-dcl-go-name: Tables\n description: The count of table entities within the referenced resource.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the asset.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the asset.\n x-dcl-references:\n - resource: Dataplex/Asset\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: AssetResourceSpec\n description: Required. Specification of the resource that is referenced\n by this asset.\n required:\n - type\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. Relative name of the cloud resource that contains\n the data that is being managed within a lake. For example: `projects/{project_number}/buckets/{bucket_id}`\n `projects/{project_number}/datasets/{dataset_id}`'\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: AssetResourceSpecTypeEnum\n description: 'Required. Immutable. Type of resource. Possible values:\n TYPE_UNSPECIFIED, STORAGE_BUCKET, BIGQUERY_DATASET'\n enum:\n - TYPE_UNSPECIFIED\n - STORAGE_BUCKET\n - BIGQUERY_DATASET\n resourceStatus:\n type: object\n x-dcl-go-name: ResourceStatus\n x-dcl-go-type: AssetResourceStatus\n readOnly: true\n description: Output only. Status of the resource referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetResourceStatusStateEnum\n description: 'The current state of the managed resource. Possible values:\n STATE_UNSPECIFIED, READY, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n securityStatus:\n type: object\n x-dcl-go-name: SecurityStatus\n x-dcl-go-type: AssetSecurityStatus\n readOnly: true\n description: Output only. Status of the security policy applied to resource\n referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetSecurityStatusStateEnum\n description: 'The current state of the security policy applied to the\n attached resource. Possible values: STATE_UNSPECIFIED, READY, APPLYING,\n ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - APPLYING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetStateEnum\n readOnly: true\n description: 'Output only. Current state of the asset. Possible values:\n STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the asset.\n This ID will be different if the asset is deleted and re-created with\n the same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the asset was last updated.\n x-kubernetes-immutable: true\n zone:\n type: string\n x-dcl-go-name: Zone\n description: The zone for the resource\n x-kubernetes-immutable: true\n") +var YAML_asset = []byte("info:\n title: Dataplex/Asset\n description: The Dataplex Asset resource\n x-dcl-struct-name: Asset\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n apply:\n description: The function used to apply information about a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n delete:\n description: The function used to delete a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n deleteAll:\n description: The function used to delete all Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Asset:\n title: Asset\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{zone}}/assets/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - resourceSpec\n - project\n - location\n - lake\n - zone\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the asset was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the asset.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: AssetDiscoverySpec\n description: Optional. Specification of the discovery feature applied to\n data referenced by this asset. When this spec is left unset, the asset\n will use the spec set on the parent zone.\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: AssetDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Optional. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: AssetDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n discoveryStatus:\n type: object\n x-dcl-go-name: DiscoveryStatus\n x-dcl-go-type: AssetDiscoveryStatus\n readOnly: true\n description: Output only. Status of the discovery feature applied to data\n referenced by this asset.\n properties:\n lastRunDuration:\n type: string\n x-dcl-go-name: LastRunDuration\n description: The duration of the last discovery run.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n description: The start time of the last discovery run.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetDiscoveryStatusStateEnum\n description: 'The current status of the discovery feature. Possible\n values: STATE_UNSPECIFIED, SCHEDULED, IN_PROGRESS, PAUSED, DISABLED'\n enum:\n - STATE_UNSPECIFIED\n - SCHEDULED\n - IN_PROGRESS\n - PAUSED\n - DISABLED\n stats:\n type: object\n x-dcl-go-name: Stats\n x-dcl-go-type: AssetDiscoveryStatusStats\n description: Data Stats of the asset reported by discovery.\n properties:\n dataItems:\n type: integer\n format: int64\n x-dcl-go-name: DataItems\n description: The count of data items within the referenced resource.\n dataSize:\n type: integer\n format: int64\n x-dcl-go-name: DataSize\n description: The number of stored data bytes within the referenced\n resource.\n filesets:\n type: integer\n format: int64\n x-dcl-go-name: Filesets\n description: The count of fileset entities within the referenced\n resource.\n tables:\n type: integer\n format: int64\n x-dcl-go-name: Tables\n description: The count of table entities within the referenced resource.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the asset.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the asset.\n x-dcl-references:\n - resource: Dataplex/Asset\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: AssetResourceSpec\n description: Required. Specification of the resource that is referenced\n by this asset.\n required:\n - type\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. Relative name of the cloud resource that contains\n the data that is being managed within a lake. For example: `projects/{project_number}/buckets/{bucket_id}`\n `projects/{project_number}/datasets/{dataset_id}`'\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: AssetResourceSpecTypeEnum\n description: 'Required. Immutable. Type of resource. Possible values:\n TYPE_UNSPECIFIED, STORAGE_BUCKET, BIGQUERY_DATASET'\n enum:\n - TYPE_UNSPECIFIED\n - STORAGE_BUCKET\n - BIGQUERY_DATASET\n resourceStatus:\n type: object\n x-dcl-go-name: ResourceStatus\n x-dcl-go-type: AssetResourceStatus\n readOnly: true\n description: Output only. Status of the resource referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetResourceStatusStateEnum\n description: 'The current state of the managed resource. Possible values:\n STATE_UNSPECIFIED, READY, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n securityStatus:\n type: object\n x-dcl-go-name: SecurityStatus\n x-dcl-go-type: AssetSecurityStatus\n readOnly: true\n description: Output only. Status of the security policy applied to resource\n referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetSecurityStatusStateEnum\n description: 'The current state of the security policy applied to the\n attached resource. Possible values: STATE_UNSPECIFIED, READY, APPLYING,\n ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - APPLYING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetStateEnum\n readOnly: true\n description: 'Output only. Current state of the asset. Possible values:\n STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the asset.\n This ID will be different if the asset is deleted and re-created with\n the same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the asset was last updated.\n x-kubernetes-immutable: true\n zone:\n type: string\n x-dcl-go-name: Zone\n description: The zone for the resource\n x-kubernetes-immutable: true\n") -// 15045 bytes -// MD5: 50efb66a436850042f57ea1eb4f31ac3 +// 15070 bytes +// MD5: 41bc70d4d3d290508caa21c3796d9b11 diff --git a/services/google/dataplex/beta/asset.yaml b/services/google/dataplex/beta/asset.yaml index a6a8ce71ed..087d627244 100755 --- a/services/google/dataplex/beta/asset.yaml +++ b/services/google/dataplex/beta/asset.yaml @@ -15,6 +15,7 @@ info: title: Dataplex/Asset description: The Dataplex Asset resource x-dcl-struct-name: Asset + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataplex/beta/asset_beta_yaml_embed.go b/services/google/dataplex/beta/asset_beta_yaml_embed.go index 0396db1917..f41ade21bf 100755 --- a/services/google/dataplex/beta/asset_beta_yaml_embed.go +++ b/services/google/dataplex/beta/asset_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataplex/beta/asset.yaml -var YAML_asset = []byte("info:\n title: Dataplex/Asset\n description: The Dataplex Asset resource\n x-dcl-struct-name: Asset\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n apply:\n description: The function used to apply information about a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n delete:\n description: The function used to delete a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n deleteAll:\n description: The function used to delete all Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Asset:\n title: Asset\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{zone}}/assets/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - resourceSpec\n - project\n - location\n - lake\n - zone\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the asset was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the asset.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: AssetDiscoverySpec\n description: Optional. Specification of the discovery feature applied to\n data referenced by this asset. When this spec is left unset, the asset\n will use the spec set on the parent zone.\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: AssetDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Optional. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: AssetDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n discoveryStatus:\n type: object\n x-dcl-go-name: DiscoveryStatus\n x-dcl-go-type: AssetDiscoveryStatus\n readOnly: true\n description: Output only. Status of the discovery feature applied to data\n referenced by this asset.\n properties:\n lastRunDuration:\n type: string\n x-dcl-go-name: LastRunDuration\n description: The duration of the last discovery run.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n description: The start time of the last discovery run.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetDiscoveryStatusStateEnum\n description: 'The current status of the discovery feature. Possible\n values: STATE_UNSPECIFIED, SCHEDULED, IN_PROGRESS, PAUSED, DISABLED'\n enum:\n - STATE_UNSPECIFIED\n - SCHEDULED\n - IN_PROGRESS\n - PAUSED\n - DISABLED\n stats:\n type: object\n x-dcl-go-name: Stats\n x-dcl-go-type: AssetDiscoveryStatusStats\n description: Data Stats of the asset reported by discovery.\n properties:\n dataItems:\n type: integer\n format: int64\n x-dcl-go-name: DataItems\n description: The count of data items within the referenced resource.\n dataSize:\n type: integer\n format: int64\n x-dcl-go-name: DataSize\n description: The number of stored data bytes within the referenced\n resource.\n filesets:\n type: integer\n format: int64\n x-dcl-go-name: Filesets\n description: The count of fileset entities within the referenced\n resource.\n tables:\n type: integer\n format: int64\n x-dcl-go-name: Tables\n description: The count of table entities within the referenced resource.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the asset.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the asset.\n x-dcl-references:\n - resource: Dataplex/Asset\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: AssetResourceSpec\n description: Required. Specification of the resource that is referenced\n by this asset.\n required:\n - type\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. Relative name of the cloud resource that contains\n the data that is being managed within a lake. For example: `projects/{project_number}/buckets/{bucket_id}`\n `projects/{project_number}/datasets/{dataset_id}`'\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: AssetResourceSpecTypeEnum\n description: 'Required. Immutable. Type of resource. Possible values:\n TYPE_UNSPECIFIED, STORAGE_BUCKET, BIGQUERY_DATASET'\n enum:\n - TYPE_UNSPECIFIED\n - STORAGE_BUCKET\n - BIGQUERY_DATASET\n resourceStatus:\n type: object\n x-dcl-go-name: ResourceStatus\n x-dcl-go-type: AssetResourceStatus\n readOnly: true\n description: Output only. Status of the resource referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetResourceStatusStateEnum\n description: 'The current state of the managed resource. Possible values:\n STATE_UNSPECIFIED, READY, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n securityStatus:\n type: object\n x-dcl-go-name: SecurityStatus\n x-dcl-go-type: AssetSecurityStatus\n readOnly: true\n description: Output only. Status of the security policy applied to resource\n referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetSecurityStatusStateEnum\n description: 'The current state of the security policy applied to the\n attached resource. Possible values: STATE_UNSPECIFIED, READY, APPLYING,\n ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - APPLYING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetStateEnum\n readOnly: true\n description: 'Output only. Current state of the asset. Possible values:\n STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the asset.\n This ID will be different if the asset is deleted and re-created with\n the same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the asset was last updated.\n x-kubernetes-immutable: true\n zone:\n type: string\n x-dcl-go-name: Zone\n description: The zone for the resource\n x-kubernetes-immutable: true\n") +var YAML_asset = []byte("info:\n title: Dataplex/Asset\n description: The Dataplex Asset resource\n x-dcl-struct-name: Asset\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n apply:\n description: The function used to apply information about a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n delete:\n description: The function used to delete a Asset\n parameters:\n - name: Asset\n required: true\n description: A full instance of a Asset\n deleteAll:\n description: The function used to delete all Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: zone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Asset:\n title: Asset\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{zone}}/assets/{{name}}\n x-dcl-locations:\n - zone\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - resourceSpec\n - project\n - location\n - lake\n - zone\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the asset was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the asset.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: AssetDiscoverySpec\n description: Optional. Specification of the discovery feature applied to\n data referenced by this asset. When this spec is left unset, the asset\n will use the spec set on the parent zone.\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: AssetDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Optional. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: AssetDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n discoveryStatus:\n type: object\n x-dcl-go-name: DiscoveryStatus\n x-dcl-go-type: AssetDiscoveryStatus\n readOnly: true\n description: Output only. Status of the discovery feature applied to data\n referenced by this asset.\n properties:\n lastRunDuration:\n type: string\n x-dcl-go-name: LastRunDuration\n description: The duration of the last discovery run.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n description: The start time of the last discovery run.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetDiscoveryStatusStateEnum\n description: 'The current status of the discovery feature. Possible\n values: STATE_UNSPECIFIED, SCHEDULED, IN_PROGRESS, PAUSED, DISABLED'\n enum:\n - STATE_UNSPECIFIED\n - SCHEDULED\n - IN_PROGRESS\n - PAUSED\n - DISABLED\n stats:\n type: object\n x-dcl-go-name: Stats\n x-dcl-go-type: AssetDiscoveryStatusStats\n description: Data Stats of the asset reported by discovery.\n properties:\n dataItems:\n type: integer\n format: int64\n x-dcl-go-name: DataItems\n description: The count of data items within the referenced resource.\n dataSize:\n type: integer\n format: int64\n x-dcl-go-name: DataSize\n description: The number of stored data bytes within the referenced\n resource.\n filesets:\n type: integer\n format: int64\n x-dcl-go-name: Filesets\n description: The count of fileset entities within the referenced\n resource.\n tables:\n type: integer\n format: int64\n x-dcl-go-name: Tables\n description: The count of table entities within the referenced resource.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the asset.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the asset.\n x-dcl-references:\n - resource: Dataplex/Asset\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: AssetResourceSpec\n description: Required. Specification of the resource that is referenced\n by this asset.\n required:\n - type\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. Relative name of the cloud resource that contains\n the data that is being managed within a lake. For example: `projects/{project_number}/buckets/{bucket_id}`\n `projects/{project_number}/datasets/{dataset_id}`'\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: AssetResourceSpecTypeEnum\n description: 'Required. Immutable. Type of resource. Possible values:\n TYPE_UNSPECIFIED, STORAGE_BUCKET, BIGQUERY_DATASET'\n enum:\n - TYPE_UNSPECIFIED\n - STORAGE_BUCKET\n - BIGQUERY_DATASET\n resourceStatus:\n type: object\n x-dcl-go-name: ResourceStatus\n x-dcl-go-type: AssetResourceStatus\n readOnly: true\n description: Output only. Status of the resource referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetResourceStatusStateEnum\n description: 'The current state of the managed resource. Possible values:\n STATE_UNSPECIFIED, READY, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n securityStatus:\n type: object\n x-dcl-go-name: SecurityStatus\n x-dcl-go-type: AssetSecurityStatus\n readOnly: true\n description: Output only. Status of the security policy applied to resource\n referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetSecurityStatusStateEnum\n description: 'The current state of the security policy applied to the\n attached resource. Possible values: STATE_UNSPECIFIED, READY, APPLYING,\n ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - APPLYING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetStateEnum\n readOnly: true\n description: 'Output only. Current state of the asset. Possible values:\n STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the asset.\n This ID will be different if the asset is deleted and re-created with\n the same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the asset was last updated.\n x-kubernetes-immutable: true\n zone:\n type: string\n x-dcl-go-name: Zone\n description: The zone for the resource\n x-kubernetes-immutable: true\n") -// 15045 bytes -// MD5: 50efb66a436850042f57ea1eb4f31ac3 +// 15070 bytes +// MD5: 41bc70d4d3d290508caa21c3796d9b11 diff --git a/services/google/dataplex/beta/asset_schema.go b/services/google/dataplex/beta/asset_schema.go index 0a8253ae69..0e30b619f4 100755 --- a/services/google/dataplex/beta/asset_schema.go +++ b/services/google/dataplex/beta/asset_schema.go @@ -23,6 +23,7 @@ func DCLAssetSchema() *dcl.Schema { Title: "Dataplex/Asset", Description: "The Dataplex Asset resource", StructName: "Asset", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataplex/beta/lake.yaml b/services/google/dataplex/beta/lake.yaml index 98ee376932..c06b8a6214 100755 --- a/services/google/dataplex/beta/lake.yaml +++ b/services/google/dataplex/beta/lake.yaml @@ -15,6 +15,7 @@ info: title: Dataplex/Lake description: The Dataplex Lake resource x-dcl-struct-name: Lake + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataplex/beta/lake_beta_yaml_embed.go b/services/google/dataplex/beta/lake_beta_yaml_embed.go index 7e78854ef0..caf48063a0 100755 --- a/services/google/dataplex/beta/lake_beta_yaml_embed.go +++ b/services/google/dataplex/beta/lake_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataplex/beta/lake.yaml -var YAML_lake = []byte("info:\n title: Dataplex/Lake\n description: The Dataplex Lake resource\n x-dcl-struct-name: Lake\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n apply:\n description: The function used to apply information about a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n delete:\n description: The function used to delete a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n deleteAll:\n description: The function used to delete all Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Lake:\n title: Lake\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: LakeAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the lake.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the lake was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the lake.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User-defined labels for the lake.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n metastore:\n type: object\n x-dcl-go-name: Metastore\n x-dcl-go-type: LakeMetastore\n description: Optional. Settings to manage lake and Dataproc Metastore service\n instance association.\n properties:\n service:\n type: string\n x-dcl-go-name: Service\n description: 'Optional. A relative reference to the Dataproc Metastore\n (https://cloud.google.com/dataproc-metastore/docs) service associated\n with the lake: `projects/{project_id}/locations/{location_id}/services/{service_id}`'\n metastoreStatus:\n type: object\n x-dcl-go-name: MetastoreStatus\n x-dcl-go-type: LakeMetastoreStatus\n readOnly: true\n description: Output only. Metastore status of the lake.\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The URI of the endpoint used to access the Metastore service.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeMetastoreStatusStateEnum\n description: 'Current state of association. Possible values: STATE_UNSPECIFIED,\n NONE, READY, UPDATING, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - NONE\n - READY\n - UPDATING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the metastore status of the lake.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the lake.\n x-dcl-references:\n - resource: Dataplex/Lake\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n readOnly: true\n description: Output only. Service account associated with this lake. This\n service account must be authorized to access or operate on resources managed\n by the lake.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeStateEnum\n readOnly: true\n description: 'Output only. Current state of the lake. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the lake.\n This ID will be different if the lake is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the lake was last updated.\n x-kubernetes-immutable: true\n") +var YAML_lake = []byte("info:\n title: Dataplex/Lake\n description: The Dataplex Lake resource\n x-dcl-struct-name: Lake\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n apply:\n description: The function used to apply information about a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n delete:\n description: The function used to delete a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n deleteAll:\n description: The function used to delete all Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Lake:\n title: Lake\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: LakeAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the lake.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the lake was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the lake.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User-defined labels for the lake.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n metastore:\n type: object\n x-dcl-go-name: Metastore\n x-dcl-go-type: LakeMetastore\n description: Optional. Settings to manage lake and Dataproc Metastore service\n instance association.\n properties:\n service:\n type: string\n x-dcl-go-name: Service\n description: 'Optional. A relative reference to the Dataproc Metastore\n (https://cloud.google.com/dataproc-metastore/docs) service associated\n with the lake: `projects/{project_id}/locations/{location_id}/services/{service_id}`'\n metastoreStatus:\n type: object\n x-dcl-go-name: MetastoreStatus\n x-dcl-go-type: LakeMetastoreStatus\n readOnly: true\n description: Output only. Metastore status of the lake.\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The URI of the endpoint used to access the Metastore service.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeMetastoreStatusStateEnum\n description: 'Current state of association. Possible values: STATE_UNSPECIFIED,\n NONE, READY, UPDATING, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - NONE\n - READY\n - UPDATING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the metastore status of the lake.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the lake.\n x-dcl-references:\n - resource: Dataplex/Lake\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n readOnly: true\n description: Output only. Service account associated with this lake. This\n service account must be authorized to access or operate on resources managed\n by the lake.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeStateEnum\n readOnly: true\n description: 'Output only. Current state of the lake. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the lake.\n This ID will be different if the lake is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the lake was last updated.\n x-kubernetes-immutable: true\n") -// 6954 bytes -// MD5: 710afaf13d8ee1c0b58d12af20f9cfba +// 6979 bytes +// MD5: 9349256747be9ac964230d83c82ad27c diff --git a/services/google/dataplex/beta/lake_schema.go b/services/google/dataplex/beta/lake_schema.go index 632e00cb07..1ee1a2588e 100755 --- a/services/google/dataplex/beta/lake_schema.go +++ b/services/google/dataplex/beta/lake_schema.go @@ -23,6 +23,7 @@ func DCLLakeSchema() *dcl.Schema { Title: "Dataplex/Lake", Description: "The Dataplex Lake resource", StructName: "Lake", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataplex/beta/zone.yaml b/services/google/dataplex/beta/zone.yaml index c0d7c8f2ea..ddafc55edc 100755 --- a/services/google/dataplex/beta/zone.yaml +++ b/services/google/dataplex/beta/zone.yaml @@ -15,6 +15,7 @@ info: title: Dataplex/Zone description: The Dataplex Zone resource x-dcl-struct-name: Zone + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataplex/beta/zone_beta_yaml_embed.go b/services/google/dataplex/beta/zone_beta_yaml_embed.go index 0ccab37235..2751ef9a46 100755 --- a/services/google/dataplex/beta/zone_beta_yaml_embed.go +++ b/services/google/dataplex/beta/zone_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataplex/beta/zone.yaml -var YAML_zone = []byte("info:\n title: Dataplex/Zone\n description: The Dataplex Zone resource\n x-dcl-struct-name: Zone\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n apply:\n description: The function used to apply information about a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n delete:\n description: The function used to delete a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n deleteAll:\n description: The function used to delete all Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Zone:\n title: Zone\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - resourceSpec\n - project\n - location\n - lake\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: ZoneAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the zone.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the zone was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the zone.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: ZoneDiscoverySpec\n description: Optional. Specification of the discovery feature applied to\n data in this zone.\n required:\n - enabled\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: ZoneDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Required. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: ZoneDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n x-dcl-server-default: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the zone.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the zone.\n x-dcl-references:\n - resource: Dataplex/Zone\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: ZoneResourceSpec\n description: Required. Specification of the resources that are referenced\n by the assets within this zone.\n required:\n - locationType\n properties:\n locationType:\n type: string\n x-dcl-go-name: LocationType\n x-dcl-go-type: ZoneResourceSpecLocationTypeEnum\n description: 'Required. Immutable. The location type of the resources\n that are allowed to be attached to the assets within this zone. Possible\n values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION'\n enum:\n - LOCATION_TYPE_UNSPECIFIED\n - SINGLE_REGION\n - MULTI_REGION\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ZoneStateEnum\n readOnly: true\n description: 'Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ZoneTypeEnum\n description: 'Required. Immutable. The type of the zone. Possible values:\n TYPE_UNSPECIFIED, RAW, CURATED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - RAW\n - CURATED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the zone.\n This ID will be different if the zone is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the zone was last updated.\n x-kubernetes-immutable: true\n") +var YAML_zone = []byte("info:\n title: Dataplex/Zone\n description: The Dataplex Zone resource\n x-dcl-struct-name: Zone\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n apply:\n description: The function used to apply information about a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n delete:\n description: The function used to delete a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n deleteAll:\n description: The function used to delete all Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Zone:\n title: Zone\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - resourceSpec\n - project\n - location\n - lake\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: ZoneAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the zone.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the zone was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the zone.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: ZoneDiscoverySpec\n description: Optional. Specification of the discovery feature applied to\n data in this zone.\n required:\n - enabled\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: ZoneDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Required. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: ZoneDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n x-dcl-server-default: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the zone.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the zone.\n x-dcl-references:\n - resource: Dataplex/Zone\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: ZoneResourceSpec\n description: Required. Specification of the resources that are referenced\n by the assets within this zone.\n required:\n - locationType\n properties:\n locationType:\n type: string\n x-dcl-go-name: LocationType\n x-dcl-go-type: ZoneResourceSpecLocationTypeEnum\n description: 'Required. Immutable. The location type of the resources\n that are allowed to be attached to the assets within this zone. Possible\n values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION'\n enum:\n - LOCATION_TYPE_UNSPECIFIED\n - SINGLE_REGION\n - MULTI_REGION\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ZoneStateEnum\n readOnly: true\n description: 'Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ZoneTypeEnum\n description: 'Required. Immutable. The type of the zone. Possible values:\n TYPE_UNSPECIFIED, RAW, CURATED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - RAW\n - CURATED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the zone.\n This ID will be different if the zone is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the zone was last updated.\n x-kubernetes-immutable: true\n") -// 10988 bytes -// MD5: 31f8bca0d1d91d404eaebd100f33ae01 +// 11013 bytes +// MD5: abeea4045cf131d97e5e0c4388f44b04 diff --git a/services/google/dataplex/beta/zone_schema.go b/services/google/dataplex/beta/zone_schema.go index 4f9413e0e7..40bd10a1a2 100755 --- a/services/google/dataplex/beta/zone_schema.go +++ b/services/google/dataplex/beta/zone_schema.go @@ -23,6 +23,7 @@ func DCLZoneSchema() *dcl.Schema { Title: "Dataplex/Zone", Description: "The Dataplex Zone resource", StructName: "Zone", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataplex/lake.yaml b/services/google/dataplex/lake.yaml index 98ee376932..c06b8a6214 100755 --- a/services/google/dataplex/lake.yaml +++ b/services/google/dataplex/lake.yaml @@ -15,6 +15,7 @@ info: title: Dataplex/Lake description: The Dataplex Lake resource x-dcl-struct-name: Lake + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataplex/lake_schema.go b/services/google/dataplex/lake_schema.go index 0af80e0bd9..b236aad89c 100755 --- a/services/google/dataplex/lake_schema.go +++ b/services/google/dataplex/lake_schema.go @@ -23,6 +23,7 @@ func DCLLakeSchema() *dcl.Schema { Title: "Dataplex/Lake", Description: "The Dataplex Lake resource", StructName: "Lake", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataplex/lake_yaml_embed.go b/services/google/dataplex/lake_yaml_embed.go index cd71fe542b..ec6040af96 100755 --- a/services/google/dataplex/lake_yaml_embed.go +++ b/services/google/dataplex/lake_yaml_embed.go @@ -17,7 +17,7 @@ package dataplex // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataplex/lake.yaml -var YAML_lake = []byte("info:\n title: Dataplex/Lake\n description: The Dataplex Lake resource\n x-dcl-struct-name: Lake\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n apply:\n description: The function used to apply information about a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n delete:\n description: The function used to delete a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n deleteAll:\n description: The function used to delete all Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Lake:\n title: Lake\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: LakeAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the lake.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the lake was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the lake.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User-defined labels for the lake.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n metastore:\n type: object\n x-dcl-go-name: Metastore\n x-dcl-go-type: LakeMetastore\n description: Optional. Settings to manage lake and Dataproc Metastore service\n instance association.\n properties:\n service:\n type: string\n x-dcl-go-name: Service\n description: 'Optional. A relative reference to the Dataproc Metastore\n (https://cloud.google.com/dataproc-metastore/docs) service associated\n with the lake: `projects/{project_id}/locations/{location_id}/services/{service_id}`'\n metastoreStatus:\n type: object\n x-dcl-go-name: MetastoreStatus\n x-dcl-go-type: LakeMetastoreStatus\n readOnly: true\n description: Output only. Metastore status of the lake.\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The URI of the endpoint used to access the Metastore service.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeMetastoreStatusStateEnum\n description: 'Current state of association. Possible values: STATE_UNSPECIFIED,\n NONE, READY, UPDATING, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - NONE\n - READY\n - UPDATING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the metastore status of the lake.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the lake.\n x-dcl-references:\n - resource: Dataplex/Lake\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n readOnly: true\n description: Output only. Service account associated with this lake. This\n service account must be authorized to access or operate on resources managed\n by the lake.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeStateEnum\n readOnly: true\n description: 'Output only. Current state of the lake. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the lake.\n This ID will be different if the lake is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the lake was last updated.\n x-kubernetes-immutable: true\n") +var YAML_lake = []byte("info:\n title: Dataplex/Lake\n description: The Dataplex Lake resource\n x-dcl-struct-name: Lake\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n apply:\n description: The function used to apply information about a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n delete:\n description: The function used to delete a Lake\n parameters:\n - name: Lake\n required: true\n description: A full instance of a Lake\n deleteAll:\n description: The function used to delete all Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Lake:\n title: Lake\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: LakeAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the lake.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the lake was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the lake.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User-defined labels for the lake.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n metastore:\n type: object\n x-dcl-go-name: Metastore\n x-dcl-go-type: LakeMetastore\n description: Optional. Settings to manage lake and Dataproc Metastore service\n instance association.\n properties:\n service:\n type: string\n x-dcl-go-name: Service\n description: 'Optional. A relative reference to the Dataproc Metastore\n (https://cloud.google.com/dataproc-metastore/docs) service associated\n with the lake: `projects/{project_id}/locations/{location_id}/services/{service_id}`'\n metastoreStatus:\n type: object\n x-dcl-go-name: MetastoreStatus\n x-dcl-go-type: LakeMetastoreStatus\n readOnly: true\n description: Output only. Metastore status of the lake.\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The URI of the endpoint used to access the Metastore service.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeMetastoreStatusStateEnum\n description: 'Current state of association. Possible values: STATE_UNSPECIFIED,\n NONE, READY, UPDATING, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - NONE\n - READY\n - UPDATING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the metastore status of the lake.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the lake.\n x-dcl-references:\n - resource: Dataplex/Lake\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n readOnly: true\n description: Output only. Service account associated with this lake. This\n service account must be authorized to access or operate on resources managed\n by the lake.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeStateEnum\n readOnly: true\n description: 'Output only. Current state of the lake. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the lake.\n This ID will be different if the lake is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the lake was last updated.\n x-kubernetes-immutable: true\n") -// 6954 bytes -// MD5: 710afaf13d8ee1c0b58d12af20f9cfba +// 6979 bytes +// MD5: 9349256747be9ac964230d83c82ad27c diff --git a/services/google/dataplex/zone.yaml b/services/google/dataplex/zone.yaml index c0d7c8f2ea..ddafc55edc 100755 --- a/services/google/dataplex/zone.yaml +++ b/services/google/dataplex/zone.yaml @@ -15,6 +15,7 @@ info: title: Dataplex/Zone description: The Dataplex Zone resource x-dcl-struct-name: Zone + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataplex/zone_schema.go b/services/google/dataplex/zone_schema.go index 39c2e34bd0..ab3f6d3165 100755 --- a/services/google/dataplex/zone_schema.go +++ b/services/google/dataplex/zone_schema.go @@ -23,6 +23,7 @@ func DCLZoneSchema() *dcl.Schema { Title: "Dataplex/Zone", Description: "The Dataplex Zone resource", StructName: "Zone", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataplex/zone_yaml_embed.go b/services/google/dataplex/zone_yaml_embed.go index 7e3fd9a1d3..a0d0122c27 100755 --- a/services/google/dataplex/zone_yaml_embed.go +++ b/services/google/dataplex/zone_yaml_embed.go @@ -17,7 +17,7 @@ package dataplex // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataplex/zone.yaml -var YAML_zone = []byte("info:\n title: Dataplex/Zone\n description: The Dataplex Zone resource\n x-dcl-struct-name: Zone\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n apply:\n description: The function used to apply information about a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n delete:\n description: The function used to delete a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n deleteAll:\n description: The function used to delete all Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Zone:\n title: Zone\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - resourceSpec\n - project\n - location\n - lake\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: ZoneAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the zone.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the zone was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the zone.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: ZoneDiscoverySpec\n description: Optional. Specification of the discovery feature applied to\n data in this zone.\n required:\n - enabled\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: ZoneDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Required. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: ZoneDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n x-dcl-server-default: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the zone.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the zone.\n x-dcl-references:\n - resource: Dataplex/Zone\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: ZoneResourceSpec\n description: Required. Specification of the resources that are referenced\n by the assets within this zone.\n required:\n - locationType\n properties:\n locationType:\n type: string\n x-dcl-go-name: LocationType\n x-dcl-go-type: ZoneResourceSpecLocationTypeEnum\n description: 'Required. Immutable. The location type of the resources\n that are allowed to be attached to the assets within this zone. Possible\n values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION'\n enum:\n - LOCATION_TYPE_UNSPECIFIED\n - SINGLE_REGION\n - MULTI_REGION\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ZoneStateEnum\n readOnly: true\n description: 'Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ZoneTypeEnum\n description: 'Required. Immutable. The type of the zone. Possible values:\n TYPE_UNSPECIFIED, RAW, CURATED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - RAW\n - CURATED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the zone.\n This ID will be different if the zone is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the zone was last updated.\n x-kubernetes-immutable: true\n") +var YAML_zone = []byte("info:\n title: Dataplex/Zone\n description: The Dataplex Zone resource\n x-dcl-struct-name: Zone\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n apply:\n description: The function used to apply information about a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n delete:\n description: The function used to delete a Zone\n parameters:\n - name: Zone\n required: true\n description: A full instance of a Zone\n deleteAll:\n description: The function used to delete all Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Zone:\n title: Zone\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - resourceSpec\n - project\n - location\n - lake\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: ZoneAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the zone.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the zone was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the zone.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: ZoneDiscoverySpec\n description: Optional. Specification of the discovery feature applied to\n data in this zone.\n required:\n - enabled\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: ZoneDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Required. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: ZoneDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n x-dcl-server-default: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the zone.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the zone.\n x-dcl-references:\n - resource: Dataplex/Zone\n field: selfLink\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: ZoneResourceSpec\n description: Required. Specification of the resources that are referenced\n by the assets within this zone.\n required:\n - locationType\n properties:\n locationType:\n type: string\n x-dcl-go-name: LocationType\n x-dcl-go-type: ZoneResourceSpecLocationTypeEnum\n description: 'Required. Immutable. The location type of the resources\n that are allowed to be attached to the assets within this zone. Possible\n values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION'\n enum:\n - LOCATION_TYPE_UNSPECIFIED\n - SINGLE_REGION\n - MULTI_REGION\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ZoneStateEnum\n readOnly: true\n description: 'Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ZoneTypeEnum\n description: 'Required. Immutable. The type of the zone. Possible values:\n TYPE_UNSPECIFIED, RAW, CURATED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - RAW\n - CURATED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the zone.\n This ID will be different if the zone is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the zone was last updated.\n x-kubernetes-immutable: true\n") -// 10988 bytes -// MD5: 31f8bca0d1d91d404eaebd100f33ae01 +// 11013 bytes +// MD5: abeea4045cf131d97e5e0c4388f44b04 diff --git a/services/google/dataproc/alpha/autoscaling_policy.yaml b/services/google/dataproc/alpha/autoscaling_policy.yaml index de63864e45..7dac3ade4d 100755 --- a/services/google/dataproc/alpha/autoscaling_policy.yaml +++ b/services/google/dataproc/alpha/autoscaling_policy.yaml @@ -15,6 +15,7 @@ info: title: Dataproc/AutoscalingPolicy description: The Dataproc AutoscalingPolicy resource x-dcl-struct-name: AutoscalingPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataproc/alpha/autoscaling_policy_alpha_yaml_embed.go b/services/google/dataproc/alpha/autoscaling_policy_alpha_yaml_embed.go index 61f7e34cde..97a1bd0c24 100755 --- a/services/google/dataproc/alpha/autoscaling_policy_alpha_yaml_embed.go +++ b/services/google/dataproc/alpha/autoscaling_policy_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataproc/alpha/autoscaling_policy.yaml -var YAML_autoscaling_policy = []byte("info:\n title: Dataproc/AutoscalingPolicy\n description: The Dataproc AutoscalingPolicy resource\n x-dcl-struct-name: AutoscalingPolicy\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n apply:\n description: The function used to apply information about a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n delete:\n description: The function used to delete a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n deleteAll:\n description: The function used to delete all AutoscalingPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many AutoscalingPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n AutoscalingPolicy:\n title: AutoscalingPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/autoscalingPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - basicAlgorithm\n - workerConfig\n - project\n - location\n properties:\n basicAlgorithm:\n type: object\n x-dcl-go-name: BasicAlgorithm\n x-dcl-go-type: AutoscalingPolicyBasicAlgorithm\n required:\n - yarnConfig\n properties:\n cooldownPeriod:\n type: string\n x-dcl-go-name: CooldownPeriod\n description: 'Optional. Duration between scaling events. A scaling period\n starts after the update operation from the previous event has completed.\n Bounds: . Default: 2m.'\n yarnConfig:\n type: object\n x-dcl-go-name: YarnConfig\n x-dcl-go-type: AutoscalingPolicyBasicAlgorithmYarnConfig\n description: Required. YARN autoscaling configuration.\n required:\n - gracefulDecommissionTimeout\n - scaleUpFactor\n - scaleDownFactor\n properties:\n gracefulDecommissionTimeout:\n type: string\n x-dcl-go-name: GracefulDecommissionTimeout\n description: Required. Timeout for YARN graceful decommissioning\n of Node Managers. Specifies the duration to wait for jobs to complete\n before forcefully removing workers (and potentially interrupting\n jobs). Only applicable to downscaling operations.\n scaleDownFactor:\n type: number\n format: double\n x-dcl-go-name: ScaleDownFactor\n description: Required. Fraction of average YARN pending memory in\n the last cooldown period for which to remove workers. A scale-down\n factor of 1 will result in scaling down so that there is no available\n memory remaining after the update (more aggressive scaling). A\n scale-down factor of 0 disables removing workers, which can be\n beneficial for autoscaling a single job. See .\n scaleDownMinWorkerFraction:\n type: number\n format: double\n x-dcl-go-name: ScaleDownMinWorkerFraction\n description: 'Optional. Minimum scale-down threshold as a fraction\n of total cluster size before scaling occurs. For example, in a\n 20-worker cluster, a threshold of 0.1 means the autoscaler must\n recommend at least a 2 worker scale-down for the cluster to scale.\n A threshold of 0 means the autoscaler will scale down on any recommended\n change. Bounds: . Default: 0.0.'\n scaleUpFactor:\n type: number\n format: double\n x-dcl-go-name: ScaleUpFactor\n description: Required. Fraction of average YARN pending memory in\n the last cooldown period for which to add workers. A scale-up\n factor of 1.0 will result in scaling up so that there is no pending\n memory remaining after the update (more aggressive scaling). A\n scale-up factor closer to 0 will result in a smaller magnitude\n of scaling up (less aggressive scaling). See .\n scaleUpMinWorkerFraction:\n type: number\n format: double\n x-dcl-go-name: ScaleUpMinWorkerFraction\n description: 'Optional. Minimum scale-up threshold as a fraction\n of total cluster size before scaling occurs. For example, in a\n 20-worker cluster, a threshold of 0.1 means the autoscaler must\n recommend at least a 2-worker scale-up for the cluster to scale.\n A threshold of 0 means the autoscaler will scale up on any recommended\n change. Bounds: . Default: 0.0.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The \"resource name\" of the autoscaling policy, as described\n in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.autoscalingPolicies`,\n the resource name of the policy has the following format: `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}`\n * For `projects.locations.autoscalingPolicies`, the resource name of the\n policy has the following format: `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: AutoscalingPolicySecondaryWorkerConfig\n description: Optional. Describes how the autoscaler will operate for secondary\n workers.\n properties:\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: 'Optional. Maximum number of instances for this group.\n Note that by default, clusters will not use secondary workers. Required\n for secondary workers if the minimum secondary instances is set. Primary\n workers - Bounds: [min_instances, ). Secondary workers - Bounds: [min_instances,\n ). Default: 0.'\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: 'Optional. Minimum number of instances for this group.\n Primary workers - Bounds: . Default: 0.'\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Weight for the instance group, which is used\n to determine the fraction of total workers in the cluster from this\n instance group. For example, if primary workers have weight 2, and\n secondary workers have weight 1, the cluster will have approximately\n 2 primary workers for each secondary worker. The cluster may not reach\n the specified balance if constrained by min/max bounds or other autoscaling\n settings. For example, if `max_instances` for secondary workers is\n 0, then only primary workers will be added. The cluster can also be\n out of balance when created. If weight is not set on any instance\n group, the cluster will default to equal weight for all groups: the\n cluster will attempt to maintain an equal number of workers in each\n group within the configured size bounds for each group. If weight\n is set for one group only, the cluster will default to zero weight\n on the unset group. For example if weight is set only on primary workers,\n the cluster will use primary workers only and no secondary workers.'\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: AutoscalingPolicyWorkerConfig\n description: Required. Describes how the autoscaler will operate for primary\n workers.\n required:\n - maxInstances\n properties:\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: 'Required. Maximum number of instances for this group.\n Required for primary workers. Note that by default, clusters will\n not use secondary workers. Required for secondary workers if the minimum\n secondary instances is set. Primary workers - Bounds: [min_instances,\n ). Secondary workers - Bounds: [min_instances, ). Default: 0.'\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: 'Optional. Minimum number of instances for this group.\n Primary workers - Bounds: . Default: 0.'\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Weight for the instance group, which is used\n to determine the fraction of total workers in the cluster from this\n instance group. For example, if primary workers have weight 2, and\n secondary workers have weight 1, the cluster will have approximately\n 2 primary workers for each secondary worker. The cluster may not reach\n the specified balance if constrained by min/max bounds or other autoscaling\n settings. For example, if `max_instances` for secondary workers is\n 0, then only primary workers will be added. The cluster can also be\n out of balance when created. If weight is not set on any instance\n group, the cluster will default to equal weight for all groups: the\n cluster will attempt to maintain an equal number of workers in each\n group within the configured size bounds for each group. If weight\n is set for one group only, the cluster will default to zero weight\n on the unset group. For example if weight is set only on primary workers,\n the cluster will use primary workers only and no secondary workers.'\n") +var YAML_autoscaling_policy = []byte("info:\n title: Dataproc/AutoscalingPolicy\n description: The Dataproc AutoscalingPolicy resource\n x-dcl-struct-name: AutoscalingPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n apply:\n description: The function used to apply information about a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n delete:\n description: The function used to delete a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n deleteAll:\n description: The function used to delete all AutoscalingPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many AutoscalingPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n AutoscalingPolicy:\n title: AutoscalingPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/autoscalingPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - basicAlgorithm\n - workerConfig\n - project\n - location\n properties:\n basicAlgorithm:\n type: object\n x-dcl-go-name: BasicAlgorithm\n x-dcl-go-type: AutoscalingPolicyBasicAlgorithm\n required:\n - yarnConfig\n properties:\n cooldownPeriod:\n type: string\n x-dcl-go-name: CooldownPeriod\n description: 'Optional. Duration between scaling events. A scaling period\n starts after the update operation from the previous event has completed.\n Bounds: . Default: 2m.'\n yarnConfig:\n type: object\n x-dcl-go-name: YarnConfig\n x-dcl-go-type: AutoscalingPolicyBasicAlgorithmYarnConfig\n description: Required. YARN autoscaling configuration.\n required:\n - gracefulDecommissionTimeout\n - scaleUpFactor\n - scaleDownFactor\n properties:\n gracefulDecommissionTimeout:\n type: string\n x-dcl-go-name: GracefulDecommissionTimeout\n description: Required. Timeout for YARN graceful decommissioning\n of Node Managers. Specifies the duration to wait for jobs to complete\n before forcefully removing workers (and potentially interrupting\n jobs). Only applicable to downscaling operations.\n scaleDownFactor:\n type: number\n format: double\n x-dcl-go-name: ScaleDownFactor\n description: Required. Fraction of average YARN pending memory in\n the last cooldown period for which to remove workers. A scale-down\n factor of 1 will result in scaling down so that there is no available\n memory remaining after the update (more aggressive scaling). A\n scale-down factor of 0 disables removing workers, which can be\n beneficial for autoscaling a single job. See .\n scaleDownMinWorkerFraction:\n type: number\n format: double\n x-dcl-go-name: ScaleDownMinWorkerFraction\n description: 'Optional. Minimum scale-down threshold as a fraction\n of total cluster size before scaling occurs. For example, in a\n 20-worker cluster, a threshold of 0.1 means the autoscaler must\n recommend at least a 2 worker scale-down for the cluster to scale.\n A threshold of 0 means the autoscaler will scale down on any recommended\n change. Bounds: . Default: 0.0.'\n scaleUpFactor:\n type: number\n format: double\n x-dcl-go-name: ScaleUpFactor\n description: Required. Fraction of average YARN pending memory in\n the last cooldown period for which to add workers. A scale-up\n factor of 1.0 will result in scaling up so that there is no pending\n memory remaining after the update (more aggressive scaling). A\n scale-up factor closer to 0 will result in a smaller magnitude\n of scaling up (less aggressive scaling). See .\n scaleUpMinWorkerFraction:\n type: number\n format: double\n x-dcl-go-name: ScaleUpMinWorkerFraction\n description: 'Optional. Minimum scale-up threshold as a fraction\n of total cluster size before scaling occurs. For example, in a\n 20-worker cluster, a threshold of 0.1 means the autoscaler must\n recommend at least a 2-worker scale-up for the cluster to scale.\n A threshold of 0 means the autoscaler will scale up on any recommended\n change. Bounds: . Default: 0.0.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The \"resource name\" of the autoscaling policy, as described\n in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.autoscalingPolicies`,\n the resource name of the policy has the following format: `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}`\n * For `projects.locations.autoscalingPolicies`, the resource name of the\n policy has the following format: `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: AutoscalingPolicySecondaryWorkerConfig\n description: Optional. Describes how the autoscaler will operate for secondary\n workers.\n properties:\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: 'Optional. Maximum number of instances for this group.\n Note that by default, clusters will not use secondary workers. Required\n for secondary workers if the minimum secondary instances is set. Primary\n workers - Bounds: [min_instances, ). Secondary workers - Bounds: [min_instances,\n ). Default: 0.'\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: 'Optional. Minimum number of instances for this group.\n Primary workers - Bounds: . Default: 0.'\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Weight for the instance group, which is used\n to determine the fraction of total workers in the cluster from this\n instance group. For example, if primary workers have weight 2, and\n secondary workers have weight 1, the cluster will have approximately\n 2 primary workers for each secondary worker. The cluster may not reach\n the specified balance if constrained by min/max bounds or other autoscaling\n settings. For example, if `max_instances` for secondary workers is\n 0, then only primary workers will be added. The cluster can also be\n out of balance when created. If weight is not set on any instance\n group, the cluster will default to equal weight for all groups: the\n cluster will attempt to maintain an equal number of workers in each\n group within the configured size bounds for each group. If weight\n is set for one group only, the cluster will default to zero weight\n on the unset group. For example if weight is set only on primary workers,\n the cluster will use primary workers only and no secondary workers.'\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: AutoscalingPolicyWorkerConfig\n description: Required. Describes how the autoscaler will operate for primary\n workers.\n required:\n - maxInstances\n properties:\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: 'Required. Maximum number of instances for this group.\n Required for primary workers. Note that by default, clusters will\n not use secondary workers. Required for secondary workers if the minimum\n secondary instances is set. Primary workers - Bounds: [min_instances,\n ). Secondary workers - Bounds: [min_instances, ). Default: 0.'\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: 'Optional. Minimum number of instances for this group.\n Primary workers - Bounds: . Default: 0.'\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Weight for the instance group, which is used\n to determine the fraction of total workers in the cluster from this\n instance group. For example, if primary workers have weight 2, and\n secondary workers have weight 1, the cluster will have approximately\n 2 primary workers for each secondary worker. The cluster may not reach\n the specified balance if constrained by min/max bounds or other autoscaling\n settings. For example, if `max_instances` for secondary workers is\n 0, then only primary workers will be added. The cluster can also be\n out of balance when created. If weight is not set on any instance\n group, the cluster will default to equal weight for all groups: the\n cluster will attempt to maintain an equal number of workers in each\n group within the configured size bounds for each group. If weight\n is set for one group only, the cluster will default to zero weight\n on the unset group. For example if weight is set only on primary workers,\n the cluster will use primary workers only and no secondary workers.'\n") -// 11690 bytes -// MD5: 82dcdbb6d4df0934db28d587dc73f7a1 +// 11715 bytes +// MD5: 45248857c670971427c84aaf031dcd60 diff --git a/services/google/dataproc/alpha/autoscaling_policy_schema.go b/services/google/dataproc/alpha/autoscaling_policy_schema.go index ec86783cce..e9bfb396fe 100755 --- a/services/google/dataproc/alpha/autoscaling_policy_schema.go +++ b/services/google/dataproc/alpha/autoscaling_policy_schema.go @@ -23,6 +23,7 @@ func DCLAutoscalingPolicySchema() *dcl.Schema { Title: "Dataproc/AutoscalingPolicy", Description: "The Dataproc AutoscalingPolicy resource", StructName: "AutoscalingPolicy", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataproc/alpha/cluster.yaml b/services/google/dataproc/alpha/cluster.yaml index 353b9a9538..ede9718556 100755 --- a/services/google/dataproc/alpha/cluster.yaml +++ b/services/google/dataproc/alpha/cluster.yaml @@ -15,6 +15,7 @@ info: title: Dataproc/Cluster description: The Dataproc Cluster resource x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/dataproc/alpha/cluster_alpha_yaml_embed.go b/services/google/dataproc/alpha/cluster_alpha_yaml_embed.go index e43b55e82b..30a038aaca 100755 --- a/services/google/dataproc/alpha/cluster_alpha_yaml_embed.go +++ b/services/google/dataproc/alpha/cluster_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataproc/alpha/cluster.yaml -var YAML_cluster = []byte("info:\n title: Dataproc/Cluster\n description: The Dataproc Cluster resource\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/regions/{{location}}/clusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - project\n - name\n - location\n properties:\n clusterUuid:\n type: string\n x-dcl-go-name: ClusterUuid\n readOnly: true\n description: Output only. A cluster UUID (Unique Universal Identifier).\n Dataproc generates this value when it creates the cluster.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: ClusterConfig\n description: Required. The cluster config. Note that Dataproc may set default\n values, and values may change when clusters are updated.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: ClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the cluster.\n Only resource names including projectid and location (region)\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: ClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for PD disk\n encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: ClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this cluster\n x-kubernetes-immutable: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific ports\n on the cluster from external sources. Defaults to false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to URLs.\n Will only be populated if enable_http_port_access is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: ClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings for\n all instances in a cluster.\n x-kubernetes-immutable: true\n properties:\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster will\n only have internal IP addresses. By default, clusters are not\n restricted to internal IP addresses, and will have ephemeral external\n IP addresses assigned to each instance. This `internal_ip_only`\n restriction can only be enabled for subnetwork enabled networks,\n and all off-cluster dependencies must be configured to be accessible\n without external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add to all instances\n (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be used for\n machine communications. Cannot be specified with subnetwork_uri.\n If neither `network_uri` nor `subnetwork_uri` is specified, the\n \"default\" network of the project is used, if it exists. Cannot\n be a \"Custom Subnet Network\" (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node group\n resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial URI,\n or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: ClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster. Possible\n values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, INHERIT_FROM_SUBNETWORK,\n OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming Zonal\n reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume Possible\n values: TYPE_UNSPECIFIED, NO_RESERVATION, ANY_RESERVATION,\n SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key of reservation\n resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values of reservation\n resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google Cloud Platform\n services. If not specified, the [Compute Engine default service\n account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes to be\n included in Compute Engine instances. The following base set of\n scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write\n If no scopes are specified, the following defaults are also provided:\n * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table\n * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to be used\n for machine communications. Cannot be specified with network_uri.\n A full URL, partial URI, or short name are valid. Examples: *\n `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0` *\n `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances (see\n [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine cluster\n will be located. On a create request, it is required in the \"global\"\n region. If omitted in a non-global Dataproc region, the service\n will pick a zone in the corresponding Compute Engine region. On\n a get request, zone will always be present. A full URL, partial\n URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n gkeClusterConfig:\n type: object\n x-dcl-go-name: GkeClusterConfig\n x-dcl-go-type: ClusterConfigGkeClusterConfig\n description: Optional. BETA. The Kubernetes Engine config for Dataproc\n clusters deployed to Kubernetes. Setting this is considered mutually\n exclusive with Compute Engine-based options such as `gce_cluster_config`,\n `master_config`, `worker_config`, `secondary_worker_config`, and `autoscaling_config`.\n x-kubernetes-immutable: true\n properties:\n namespacedGkeDeploymentTarget:\n type: object\n x-dcl-go-name: NamespacedGkeDeploymentTarget\n x-dcl-go-type: ClusterConfigGkeClusterConfigNamespacedGkeDeploymentTarget\n description: Optional. A target for the deployment.\n x-kubernetes-immutable: true\n properties:\n clusterNamespace:\n type: string\n x-dcl-go-name: ClusterNamespace\n description: Optional. A namespace within the GKE cluster to\n deploy into.\n x-kubernetes-immutable: true\n targetGkeCluster:\n type: string\n x-dcl-go-name: TargetGkeCluster\n description: 'Optional. The target GKE cluster to deploy to.\n Format: ''projects/{project}/locations/{location}/clusters/{cluster_id}'''\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Container/Cluster\n field: name\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after config\n is completed. By default, executables are run on master and all worker\n nodes. You can test a node''s `role` metadata to run an executable\n on a master or worker node, as shown below using `curl` (you can also\n use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific actions\n ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigInitializationActions\n required:\n - executableFile\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to complete.\n Default is 10 minutes (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message (the\n name of the executable that caused the error and the exceeded\n timeout period) if the executable is not completed at end of\n the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: ClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster. The cluster\n will be auto-deleted at the end of this period. Minimum value\n is 10 minutes; maximum value is 14 days (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster alive while\n idling (when no jobs are running). Passing this threshold will\n cause the cluster to be deleted. Minimum value is 5 minutes; maximum\n value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle (most\n recent job finished) and became eligible for deletion due to idleness\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: ClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for the master\n instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n metastoreConfig:\n type: object\n x-dcl-go-name: MetastoreConfig\n x-dcl-go-type: ClusterConfigMetastoreConfig\n description: Optional. Metastore configuration.\n x-kubernetes-immutable: true\n required:\n - dataprocMetastoreService\n properties:\n dataprocMetastoreService:\n type: string\n x-dcl-go-name: DataprocMetastoreService\n description: 'Required. Resource name of an existing Dataproc Metastore\n service. Example: * `projects/[project_id]/locations/[dataproc_region]/services/[service-name]`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Metastore/Service\n field: selfLink\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for additional\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: ClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: ClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for the remote\n trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc on-cluster\n KDC will trust, should the user enable cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the shared password between the on-cluster\n Kerberos realm and the remote trusted realm, in a cross realm\n trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to Kerberize\n the cluster (default: false). Set this field to true to enable\n Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the master key of the KDC database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided key. For\n the self-signed certificate, this password is generated by\n Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the keystore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided keystore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to encrypt\n various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos realm.\n If not specified, the uppercased domain of hostnames will\n be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting ticket,\n in hours. If not specified, or user specifies 0, then default\n value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the truststore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided truststore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: ClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside the cluster.\n x-kubernetes-immutable: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the cluster.\n It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate on the\n cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon config files.\n Property keys are specified in `prefix:property` format, for example\n `core:hadoop.tmp.dir`. The following are supported prefixes and\n their mappings: * capacity-scheduler: `capacity-scheduler.xml`\n * core: `core-site.xml` * distcp: `distcp-default.xml` * hdfs:\n `hdfs-site.xml` * hive: `hive-site.xml` * mapred: `mapred-site.xml`\n * pig: `pig.properties` * spark: `spark-defaults.conf` * yarn:\n `yarn-site.xml` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage job dependencies,\n config files, and job driver console output. If you do not specify\n a staging bucket, Cloud Dataproc will determine a Cloud Storage location\n (US, ASIA, or EU) for your cluster's staging bucket according to the\n Compute Engine zone where your cluster is deployed, and then create\n and manage this project-level, per-location bucket (see [Dataproc\n staging bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI to a\n Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store ephemeral\n cluster and jobs data, such as Spark and MapReduce history files.\n If you do not specify a temp bucket, Dataproc will determine a Cloud\n Storage location (US, ASIA, or EU) for your cluster's temp bucket\n according to the Compute Engine zone where your cluster is deployed,\n and then create and manage this project-level, per-location bucket.\n The default bucket has a TTL of 90 days, but you can use any TTL (or\n none) if you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: ClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for worker\n instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this cluster. Label\n **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n Label **values** may be empty, but, if present, must contain 1 to 63 characters,\n and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n No more than 32 labels can be associated with a cluster.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource, usually a GCP region.\n x-kubernetes-immutable: true\n metrics:\n type: object\n x-dcl-go-name: Metrics\n x-dcl-go-type: ClusterMetrics\n readOnly: true\n description: 'Output only. Contains cluster daemon metrics such as HDFS\n and YARN stats. **Beta Feature**: This report is available for testing\n purposes only. It may be changed before final release.'\n x-kubernetes-immutable: true\n properties:\n hdfsMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HdfsMetrics\n description: The HDFS metrics.\n x-kubernetes-immutable: true\n yarnMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: YarnMetrics\n description: The YARN metrics.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The cluster name. Cluster names within a project\n must be unique. Names of deleted clusters can be reused.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The Google Cloud Platform project ID that the cluster\n belongs to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: ClusterStatus\n readOnly: true\n description: Output only. Cluster status.\n x-kubernetes-immutable: true\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values: UNKNOWN,\n CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING, STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusSubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n statusHistory:\n type: array\n x-dcl-go-name: StatusHistory\n readOnly: true\n description: Output only. The previous cluster status.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterStatusHistory\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusHistoryStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values:\n UNKNOWN, CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING,\n STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusHistorySubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n") +var YAML_cluster = []byte("info:\n title: Dataproc/Cluster\n description: The Dataproc Cluster resource\n x-dcl-struct-name: Cluster\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/regions/{{location}}/clusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - project\n - name\n - location\n properties:\n clusterUuid:\n type: string\n x-dcl-go-name: ClusterUuid\n readOnly: true\n description: Output only. A cluster UUID (Unique Universal Identifier).\n Dataproc generates this value when it creates the cluster.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: ClusterConfig\n description: Required. The cluster config. Note that Dataproc may set default\n values, and values may change when clusters are updated.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: ClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the cluster.\n Only resource names including projectid and location (region)\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: ClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for PD disk\n encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: ClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this cluster\n x-kubernetes-immutable: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific ports\n on the cluster from external sources. Defaults to false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to URLs.\n Will only be populated if enable_http_port_access is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: ClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings for\n all instances in a cluster.\n x-kubernetes-immutable: true\n properties:\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster will\n only have internal IP addresses. By default, clusters are not\n restricted to internal IP addresses, and will have ephemeral external\n IP addresses assigned to each instance. This `internal_ip_only`\n restriction can only be enabled for subnetwork enabled networks,\n and all off-cluster dependencies must be configured to be accessible\n without external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add to all instances\n (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be used for\n machine communications. Cannot be specified with subnetwork_uri.\n If neither `network_uri` nor `subnetwork_uri` is specified, the\n \"default\" network of the project is used, if it exists. Cannot\n be a \"Custom Subnet Network\" (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node group\n resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial URI,\n or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: ClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster. Possible\n values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, INHERIT_FROM_SUBNETWORK,\n OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming Zonal\n reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume Possible\n values: TYPE_UNSPECIFIED, NO_RESERVATION, ANY_RESERVATION,\n SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key of reservation\n resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values of reservation\n resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google Cloud Platform\n services. If not specified, the [Compute Engine default service\n account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes to be\n included in Compute Engine instances. The following base set of\n scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write\n If no scopes are specified, the following defaults are also provided:\n * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table\n * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to be used\n for machine communications. Cannot be specified with network_uri.\n A full URL, partial URI, or short name are valid. Examples: *\n `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0` *\n `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances (see\n [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine cluster\n will be located. On a create request, it is required in the \"global\"\n region. If omitted in a non-global Dataproc region, the service\n will pick a zone in the corresponding Compute Engine region. On\n a get request, zone will always be present. A full URL, partial\n URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n gkeClusterConfig:\n type: object\n x-dcl-go-name: GkeClusterConfig\n x-dcl-go-type: ClusterConfigGkeClusterConfig\n description: Optional. BETA. The Kubernetes Engine config for Dataproc\n clusters deployed to Kubernetes. Setting this is considered mutually\n exclusive with Compute Engine-based options such as `gce_cluster_config`,\n `master_config`, `worker_config`, `secondary_worker_config`, and `autoscaling_config`.\n x-kubernetes-immutable: true\n properties:\n namespacedGkeDeploymentTarget:\n type: object\n x-dcl-go-name: NamespacedGkeDeploymentTarget\n x-dcl-go-type: ClusterConfigGkeClusterConfigNamespacedGkeDeploymentTarget\n description: Optional. A target for the deployment.\n x-kubernetes-immutable: true\n properties:\n clusterNamespace:\n type: string\n x-dcl-go-name: ClusterNamespace\n description: Optional. A namespace within the GKE cluster to\n deploy into.\n x-kubernetes-immutable: true\n targetGkeCluster:\n type: string\n x-dcl-go-name: TargetGkeCluster\n description: 'Optional. The target GKE cluster to deploy to.\n Format: ''projects/{project}/locations/{location}/clusters/{cluster_id}'''\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Container/Cluster\n field: name\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after config\n is completed. By default, executables are run on master and all worker\n nodes. You can test a node''s `role` metadata to run an executable\n on a master or worker node, as shown below using `curl` (you can also\n use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific actions\n ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigInitializationActions\n required:\n - executableFile\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to complete.\n Default is 10 minutes (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message (the\n name of the executable that caused the error and the exceeded\n timeout period) if the executable is not completed at end of\n the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: ClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster. The cluster\n will be auto-deleted at the end of this period. Minimum value\n is 10 minutes; maximum value is 14 days (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster alive while\n idling (when no jobs are running). Passing this threshold will\n cause the cluster to be deleted. Minimum value is 5 minutes; maximum\n value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle (most\n recent job finished) and became eligible for deletion due to idleness\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: ClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for the master\n instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n metastoreConfig:\n type: object\n x-dcl-go-name: MetastoreConfig\n x-dcl-go-type: ClusterConfigMetastoreConfig\n description: Optional. Metastore configuration.\n x-kubernetes-immutable: true\n required:\n - dataprocMetastoreService\n properties:\n dataprocMetastoreService:\n type: string\n x-dcl-go-name: DataprocMetastoreService\n description: 'Required. Resource name of an existing Dataproc Metastore\n service. Example: * `projects/[project_id]/locations/[dataproc_region]/services/[service-name]`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Metastore/Service\n field: selfLink\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for additional\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: ClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: ClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for the remote\n trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc on-cluster\n KDC will trust, should the user enable cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the shared password between the on-cluster\n Kerberos realm and the remote trusted realm, in a cross realm\n trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to Kerberize\n the cluster (default: false). Set this field to true to enable\n Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the master key of the KDC database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided key. For\n the self-signed certificate, this password is generated by\n Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the keystore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided keystore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to encrypt\n various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos realm.\n If not specified, the uppercased domain of hostnames will\n be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting ticket,\n in hours. If not specified, or user specifies 0, then default\n value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the truststore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided truststore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: ClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside the cluster.\n x-kubernetes-immutable: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the cluster.\n It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate on the\n cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon config files.\n Property keys are specified in `prefix:property` format, for example\n `core:hadoop.tmp.dir`. The following are supported prefixes and\n their mappings: * capacity-scheduler: `capacity-scheduler.xml`\n * core: `core-site.xml` * distcp: `distcp-default.xml` * hdfs:\n `hdfs-site.xml` * hive: `hive-site.xml` * mapred: `mapred-site.xml`\n * pig: `pig.properties` * spark: `spark-defaults.conf` * yarn:\n `yarn-site.xml` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage job dependencies,\n config files, and job driver console output. If you do not specify\n a staging bucket, Cloud Dataproc will determine a Cloud Storage location\n (US, ASIA, or EU) for your cluster's staging bucket according to the\n Compute Engine zone where your cluster is deployed, and then create\n and manage this project-level, per-location bucket (see [Dataproc\n staging bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI to a\n Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store ephemeral\n cluster and jobs data, such as Spark and MapReduce history files.\n If you do not specify a temp bucket, Dataproc will determine a Cloud\n Storage location (US, ASIA, or EU) for your cluster's temp bucket\n according to the Compute Engine zone where your cluster is deployed,\n and then create and manage this project-level, per-location bucket.\n The default bucket has a TTL of 90 days, but you can use any TTL (or\n none) if you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: ClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for worker\n instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this cluster. Label\n **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n Label **values** may be empty, but, if present, must contain 1 to 63 characters,\n and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n No more than 32 labels can be associated with a cluster.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource, usually a GCP region.\n x-kubernetes-immutable: true\n metrics:\n type: object\n x-dcl-go-name: Metrics\n x-dcl-go-type: ClusterMetrics\n readOnly: true\n description: 'Output only. Contains cluster daemon metrics such as HDFS\n and YARN stats. **Beta Feature**: This report is available for testing\n purposes only. It may be changed before final release.'\n x-kubernetes-immutable: true\n properties:\n hdfsMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HdfsMetrics\n description: The HDFS metrics.\n x-kubernetes-immutable: true\n yarnMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: YarnMetrics\n description: The YARN metrics.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The cluster name. Cluster names within a project\n must be unique. Names of deleted clusters can be reused.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The Google Cloud Platform project ID that the cluster\n belongs to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: ClusterStatus\n readOnly: true\n description: Output only. Cluster status.\n x-kubernetes-immutable: true\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values: UNKNOWN,\n CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING, STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusSubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n statusHistory:\n type: array\n x-dcl-go-name: StatusHistory\n readOnly: true\n description: Output only. The previous cluster status.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterStatusHistory\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusHistoryStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values:\n UNKNOWN, CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING,\n STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusHistorySubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n") -// 72948 bytes -// MD5: 028641ac0ac02843f4303532ec6be541 +// 72973 bytes +// MD5: 434b4055d6254f01427a4bf8bb1ecb47 diff --git a/services/google/dataproc/alpha/cluster_schema.go b/services/google/dataproc/alpha/cluster_schema.go index 4097fb9b67..e7ebc851a9 100755 --- a/services/google/dataproc/alpha/cluster_schema.go +++ b/services/google/dataproc/alpha/cluster_schema.go @@ -23,6 +23,7 @@ func DCLClusterSchema() *dcl.Schema { Title: "Dataproc/Cluster", Description: "The Dataproc Cluster resource", StructName: "Cluster", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/dataproc/alpha/workflow_template.yaml b/services/google/dataproc/alpha/workflow_template.yaml index 5b8447e669..f24a097a8c 100755 --- a/services/google/dataproc/alpha/workflow_template.yaml +++ b/services/google/dataproc/alpha/workflow_template.yaml @@ -15,6 +15,7 @@ info: title: Dataproc/WorkflowTemplate description: The Dataproc WorkflowTemplate resource x-dcl-struct-name: WorkflowTemplate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataproc/alpha/workflow_template_alpha_yaml_embed.go b/services/google/dataproc/alpha/workflow_template_alpha_yaml_embed.go index 55e94a5c56..033348158f 100755 --- a/services/google/dataproc/alpha/workflow_template_alpha_yaml_embed.go +++ b/services/google/dataproc/alpha/workflow_template_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataproc/alpha/workflow_template.yaml -var YAML_workflow_template = []byte("info:\n title: Dataproc/WorkflowTemplate\n description: The Dataproc WorkflowTemplate resource\n x-dcl-struct-name: WorkflowTemplate\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n apply:\n description: The function used to apply information about a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n delete:\n description: The function used to delete a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n deleteAll:\n description: The function used to delete all WorkflowTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkflowTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkflowTemplate:\n title: WorkflowTemplate\n x-dcl-id: projects/{{project}}/locations/{{location}}/workflowTemplates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - placement\n - jobs\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time template was created.\n x-kubernetes-immutable: true\n dagTimeout:\n type: string\n x-dcl-go-name: DagTimeout\n description: Optional. Timeout duration for the DAG of jobs, expressed in\n seconds (see [JSON representation of duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n The timeout duration must be from 10 minutes (\"600s\") to 24 hours (\"86400s\").\n The timer begins when the first job is submitted. If the workflow is running\n at the end of the timeout period, any remaining jobs are cancelled, the\n workflow is ended, and if the workflow was running on a [managed cluster](/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster),\n the cluster is deleted.\n x-kubernetes-immutable: true\n jobs:\n type: array\n x-dcl-go-name: Jobs\n description: Required. The Directed Acyclic Graph of Jobs to submit.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplateJobs\n required:\n - stepId\n properties:\n hadoopJob:\n type: object\n x-dcl-go-name: HadoopJob\n x-dcl-go-type: WorkflowTemplateJobsHadoopJob\n description: Optional. Job is a Hadoop job.\n x-kubernetes-immutable: true\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n in the working directory of Hadoop drivers and tasks. Supported\n file types: .jar, .tar, .tar.gz, .tgz, or .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `-libjars` or `-Dfoo=bar`, that\n can be set as job properties, since a collision may occur that\n causes an incorrect job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS (Hadoop Compatible Filesystem) URIs\n of files to be copied to the working directory of Hadoop drivers\n and distributed tasks. Useful for naively parallel tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. Jar file URIs to add to the CLASSPATHs\n of the Hadoop driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsHadoopJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainClass:\n type: string\n x-dcl-go-name: MainClass\n description: The name of the driver's main class. The jar file\n containing the class must be in the default CLASSPATH or specified\n in `jar_file_uris`.\n x-kubernetes-immutable: true\n mainJarFileUri:\n type: string\n x-dcl-go-name: MainJarFileUri\n description: 'The HCFS URI of the jar file containing the main\n class. Examples: ''gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar''\n ''hdfs:/tmp/test-samples/custom-wordcount.jar'' ''file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Hadoop. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site and classes in user code.\n x-kubernetes-immutable: true\n hiveJob:\n type: object\n x-dcl-go-name: HiveJob\n x-dcl-go-type: WorkflowTemplateJobsHiveJob\n description: Optional. Job is a Hive job.\n x-kubernetes-immutable: true\n properties:\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATH\n of the Hive server and Hadoop MapReduce (MR) tasks. Can contain\n Hive SerDes and UDFs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names and values,\n used to configure Hive. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml,\n and classes in user code.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains Hive queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsHiveJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Hive command: `SET name=\"value\";`).'\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The labels to associate with this job. Label\n keys must be between 1 and 63 characters long, and must conform\n to the following regular expression: p{Ll}p{Lo}{0,62} Label values\n must be between 1 and 63 characters long, and must conform to the\n following regular expression: [p{Ll}p{Lo}p{N}_-]{0,63} No more than\n 32 labels can be associated with a given job.'\n x-kubernetes-immutable: true\n pigJob:\n type: object\n x-dcl-go-name: PigJob\n x-dcl-go-type: WorkflowTemplateJobsPigJob\n description: Optional. Job is a Pig job.\n x-kubernetes-immutable: true\n properties:\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATH\n of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain\n Pig UDFs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPigJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Pig. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties,\n and classes in user code.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains the Pig\n queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsPigJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Pig command: `name=[value]`).'\n x-kubernetes-immutable: true\n prerequisiteStepIds:\n type: array\n x-dcl-go-name: PrerequisiteStepIds\n description: Optional. The optional list of prerequisite job step_ids.\n If not specified, the job will start at the beginning of workflow.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n prestoJob:\n type: object\n x-dcl-go-name: PrestoJob\n x-dcl-go-type: WorkflowTemplateJobsPrestoJob\n description: Optional. Job is a Presto job.\n x-kubernetes-immutable: true\n properties:\n clientTags:\n type: array\n x-dcl-go-name: ClientTags\n description: Optional. Presto client tags to attach to this query\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPrestoJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n outputFormat:\n type: string\n x-dcl-go-name: OutputFormat\n description: Optional. The format in which query output will be\n displayed. See the Presto documentation for supported output\n formats\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values.\n Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html)\n Equivalent to using the --session flag in the Presto CLI\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains SQL queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsPrestoJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n pysparkJob:\n type: object\n x-dcl-go-name: PysparkJob\n x-dcl-go-type: WorkflowTemplateJobsPysparkJob\n description: Optional. Job is a PySpark job.\n x-kubernetes-immutable: true\n required:\n - mainPythonFileUri\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATHs\n of the Python driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPysparkJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainPythonFileUri:\n type: string\n x-dcl-go-name: MainPythonFileUri\n description: Required. The HCFS URI of the main Python file to\n use as the driver. Must be a .py file.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure PySpark. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n pythonFileUris:\n type: array\n x-dcl-go-name: PythonFileUris\n description: 'Optional. HCFS file URIs of Python files to pass\n to the PySpark framework. Supported file types: .py, .egg, and\n .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scheduling:\n type: object\n x-dcl-go-name: Scheduling\n x-dcl-go-type: WorkflowTemplateJobsScheduling\n description: Optional. Job scheduling configuration.\n x-kubernetes-immutable: true\n properties:\n maxFailuresPerHour:\n type: integer\n format: int64\n x-dcl-go-name: MaxFailuresPerHour\n description: Optional. Maximum number of times per hour a driver\n may be restarted as a result of driver exiting with non-zero\n code before job is reported failed. A job may be reported as\n thrashing if driver exits with non-zero code 4 times within\n 10 minute window. Maximum value is 10.\n x-kubernetes-immutable: true\n maxFailuresTotal:\n type: integer\n format: int64\n x-dcl-go-name: MaxFailuresTotal\n description: Optional. Maximum number of times in total a driver\n may be restarted as a result of driver exiting with non-zero\n code before job is reported failed. Maximum value is 240.\n x-kubernetes-immutable: true\n sparkJob:\n type: object\n x-dcl-go-name: SparkJob\n x-dcl-go-type: WorkflowTemplateJobsSparkJob\n description: Optional. Job is a Spark job.\n x-kubernetes-immutable: true\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATHs\n of the Spark driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainClass:\n type: string\n x-dcl-go-name: MainClass\n description: The name of the driver's main class. The jar file\n that contains the class must be in the default CLASSPATH or\n specified in `jar_file_uris`.\n x-kubernetes-immutable: true\n mainJarFileUri:\n type: string\n x-dcl-go-name: MainJarFileUri\n description: The HCFS URI of the jar file that contains the main\n class.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Spark. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n sparkRJob:\n type: object\n x-dcl-go-name: SparkRJob\n x-dcl-go-type: WorkflowTemplateJobsSparkRJob\n description: Optional. Job is a SparkR job.\n x-kubernetes-immutable: true\n required:\n - mainRFileUri\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkRJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainRFileUri:\n type: string\n x-dcl-go-name: MainRFileUri\n description: Required. The HCFS URI of the main R file to use\n as the driver. Must be a .R file.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure SparkR. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n sparkSqlJob:\n type: object\n x-dcl-go-name: SparkSqlJob\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJob\n description: Optional. Job is a SparkSql job.\n x-kubernetes-immutable: true\n properties:\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to be added to the\n Spark CLASSPATH.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Spark SQL's SparkConf. Properties that conflict\n with values set by the Dataproc API may be overwritten.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains SQL queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Spark SQL command: SET `name=\"value\";`).'\n x-kubernetes-immutable: true\n stepId:\n type: string\n x-dcl-go-name: StepId\n description: Required. The step id. The id must be unique among all\n jobs within the template. The step id is used as prefix for job\n id, as job `goog-dataproc-workflow-step-id` label, and in prerequisiteStepIds\n field from other steps. The id must contain only letters (a-z, A-Z),\n numbers (0-9), underscores (_), and hyphens (-). Cannot begin or\n end with underscore or hyphen. Must consist of between 3 and 50\n characters.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this template. These\n labels will be propagated to all jobs and clusters created by the workflow\n instance. Label **keys** must contain 1 to 63 characters, and must conform\n to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values**\n may be empty, but, if present, must contain 1 to 63 characters, and must\n conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than\n 32 labels can be associated with a template.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The resource name of the workflow template, as\n described in https://cloud.google.com/apis/design/resource_names. * For\n `projects.regions.workflowTemplates`, the resource name of the template\n has the following format: `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`\n * For `projects.locations.workflowTemplates`, the resource name of the\n template has the following format: `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`'\n x-kubernetes-immutable: true\n parameters:\n type: array\n x-dcl-go-name: Parameters\n description: Optional. Template parameters whose values are substituted\n into the template. Values for parameters must be provided when the template\n is instantiated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplateParameters\n required:\n - name\n - fields\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Brief description of the parameter. Must not\n exceed 1024 characters.\n x-kubernetes-immutable: true\n fields:\n type: array\n x-dcl-go-name: Fields\n description: 'Required. Paths to all fields that the parameter replaces.\n A field is allowed to appear in at most one parameter''s list of\n field paths. A field path is similar in syntax to a google.protobuf.FieldMask.\n For example, a field path that references the zone field of a workflow\n template''s cluster selector would be specified as `placement.clusterSelector.zone`.\n Also, field paths can reference fields using the following syntax:\n * Values in maps can be referenced by key: * labels[''key''] * placement.clusterSelector.clusterLabels[''key'']\n * placement.managedCluster.labels[''key''] * placement.clusterSelector.clusterLabels[''key'']\n * jobs[''step-id''].labels[''key''] * Jobs in the jobs list can\n be referenced by step-id: * jobs[''step-id''].hadoopJob.mainJarFileUri\n * jobs[''step-id''].hiveJob.queryFileUri * jobs[''step-id''].pySparkJob.mainPythonFileUri\n * jobs[''step-id''].hadoopJob.jarFileUris[0] * jobs[''step-id''].hadoopJob.archiveUris[0]\n * jobs[''step-id''].hadoopJob.fileUris[0] * jobs[''step-id''].pySparkJob.pythonFileUris[0]\n * Items in repeated fields can be referenced by a zero-based index:\n * jobs[''step-id''].sparkJob.args[0] * Other examples: * jobs[''step-id''].hadoopJob.properties[''key'']\n * jobs[''step-id''].hadoopJob.args[0] * jobs[''step-id''].hiveJob.scriptVariables[''key'']\n * jobs[''step-id''].hadoopJob.mainJarFileUri * placement.clusterSelector.zone\n It may not be possible to parameterize maps and repeated fields\n in their entirety since only individual map values and individual\n items in repeated fields can be referenced. For example, the following\n field paths are invalid: - placement.clusterSelector.clusterLabels\n - jobs[''step-id''].sparkJob.args'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Parameter name. The parameter name is used\n as the key, and paired with the parameter value, which are passed\n to the template when the template is instantiated. The name must\n contain only capital letters (A-Z), numbers (0-9), and underscores\n (_), and must not start with a number. The maximum length is 40\n characters.\n x-kubernetes-immutable: true\n validation:\n type: object\n x-dcl-go-name: Validation\n x-dcl-go-type: WorkflowTemplateParametersValidation\n description: Optional. Validation rules to be applied to this parameter's\n value.\n x-kubernetes-immutable: true\n properties:\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: WorkflowTemplateParametersValidationRegex\n description: Validation based on regular expressions.\n x-kubernetes-immutable: true\n required:\n - regexes\n properties:\n regexes:\n type: array\n x-dcl-go-name: Regexes\n description: Required. RE2 regular expressions used to validate\n the parameter's value. The value must match the regex in\n its entirety (substring matches are not sufficient).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n values:\n type: object\n x-dcl-go-name: Values\n x-dcl-go-type: WorkflowTemplateParametersValidationValues\n description: Validation based on a list of allowed values.\n x-kubernetes-immutable: true\n required:\n - values\n properties:\n values:\n type: array\n x-dcl-go-name: Values\n description: Required. List of allowed values for the parameter.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n placement:\n type: object\n x-dcl-go-name: Placement\n x-dcl-go-type: WorkflowTemplatePlacement\n description: Required. WorkflowTemplate scheduling information.\n x-kubernetes-immutable: true\n properties:\n clusterSelector:\n type: object\n x-dcl-go-name: ClusterSelector\n x-dcl-go-type: WorkflowTemplatePlacementClusterSelector\n description: Optional. A selector that chooses target cluster for jobs\n based on metadata. The selector is evaluated at the time each job\n is submitted.\n x-kubernetes-immutable: true\n required:\n - clusterLabels\n properties:\n clusterLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ClusterLabels\n description: Required. The cluster labels. Cluster must have all\n labels to match.\n x-kubernetes-immutable: true\n zone:\n type: string\n x-dcl-go-name: Zone\n description: Optional. The zone where workflow process executes.\n This parameter does not affect the selection of the cluster. If\n unspecified, the zone of the first cluster matching the selector\n is used.\n x-kubernetes-immutable: true\n managedCluster:\n type: object\n x-dcl-go-name: ManagedCluster\n x-dcl-go-type: WorkflowTemplatePlacementManagedCluster\n description: A cluster that is managed by the workflow.\n x-kubernetes-immutable: true\n required:\n - clusterName\n - config\n properties:\n clusterName:\n type: string\n x-dcl-go-name: ClusterName\n description: Required. The cluster name prefix. A unique cluster\n name will be formed by appending a random suffix. The name must\n contain only lower-case letters (a-z), numbers (0-9), and hyphens\n (-). Must begin with a letter. Cannot begin or end with hyphen.\n Must consist of between 2 and 35 characters.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfig\n description: Required. The cluster configuration.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field\n is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the\n cluster. Only resource names including projectid and location\n (region) are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for\n PD disk encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this\n cluster\n x-kubernetes-immutable: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific\n ports on the cluster from external sources. Defaults to\n false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to\n URLs. Will only be populated if enable_http_port_access\n is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings\n for all instances in a cluster.\n x-kubernetes-immutable: true\n properties:\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster\n will only have internal IP addresses. By default, clusters\n are not restricted to internal IP addresses, and will\n have ephemeral external IP addresses assigned to each\n instance. This `internal_ip_only` restriction can only\n be enabled for subnetwork enabled networks, and all off-cluster\n dependencies must be configured to be accessible without\n external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add\n to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be\n used for machine communications. Cannot be specified with\n subnetwork_uri. If neither `network_uri` nor `subnetwork_uri`\n is specified, the \"default\" network of the project is\n used, if it exists. Cannot be a \"Custom Subnet Network\"\n (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short\n name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant\n clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node\n group resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial\n URI, or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster.\n Possible values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED,\n INHERIT_FROM_SUBNETWORK, OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming\n Zonal reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume\n Possible values: TYPE_UNSPECIFIED, NO_RESERVATION,\n ANY_RESERVATION, SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key\n of reservation resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values\n of reservation resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google\n Cloud Platform services. If not specified, the [Compute\n Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes\n to be included in Compute Engine instances. The following\n base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write\n * https://www.googleapis.com/auth/logging.write If no\n scopes are specified, the following defaults are also\n provided: * https://www.googleapis.com/auth/bigquery *\n https://www.googleapis.com/auth/bigtable.admin.table *\n https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to\n be used for machine communications. Cannot be specified\n with network_uri. A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances\n (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine\n cluster will be located. On a create request, it is required\n in the \"global\" region. If omitted in a non-global Dataproc\n region, the service will pick a zone in the corresponding\n Compute Engine region. On a get request, zone will always\n be present. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n gkeClusterConfig:\n type: object\n x-dcl-go-name: GkeClusterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfig\n description: Optional. BETA. The Kubernetes Engine config for\n Dataproc clusters deployed to Kubernetes. Setting this is\n considered mutually exclusive with Compute Engine-based options\n such as `gce_cluster_config`, `master_config`, `worker_config`,\n `secondary_worker_config`, and `autoscaling_config`.\n x-kubernetes-immutable: true\n properties:\n namespacedGkeDeploymentTarget:\n type: object\n x-dcl-go-name: NamespacedGkeDeploymentTarget\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTarget\n description: Optional. A target for the deployment.\n x-kubernetes-immutable: true\n properties:\n clusterNamespace:\n type: string\n x-dcl-go-name: ClusterNamespace\n description: Optional. A namespace within the GKE cluster\n to deploy into.\n x-kubernetes-immutable: true\n targetGkeCluster:\n type: string\n x-dcl-go-name: TargetGkeCluster\n description: 'Optional. The target GKE cluster to deploy\n to. Format: ''projects/{project}/locations/{location}/clusters/{cluster_id}'''\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Container/Cluster\n field: name\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after\n config is completed. By default, executables are run on master\n and all worker nodes. You can test a node''s `role` metadata\n to run an executable on a master or worker node, as shown\n below using `curl` (you can also use `wget`): ROLE=$(curl\n -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific\n actions ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigInitializationActions\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable\n file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to\n complete. Default is 10 minutes (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message\n (the name of the executable that caused the error and\n the exceeded timeout period) if the executable is not\n completed at end of the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster.\n The cluster will be auto-deleted at the end of this period.\n Minimum value is 10 minutes; maximum value is 14 days\n (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster\n alive while idling (when no jobs are running). Passing\n this threshold will cause the cluster to be deleted. Minimum\n value is 5 minutes; maximum value is 14 days (see JSON\n representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle\n (most recent job finished) and became eligible for deletion\n due to idleness (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for\n the master instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n metastoreConfig:\n type: object\n x-dcl-go-name: MetastoreConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMetastoreConfig\n description: Optional. Metastore configuration.\n x-kubernetes-immutable: true\n required:\n - dataprocMetastoreService\n properties:\n dataprocMetastoreService:\n type: string\n x-dcl-go-name: DataprocMetastoreService\n description: 'Required. Resource name of an existing Dataproc\n Metastore service. Example: * `projects/[project_id]/locations/[dataproc_region]/services/[service-name]`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Metastore/Service\n field: selfLink\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for\n additional worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname)\n for the remote trusted realm in a cross realm trust\n relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc\n on-cluster KDC will trust, should the user enable\n cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the shared password between\n the on-cluster Kerberos realm and the remote trusted\n realm, in a cross realm trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to\n Kerberize the cluster (default: false). Set this field\n to true to enable Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the master key of the KDC\n database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided key. For the self-signed certificate, this\n password is generated by Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the\n keystore file used for SSL encryption. If not provided,\n Dataproc will provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided keystore. For the self-signed certificate,\n this password is generated by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to\n encrypt various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos\n realm. If not specified, the uppercased domain of\n hostnames will be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting\n ticket, in hours. If not specified, or user specifies\n 0, then default value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the\n truststore file used for SSL encryption. If not provided,\n Dataproc will provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided truststore. For the self-signed certificate,\n this password is generated by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside\n the cluster.\n x-kubernetes-immutable: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the\n cluster. It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate\n on the cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon\n config files. Property keys are specified in `prefix:property`\n format, for example `core:hadoop.tmp.dir`. The following\n are supported prefixes and their mappings: * capacity-scheduler:\n `capacity-scheduler.xml` * core: `core-site.xml` * distcp:\n `distcp-default.xml` * hdfs: `hdfs-site.xml` * hive: `hive-site.xml`\n * mapred: `mapred-site.xml` * pig: `pig.properties` *\n spark: `spark-defaults.conf` * yarn: `yarn-site.xml` For\n more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage\n job dependencies, config files, and job driver console output.\n If you do not specify a staging bucket, Cloud Dataproc will\n determine a Cloud Storage location (US, ASIA, or EU) for your\n cluster's staging bucket according to the Compute Engine zone\n where your cluster is deployed, and then create and manage\n this project-level, per-location bucket (see [Dataproc staging\n bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI\n to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store\n ephemeral cluster and jobs data, such as Spark and MapReduce\n history files. If you do not specify a temp bucket, Dataproc\n will determine a Cloud Storage location (US, ASIA, or EU)\n for your cluster's temp bucket according to the Compute Engine\n zone where your cluster is deployed, and then create and manage\n this project-level, per-location bucket. The default bucket\n has a TTL of 90 days, but you can use any TTL (or none) if\n you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The labels to associate with this cluster.\n Label keys must be between 1 and 63 characters long, and must\n conform to the following PCRE regular expression: p{Ll}p{Lo}{0,62}\n Label values must be between 1 and 63 characters long, and must\n conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}_-]{0,63}\n No more than 32 labels can be associated with a given cluster.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time template was last updated.\n x-kubernetes-immutable: true\n version:\n type: integer\n format: int64\n x-dcl-go-name: Version\n readOnly: true\n description: Output only. The current version of this workflow template.\n x-kubernetes-immutable: true\n") +var YAML_workflow_template = []byte("info:\n title: Dataproc/WorkflowTemplate\n description: The Dataproc WorkflowTemplate resource\n x-dcl-struct-name: WorkflowTemplate\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n apply:\n description: The function used to apply information about a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n delete:\n description: The function used to delete a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n deleteAll:\n description: The function used to delete all WorkflowTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkflowTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkflowTemplate:\n title: WorkflowTemplate\n x-dcl-id: projects/{{project}}/locations/{{location}}/workflowTemplates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - placement\n - jobs\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time template was created.\n x-kubernetes-immutable: true\n dagTimeout:\n type: string\n x-dcl-go-name: DagTimeout\n description: Optional. Timeout duration for the DAG of jobs, expressed in\n seconds (see [JSON representation of duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n The timeout duration must be from 10 minutes (\"600s\") to 24 hours (\"86400s\").\n The timer begins when the first job is submitted. If the workflow is running\n at the end of the timeout period, any remaining jobs are cancelled, the\n workflow is ended, and if the workflow was running on a [managed cluster](/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster),\n the cluster is deleted.\n x-kubernetes-immutable: true\n jobs:\n type: array\n x-dcl-go-name: Jobs\n description: Required. The Directed Acyclic Graph of Jobs to submit.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplateJobs\n required:\n - stepId\n properties:\n hadoopJob:\n type: object\n x-dcl-go-name: HadoopJob\n x-dcl-go-type: WorkflowTemplateJobsHadoopJob\n description: Optional. Job is a Hadoop job.\n x-kubernetes-immutable: true\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n in the working directory of Hadoop drivers and tasks. Supported\n file types: .jar, .tar, .tar.gz, .tgz, or .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `-libjars` or `-Dfoo=bar`, that\n can be set as job properties, since a collision may occur that\n causes an incorrect job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS (Hadoop Compatible Filesystem) URIs\n of files to be copied to the working directory of Hadoop drivers\n and distributed tasks. Useful for naively parallel tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. Jar file URIs to add to the CLASSPATHs\n of the Hadoop driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsHadoopJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainClass:\n type: string\n x-dcl-go-name: MainClass\n description: The name of the driver's main class. The jar file\n containing the class must be in the default CLASSPATH or specified\n in `jar_file_uris`.\n x-kubernetes-immutable: true\n mainJarFileUri:\n type: string\n x-dcl-go-name: MainJarFileUri\n description: 'The HCFS URI of the jar file containing the main\n class. Examples: ''gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar''\n ''hdfs:/tmp/test-samples/custom-wordcount.jar'' ''file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Hadoop. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site and classes in user code.\n x-kubernetes-immutable: true\n hiveJob:\n type: object\n x-dcl-go-name: HiveJob\n x-dcl-go-type: WorkflowTemplateJobsHiveJob\n description: Optional. Job is a Hive job.\n x-kubernetes-immutable: true\n properties:\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATH\n of the Hive server and Hadoop MapReduce (MR) tasks. Can contain\n Hive SerDes and UDFs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names and values,\n used to configure Hive. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml,\n and classes in user code.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains Hive queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsHiveJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Hive command: `SET name=\"value\";`).'\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The labels to associate with this job. Label\n keys must be between 1 and 63 characters long, and must conform\n to the following regular expression: p{Ll}p{Lo}{0,62} Label values\n must be between 1 and 63 characters long, and must conform to the\n following regular expression: [p{Ll}p{Lo}p{N}_-]{0,63} No more than\n 32 labels can be associated with a given job.'\n x-kubernetes-immutable: true\n pigJob:\n type: object\n x-dcl-go-name: PigJob\n x-dcl-go-type: WorkflowTemplateJobsPigJob\n description: Optional. Job is a Pig job.\n x-kubernetes-immutable: true\n properties:\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATH\n of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain\n Pig UDFs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPigJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Pig. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties,\n and classes in user code.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains the Pig\n queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsPigJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Pig command: `name=[value]`).'\n x-kubernetes-immutable: true\n prerequisiteStepIds:\n type: array\n x-dcl-go-name: PrerequisiteStepIds\n description: Optional. The optional list of prerequisite job step_ids.\n If not specified, the job will start at the beginning of workflow.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n prestoJob:\n type: object\n x-dcl-go-name: PrestoJob\n x-dcl-go-type: WorkflowTemplateJobsPrestoJob\n description: Optional. Job is a Presto job.\n x-kubernetes-immutable: true\n properties:\n clientTags:\n type: array\n x-dcl-go-name: ClientTags\n description: Optional. Presto client tags to attach to this query\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPrestoJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n outputFormat:\n type: string\n x-dcl-go-name: OutputFormat\n description: Optional. The format in which query output will be\n displayed. See the Presto documentation for supported output\n formats\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values.\n Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html)\n Equivalent to using the --session flag in the Presto CLI\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains SQL queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsPrestoJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n pysparkJob:\n type: object\n x-dcl-go-name: PysparkJob\n x-dcl-go-type: WorkflowTemplateJobsPysparkJob\n description: Optional. Job is a PySpark job.\n x-kubernetes-immutable: true\n required:\n - mainPythonFileUri\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATHs\n of the Python driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPysparkJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainPythonFileUri:\n type: string\n x-dcl-go-name: MainPythonFileUri\n description: Required. The HCFS URI of the main Python file to\n use as the driver. Must be a .py file.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure PySpark. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n pythonFileUris:\n type: array\n x-dcl-go-name: PythonFileUris\n description: 'Optional. HCFS file URIs of Python files to pass\n to the PySpark framework. Supported file types: .py, .egg, and\n .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scheduling:\n type: object\n x-dcl-go-name: Scheduling\n x-dcl-go-type: WorkflowTemplateJobsScheduling\n description: Optional. Job scheduling configuration.\n x-kubernetes-immutable: true\n properties:\n maxFailuresPerHour:\n type: integer\n format: int64\n x-dcl-go-name: MaxFailuresPerHour\n description: Optional. Maximum number of times per hour a driver\n may be restarted as a result of driver exiting with non-zero\n code before job is reported failed. A job may be reported as\n thrashing if driver exits with non-zero code 4 times within\n 10 minute window. Maximum value is 10.\n x-kubernetes-immutable: true\n maxFailuresTotal:\n type: integer\n format: int64\n x-dcl-go-name: MaxFailuresTotal\n description: Optional. Maximum number of times in total a driver\n may be restarted as a result of driver exiting with non-zero\n code before job is reported failed. Maximum value is 240.\n x-kubernetes-immutable: true\n sparkJob:\n type: object\n x-dcl-go-name: SparkJob\n x-dcl-go-type: WorkflowTemplateJobsSparkJob\n description: Optional. Job is a Spark job.\n x-kubernetes-immutable: true\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATHs\n of the Spark driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainClass:\n type: string\n x-dcl-go-name: MainClass\n description: The name of the driver's main class. The jar file\n that contains the class must be in the default CLASSPATH or\n specified in `jar_file_uris`.\n x-kubernetes-immutable: true\n mainJarFileUri:\n type: string\n x-dcl-go-name: MainJarFileUri\n description: The HCFS URI of the jar file that contains the main\n class.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Spark. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n sparkRJob:\n type: object\n x-dcl-go-name: SparkRJob\n x-dcl-go-type: WorkflowTemplateJobsSparkRJob\n description: Optional. Job is a SparkR job.\n x-kubernetes-immutable: true\n required:\n - mainRFileUri\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkRJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainRFileUri:\n type: string\n x-dcl-go-name: MainRFileUri\n description: Required. The HCFS URI of the main R file to use\n as the driver. Must be a .R file.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure SparkR. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n sparkSqlJob:\n type: object\n x-dcl-go-name: SparkSqlJob\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJob\n description: Optional. Job is a SparkSql job.\n x-kubernetes-immutable: true\n properties:\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to be added to the\n Spark CLASSPATH.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Spark SQL's SparkConf. Properties that conflict\n with values set by the Dataproc API may be overwritten.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains SQL queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Spark SQL command: SET `name=\"value\";`).'\n x-kubernetes-immutable: true\n stepId:\n type: string\n x-dcl-go-name: StepId\n description: Required. The step id. The id must be unique among all\n jobs within the template. The step id is used as prefix for job\n id, as job `goog-dataproc-workflow-step-id` label, and in prerequisiteStepIds\n field from other steps. The id must contain only letters (a-z, A-Z),\n numbers (0-9), underscores (_), and hyphens (-). Cannot begin or\n end with underscore or hyphen. Must consist of between 3 and 50\n characters.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this template. These\n labels will be propagated to all jobs and clusters created by the workflow\n instance. Label **keys** must contain 1 to 63 characters, and must conform\n to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values**\n may be empty, but, if present, must contain 1 to 63 characters, and must\n conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than\n 32 labels can be associated with a template.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The resource name of the workflow template, as\n described in https://cloud.google.com/apis/design/resource_names. * For\n `projects.regions.workflowTemplates`, the resource name of the template\n has the following format: `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`\n * For `projects.locations.workflowTemplates`, the resource name of the\n template has the following format: `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`'\n x-kubernetes-immutable: true\n parameters:\n type: array\n x-dcl-go-name: Parameters\n description: Optional. Template parameters whose values are substituted\n into the template. Values for parameters must be provided when the template\n is instantiated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplateParameters\n required:\n - name\n - fields\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Brief description of the parameter. Must not\n exceed 1024 characters.\n x-kubernetes-immutable: true\n fields:\n type: array\n x-dcl-go-name: Fields\n description: 'Required. Paths to all fields that the parameter replaces.\n A field is allowed to appear in at most one parameter''s list of\n field paths. A field path is similar in syntax to a google.protobuf.FieldMask.\n For example, a field path that references the zone field of a workflow\n template''s cluster selector would be specified as `placement.clusterSelector.zone`.\n Also, field paths can reference fields using the following syntax:\n * Values in maps can be referenced by key: * labels[''key''] * placement.clusterSelector.clusterLabels[''key'']\n * placement.managedCluster.labels[''key''] * placement.clusterSelector.clusterLabels[''key'']\n * jobs[''step-id''].labels[''key''] * Jobs in the jobs list can\n be referenced by step-id: * jobs[''step-id''].hadoopJob.mainJarFileUri\n * jobs[''step-id''].hiveJob.queryFileUri * jobs[''step-id''].pySparkJob.mainPythonFileUri\n * jobs[''step-id''].hadoopJob.jarFileUris[0] * jobs[''step-id''].hadoopJob.archiveUris[0]\n * jobs[''step-id''].hadoopJob.fileUris[0] * jobs[''step-id''].pySparkJob.pythonFileUris[0]\n * Items in repeated fields can be referenced by a zero-based index:\n * jobs[''step-id''].sparkJob.args[0] * Other examples: * jobs[''step-id''].hadoopJob.properties[''key'']\n * jobs[''step-id''].hadoopJob.args[0] * jobs[''step-id''].hiveJob.scriptVariables[''key'']\n * jobs[''step-id''].hadoopJob.mainJarFileUri * placement.clusterSelector.zone\n It may not be possible to parameterize maps and repeated fields\n in their entirety since only individual map values and individual\n items in repeated fields can be referenced. For example, the following\n field paths are invalid: - placement.clusterSelector.clusterLabels\n - jobs[''step-id''].sparkJob.args'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Parameter name. The parameter name is used\n as the key, and paired with the parameter value, which are passed\n to the template when the template is instantiated. The name must\n contain only capital letters (A-Z), numbers (0-9), and underscores\n (_), and must not start with a number. The maximum length is 40\n characters.\n x-kubernetes-immutable: true\n validation:\n type: object\n x-dcl-go-name: Validation\n x-dcl-go-type: WorkflowTemplateParametersValidation\n description: Optional. Validation rules to be applied to this parameter's\n value.\n x-kubernetes-immutable: true\n properties:\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: WorkflowTemplateParametersValidationRegex\n description: Validation based on regular expressions.\n x-kubernetes-immutable: true\n required:\n - regexes\n properties:\n regexes:\n type: array\n x-dcl-go-name: Regexes\n description: Required. RE2 regular expressions used to validate\n the parameter's value. The value must match the regex in\n its entirety (substring matches are not sufficient).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n values:\n type: object\n x-dcl-go-name: Values\n x-dcl-go-type: WorkflowTemplateParametersValidationValues\n description: Validation based on a list of allowed values.\n x-kubernetes-immutable: true\n required:\n - values\n properties:\n values:\n type: array\n x-dcl-go-name: Values\n description: Required. List of allowed values for the parameter.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n placement:\n type: object\n x-dcl-go-name: Placement\n x-dcl-go-type: WorkflowTemplatePlacement\n description: Required. WorkflowTemplate scheduling information.\n x-kubernetes-immutable: true\n properties:\n clusterSelector:\n type: object\n x-dcl-go-name: ClusterSelector\n x-dcl-go-type: WorkflowTemplatePlacementClusterSelector\n description: Optional. A selector that chooses target cluster for jobs\n based on metadata. The selector is evaluated at the time each job\n is submitted.\n x-kubernetes-immutable: true\n required:\n - clusterLabels\n properties:\n clusterLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ClusterLabels\n description: Required. The cluster labels. Cluster must have all\n labels to match.\n x-kubernetes-immutable: true\n zone:\n type: string\n x-dcl-go-name: Zone\n description: Optional. The zone where workflow process executes.\n This parameter does not affect the selection of the cluster. If\n unspecified, the zone of the first cluster matching the selector\n is used.\n x-kubernetes-immutable: true\n managedCluster:\n type: object\n x-dcl-go-name: ManagedCluster\n x-dcl-go-type: WorkflowTemplatePlacementManagedCluster\n description: A cluster that is managed by the workflow.\n x-kubernetes-immutable: true\n required:\n - clusterName\n - config\n properties:\n clusterName:\n type: string\n x-dcl-go-name: ClusterName\n description: Required. The cluster name prefix. A unique cluster\n name will be formed by appending a random suffix. The name must\n contain only lower-case letters (a-z), numbers (0-9), and hyphens\n (-). Must begin with a letter. Cannot begin or end with hyphen.\n Must consist of between 2 and 35 characters.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfig\n description: Required. The cluster configuration.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field\n is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the\n cluster. Only resource names including projectid and location\n (region) are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for\n PD disk encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this\n cluster\n x-kubernetes-immutable: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific\n ports on the cluster from external sources. Defaults to\n false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to\n URLs. Will only be populated if enable_http_port_access\n is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings\n for all instances in a cluster.\n x-kubernetes-immutable: true\n properties:\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster\n will only have internal IP addresses. By default, clusters\n are not restricted to internal IP addresses, and will\n have ephemeral external IP addresses assigned to each\n instance. This `internal_ip_only` restriction can only\n be enabled for subnetwork enabled networks, and all off-cluster\n dependencies must be configured to be accessible without\n external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add\n to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be\n used for machine communications. Cannot be specified with\n subnetwork_uri. If neither `network_uri` nor `subnetwork_uri`\n is specified, the \"default\" network of the project is\n used, if it exists. Cannot be a \"Custom Subnet Network\"\n (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short\n name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant\n clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node\n group resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial\n URI, or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster.\n Possible values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED,\n INHERIT_FROM_SUBNETWORK, OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming\n Zonal reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume\n Possible values: TYPE_UNSPECIFIED, NO_RESERVATION,\n ANY_RESERVATION, SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key\n of reservation resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values\n of reservation resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google\n Cloud Platform services. If not specified, the [Compute\n Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes\n to be included in Compute Engine instances. The following\n base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write\n * https://www.googleapis.com/auth/logging.write If no\n scopes are specified, the following defaults are also\n provided: * https://www.googleapis.com/auth/bigquery *\n https://www.googleapis.com/auth/bigtable.admin.table *\n https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to\n be used for machine communications. Cannot be specified\n with network_uri. A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances\n (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine\n cluster will be located. On a create request, it is required\n in the \"global\" region. If omitted in a non-global Dataproc\n region, the service will pick a zone in the corresponding\n Compute Engine region. On a get request, zone will always\n be present. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n gkeClusterConfig:\n type: object\n x-dcl-go-name: GkeClusterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfig\n description: Optional. BETA. The Kubernetes Engine config for\n Dataproc clusters deployed to Kubernetes. Setting this is\n considered mutually exclusive with Compute Engine-based options\n such as `gce_cluster_config`, `master_config`, `worker_config`,\n `secondary_worker_config`, and `autoscaling_config`.\n x-kubernetes-immutable: true\n properties:\n namespacedGkeDeploymentTarget:\n type: object\n x-dcl-go-name: NamespacedGkeDeploymentTarget\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTarget\n description: Optional. A target for the deployment.\n x-kubernetes-immutable: true\n properties:\n clusterNamespace:\n type: string\n x-dcl-go-name: ClusterNamespace\n description: Optional. A namespace within the GKE cluster\n to deploy into.\n x-kubernetes-immutable: true\n targetGkeCluster:\n type: string\n x-dcl-go-name: TargetGkeCluster\n description: 'Optional. The target GKE cluster to deploy\n to. Format: ''projects/{project}/locations/{location}/clusters/{cluster_id}'''\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Container/Cluster\n field: name\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after\n config is completed. By default, executables are run on master\n and all worker nodes. You can test a node''s `role` metadata\n to run an executable on a master or worker node, as shown\n below using `curl` (you can also use `wget`): ROLE=$(curl\n -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific\n actions ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigInitializationActions\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable\n file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to\n complete. Default is 10 minutes (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message\n (the name of the executable that caused the error and\n the exceeded timeout period) if the executable is not\n completed at end of the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster.\n The cluster will be auto-deleted at the end of this period.\n Minimum value is 10 minutes; maximum value is 14 days\n (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster\n alive while idling (when no jobs are running). Passing\n this threshold will cause the cluster to be deleted. Minimum\n value is 5 minutes; maximum value is 14 days (see JSON\n representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle\n (most recent job finished) and became eligible for deletion\n due to idleness (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for\n the master instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n metastoreConfig:\n type: object\n x-dcl-go-name: MetastoreConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMetastoreConfig\n description: Optional. Metastore configuration.\n x-kubernetes-immutable: true\n required:\n - dataprocMetastoreService\n properties:\n dataprocMetastoreService:\n type: string\n x-dcl-go-name: DataprocMetastoreService\n description: 'Required. Resource name of an existing Dataproc\n Metastore service. Example: * `projects/[project_id]/locations/[dataproc_region]/services/[service-name]`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Metastore/Service\n field: selfLink\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for\n additional worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname)\n for the remote trusted realm in a cross realm trust\n relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc\n on-cluster KDC will trust, should the user enable\n cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the shared password between\n the on-cluster Kerberos realm and the remote trusted\n realm, in a cross realm trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to\n Kerberize the cluster (default: false). Set this field\n to true to enable Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the master key of the KDC\n database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided key. For the self-signed certificate, this\n password is generated by Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the\n keystore file used for SSL encryption. If not provided,\n Dataproc will provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided keystore. For the self-signed certificate,\n this password is generated by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to\n encrypt various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos\n realm. If not specified, the uppercased domain of\n hostnames will be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting\n ticket, in hours. If not specified, or user specifies\n 0, then default value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the\n truststore file used for SSL encryption. If not provided,\n Dataproc will provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided truststore. For the self-signed certificate,\n this password is generated by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside\n the cluster.\n x-kubernetes-immutable: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the\n cluster. It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate\n on the cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon\n config files. Property keys are specified in `prefix:property`\n format, for example `core:hadoop.tmp.dir`. The following\n are supported prefixes and their mappings: * capacity-scheduler:\n `capacity-scheduler.xml` * core: `core-site.xml` * distcp:\n `distcp-default.xml` * hdfs: `hdfs-site.xml` * hive: `hive-site.xml`\n * mapred: `mapred-site.xml` * pig: `pig.properties` *\n spark: `spark-defaults.conf` * yarn: `yarn-site.xml` For\n more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage\n job dependencies, config files, and job driver console output.\n If you do not specify a staging bucket, Cloud Dataproc will\n determine a Cloud Storage location (US, ASIA, or EU) for your\n cluster's staging bucket according to the Compute Engine zone\n where your cluster is deployed, and then create and manage\n this project-level, per-location bucket (see [Dataproc staging\n bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI\n to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store\n ephemeral cluster and jobs data, such as Spark and MapReduce\n history files. If you do not specify a temp bucket, Dataproc\n will determine a Cloud Storage location (US, ASIA, or EU)\n for your cluster's temp bucket according to the Compute Engine\n zone where your cluster is deployed, and then create and manage\n this project-level, per-location bucket. The default bucket\n has a TTL of 90 days, but you can use any TTL (or none) if\n you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The labels to associate with this cluster.\n Label keys must be between 1 and 63 characters long, and must\n conform to the following PCRE regular expression: p{Ll}p{Lo}{0,62}\n Label values must be between 1 and 63 characters long, and must\n conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}_-]{0,63}\n No more than 32 labels can be associated with a given cluster.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time template was last updated.\n x-kubernetes-immutable: true\n version:\n type: integer\n format: int64\n x-dcl-go-name: Version\n readOnly: true\n description: Output only. The current version of this workflow template.\n x-kubernetes-immutable: true\n") -// 129028 bytes -// MD5: db78ffe81f1b0f3d632a52b5d1dea8e3 +// 129053 bytes +// MD5: 220058f36671ab5846280146ea241741 diff --git a/services/google/dataproc/alpha/workflow_template_schema.go b/services/google/dataproc/alpha/workflow_template_schema.go index ced194dd0e..9c46e09c4c 100755 --- a/services/google/dataproc/alpha/workflow_template_schema.go +++ b/services/google/dataproc/alpha/workflow_template_schema.go @@ -23,6 +23,7 @@ func DCLWorkflowTemplateSchema() *dcl.Schema { Title: "Dataproc/WorkflowTemplate", Description: "The Dataproc WorkflowTemplate resource", StructName: "WorkflowTemplate", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataproc/autoscaling_policy.yaml b/services/google/dataproc/autoscaling_policy.yaml index de63864e45..7dac3ade4d 100755 --- a/services/google/dataproc/autoscaling_policy.yaml +++ b/services/google/dataproc/autoscaling_policy.yaml @@ -15,6 +15,7 @@ info: title: Dataproc/AutoscalingPolicy description: The Dataproc AutoscalingPolicy resource x-dcl-struct-name: AutoscalingPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataproc/autoscaling_policy_schema.go b/services/google/dataproc/autoscaling_policy_schema.go index 3d88e10dd8..c159d49a46 100755 --- a/services/google/dataproc/autoscaling_policy_schema.go +++ b/services/google/dataproc/autoscaling_policy_schema.go @@ -23,6 +23,7 @@ func DCLAutoscalingPolicySchema() *dcl.Schema { Title: "Dataproc/AutoscalingPolicy", Description: "The Dataproc AutoscalingPolicy resource", StructName: "AutoscalingPolicy", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataproc/autoscaling_policy_yaml_embed.go b/services/google/dataproc/autoscaling_policy_yaml_embed.go index 8c90d2550b..4fa7e1445b 100755 --- a/services/google/dataproc/autoscaling_policy_yaml_embed.go +++ b/services/google/dataproc/autoscaling_policy_yaml_embed.go @@ -17,7 +17,7 @@ package dataproc // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataproc/autoscaling_policy.yaml -var YAML_autoscaling_policy = []byte("info:\n title: Dataproc/AutoscalingPolicy\n description: The Dataproc AutoscalingPolicy resource\n x-dcl-struct-name: AutoscalingPolicy\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n apply:\n description: The function used to apply information about a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n delete:\n description: The function used to delete a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n deleteAll:\n description: The function used to delete all AutoscalingPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many AutoscalingPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n AutoscalingPolicy:\n title: AutoscalingPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/autoscalingPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - basicAlgorithm\n - workerConfig\n - project\n - location\n properties:\n basicAlgorithm:\n type: object\n x-dcl-go-name: BasicAlgorithm\n x-dcl-go-type: AutoscalingPolicyBasicAlgorithm\n required:\n - yarnConfig\n properties:\n cooldownPeriod:\n type: string\n x-dcl-go-name: CooldownPeriod\n description: 'Optional. Duration between scaling events. A scaling period\n starts after the update operation from the previous event has completed.\n Bounds: . Default: 2m.'\n yarnConfig:\n type: object\n x-dcl-go-name: YarnConfig\n x-dcl-go-type: AutoscalingPolicyBasicAlgorithmYarnConfig\n description: Required. YARN autoscaling configuration.\n required:\n - gracefulDecommissionTimeout\n - scaleUpFactor\n - scaleDownFactor\n properties:\n gracefulDecommissionTimeout:\n type: string\n x-dcl-go-name: GracefulDecommissionTimeout\n description: Required. Timeout for YARN graceful decommissioning\n of Node Managers. Specifies the duration to wait for jobs to complete\n before forcefully removing workers (and potentially interrupting\n jobs). Only applicable to downscaling operations.\n scaleDownFactor:\n type: number\n format: double\n x-dcl-go-name: ScaleDownFactor\n description: Required. Fraction of average YARN pending memory in\n the last cooldown period for which to remove workers. A scale-down\n factor of 1 will result in scaling down so that there is no available\n memory remaining after the update (more aggressive scaling). A\n scale-down factor of 0 disables removing workers, which can be\n beneficial for autoscaling a single job. See .\n scaleDownMinWorkerFraction:\n type: number\n format: double\n x-dcl-go-name: ScaleDownMinWorkerFraction\n description: 'Optional. Minimum scale-down threshold as a fraction\n of total cluster size before scaling occurs. For example, in a\n 20-worker cluster, a threshold of 0.1 means the autoscaler must\n recommend at least a 2 worker scale-down for the cluster to scale.\n A threshold of 0 means the autoscaler will scale down on any recommended\n change. Bounds: . Default: 0.0.'\n scaleUpFactor:\n type: number\n format: double\n x-dcl-go-name: ScaleUpFactor\n description: Required. Fraction of average YARN pending memory in\n the last cooldown period for which to add workers. A scale-up\n factor of 1.0 will result in scaling up so that there is no pending\n memory remaining after the update (more aggressive scaling). A\n scale-up factor closer to 0 will result in a smaller magnitude\n of scaling up (less aggressive scaling). See .\n scaleUpMinWorkerFraction:\n type: number\n format: double\n x-dcl-go-name: ScaleUpMinWorkerFraction\n description: 'Optional. Minimum scale-up threshold as a fraction\n of total cluster size before scaling occurs. For example, in a\n 20-worker cluster, a threshold of 0.1 means the autoscaler must\n recommend at least a 2-worker scale-up for the cluster to scale.\n A threshold of 0 means the autoscaler will scale up on any recommended\n change. Bounds: . Default: 0.0.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The \"resource name\" of the autoscaling policy, as described\n in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.autoscalingPolicies`,\n the resource name of the policy has the following format: `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}`\n * For `projects.locations.autoscalingPolicies`, the resource name of the\n policy has the following format: `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: AutoscalingPolicySecondaryWorkerConfig\n description: Optional. Describes how the autoscaler will operate for secondary\n workers.\n properties:\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: 'Optional. Maximum number of instances for this group.\n Note that by default, clusters will not use secondary workers. Required\n for secondary workers if the minimum secondary instances is set. Primary\n workers - Bounds: [min_instances, ). Secondary workers - Bounds: [min_instances,\n ). Default: 0.'\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: 'Optional. Minimum number of instances for this group.\n Primary workers - Bounds: . Default: 0.'\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Weight for the instance group, which is used\n to determine the fraction of total workers in the cluster from this\n instance group. For example, if primary workers have weight 2, and\n secondary workers have weight 1, the cluster will have approximately\n 2 primary workers for each secondary worker. The cluster may not reach\n the specified balance if constrained by min/max bounds or other autoscaling\n settings. For example, if `max_instances` for secondary workers is\n 0, then only primary workers will be added. The cluster can also be\n out of balance when created. If weight is not set on any instance\n group, the cluster will default to equal weight for all groups: the\n cluster will attempt to maintain an equal number of workers in each\n group within the configured size bounds for each group. If weight\n is set for one group only, the cluster will default to zero weight\n on the unset group. For example if weight is set only on primary workers,\n the cluster will use primary workers only and no secondary workers.'\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: AutoscalingPolicyWorkerConfig\n description: Required. Describes how the autoscaler will operate for primary\n workers.\n required:\n - maxInstances\n properties:\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: 'Required. Maximum number of instances for this group.\n Required for primary workers. Note that by default, clusters will\n not use secondary workers. Required for secondary workers if the minimum\n secondary instances is set. Primary workers - Bounds: [min_instances,\n ). Secondary workers - Bounds: [min_instances, ). Default: 0.'\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: 'Optional. Minimum number of instances for this group.\n Primary workers - Bounds: . Default: 0.'\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Weight for the instance group, which is used\n to determine the fraction of total workers in the cluster from this\n instance group. For example, if primary workers have weight 2, and\n secondary workers have weight 1, the cluster will have approximately\n 2 primary workers for each secondary worker. The cluster may not reach\n the specified balance if constrained by min/max bounds or other autoscaling\n settings. For example, if `max_instances` for secondary workers is\n 0, then only primary workers will be added. The cluster can also be\n out of balance when created. If weight is not set on any instance\n group, the cluster will default to equal weight for all groups: the\n cluster will attempt to maintain an equal number of workers in each\n group within the configured size bounds for each group. If weight\n is set for one group only, the cluster will default to zero weight\n on the unset group. For example if weight is set only on primary workers,\n the cluster will use primary workers only and no secondary workers.'\n") +var YAML_autoscaling_policy = []byte("info:\n title: Dataproc/AutoscalingPolicy\n description: The Dataproc AutoscalingPolicy resource\n x-dcl-struct-name: AutoscalingPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n apply:\n description: The function used to apply information about a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n delete:\n description: The function used to delete a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n deleteAll:\n description: The function used to delete all AutoscalingPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many AutoscalingPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n AutoscalingPolicy:\n title: AutoscalingPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/autoscalingPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - basicAlgorithm\n - workerConfig\n - project\n - location\n properties:\n basicAlgorithm:\n type: object\n x-dcl-go-name: BasicAlgorithm\n x-dcl-go-type: AutoscalingPolicyBasicAlgorithm\n required:\n - yarnConfig\n properties:\n cooldownPeriod:\n type: string\n x-dcl-go-name: CooldownPeriod\n description: 'Optional. Duration between scaling events. A scaling period\n starts after the update operation from the previous event has completed.\n Bounds: . Default: 2m.'\n yarnConfig:\n type: object\n x-dcl-go-name: YarnConfig\n x-dcl-go-type: AutoscalingPolicyBasicAlgorithmYarnConfig\n description: Required. YARN autoscaling configuration.\n required:\n - gracefulDecommissionTimeout\n - scaleUpFactor\n - scaleDownFactor\n properties:\n gracefulDecommissionTimeout:\n type: string\n x-dcl-go-name: GracefulDecommissionTimeout\n description: Required. Timeout for YARN graceful decommissioning\n of Node Managers. Specifies the duration to wait for jobs to complete\n before forcefully removing workers (and potentially interrupting\n jobs). Only applicable to downscaling operations.\n scaleDownFactor:\n type: number\n format: double\n x-dcl-go-name: ScaleDownFactor\n description: Required. Fraction of average YARN pending memory in\n the last cooldown period for which to remove workers. A scale-down\n factor of 1 will result in scaling down so that there is no available\n memory remaining after the update (more aggressive scaling). A\n scale-down factor of 0 disables removing workers, which can be\n beneficial for autoscaling a single job. See .\n scaleDownMinWorkerFraction:\n type: number\n format: double\n x-dcl-go-name: ScaleDownMinWorkerFraction\n description: 'Optional. Minimum scale-down threshold as a fraction\n of total cluster size before scaling occurs. For example, in a\n 20-worker cluster, a threshold of 0.1 means the autoscaler must\n recommend at least a 2 worker scale-down for the cluster to scale.\n A threshold of 0 means the autoscaler will scale down on any recommended\n change. Bounds: . Default: 0.0.'\n scaleUpFactor:\n type: number\n format: double\n x-dcl-go-name: ScaleUpFactor\n description: Required. Fraction of average YARN pending memory in\n the last cooldown period for which to add workers. A scale-up\n factor of 1.0 will result in scaling up so that there is no pending\n memory remaining after the update (more aggressive scaling). A\n scale-up factor closer to 0 will result in a smaller magnitude\n of scaling up (less aggressive scaling). See .\n scaleUpMinWorkerFraction:\n type: number\n format: double\n x-dcl-go-name: ScaleUpMinWorkerFraction\n description: 'Optional. Minimum scale-up threshold as a fraction\n of total cluster size before scaling occurs. For example, in a\n 20-worker cluster, a threshold of 0.1 means the autoscaler must\n recommend at least a 2-worker scale-up for the cluster to scale.\n A threshold of 0 means the autoscaler will scale up on any recommended\n change. Bounds: . Default: 0.0.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The \"resource name\" of the autoscaling policy, as described\n in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.autoscalingPolicies`,\n the resource name of the policy has the following format: `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}`\n * For `projects.locations.autoscalingPolicies`, the resource name of the\n policy has the following format: `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: AutoscalingPolicySecondaryWorkerConfig\n description: Optional. Describes how the autoscaler will operate for secondary\n workers.\n properties:\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: 'Optional. Maximum number of instances for this group.\n Note that by default, clusters will not use secondary workers. Required\n for secondary workers if the minimum secondary instances is set. Primary\n workers - Bounds: [min_instances, ). Secondary workers - Bounds: [min_instances,\n ). Default: 0.'\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: 'Optional. Minimum number of instances for this group.\n Primary workers - Bounds: . Default: 0.'\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Weight for the instance group, which is used\n to determine the fraction of total workers in the cluster from this\n instance group. For example, if primary workers have weight 2, and\n secondary workers have weight 1, the cluster will have approximately\n 2 primary workers for each secondary worker. The cluster may not reach\n the specified balance if constrained by min/max bounds or other autoscaling\n settings. For example, if `max_instances` for secondary workers is\n 0, then only primary workers will be added. The cluster can also be\n out of balance when created. If weight is not set on any instance\n group, the cluster will default to equal weight for all groups: the\n cluster will attempt to maintain an equal number of workers in each\n group within the configured size bounds for each group. If weight\n is set for one group only, the cluster will default to zero weight\n on the unset group. For example if weight is set only on primary workers,\n the cluster will use primary workers only and no secondary workers.'\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: AutoscalingPolicyWorkerConfig\n description: Required. Describes how the autoscaler will operate for primary\n workers.\n required:\n - maxInstances\n properties:\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: 'Required. Maximum number of instances for this group.\n Required for primary workers. Note that by default, clusters will\n not use secondary workers. Required for secondary workers if the minimum\n secondary instances is set. Primary workers - Bounds: [min_instances,\n ). Secondary workers - Bounds: [min_instances, ). Default: 0.'\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: 'Optional. Minimum number of instances for this group.\n Primary workers - Bounds: . Default: 0.'\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Weight for the instance group, which is used\n to determine the fraction of total workers in the cluster from this\n instance group. For example, if primary workers have weight 2, and\n secondary workers have weight 1, the cluster will have approximately\n 2 primary workers for each secondary worker. The cluster may not reach\n the specified balance if constrained by min/max bounds or other autoscaling\n settings. For example, if `max_instances` for secondary workers is\n 0, then only primary workers will be added. The cluster can also be\n out of balance when created. If weight is not set on any instance\n group, the cluster will default to equal weight for all groups: the\n cluster will attempt to maintain an equal number of workers in each\n group within the configured size bounds for each group. If weight\n is set for one group only, the cluster will default to zero weight\n on the unset group. For example if weight is set only on primary workers,\n the cluster will use primary workers only and no secondary workers.'\n") -// 11690 bytes -// MD5: 82dcdbb6d4df0934db28d587dc73f7a1 +// 11715 bytes +// MD5: 45248857c670971427c84aaf031dcd60 diff --git a/services/google/dataproc/beta/autoscaling_policy.yaml b/services/google/dataproc/beta/autoscaling_policy.yaml index de63864e45..7dac3ade4d 100755 --- a/services/google/dataproc/beta/autoscaling_policy.yaml +++ b/services/google/dataproc/beta/autoscaling_policy.yaml @@ -15,6 +15,7 @@ info: title: Dataproc/AutoscalingPolicy description: The Dataproc AutoscalingPolicy resource x-dcl-struct-name: AutoscalingPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataproc/beta/autoscaling_policy_beta_yaml_embed.go b/services/google/dataproc/beta/autoscaling_policy_beta_yaml_embed.go index 8a673726da..8f7e1dc9be 100755 --- a/services/google/dataproc/beta/autoscaling_policy_beta_yaml_embed.go +++ b/services/google/dataproc/beta/autoscaling_policy_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataproc/beta/autoscaling_policy.yaml -var YAML_autoscaling_policy = []byte("info:\n title: Dataproc/AutoscalingPolicy\n description: The Dataproc AutoscalingPolicy resource\n x-dcl-struct-name: AutoscalingPolicy\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n apply:\n description: The function used to apply information about a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n delete:\n description: The function used to delete a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n deleteAll:\n description: The function used to delete all AutoscalingPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many AutoscalingPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n AutoscalingPolicy:\n title: AutoscalingPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/autoscalingPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - basicAlgorithm\n - workerConfig\n - project\n - location\n properties:\n basicAlgorithm:\n type: object\n x-dcl-go-name: BasicAlgorithm\n x-dcl-go-type: AutoscalingPolicyBasicAlgorithm\n required:\n - yarnConfig\n properties:\n cooldownPeriod:\n type: string\n x-dcl-go-name: CooldownPeriod\n description: 'Optional. Duration between scaling events. A scaling period\n starts after the update operation from the previous event has completed.\n Bounds: . Default: 2m.'\n yarnConfig:\n type: object\n x-dcl-go-name: YarnConfig\n x-dcl-go-type: AutoscalingPolicyBasicAlgorithmYarnConfig\n description: Required. YARN autoscaling configuration.\n required:\n - gracefulDecommissionTimeout\n - scaleUpFactor\n - scaleDownFactor\n properties:\n gracefulDecommissionTimeout:\n type: string\n x-dcl-go-name: GracefulDecommissionTimeout\n description: Required. Timeout for YARN graceful decommissioning\n of Node Managers. Specifies the duration to wait for jobs to complete\n before forcefully removing workers (and potentially interrupting\n jobs). Only applicable to downscaling operations.\n scaleDownFactor:\n type: number\n format: double\n x-dcl-go-name: ScaleDownFactor\n description: Required. Fraction of average YARN pending memory in\n the last cooldown period for which to remove workers. A scale-down\n factor of 1 will result in scaling down so that there is no available\n memory remaining after the update (more aggressive scaling). A\n scale-down factor of 0 disables removing workers, which can be\n beneficial for autoscaling a single job. See .\n scaleDownMinWorkerFraction:\n type: number\n format: double\n x-dcl-go-name: ScaleDownMinWorkerFraction\n description: 'Optional. Minimum scale-down threshold as a fraction\n of total cluster size before scaling occurs. For example, in a\n 20-worker cluster, a threshold of 0.1 means the autoscaler must\n recommend at least a 2 worker scale-down for the cluster to scale.\n A threshold of 0 means the autoscaler will scale down on any recommended\n change. Bounds: . Default: 0.0.'\n scaleUpFactor:\n type: number\n format: double\n x-dcl-go-name: ScaleUpFactor\n description: Required. Fraction of average YARN pending memory in\n the last cooldown period for which to add workers. A scale-up\n factor of 1.0 will result in scaling up so that there is no pending\n memory remaining after the update (more aggressive scaling). A\n scale-up factor closer to 0 will result in a smaller magnitude\n of scaling up (less aggressive scaling). See .\n scaleUpMinWorkerFraction:\n type: number\n format: double\n x-dcl-go-name: ScaleUpMinWorkerFraction\n description: 'Optional. Minimum scale-up threshold as a fraction\n of total cluster size before scaling occurs. For example, in a\n 20-worker cluster, a threshold of 0.1 means the autoscaler must\n recommend at least a 2-worker scale-up for the cluster to scale.\n A threshold of 0 means the autoscaler will scale up on any recommended\n change. Bounds: . Default: 0.0.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The \"resource name\" of the autoscaling policy, as described\n in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.autoscalingPolicies`,\n the resource name of the policy has the following format: `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}`\n * For `projects.locations.autoscalingPolicies`, the resource name of the\n policy has the following format: `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: AutoscalingPolicySecondaryWorkerConfig\n description: Optional. Describes how the autoscaler will operate for secondary\n workers.\n properties:\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: 'Optional. Maximum number of instances for this group.\n Note that by default, clusters will not use secondary workers. Required\n for secondary workers if the minimum secondary instances is set. Primary\n workers - Bounds: [min_instances, ). Secondary workers - Bounds: [min_instances,\n ). Default: 0.'\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: 'Optional. Minimum number of instances for this group.\n Primary workers - Bounds: . Default: 0.'\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Weight for the instance group, which is used\n to determine the fraction of total workers in the cluster from this\n instance group. For example, if primary workers have weight 2, and\n secondary workers have weight 1, the cluster will have approximately\n 2 primary workers for each secondary worker. The cluster may not reach\n the specified balance if constrained by min/max bounds or other autoscaling\n settings. For example, if `max_instances` for secondary workers is\n 0, then only primary workers will be added. The cluster can also be\n out of balance when created. If weight is not set on any instance\n group, the cluster will default to equal weight for all groups: the\n cluster will attempt to maintain an equal number of workers in each\n group within the configured size bounds for each group. If weight\n is set for one group only, the cluster will default to zero weight\n on the unset group. For example if weight is set only on primary workers,\n the cluster will use primary workers only and no secondary workers.'\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: AutoscalingPolicyWorkerConfig\n description: Required. Describes how the autoscaler will operate for primary\n workers.\n required:\n - maxInstances\n properties:\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: 'Required. Maximum number of instances for this group.\n Required for primary workers. Note that by default, clusters will\n not use secondary workers. Required for secondary workers if the minimum\n secondary instances is set. Primary workers - Bounds: [min_instances,\n ). Secondary workers - Bounds: [min_instances, ). Default: 0.'\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: 'Optional. Minimum number of instances for this group.\n Primary workers - Bounds: . Default: 0.'\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Weight for the instance group, which is used\n to determine the fraction of total workers in the cluster from this\n instance group. For example, if primary workers have weight 2, and\n secondary workers have weight 1, the cluster will have approximately\n 2 primary workers for each secondary worker. The cluster may not reach\n the specified balance if constrained by min/max bounds or other autoscaling\n settings. For example, if `max_instances` for secondary workers is\n 0, then only primary workers will be added. The cluster can also be\n out of balance when created. If weight is not set on any instance\n group, the cluster will default to equal weight for all groups: the\n cluster will attempt to maintain an equal number of workers in each\n group within the configured size bounds for each group. If weight\n is set for one group only, the cluster will default to zero weight\n on the unset group. For example if weight is set only on primary workers,\n the cluster will use primary workers only and no secondary workers.'\n") +var YAML_autoscaling_policy = []byte("info:\n title: Dataproc/AutoscalingPolicy\n description: The Dataproc AutoscalingPolicy resource\n x-dcl-struct-name: AutoscalingPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n apply:\n description: The function used to apply information about a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n delete:\n description: The function used to delete a AutoscalingPolicy\n parameters:\n - name: AutoscalingPolicy\n required: true\n description: A full instance of a AutoscalingPolicy\n deleteAll:\n description: The function used to delete all AutoscalingPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many AutoscalingPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n AutoscalingPolicy:\n title: AutoscalingPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/autoscalingPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - basicAlgorithm\n - workerConfig\n - project\n - location\n properties:\n basicAlgorithm:\n type: object\n x-dcl-go-name: BasicAlgorithm\n x-dcl-go-type: AutoscalingPolicyBasicAlgorithm\n required:\n - yarnConfig\n properties:\n cooldownPeriod:\n type: string\n x-dcl-go-name: CooldownPeriod\n description: 'Optional. Duration between scaling events. A scaling period\n starts after the update operation from the previous event has completed.\n Bounds: . Default: 2m.'\n yarnConfig:\n type: object\n x-dcl-go-name: YarnConfig\n x-dcl-go-type: AutoscalingPolicyBasicAlgorithmYarnConfig\n description: Required. YARN autoscaling configuration.\n required:\n - gracefulDecommissionTimeout\n - scaleUpFactor\n - scaleDownFactor\n properties:\n gracefulDecommissionTimeout:\n type: string\n x-dcl-go-name: GracefulDecommissionTimeout\n description: Required. Timeout for YARN graceful decommissioning\n of Node Managers. Specifies the duration to wait for jobs to complete\n before forcefully removing workers (and potentially interrupting\n jobs). Only applicable to downscaling operations.\n scaleDownFactor:\n type: number\n format: double\n x-dcl-go-name: ScaleDownFactor\n description: Required. Fraction of average YARN pending memory in\n the last cooldown period for which to remove workers. A scale-down\n factor of 1 will result in scaling down so that there is no available\n memory remaining after the update (more aggressive scaling). A\n scale-down factor of 0 disables removing workers, which can be\n beneficial for autoscaling a single job. See .\n scaleDownMinWorkerFraction:\n type: number\n format: double\n x-dcl-go-name: ScaleDownMinWorkerFraction\n description: 'Optional. Minimum scale-down threshold as a fraction\n of total cluster size before scaling occurs. For example, in a\n 20-worker cluster, a threshold of 0.1 means the autoscaler must\n recommend at least a 2 worker scale-down for the cluster to scale.\n A threshold of 0 means the autoscaler will scale down on any recommended\n change. Bounds: . Default: 0.0.'\n scaleUpFactor:\n type: number\n format: double\n x-dcl-go-name: ScaleUpFactor\n description: Required. Fraction of average YARN pending memory in\n the last cooldown period for which to add workers. A scale-up\n factor of 1.0 will result in scaling up so that there is no pending\n memory remaining after the update (more aggressive scaling). A\n scale-up factor closer to 0 will result in a smaller magnitude\n of scaling up (less aggressive scaling). See .\n scaleUpMinWorkerFraction:\n type: number\n format: double\n x-dcl-go-name: ScaleUpMinWorkerFraction\n description: 'Optional. Minimum scale-up threshold as a fraction\n of total cluster size before scaling occurs. For example, in a\n 20-worker cluster, a threshold of 0.1 means the autoscaler must\n recommend at least a 2-worker scale-up for the cluster to scale.\n A threshold of 0 means the autoscaler will scale up on any recommended\n change. Bounds: . Default: 0.0.'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The \"resource name\" of the autoscaling policy, as described\n in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.autoscalingPolicies`,\n the resource name of the policy has the following format: `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}`\n * For `projects.locations.autoscalingPolicies`, the resource name of the\n policy has the following format: `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: AutoscalingPolicySecondaryWorkerConfig\n description: Optional. Describes how the autoscaler will operate for secondary\n workers.\n properties:\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: 'Optional. Maximum number of instances for this group.\n Note that by default, clusters will not use secondary workers. Required\n for secondary workers if the minimum secondary instances is set. Primary\n workers - Bounds: [min_instances, ). Secondary workers - Bounds: [min_instances,\n ). Default: 0.'\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: 'Optional. Minimum number of instances for this group.\n Primary workers - Bounds: . Default: 0.'\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Weight for the instance group, which is used\n to determine the fraction of total workers in the cluster from this\n instance group. For example, if primary workers have weight 2, and\n secondary workers have weight 1, the cluster will have approximately\n 2 primary workers for each secondary worker. The cluster may not reach\n the specified balance if constrained by min/max bounds or other autoscaling\n settings. For example, if `max_instances` for secondary workers is\n 0, then only primary workers will be added. The cluster can also be\n out of balance when created. If weight is not set on any instance\n group, the cluster will default to equal weight for all groups: the\n cluster will attempt to maintain an equal number of workers in each\n group within the configured size bounds for each group. If weight\n is set for one group only, the cluster will default to zero weight\n on the unset group. For example if weight is set only on primary workers,\n the cluster will use primary workers only and no secondary workers.'\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: AutoscalingPolicyWorkerConfig\n description: Required. Describes how the autoscaler will operate for primary\n workers.\n required:\n - maxInstances\n properties:\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: 'Required. Maximum number of instances for this group.\n Required for primary workers. Note that by default, clusters will\n not use secondary workers. Required for secondary workers if the minimum\n secondary instances is set. Primary workers - Bounds: [min_instances,\n ). Secondary workers - Bounds: [min_instances, ). Default: 0.'\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: 'Optional. Minimum number of instances for this group.\n Primary workers - Bounds: . Default: 0.'\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Weight for the instance group, which is used\n to determine the fraction of total workers in the cluster from this\n instance group. For example, if primary workers have weight 2, and\n secondary workers have weight 1, the cluster will have approximately\n 2 primary workers for each secondary worker. The cluster may not reach\n the specified balance if constrained by min/max bounds or other autoscaling\n settings. For example, if `max_instances` for secondary workers is\n 0, then only primary workers will be added. The cluster can also be\n out of balance when created. If weight is not set on any instance\n group, the cluster will default to equal weight for all groups: the\n cluster will attempt to maintain an equal number of workers in each\n group within the configured size bounds for each group. If weight\n is set for one group only, the cluster will default to zero weight\n on the unset group. For example if weight is set only on primary workers,\n the cluster will use primary workers only and no secondary workers.'\n") -// 11690 bytes -// MD5: 82dcdbb6d4df0934db28d587dc73f7a1 +// 11715 bytes +// MD5: 45248857c670971427c84aaf031dcd60 diff --git a/services/google/dataproc/beta/autoscaling_policy_schema.go b/services/google/dataproc/beta/autoscaling_policy_schema.go index 277c5d9048..370355f3b6 100755 --- a/services/google/dataproc/beta/autoscaling_policy_schema.go +++ b/services/google/dataproc/beta/autoscaling_policy_schema.go @@ -23,6 +23,7 @@ func DCLAutoscalingPolicySchema() *dcl.Schema { Title: "Dataproc/AutoscalingPolicy", Description: "The Dataproc AutoscalingPolicy resource", StructName: "AutoscalingPolicy", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataproc/beta/cluster.yaml b/services/google/dataproc/beta/cluster.yaml index 353b9a9538..ede9718556 100755 --- a/services/google/dataproc/beta/cluster.yaml +++ b/services/google/dataproc/beta/cluster.yaml @@ -15,6 +15,7 @@ info: title: Dataproc/Cluster description: The Dataproc Cluster resource x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/dataproc/beta/cluster_beta_yaml_embed.go b/services/google/dataproc/beta/cluster_beta_yaml_embed.go index 17d834976b..9d41be73ae 100755 --- a/services/google/dataproc/beta/cluster_beta_yaml_embed.go +++ b/services/google/dataproc/beta/cluster_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataproc/beta/cluster.yaml -var YAML_cluster = []byte("info:\n title: Dataproc/Cluster\n description: The Dataproc Cluster resource\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/regions/{{location}}/clusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - project\n - name\n - location\n properties:\n clusterUuid:\n type: string\n x-dcl-go-name: ClusterUuid\n readOnly: true\n description: Output only. A cluster UUID (Unique Universal Identifier).\n Dataproc generates this value when it creates the cluster.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: ClusterConfig\n description: Required. The cluster config. Note that Dataproc may set default\n values, and values may change when clusters are updated.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: ClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the cluster.\n Only resource names including projectid and location (region)\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: ClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for PD disk\n encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: ClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this cluster\n x-kubernetes-immutable: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific ports\n on the cluster from external sources. Defaults to false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to URLs.\n Will only be populated if enable_http_port_access is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: ClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings for\n all instances in a cluster.\n x-kubernetes-immutable: true\n properties:\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster will\n only have internal IP addresses. By default, clusters are not\n restricted to internal IP addresses, and will have ephemeral external\n IP addresses assigned to each instance. This `internal_ip_only`\n restriction can only be enabled for subnetwork enabled networks,\n and all off-cluster dependencies must be configured to be accessible\n without external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add to all instances\n (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be used for\n machine communications. Cannot be specified with subnetwork_uri.\n If neither `network_uri` nor `subnetwork_uri` is specified, the\n \"default\" network of the project is used, if it exists. Cannot\n be a \"Custom Subnet Network\" (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node group\n resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial URI,\n or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: ClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster. Possible\n values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, INHERIT_FROM_SUBNETWORK,\n OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming Zonal\n reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume Possible\n values: TYPE_UNSPECIFIED, NO_RESERVATION, ANY_RESERVATION,\n SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key of reservation\n resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values of reservation\n resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google Cloud Platform\n services. If not specified, the [Compute Engine default service\n account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes to be\n included in Compute Engine instances. The following base set of\n scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write\n If no scopes are specified, the following defaults are also provided:\n * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table\n * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to be used\n for machine communications. Cannot be specified with network_uri.\n A full URL, partial URI, or short name are valid. Examples: *\n `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0` *\n `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances (see\n [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine cluster\n will be located. On a create request, it is required in the \"global\"\n region. If omitted in a non-global Dataproc region, the service\n will pick a zone in the corresponding Compute Engine region. On\n a get request, zone will always be present. A full URL, partial\n URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n gkeClusterConfig:\n type: object\n x-dcl-go-name: GkeClusterConfig\n x-dcl-go-type: ClusterConfigGkeClusterConfig\n description: Optional. BETA. The Kubernetes Engine config for Dataproc\n clusters deployed to Kubernetes. Setting this is considered mutually\n exclusive with Compute Engine-based options such as `gce_cluster_config`,\n `master_config`, `worker_config`, `secondary_worker_config`, and `autoscaling_config`.\n x-kubernetes-immutable: true\n properties:\n namespacedGkeDeploymentTarget:\n type: object\n x-dcl-go-name: NamespacedGkeDeploymentTarget\n x-dcl-go-type: ClusterConfigGkeClusterConfigNamespacedGkeDeploymentTarget\n description: Optional. A target for the deployment.\n x-kubernetes-immutable: true\n properties:\n clusterNamespace:\n type: string\n x-dcl-go-name: ClusterNamespace\n description: Optional. A namespace within the GKE cluster to\n deploy into.\n x-kubernetes-immutable: true\n targetGkeCluster:\n type: string\n x-dcl-go-name: TargetGkeCluster\n description: 'Optional. The target GKE cluster to deploy to.\n Format: ''projects/{project}/locations/{location}/clusters/{cluster_id}'''\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Container/Cluster\n field: name\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after config\n is completed. By default, executables are run on master and all worker\n nodes. You can test a node''s `role` metadata to run an executable\n on a master or worker node, as shown below using `curl` (you can also\n use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific actions\n ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigInitializationActions\n required:\n - executableFile\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to complete.\n Default is 10 minutes (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message (the\n name of the executable that caused the error and the exceeded\n timeout period) if the executable is not completed at end of\n the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: ClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster. The cluster\n will be auto-deleted at the end of this period. Minimum value\n is 10 minutes; maximum value is 14 days (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster alive while\n idling (when no jobs are running). Passing this threshold will\n cause the cluster to be deleted. Minimum value is 5 minutes; maximum\n value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle (most\n recent job finished) and became eligible for deletion due to idleness\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: ClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for the master\n instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n metastoreConfig:\n type: object\n x-dcl-go-name: MetastoreConfig\n x-dcl-go-type: ClusterConfigMetastoreConfig\n description: Optional. Metastore configuration.\n x-kubernetes-immutable: true\n required:\n - dataprocMetastoreService\n properties:\n dataprocMetastoreService:\n type: string\n x-dcl-go-name: DataprocMetastoreService\n description: 'Required. Resource name of an existing Dataproc Metastore\n service. Example: * `projects/[project_id]/locations/[dataproc_region]/services/[service-name]`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Metastore/Service\n field: selfLink\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for additional\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: ClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: ClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for the remote\n trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc on-cluster\n KDC will trust, should the user enable cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the shared password between the on-cluster\n Kerberos realm and the remote trusted realm, in a cross realm\n trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to Kerberize\n the cluster (default: false). Set this field to true to enable\n Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the master key of the KDC database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided key. For\n the self-signed certificate, this password is generated by\n Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the keystore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided keystore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to encrypt\n various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos realm.\n If not specified, the uppercased domain of hostnames will\n be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting ticket,\n in hours. If not specified, or user specifies 0, then default\n value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the truststore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided truststore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: ClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside the cluster.\n x-kubernetes-immutable: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the cluster.\n It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate on the\n cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon config files.\n Property keys are specified in `prefix:property` format, for example\n `core:hadoop.tmp.dir`. The following are supported prefixes and\n their mappings: * capacity-scheduler: `capacity-scheduler.xml`\n * core: `core-site.xml` * distcp: `distcp-default.xml` * hdfs:\n `hdfs-site.xml` * hive: `hive-site.xml` * mapred: `mapred-site.xml`\n * pig: `pig.properties` * spark: `spark-defaults.conf` * yarn:\n `yarn-site.xml` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage job dependencies,\n config files, and job driver console output. If you do not specify\n a staging bucket, Cloud Dataproc will determine a Cloud Storage location\n (US, ASIA, or EU) for your cluster's staging bucket according to the\n Compute Engine zone where your cluster is deployed, and then create\n and manage this project-level, per-location bucket (see [Dataproc\n staging bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI to a\n Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store ephemeral\n cluster and jobs data, such as Spark and MapReduce history files.\n If you do not specify a temp bucket, Dataproc will determine a Cloud\n Storage location (US, ASIA, or EU) for your cluster's temp bucket\n according to the Compute Engine zone where your cluster is deployed,\n and then create and manage this project-level, per-location bucket.\n The default bucket has a TTL of 90 days, but you can use any TTL (or\n none) if you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: ClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for worker\n instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this cluster. Label\n **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n Label **values** may be empty, but, if present, must contain 1 to 63 characters,\n and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n No more than 32 labels can be associated with a cluster.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource, usually a GCP region.\n x-kubernetes-immutable: true\n metrics:\n type: object\n x-dcl-go-name: Metrics\n x-dcl-go-type: ClusterMetrics\n readOnly: true\n description: 'Output only. Contains cluster daemon metrics such as HDFS\n and YARN stats. **Beta Feature**: This report is available for testing\n purposes only. It may be changed before final release.'\n x-kubernetes-immutable: true\n properties:\n hdfsMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HdfsMetrics\n description: The HDFS metrics.\n x-kubernetes-immutable: true\n yarnMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: YarnMetrics\n description: The YARN metrics.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The cluster name. Cluster names within a project\n must be unique. Names of deleted clusters can be reused.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The Google Cloud Platform project ID that the cluster\n belongs to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: ClusterStatus\n readOnly: true\n description: Output only. Cluster status.\n x-kubernetes-immutable: true\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values: UNKNOWN,\n CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING, STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusSubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n statusHistory:\n type: array\n x-dcl-go-name: StatusHistory\n readOnly: true\n description: Output only. The previous cluster status.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterStatusHistory\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusHistoryStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values:\n UNKNOWN, CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING,\n STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusHistorySubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n") +var YAML_cluster = []byte("info:\n title: Dataproc/Cluster\n description: The Dataproc Cluster resource\n x-dcl-struct-name: Cluster\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/regions/{{location}}/clusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - project\n - name\n - location\n properties:\n clusterUuid:\n type: string\n x-dcl-go-name: ClusterUuid\n readOnly: true\n description: Output only. A cluster UUID (Unique Universal Identifier).\n Dataproc generates this value when it creates the cluster.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: ClusterConfig\n description: Required. The cluster config. Note that Dataproc may set default\n values, and values may change when clusters are updated.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: ClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the cluster.\n Only resource names including projectid and location (region)\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: ClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for PD disk\n encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: ClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this cluster\n x-kubernetes-immutable: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific ports\n on the cluster from external sources. Defaults to false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to URLs.\n Will only be populated if enable_http_port_access is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: ClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings for\n all instances in a cluster.\n x-kubernetes-immutable: true\n properties:\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster will\n only have internal IP addresses. By default, clusters are not\n restricted to internal IP addresses, and will have ephemeral external\n IP addresses assigned to each instance. This `internal_ip_only`\n restriction can only be enabled for subnetwork enabled networks,\n and all off-cluster dependencies must be configured to be accessible\n without external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add to all instances\n (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be used for\n machine communications. Cannot be specified with subnetwork_uri.\n If neither `network_uri` nor `subnetwork_uri` is specified, the\n \"default\" network of the project is used, if it exists. Cannot\n be a \"Custom Subnet Network\" (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node group\n resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial URI,\n or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: ClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster. Possible\n values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, INHERIT_FROM_SUBNETWORK,\n OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming Zonal\n reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume Possible\n values: TYPE_UNSPECIFIED, NO_RESERVATION, ANY_RESERVATION,\n SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key of reservation\n resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values of reservation\n resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google Cloud Platform\n services. If not specified, the [Compute Engine default service\n account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes to be\n included in Compute Engine instances. The following base set of\n scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write\n If no scopes are specified, the following defaults are also provided:\n * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table\n * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to be used\n for machine communications. Cannot be specified with network_uri.\n A full URL, partial URI, or short name are valid. Examples: *\n `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0` *\n `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances (see\n [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine cluster\n will be located. On a create request, it is required in the \"global\"\n region. If omitted in a non-global Dataproc region, the service\n will pick a zone in the corresponding Compute Engine region. On\n a get request, zone will always be present. A full URL, partial\n URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n gkeClusterConfig:\n type: object\n x-dcl-go-name: GkeClusterConfig\n x-dcl-go-type: ClusterConfigGkeClusterConfig\n description: Optional. BETA. The Kubernetes Engine config for Dataproc\n clusters deployed to Kubernetes. Setting this is considered mutually\n exclusive with Compute Engine-based options such as `gce_cluster_config`,\n `master_config`, `worker_config`, `secondary_worker_config`, and `autoscaling_config`.\n x-kubernetes-immutable: true\n properties:\n namespacedGkeDeploymentTarget:\n type: object\n x-dcl-go-name: NamespacedGkeDeploymentTarget\n x-dcl-go-type: ClusterConfigGkeClusterConfigNamespacedGkeDeploymentTarget\n description: Optional. A target for the deployment.\n x-kubernetes-immutable: true\n properties:\n clusterNamespace:\n type: string\n x-dcl-go-name: ClusterNamespace\n description: Optional. A namespace within the GKE cluster to\n deploy into.\n x-kubernetes-immutable: true\n targetGkeCluster:\n type: string\n x-dcl-go-name: TargetGkeCluster\n description: 'Optional. The target GKE cluster to deploy to.\n Format: ''projects/{project}/locations/{location}/clusters/{cluster_id}'''\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Container/Cluster\n field: name\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after config\n is completed. By default, executables are run on master and all worker\n nodes. You can test a node''s `role` metadata to run an executable\n on a master or worker node, as shown below using `curl` (you can also\n use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific actions\n ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigInitializationActions\n required:\n - executableFile\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to complete.\n Default is 10 minutes (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message (the\n name of the executable that caused the error and the exceeded\n timeout period) if the executable is not completed at end of\n the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: ClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster. The cluster\n will be auto-deleted at the end of this period. Minimum value\n is 10 minutes; maximum value is 14 days (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster alive while\n idling (when no jobs are running). Passing this threshold will\n cause the cluster to be deleted. Minimum value is 5 minutes; maximum\n value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle (most\n recent job finished) and became eligible for deletion due to idleness\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: ClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for the master\n instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n metastoreConfig:\n type: object\n x-dcl-go-name: MetastoreConfig\n x-dcl-go-type: ClusterConfigMetastoreConfig\n description: Optional. Metastore configuration.\n x-kubernetes-immutable: true\n required:\n - dataprocMetastoreService\n properties:\n dataprocMetastoreService:\n type: string\n x-dcl-go-name: DataprocMetastoreService\n description: 'Required. Resource name of an existing Dataproc Metastore\n service. Example: * `projects/[project_id]/locations/[dataproc_region]/services/[service-name]`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Metastore/Service\n field: selfLink\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for additional\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: ClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: ClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for the remote\n trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc on-cluster\n KDC will trust, should the user enable cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the shared password between the on-cluster\n Kerberos realm and the remote trusted realm, in a cross realm\n trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to Kerberize\n the cluster (default: false). Set this field to true to enable\n Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the master key of the KDC database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided key. For\n the self-signed certificate, this password is generated by\n Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the keystore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided keystore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to encrypt\n various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos realm.\n If not specified, the uppercased domain of hostnames will\n be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting ticket,\n in hours. If not specified, or user specifies 0, then default\n value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the truststore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided truststore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: ClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside the cluster.\n x-kubernetes-immutable: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the cluster.\n It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate on the\n cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon config files.\n Property keys are specified in `prefix:property` format, for example\n `core:hadoop.tmp.dir`. The following are supported prefixes and\n their mappings: * capacity-scheduler: `capacity-scheduler.xml`\n * core: `core-site.xml` * distcp: `distcp-default.xml` * hdfs:\n `hdfs-site.xml` * hive: `hive-site.xml` * mapred: `mapred-site.xml`\n * pig: `pig.properties` * spark: `spark-defaults.conf` * yarn:\n `yarn-site.xml` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage job dependencies,\n config files, and job driver console output. If you do not specify\n a staging bucket, Cloud Dataproc will determine a Cloud Storage location\n (US, ASIA, or EU) for your cluster's staging bucket according to the\n Compute Engine zone where your cluster is deployed, and then create\n and manage this project-level, per-location bucket (see [Dataproc\n staging bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI to a\n Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store ephemeral\n cluster and jobs data, such as Spark and MapReduce history files.\n If you do not specify a temp bucket, Dataproc will determine a Cloud\n Storage location (US, ASIA, or EU) for your cluster's temp bucket\n according to the Compute Engine zone where your cluster is deployed,\n and then create and manage this project-level, per-location bucket.\n The default bucket has a TTL of 90 days, but you can use any TTL (or\n none) if you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: ClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for worker\n instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this cluster. Label\n **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n Label **values** may be empty, but, if present, must contain 1 to 63 characters,\n and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n No more than 32 labels can be associated with a cluster.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource, usually a GCP region.\n x-kubernetes-immutable: true\n metrics:\n type: object\n x-dcl-go-name: Metrics\n x-dcl-go-type: ClusterMetrics\n readOnly: true\n description: 'Output only. Contains cluster daemon metrics such as HDFS\n and YARN stats. **Beta Feature**: This report is available for testing\n purposes only. It may be changed before final release.'\n x-kubernetes-immutable: true\n properties:\n hdfsMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HdfsMetrics\n description: The HDFS metrics.\n x-kubernetes-immutable: true\n yarnMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: YarnMetrics\n description: The YARN metrics.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The cluster name. Cluster names within a project\n must be unique. Names of deleted clusters can be reused.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The Google Cloud Platform project ID that the cluster\n belongs to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: ClusterStatus\n readOnly: true\n description: Output only. Cluster status.\n x-kubernetes-immutable: true\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values: UNKNOWN,\n CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING, STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusSubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n statusHistory:\n type: array\n x-dcl-go-name: StatusHistory\n readOnly: true\n description: Output only. The previous cluster status.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterStatusHistory\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusHistoryStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values:\n UNKNOWN, CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING,\n STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusHistorySubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n") -// 72948 bytes -// MD5: 028641ac0ac02843f4303532ec6be541 +// 72973 bytes +// MD5: 434b4055d6254f01427a4bf8bb1ecb47 diff --git a/services/google/dataproc/beta/cluster_schema.go b/services/google/dataproc/beta/cluster_schema.go index 130e282288..b0200b90c0 100755 --- a/services/google/dataproc/beta/cluster_schema.go +++ b/services/google/dataproc/beta/cluster_schema.go @@ -23,6 +23,7 @@ func DCLClusterSchema() *dcl.Schema { Title: "Dataproc/Cluster", Description: "The Dataproc Cluster resource", StructName: "Cluster", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/dataproc/beta/workflow_template.yaml b/services/google/dataproc/beta/workflow_template.yaml index 5b8447e669..f24a097a8c 100755 --- a/services/google/dataproc/beta/workflow_template.yaml +++ b/services/google/dataproc/beta/workflow_template.yaml @@ -15,6 +15,7 @@ info: title: Dataproc/WorkflowTemplate description: The Dataproc WorkflowTemplate resource x-dcl-struct-name: WorkflowTemplate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataproc/beta/workflow_template_beta_yaml_embed.go b/services/google/dataproc/beta/workflow_template_beta_yaml_embed.go index 785f0d1c6d..b6589fe611 100755 --- a/services/google/dataproc/beta/workflow_template_beta_yaml_embed.go +++ b/services/google/dataproc/beta/workflow_template_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataproc/beta/workflow_template.yaml -var YAML_workflow_template = []byte("info:\n title: Dataproc/WorkflowTemplate\n description: The Dataproc WorkflowTemplate resource\n x-dcl-struct-name: WorkflowTemplate\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n apply:\n description: The function used to apply information about a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n delete:\n description: The function used to delete a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n deleteAll:\n description: The function used to delete all WorkflowTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkflowTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkflowTemplate:\n title: WorkflowTemplate\n x-dcl-id: projects/{{project}}/locations/{{location}}/workflowTemplates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - placement\n - jobs\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time template was created.\n x-kubernetes-immutable: true\n dagTimeout:\n type: string\n x-dcl-go-name: DagTimeout\n description: Optional. Timeout duration for the DAG of jobs, expressed in\n seconds (see [JSON representation of duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n The timeout duration must be from 10 minutes (\"600s\") to 24 hours (\"86400s\").\n The timer begins when the first job is submitted. If the workflow is running\n at the end of the timeout period, any remaining jobs are cancelled, the\n workflow is ended, and if the workflow was running on a [managed cluster](/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster),\n the cluster is deleted.\n x-kubernetes-immutable: true\n jobs:\n type: array\n x-dcl-go-name: Jobs\n description: Required. The Directed Acyclic Graph of Jobs to submit.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplateJobs\n required:\n - stepId\n properties:\n hadoopJob:\n type: object\n x-dcl-go-name: HadoopJob\n x-dcl-go-type: WorkflowTemplateJobsHadoopJob\n description: Optional. Job is a Hadoop job.\n x-kubernetes-immutable: true\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n in the working directory of Hadoop drivers and tasks. Supported\n file types: .jar, .tar, .tar.gz, .tgz, or .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `-libjars` or `-Dfoo=bar`, that\n can be set as job properties, since a collision may occur that\n causes an incorrect job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS (Hadoop Compatible Filesystem) URIs\n of files to be copied to the working directory of Hadoop drivers\n and distributed tasks. Useful for naively parallel tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. Jar file URIs to add to the CLASSPATHs\n of the Hadoop driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsHadoopJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainClass:\n type: string\n x-dcl-go-name: MainClass\n description: The name of the driver's main class. The jar file\n containing the class must be in the default CLASSPATH or specified\n in `jar_file_uris`.\n x-kubernetes-immutable: true\n mainJarFileUri:\n type: string\n x-dcl-go-name: MainJarFileUri\n description: 'The HCFS URI of the jar file containing the main\n class. Examples: ''gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar''\n ''hdfs:/tmp/test-samples/custom-wordcount.jar'' ''file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Hadoop. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site and classes in user code.\n x-kubernetes-immutable: true\n hiveJob:\n type: object\n x-dcl-go-name: HiveJob\n x-dcl-go-type: WorkflowTemplateJobsHiveJob\n description: Optional. Job is a Hive job.\n x-kubernetes-immutable: true\n properties:\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATH\n of the Hive server and Hadoop MapReduce (MR) tasks. Can contain\n Hive SerDes and UDFs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names and values,\n used to configure Hive. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml,\n and classes in user code.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains Hive queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsHiveJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Hive command: `SET name=\"value\";`).'\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The labels to associate with this job. Label\n keys must be between 1 and 63 characters long, and must conform\n to the following regular expression: p{Ll}p{Lo}{0,62} Label values\n must be between 1 and 63 characters long, and must conform to the\n following regular expression: [p{Ll}p{Lo}p{N}_-]{0,63} No more than\n 32 labels can be associated with a given job.'\n x-kubernetes-immutable: true\n pigJob:\n type: object\n x-dcl-go-name: PigJob\n x-dcl-go-type: WorkflowTemplateJobsPigJob\n description: Optional. Job is a Pig job.\n x-kubernetes-immutable: true\n properties:\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATH\n of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain\n Pig UDFs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPigJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Pig. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties,\n and classes in user code.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains the Pig\n queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsPigJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Pig command: `name=[value]`).'\n x-kubernetes-immutable: true\n prerequisiteStepIds:\n type: array\n x-dcl-go-name: PrerequisiteStepIds\n description: Optional. The optional list of prerequisite job step_ids.\n If not specified, the job will start at the beginning of workflow.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n prestoJob:\n type: object\n x-dcl-go-name: PrestoJob\n x-dcl-go-type: WorkflowTemplateJobsPrestoJob\n description: Optional. Job is a Presto job.\n x-kubernetes-immutable: true\n properties:\n clientTags:\n type: array\n x-dcl-go-name: ClientTags\n description: Optional. Presto client tags to attach to this query\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPrestoJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n outputFormat:\n type: string\n x-dcl-go-name: OutputFormat\n description: Optional. The format in which query output will be\n displayed. See the Presto documentation for supported output\n formats\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values.\n Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html)\n Equivalent to using the --session flag in the Presto CLI\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains SQL queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsPrestoJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n pysparkJob:\n type: object\n x-dcl-go-name: PysparkJob\n x-dcl-go-type: WorkflowTemplateJobsPysparkJob\n description: Optional. Job is a PySpark job.\n x-kubernetes-immutable: true\n required:\n - mainPythonFileUri\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATHs\n of the Python driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPysparkJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainPythonFileUri:\n type: string\n x-dcl-go-name: MainPythonFileUri\n description: Required. The HCFS URI of the main Python file to\n use as the driver. Must be a .py file.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure PySpark. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n pythonFileUris:\n type: array\n x-dcl-go-name: PythonFileUris\n description: 'Optional. HCFS file URIs of Python files to pass\n to the PySpark framework. Supported file types: .py, .egg, and\n .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scheduling:\n type: object\n x-dcl-go-name: Scheduling\n x-dcl-go-type: WorkflowTemplateJobsScheduling\n description: Optional. Job scheduling configuration.\n x-kubernetes-immutable: true\n properties:\n maxFailuresPerHour:\n type: integer\n format: int64\n x-dcl-go-name: MaxFailuresPerHour\n description: Optional. Maximum number of times per hour a driver\n may be restarted as a result of driver exiting with non-zero\n code before job is reported failed. A job may be reported as\n thrashing if driver exits with non-zero code 4 times within\n 10 minute window. Maximum value is 10.\n x-kubernetes-immutable: true\n maxFailuresTotal:\n type: integer\n format: int64\n x-dcl-go-name: MaxFailuresTotal\n description: Optional. Maximum number of times in total a driver\n may be restarted as a result of driver exiting with non-zero\n code before job is reported failed. Maximum value is 240.\n x-kubernetes-immutable: true\n sparkJob:\n type: object\n x-dcl-go-name: SparkJob\n x-dcl-go-type: WorkflowTemplateJobsSparkJob\n description: Optional. Job is a Spark job.\n x-kubernetes-immutable: true\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATHs\n of the Spark driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainClass:\n type: string\n x-dcl-go-name: MainClass\n description: The name of the driver's main class. The jar file\n that contains the class must be in the default CLASSPATH or\n specified in `jar_file_uris`.\n x-kubernetes-immutable: true\n mainJarFileUri:\n type: string\n x-dcl-go-name: MainJarFileUri\n description: The HCFS URI of the jar file that contains the main\n class.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Spark. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n sparkRJob:\n type: object\n x-dcl-go-name: SparkRJob\n x-dcl-go-type: WorkflowTemplateJobsSparkRJob\n description: Optional. Job is a SparkR job.\n x-kubernetes-immutable: true\n required:\n - mainRFileUri\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkRJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainRFileUri:\n type: string\n x-dcl-go-name: MainRFileUri\n description: Required. The HCFS URI of the main R file to use\n as the driver. Must be a .R file.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure SparkR. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n sparkSqlJob:\n type: object\n x-dcl-go-name: SparkSqlJob\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJob\n description: Optional. Job is a SparkSql job.\n x-kubernetes-immutable: true\n properties:\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to be added to the\n Spark CLASSPATH.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Spark SQL's SparkConf. Properties that conflict\n with values set by the Dataproc API may be overwritten.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains SQL queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Spark SQL command: SET `name=\"value\";`).'\n x-kubernetes-immutable: true\n stepId:\n type: string\n x-dcl-go-name: StepId\n description: Required. The step id. The id must be unique among all\n jobs within the template. The step id is used as prefix for job\n id, as job `goog-dataproc-workflow-step-id` label, and in prerequisiteStepIds\n field from other steps. The id must contain only letters (a-z, A-Z),\n numbers (0-9), underscores (_), and hyphens (-). Cannot begin or\n end with underscore or hyphen. Must consist of between 3 and 50\n characters.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this template. These\n labels will be propagated to all jobs and clusters created by the workflow\n instance. Label **keys** must contain 1 to 63 characters, and must conform\n to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values**\n may be empty, but, if present, must contain 1 to 63 characters, and must\n conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than\n 32 labels can be associated with a template.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The resource name of the workflow template, as\n described in https://cloud.google.com/apis/design/resource_names. * For\n `projects.regions.workflowTemplates`, the resource name of the template\n has the following format: `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`\n * For `projects.locations.workflowTemplates`, the resource name of the\n template has the following format: `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`'\n x-kubernetes-immutable: true\n parameters:\n type: array\n x-dcl-go-name: Parameters\n description: Optional. Template parameters whose values are substituted\n into the template. Values for parameters must be provided when the template\n is instantiated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplateParameters\n required:\n - name\n - fields\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Brief description of the parameter. Must not\n exceed 1024 characters.\n x-kubernetes-immutable: true\n fields:\n type: array\n x-dcl-go-name: Fields\n description: 'Required. Paths to all fields that the parameter replaces.\n A field is allowed to appear in at most one parameter''s list of\n field paths. A field path is similar in syntax to a google.protobuf.FieldMask.\n For example, a field path that references the zone field of a workflow\n template''s cluster selector would be specified as `placement.clusterSelector.zone`.\n Also, field paths can reference fields using the following syntax:\n * Values in maps can be referenced by key: * labels[''key''] * placement.clusterSelector.clusterLabels[''key'']\n * placement.managedCluster.labels[''key''] * placement.clusterSelector.clusterLabels[''key'']\n * jobs[''step-id''].labels[''key''] * Jobs in the jobs list can\n be referenced by step-id: * jobs[''step-id''].hadoopJob.mainJarFileUri\n * jobs[''step-id''].hiveJob.queryFileUri * jobs[''step-id''].pySparkJob.mainPythonFileUri\n * jobs[''step-id''].hadoopJob.jarFileUris[0] * jobs[''step-id''].hadoopJob.archiveUris[0]\n * jobs[''step-id''].hadoopJob.fileUris[0] * jobs[''step-id''].pySparkJob.pythonFileUris[0]\n * Items in repeated fields can be referenced by a zero-based index:\n * jobs[''step-id''].sparkJob.args[0] * Other examples: * jobs[''step-id''].hadoopJob.properties[''key'']\n * jobs[''step-id''].hadoopJob.args[0] * jobs[''step-id''].hiveJob.scriptVariables[''key'']\n * jobs[''step-id''].hadoopJob.mainJarFileUri * placement.clusterSelector.zone\n It may not be possible to parameterize maps and repeated fields\n in their entirety since only individual map values and individual\n items in repeated fields can be referenced. For example, the following\n field paths are invalid: - placement.clusterSelector.clusterLabels\n - jobs[''step-id''].sparkJob.args'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Parameter name. The parameter name is used\n as the key, and paired with the parameter value, which are passed\n to the template when the template is instantiated. The name must\n contain only capital letters (A-Z), numbers (0-9), and underscores\n (_), and must not start with a number. The maximum length is 40\n characters.\n x-kubernetes-immutable: true\n validation:\n type: object\n x-dcl-go-name: Validation\n x-dcl-go-type: WorkflowTemplateParametersValidation\n description: Optional. Validation rules to be applied to this parameter's\n value.\n x-kubernetes-immutable: true\n properties:\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: WorkflowTemplateParametersValidationRegex\n description: Validation based on regular expressions.\n x-kubernetes-immutable: true\n required:\n - regexes\n properties:\n regexes:\n type: array\n x-dcl-go-name: Regexes\n description: Required. RE2 regular expressions used to validate\n the parameter's value. The value must match the regex in\n its entirety (substring matches are not sufficient).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n values:\n type: object\n x-dcl-go-name: Values\n x-dcl-go-type: WorkflowTemplateParametersValidationValues\n description: Validation based on a list of allowed values.\n x-kubernetes-immutable: true\n required:\n - values\n properties:\n values:\n type: array\n x-dcl-go-name: Values\n description: Required. List of allowed values for the parameter.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n placement:\n type: object\n x-dcl-go-name: Placement\n x-dcl-go-type: WorkflowTemplatePlacement\n description: Required. WorkflowTemplate scheduling information.\n x-kubernetes-immutable: true\n properties:\n clusterSelector:\n type: object\n x-dcl-go-name: ClusterSelector\n x-dcl-go-type: WorkflowTemplatePlacementClusterSelector\n description: Optional. A selector that chooses target cluster for jobs\n based on metadata. The selector is evaluated at the time each job\n is submitted.\n x-kubernetes-immutable: true\n required:\n - clusterLabels\n properties:\n clusterLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ClusterLabels\n description: Required. The cluster labels. Cluster must have all\n labels to match.\n x-kubernetes-immutable: true\n zone:\n type: string\n x-dcl-go-name: Zone\n description: Optional. The zone where workflow process executes.\n This parameter does not affect the selection of the cluster. If\n unspecified, the zone of the first cluster matching the selector\n is used.\n x-kubernetes-immutable: true\n managedCluster:\n type: object\n x-dcl-go-name: ManagedCluster\n x-dcl-go-type: WorkflowTemplatePlacementManagedCluster\n description: A cluster that is managed by the workflow.\n x-kubernetes-immutable: true\n required:\n - clusterName\n - config\n properties:\n clusterName:\n type: string\n x-dcl-go-name: ClusterName\n description: Required. The cluster name prefix. A unique cluster\n name will be formed by appending a random suffix. The name must\n contain only lower-case letters (a-z), numbers (0-9), and hyphens\n (-). Must begin with a letter. Cannot begin or end with hyphen.\n Must consist of between 2 and 35 characters.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfig\n description: Required. The cluster configuration.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field\n is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the\n cluster. Only resource names including projectid and location\n (region) are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for\n PD disk encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this\n cluster\n x-kubernetes-immutable: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific\n ports on the cluster from external sources. Defaults to\n false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to\n URLs. Will only be populated if enable_http_port_access\n is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings\n for all instances in a cluster.\n x-kubernetes-immutable: true\n properties:\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster\n will only have internal IP addresses. By default, clusters\n are not restricted to internal IP addresses, and will\n have ephemeral external IP addresses assigned to each\n instance. This `internal_ip_only` restriction can only\n be enabled for subnetwork enabled networks, and all off-cluster\n dependencies must be configured to be accessible without\n external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add\n to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be\n used for machine communications. Cannot be specified with\n subnetwork_uri. If neither `network_uri` nor `subnetwork_uri`\n is specified, the \"default\" network of the project is\n used, if it exists. Cannot be a \"Custom Subnet Network\"\n (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short\n name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant\n clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node\n group resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial\n URI, or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster.\n Possible values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED,\n INHERIT_FROM_SUBNETWORK, OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming\n Zonal reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume\n Possible values: TYPE_UNSPECIFIED, NO_RESERVATION,\n ANY_RESERVATION, SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key\n of reservation resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values\n of reservation resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google\n Cloud Platform services. If not specified, the [Compute\n Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes\n to be included in Compute Engine instances. The following\n base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write\n * https://www.googleapis.com/auth/logging.write If no\n scopes are specified, the following defaults are also\n provided: * https://www.googleapis.com/auth/bigquery *\n https://www.googleapis.com/auth/bigtable.admin.table *\n https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to\n be used for machine communications. Cannot be specified\n with network_uri. A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances\n (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine\n cluster will be located. On a create request, it is required\n in the \"global\" region. If omitted in a non-global Dataproc\n region, the service will pick a zone in the corresponding\n Compute Engine region. On a get request, zone will always\n be present. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n gkeClusterConfig:\n type: object\n x-dcl-go-name: GkeClusterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfig\n description: Optional. BETA. The Kubernetes Engine config for\n Dataproc clusters deployed to Kubernetes. Setting this is\n considered mutually exclusive with Compute Engine-based options\n such as `gce_cluster_config`, `master_config`, `worker_config`,\n `secondary_worker_config`, and `autoscaling_config`.\n x-kubernetes-immutable: true\n properties:\n namespacedGkeDeploymentTarget:\n type: object\n x-dcl-go-name: NamespacedGkeDeploymentTarget\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTarget\n description: Optional. A target for the deployment.\n x-kubernetes-immutable: true\n properties:\n clusterNamespace:\n type: string\n x-dcl-go-name: ClusterNamespace\n description: Optional. A namespace within the GKE cluster\n to deploy into.\n x-kubernetes-immutable: true\n targetGkeCluster:\n type: string\n x-dcl-go-name: TargetGkeCluster\n description: 'Optional. The target GKE cluster to deploy\n to. Format: ''projects/{project}/locations/{location}/clusters/{cluster_id}'''\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Container/Cluster\n field: name\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after\n config is completed. By default, executables are run on master\n and all worker nodes. You can test a node''s `role` metadata\n to run an executable on a master or worker node, as shown\n below using `curl` (you can also use `wget`): ROLE=$(curl\n -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific\n actions ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigInitializationActions\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable\n file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to\n complete. Default is 10 minutes (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message\n (the name of the executable that caused the error and\n the exceeded timeout period) if the executable is not\n completed at end of the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster.\n The cluster will be auto-deleted at the end of this period.\n Minimum value is 10 minutes; maximum value is 14 days\n (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster\n alive while idling (when no jobs are running). Passing\n this threshold will cause the cluster to be deleted. Minimum\n value is 5 minutes; maximum value is 14 days (see JSON\n representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle\n (most recent job finished) and became eligible for deletion\n due to idleness (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for\n the master instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n metastoreConfig:\n type: object\n x-dcl-go-name: MetastoreConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMetastoreConfig\n description: Optional. Metastore configuration.\n x-kubernetes-immutable: true\n required:\n - dataprocMetastoreService\n properties:\n dataprocMetastoreService:\n type: string\n x-dcl-go-name: DataprocMetastoreService\n description: 'Required. Resource name of an existing Dataproc\n Metastore service. Example: * `projects/[project_id]/locations/[dataproc_region]/services/[service-name]`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Metastore/Service\n field: selfLink\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for\n additional worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname)\n for the remote trusted realm in a cross realm trust\n relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc\n on-cluster KDC will trust, should the user enable\n cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the shared password between\n the on-cluster Kerberos realm and the remote trusted\n realm, in a cross realm trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to\n Kerberize the cluster (default: false). Set this field\n to true to enable Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the master key of the KDC\n database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided key. For the self-signed certificate, this\n password is generated by Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the\n keystore file used for SSL encryption. If not provided,\n Dataproc will provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided keystore. For the self-signed certificate,\n this password is generated by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to\n encrypt various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos\n realm. If not specified, the uppercased domain of\n hostnames will be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting\n ticket, in hours. If not specified, or user specifies\n 0, then default value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the\n truststore file used for SSL encryption. If not provided,\n Dataproc will provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided truststore. For the self-signed certificate,\n this password is generated by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside\n the cluster.\n x-kubernetes-immutable: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the\n cluster. It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate\n on the cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon\n config files. Property keys are specified in `prefix:property`\n format, for example `core:hadoop.tmp.dir`. The following\n are supported prefixes and their mappings: * capacity-scheduler:\n `capacity-scheduler.xml` * core: `core-site.xml` * distcp:\n `distcp-default.xml` * hdfs: `hdfs-site.xml` * hive: `hive-site.xml`\n * mapred: `mapred-site.xml` * pig: `pig.properties` *\n spark: `spark-defaults.conf` * yarn: `yarn-site.xml` For\n more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage\n job dependencies, config files, and job driver console output.\n If you do not specify a staging bucket, Cloud Dataproc will\n determine a Cloud Storage location (US, ASIA, or EU) for your\n cluster's staging bucket according to the Compute Engine zone\n where your cluster is deployed, and then create and manage\n this project-level, per-location bucket (see [Dataproc staging\n bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI\n to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store\n ephemeral cluster and jobs data, such as Spark and MapReduce\n history files. If you do not specify a temp bucket, Dataproc\n will determine a Cloud Storage location (US, ASIA, or EU)\n for your cluster's temp bucket according to the Compute Engine\n zone where your cluster is deployed, and then create and manage\n this project-level, per-location bucket. The default bucket\n has a TTL of 90 days, but you can use any TTL (or none) if\n you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The labels to associate with this cluster.\n Label keys must be between 1 and 63 characters long, and must\n conform to the following PCRE regular expression: p{Ll}p{Lo}{0,62}\n Label values must be between 1 and 63 characters long, and must\n conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}_-]{0,63}\n No more than 32 labels can be associated with a given cluster.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time template was last updated.\n x-kubernetes-immutable: true\n version:\n type: integer\n format: int64\n x-dcl-go-name: Version\n readOnly: true\n description: Output only. The current version of this workflow template.\n x-kubernetes-immutable: true\n") +var YAML_workflow_template = []byte("info:\n title: Dataproc/WorkflowTemplate\n description: The Dataproc WorkflowTemplate resource\n x-dcl-struct-name: WorkflowTemplate\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n apply:\n description: The function used to apply information about a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n delete:\n description: The function used to delete a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n deleteAll:\n description: The function used to delete all WorkflowTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkflowTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkflowTemplate:\n title: WorkflowTemplate\n x-dcl-id: projects/{{project}}/locations/{{location}}/workflowTemplates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - placement\n - jobs\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time template was created.\n x-kubernetes-immutable: true\n dagTimeout:\n type: string\n x-dcl-go-name: DagTimeout\n description: Optional. Timeout duration for the DAG of jobs, expressed in\n seconds (see [JSON representation of duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n The timeout duration must be from 10 minutes (\"600s\") to 24 hours (\"86400s\").\n The timer begins when the first job is submitted. If the workflow is running\n at the end of the timeout period, any remaining jobs are cancelled, the\n workflow is ended, and if the workflow was running on a [managed cluster](/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster),\n the cluster is deleted.\n x-kubernetes-immutable: true\n jobs:\n type: array\n x-dcl-go-name: Jobs\n description: Required. The Directed Acyclic Graph of Jobs to submit.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplateJobs\n required:\n - stepId\n properties:\n hadoopJob:\n type: object\n x-dcl-go-name: HadoopJob\n x-dcl-go-type: WorkflowTemplateJobsHadoopJob\n description: Optional. Job is a Hadoop job.\n x-kubernetes-immutable: true\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n in the working directory of Hadoop drivers and tasks. Supported\n file types: .jar, .tar, .tar.gz, .tgz, or .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `-libjars` or `-Dfoo=bar`, that\n can be set as job properties, since a collision may occur that\n causes an incorrect job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS (Hadoop Compatible Filesystem) URIs\n of files to be copied to the working directory of Hadoop drivers\n and distributed tasks. Useful for naively parallel tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. Jar file URIs to add to the CLASSPATHs\n of the Hadoop driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsHadoopJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainClass:\n type: string\n x-dcl-go-name: MainClass\n description: The name of the driver's main class. The jar file\n containing the class must be in the default CLASSPATH or specified\n in `jar_file_uris`.\n x-kubernetes-immutable: true\n mainJarFileUri:\n type: string\n x-dcl-go-name: MainJarFileUri\n description: 'The HCFS URI of the jar file containing the main\n class. Examples: ''gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar''\n ''hdfs:/tmp/test-samples/custom-wordcount.jar'' ''file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Hadoop. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site and classes in user code.\n x-kubernetes-immutable: true\n hiveJob:\n type: object\n x-dcl-go-name: HiveJob\n x-dcl-go-type: WorkflowTemplateJobsHiveJob\n description: Optional. Job is a Hive job.\n x-kubernetes-immutable: true\n properties:\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATH\n of the Hive server and Hadoop MapReduce (MR) tasks. Can contain\n Hive SerDes and UDFs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names and values,\n used to configure Hive. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml,\n and classes in user code.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains Hive queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsHiveJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Hive command: `SET name=\"value\";`).'\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The labels to associate with this job. Label\n keys must be between 1 and 63 characters long, and must conform\n to the following regular expression: p{Ll}p{Lo}{0,62} Label values\n must be between 1 and 63 characters long, and must conform to the\n following regular expression: [p{Ll}p{Lo}p{N}_-]{0,63} No more than\n 32 labels can be associated with a given job.'\n x-kubernetes-immutable: true\n pigJob:\n type: object\n x-dcl-go-name: PigJob\n x-dcl-go-type: WorkflowTemplateJobsPigJob\n description: Optional. Job is a Pig job.\n x-kubernetes-immutable: true\n properties:\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATH\n of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain\n Pig UDFs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPigJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Pig. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties,\n and classes in user code.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains the Pig\n queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsPigJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Pig command: `name=[value]`).'\n x-kubernetes-immutable: true\n prerequisiteStepIds:\n type: array\n x-dcl-go-name: PrerequisiteStepIds\n description: Optional. The optional list of prerequisite job step_ids.\n If not specified, the job will start at the beginning of workflow.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n prestoJob:\n type: object\n x-dcl-go-name: PrestoJob\n x-dcl-go-type: WorkflowTemplateJobsPrestoJob\n description: Optional. Job is a Presto job.\n x-kubernetes-immutable: true\n properties:\n clientTags:\n type: array\n x-dcl-go-name: ClientTags\n description: Optional. Presto client tags to attach to this query\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPrestoJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n outputFormat:\n type: string\n x-dcl-go-name: OutputFormat\n description: Optional. The format in which query output will be\n displayed. See the Presto documentation for supported output\n formats\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values.\n Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html)\n Equivalent to using the --session flag in the Presto CLI\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains SQL queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsPrestoJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n pysparkJob:\n type: object\n x-dcl-go-name: PysparkJob\n x-dcl-go-type: WorkflowTemplateJobsPysparkJob\n description: Optional. Job is a PySpark job.\n x-kubernetes-immutable: true\n required:\n - mainPythonFileUri\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATHs\n of the Python driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPysparkJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainPythonFileUri:\n type: string\n x-dcl-go-name: MainPythonFileUri\n description: Required. The HCFS URI of the main Python file to\n use as the driver. Must be a .py file.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure PySpark. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n pythonFileUris:\n type: array\n x-dcl-go-name: PythonFileUris\n description: 'Optional. HCFS file URIs of Python files to pass\n to the PySpark framework. Supported file types: .py, .egg, and\n .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scheduling:\n type: object\n x-dcl-go-name: Scheduling\n x-dcl-go-type: WorkflowTemplateJobsScheduling\n description: Optional. Job scheduling configuration.\n x-kubernetes-immutable: true\n properties:\n maxFailuresPerHour:\n type: integer\n format: int64\n x-dcl-go-name: MaxFailuresPerHour\n description: Optional. Maximum number of times per hour a driver\n may be restarted as a result of driver exiting with non-zero\n code before job is reported failed. A job may be reported as\n thrashing if driver exits with non-zero code 4 times within\n 10 minute window. Maximum value is 10.\n x-kubernetes-immutable: true\n maxFailuresTotal:\n type: integer\n format: int64\n x-dcl-go-name: MaxFailuresTotal\n description: Optional. Maximum number of times in total a driver\n may be restarted as a result of driver exiting with non-zero\n code before job is reported failed. Maximum value is 240.\n x-kubernetes-immutable: true\n sparkJob:\n type: object\n x-dcl-go-name: SparkJob\n x-dcl-go-type: WorkflowTemplateJobsSparkJob\n description: Optional. Job is a Spark job.\n x-kubernetes-immutable: true\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATHs\n of the Spark driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainClass:\n type: string\n x-dcl-go-name: MainClass\n description: The name of the driver's main class. The jar file\n that contains the class must be in the default CLASSPATH or\n specified in `jar_file_uris`.\n x-kubernetes-immutable: true\n mainJarFileUri:\n type: string\n x-dcl-go-name: MainJarFileUri\n description: The HCFS URI of the jar file that contains the main\n class.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Spark. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n sparkRJob:\n type: object\n x-dcl-go-name: SparkRJob\n x-dcl-go-type: WorkflowTemplateJobsSparkRJob\n description: Optional. Job is a SparkR job.\n x-kubernetes-immutable: true\n required:\n - mainRFileUri\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkRJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainRFileUri:\n type: string\n x-dcl-go-name: MainRFileUri\n description: Required. The HCFS URI of the main R file to use\n as the driver. Must be a .R file.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure SparkR. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n sparkSqlJob:\n type: object\n x-dcl-go-name: SparkSqlJob\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJob\n description: Optional. Job is a SparkSql job.\n x-kubernetes-immutable: true\n properties:\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to be added to the\n Spark CLASSPATH.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Spark SQL's SparkConf. Properties that conflict\n with values set by the Dataproc API may be overwritten.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains SQL queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Spark SQL command: SET `name=\"value\";`).'\n x-kubernetes-immutable: true\n stepId:\n type: string\n x-dcl-go-name: StepId\n description: Required. The step id. The id must be unique among all\n jobs within the template. The step id is used as prefix for job\n id, as job `goog-dataproc-workflow-step-id` label, and in prerequisiteStepIds\n field from other steps. The id must contain only letters (a-z, A-Z),\n numbers (0-9), underscores (_), and hyphens (-). Cannot begin or\n end with underscore or hyphen. Must consist of between 3 and 50\n characters.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this template. These\n labels will be propagated to all jobs and clusters created by the workflow\n instance. Label **keys** must contain 1 to 63 characters, and must conform\n to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values**\n may be empty, but, if present, must contain 1 to 63 characters, and must\n conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than\n 32 labels can be associated with a template.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The resource name of the workflow template, as\n described in https://cloud.google.com/apis/design/resource_names. * For\n `projects.regions.workflowTemplates`, the resource name of the template\n has the following format: `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`\n * For `projects.locations.workflowTemplates`, the resource name of the\n template has the following format: `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`'\n x-kubernetes-immutable: true\n parameters:\n type: array\n x-dcl-go-name: Parameters\n description: Optional. Template parameters whose values are substituted\n into the template. Values for parameters must be provided when the template\n is instantiated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplateParameters\n required:\n - name\n - fields\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Brief description of the parameter. Must not\n exceed 1024 characters.\n x-kubernetes-immutable: true\n fields:\n type: array\n x-dcl-go-name: Fields\n description: 'Required. Paths to all fields that the parameter replaces.\n A field is allowed to appear in at most one parameter''s list of\n field paths. A field path is similar in syntax to a google.protobuf.FieldMask.\n For example, a field path that references the zone field of a workflow\n template''s cluster selector would be specified as `placement.clusterSelector.zone`.\n Also, field paths can reference fields using the following syntax:\n * Values in maps can be referenced by key: * labels[''key''] * placement.clusterSelector.clusterLabels[''key'']\n * placement.managedCluster.labels[''key''] * placement.clusterSelector.clusterLabels[''key'']\n * jobs[''step-id''].labels[''key''] * Jobs in the jobs list can\n be referenced by step-id: * jobs[''step-id''].hadoopJob.mainJarFileUri\n * jobs[''step-id''].hiveJob.queryFileUri * jobs[''step-id''].pySparkJob.mainPythonFileUri\n * jobs[''step-id''].hadoopJob.jarFileUris[0] * jobs[''step-id''].hadoopJob.archiveUris[0]\n * jobs[''step-id''].hadoopJob.fileUris[0] * jobs[''step-id''].pySparkJob.pythonFileUris[0]\n * Items in repeated fields can be referenced by a zero-based index:\n * jobs[''step-id''].sparkJob.args[0] * Other examples: * jobs[''step-id''].hadoopJob.properties[''key'']\n * jobs[''step-id''].hadoopJob.args[0] * jobs[''step-id''].hiveJob.scriptVariables[''key'']\n * jobs[''step-id''].hadoopJob.mainJarFileUri * placement.clusterSelector.zone\n It may not be possible to parameterize maps and repeated fields\n in their entirety since only individual map values and individual\n items in repeated fields can be referenced. For example, the following\n field paths are invalid: - placement.clusterSelector.clusterLabels\n - jobs[''step-id''].sparkJob.args'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Parameter name. The parameter name is used\n as the key, and paired with the parameter value, which are passed\n to the template when the template is instantiated. The name must\n contain only capital letters (A-Z), numbers (0-9), and underscores\n (_), and must not start with a number. The maximum length is 40\n characters.\n x-kubernetes-immutable: true\n validation:\n type: object\n x-dcl-go-name: Validation\n x-dcl-go-type: WorkflowTemplateParametersValidation\n description: Optional. Validation rules to be applied to this parameter's\n value.\n x-kubernetes-immutable: true\n properties:\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: WorkflowTemplateParametersValidationRegex\n description: Validation based on regular expressions.\n x-kubernetes-immutable: true\n required:\n - regexes\n properties:\n regexes:\n type: array\n x-dcl-go-name: Regexes\n description: Required. RE2 regular expressions used to validate\n the parameter's value. The value must match the regex in\n its entirety (substring matches are not sufficient).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n values:\n type: object\n x-dcl-go-name: Values\n x-dcl-go-type: WorkflowTemplateParametersValidationValues\n description: Validation based on a list of allowed values.\n x-kubernetes-immutable: true\n required:\n - values\n properties:\n values:\n type: array\n x-dcl-go-name: Values\n description: Required. List of allowed values for the parameter.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n placement:\n type: object\n x-dcl-go-name: Placement\n x-dcl-go-type: WorkflowTemplatePlacement\n description: Required. WorkflowTemplate scheduling information.\n x-kubernetes-immutable: true\n properties:\n clusterSelector:\n type: object\n x-dcl-go-name: ClusterSelector\n x-dcl-go-type: WorkflowTemplatePlacementClusterSelector\n description: Optional. A selector that chooses target cluster for jobs\n based on metadata. The selector is evaluated at the time each job\n is submitted.\n x-kubernetes-immutable: true\n required:\n - clusterLabels\n properties:\n clusterLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ClusterLabels\n description: Required. The cluster labels. Cluster must have all\n labels to match.\n x-kubernetes-immutable: true\n zone:\n type: string\n x-dcl-go-name: Zone\n description: Optional. The zone where workflow process executes.\n This parameter does not affect the selection of the cluster. If\n unspecified, the zone of the first cluster matching the selector\n is used.\n x-kubernetes-immutable: true\n managedCluster:\n type: object\n x-dcl-go-name: ManagedCluster\n x-dcl-go-type: WorkflowTemplatePlacementManagedCluster\n description: A cluster that is managed by the workflow.\n x-kubernetes-immutable: true\n required:\n - clusterName\n - config\n properties:\n clusterName:\n type: string\n x-dcl-go-name: ClusterName\n description: Required. The cluster name prefix. A unique cluster\n name will be formed by appending a random suffix. The name must\n contain only lower-case letters (a-z), numbers (0-9), and hyphens\n (-). Must begin with a letter. Cannot begin or end with hyphen.\n Must consist of between 2 and 35 characters.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfig\n description: Required. The cluster configuration.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field\n is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the\n cluster. Only resource names including projectid and location\n (region) are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for\n PD disk encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this\n cluster\n x-kubernetes-immutable: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific\n ports on the cluster from external sources. Defaults to\n false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to\n URLs. Will only be populated if enable_http_port_access\n is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings\n for all instances in a cluster.\n x-kubernetes-immutable: true\n properties:\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster\n will only have internal IP addresses. By default, clusters\n are not restricted to internal IP addresses, and will\n have ephemeral external IP addresses assigned to each\n instance. This `internal_ip_only` restriction can only\n be enabled for subnetwork enabled networks, and all off-cluster\n dependencies must be configured to be accessible without\n external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add\n to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be\n used for machine communications. Cannot be specified with\n subnetwork_uri. If neither `network_uri` nor `subnetwork_uri`\n is specified, the \"default\" network of the project is\n used, if it exists. Cannot be a \"Custom Subnet Network\"\n (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short\n name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant\n clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node\n group resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial\n URI, or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster.\n Possible values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED,\n INHERIT_FROM_SUBNETWORK, OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming\n Zonal reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume\n Possible values: TYPE_UNSPECIFIED, NO_RESERVATION,\n ANY_RESERVATION, SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key\n of reservation resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values\n of reservation resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google\n Cloud Platform services. If not specified, the [Compute\n Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes\n to be included in Compute Engine instances. The following\n base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write\n * https://www.googleapis.com/auth/logging.write If no\n scopes are specified, the following defaults are also\n provided: * https://www.googleapis.com/auth/bigquery *\n https://www.googleapis.com/auth/bigtable.admin.table *\n https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to\n be used for machine communications. Cannot be specified\n with network_uri. A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances\n (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine\n cluster will be located. On a create request, it is required\n in the \"global\" region. If omitted in a non-global Dataproc\n region, the service will pick a zone in the corresponding\n Compute Engine region. On a get request, zone will always\n be present. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n gkeClusterConfig:\n type: object\n x-dcl-go-name: GkeClusterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfig\n description: Optional. BETA. The Kubernetes Engine config for\n Dataproc clusters deployed to Kubernetes. Setting this is\n considered mutually exclusive with Compute Engine-based options\n such as `gce_cluster_config`, `master_config`, `worker_config`,\n `secondary_worker_config`, and `autoscaling_config`.\n x-kubernetes-immutable: true\n properties:\n namespacedGkeDeploymentTarget:\n type: object\n x-dcl-go-name: NamespacedGkeDeploymentTarget\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTarget\n description: Optional. A target for the deployment.\n x-kubernetes-immutable: true\n properties:\n clusterNamespace:\n type: string\n x-dcl-go-name: ClusterNamespace\n description: Optional. A namespace within the GKE cluster\n to deploy into.\n x-kubernetes-immutable: true\n targetGkeCluster:\n type: string\n x-dcl-go-name: TargetGkeCluster\n description: 'Optional. The target GKE cluster to deploy\n to. Format: ''projects/{project}/locations/{location}/clusters/{cluster_id}'''\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Container/Cluster\n field: name\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after\n config is completed. By default, executables are run on master\n and all worker nodes. You can test a node''s `role` metadata\n to run an executable on a master or worker node, as shown\n below using `curl` (you can also use `wget`): ROLE=$(curl\n -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific\n actions ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigInitializationActions\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable\n file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to\n complete. Default is 10 minutes (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message\n (the name of the executable that caused the error and\n the exceeded timeout period) if the executable is not\n completed at end of the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster.\n The cluster will be auto-deleted at the end of this period.\n Minimum value is 10 minutes; maximum value is 14 days\n (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster\n alive while idling (when no jobs are running). Passing\n this threshold will cause the cluster to be deleted. Minimum\n value is 5 minutes; maximum value is 14 days (see JSON\n representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle\n (most recent job finished) and became eligible for deletion\n due to idleness (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for\n the master instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n metastoreConfig:\n type: object\n x-dcl-go-name: MetastoreConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMetastoreConfig\n description: Optional. Metastore configuration.\n x-kubernetes-immutable: true\n required:\n - dataprocMetastoreService\n properties:\n dataprocMetastoreService:\n type: string\n x-dcl-go-name: DataprocMetastoreService\n description: 'Required. Resource name of an existing Dataproc\n Metastore service. Example: * `projects/[project_id]/locations/[dataproc_region]/services/[service-name]`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Metastore/Service\n field: selfLink\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for\n additional worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname)\n for the remote trusted realm in a cross realm trust\n relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc\n on-cluster KDC will trust, should the user enable\n cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the shared password between\n the on-cluster Kerberos realm and the remote trusted\n realm, in a cross realm trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to\n Kerberize the cluster (default: false). Set this field\n to true to enable Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the master key of the KDC\n database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided key. For the self-signed certificate, this\n password is generated by Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the\n keystore file used for SSL encryption. If not provided,\n Dataproc will provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided keystore. For the self-signed certificate,\n this password is generated by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to\n encrypt various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos\n realm. If not specified, the uppercased domain of\n hostnames will be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting\n ticket, in hours. If not specified, or user specifies\n 0, then default value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the\n truststore file used for SSL encryption. If not provided,\n Dataproc will provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided truststore. For the self-signed certificate,\n this password is generated by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside\n the cluster.\n x-kubernetes-immutable: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the\n cluster. It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate\n on the cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon\n config files. Property keys are specified in `prefix:property`\n format, for example `core:hadoop.tmp.dir`. The following\n are supported prefixes and their mappings: * capacity-scheduler:\n `capacity-scheduler.xml` * core: `core-site.xml` * distcp:\n `distcp-default.xml` * hdfs: `hdfs-site.xml` * hive: `hive-site.xml`\n * mapred: `mapred-site.xml` * pig: `pig.properties` *\n spark: `spark-defaults.conf` * yarn: `yarn-site.xml` For\n more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage\n job dependencies, config files, and job driver console output.\n If you do not specify a staging bucket, Cloud Dataproc will\n determine a Cloud Storage location (US, ASIA, or EU) for your\n cluster's staging bucket according to the Compute Engine zone\n where your cluster is deployed, and then create and manage\n this project-level, per-location bucket (see [Dataproc staging\n bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI\n to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store\n ephemeral cluster and jobs data, such as Spark and MapReduce\n history files. If you do not specify a temp bucket, Dataproc\n will determine a Cloud Storage location (US, ASIA, or EU)\n for your cluster's temp bucket according to the Compute Engine\n zone where your cluster is deployed, and then create and manage\n this project-level, per-location bucket. The default bucket\n has a TTL of 90 days, but you can use any TTL (or none) if\n you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The labels to associate with this cluster.\n Label keys must be between 1 and 63 characters long, and must\n conform to the following PCRE regular expression: p{Ll}p{Lo}{0,62}\n Label values must be between 1 and 63 characters long, and must\n conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}_-]{0,63}\n No more than 32 labels can be associated with a given cluster.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time template was last updated.\n x-kubernetes-immutable: true\n version:\n type: integer\n format: int64\n x-dcl-go-name: Version\n readOnly: true\n description: Output only. The current version of this workflow template.\n x-kubernetes-immutable: true\n") -// 129028 bytes -// MD5: db78ffe81f1b0f3d632a52b5d1dea8e3 +// 129053 bytes +// MD5: 220058f36671ab5846280146ea241741 diff --git a/services/google/dataproc/beta/workflow_template_schema.go b/services/google/dataproc/beta/workflow_template_schema.go index 9270aae67e..88116e16c1 100755 --- a/services/google/dataproc/beta/workflow_template_schema.go +++ b/services/google/dataproc/beta/workflow_template_schema.go @@ -23,6 +23,7 @@ func DCLWorkflowTemplateSchema() *dcl.Schema { Title: "Dataproc/WorkflowTemplate", Description: "The Dataproc WorkflowTemplate resource", StructName: "WorkflowTemplate", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataproc/cluster.yaml b/services/google/dataproc/cluster.yaml index 25e0ef9592..51c54b37bc 100755 --- a/services/google/dataproc/cluster.yaml +++ b/services/google/dataproc/cluster.yaml @@ -15,6 +15,7 @@ info: title: Dataproc/Cluster description: The Dataproc Cluster resource x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/dataproc/cluster_schema.go b/services/google/dataproc/cluster_schema.go index 43c9175ee4..a636ec29ad 100755 --- a/services/google/dataproc/cluster_schema.go +++ b/services/google/dataproc/cluster_schema.go @@ -23,6 +23,7 @@ func DCLClusterSchema() *dcl.Schema { Title: "Dataproc/Cluster", Description: "The Dataproc Cluster resource", StructName: "Cluster", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/dataproc/cluster_yaml_embed.go b/services/google/dataproc/cluster_yaml_embed.go index 93138f5746..9f0548c62d 100755 --- a/services/google/dataproc/cluster_yaml_embed.go +++ b/services/google/dataproc/cluster_yaml_embed.go @@ -17,7 +17,7 @@ package dataproc // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataproc/cluster.yaml -var YAML_cluster = []byte("info:\n title: Dataproc/Cluster\n description: The Dataproc Cluster resource\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/regions/{{location}}/clusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - project\n - name\n - location\n properties:\n clusterUuid:\n type: string\n x-dcl-go-name: ClusterUuid\n readOnly: true\n description: Output only. A cluster UUID (Unique Universal Identifier).\n Dataproc generates this value when it creates the cluster.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: ClusterConfig\n description: Required. The cluster config. Note that Dataproc may set default\n values, and values may change when clusters are updated.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: ClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the cluster.\n Only resource names including projectid and location (region)\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: ClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for PD disk\n encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: ClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this cluster\n x-kubernetes-immutable: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific ports\n on the cluster from external sources. Defaults to false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to URLs.\n Will only be populated if enable_http_port_access is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: ClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings for\n all instances in a cluster.\n x-kubernetes-immutable: true\n properties:\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster will\n only have internal IP addresses. By default, clusters are not\n restricted to internal IP addresses, and will have ephemeral external\n IP addresses assigned to each instance. This `internal_ip_only`\n restriction can only be enabled for subnetwork enabled networks,\n and all off-cluster dependencies must be configured to be accessible\n without external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add to all instances\n (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be used for\n machine communications. Cannot be specified with subnetwork_uri.\n If neither `network_uri` nor `subnetwork_uri` is specified, the\n \"default\" network of the project is used, if it exists. Cannot\n be a \"Custom Subnet Network\" (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node group\n resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial URI,\n or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: ClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster. Possible\n values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, INHERIT_FROM_SUBNETWORK,\n OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming Zonal\n reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume Possible\n values: TYPE_UNSPECIFIED, NO_RESERVATION, ANY_RESERVATION,\n SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key of reservation\n resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values of reservation\n resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google Cloud Platform\n services. If not specified, the [Compute Engine default service\n account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes to be\n included in Compute Engine instances. The following base set of\n scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write\n If no scopes are specified, the following defaults are also provided:\n * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table\n * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to be used\n for machine communications. Cannot be specified with network_uri.\n A full URL, partial URI, or short name are valid. Examples: *\n `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0` *\n `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances (see\n [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine cluster\n will be located. On a create request, it is required in the \"global\"\n region. If omitted in a non-global Dataproc region, the service\n will pick a zone in the corresponding Compute Engine region. On\n a get request, zone will always be present. A full URL, partial\n URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after config\n is completed. By default, executables are run on master and all worker\n nodes. You can test a node''s `role` metadata to run an executable\n on a master or worker node, as shown below using `curl` (you can also\n use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific actions\n ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigInitializationActions\n required:\n - executableFile\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to complete.\n Default is 10 minutes (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message (the\n name of the executable that caused the error and the exceeded\n timeout period) if the executable is not completed at end of\n the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: ClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster. The cluster\n will be auto-deleted at the end of this period. Minimum value\n is 10 minutes; maximum value is 14 days (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster alive while\n idling (when no jobs are running). Passing this threshold will\n cause the cluster to be deleted. Minimum value is 5 minutes; maximum\n value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle (most\n recent job finished) and became eligible for deletion due to idleness\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: ClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for the master\n instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for additional\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: ClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: ClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for the remote\n trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc on-cluster\n KDC will trust, should the user enable cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the shared password between the on-cluster\n Kerberos realm and the remote trusted realm, in a cross realm\n trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to Kerberize\n the cluster (default: false). Set this field to true to enable\n Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the master key of the KDC database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided key. For\n the self-signed certificate, this password is generated by\n Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the keystore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided keystore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to encrypt\n various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos realm.\n If not specified, the uppercased domain of hostnames will\n be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting ticket,\n in hours. If not specified, or user specifies 0, then default\n value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the truststore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided truststore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: ClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside the cluster.\n x-kubernetes-immutable: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the cluster.\n It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate on the\n cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon config files.\n Property keys are specified in `prefix:property` format, for example\n `core:hadoop.tmp.dir`. The following are supported prefixes and\n their mappings: * capacity-scheduler: `capacity-scheduler.xml`\n * core: `core-site.xml` * distcp: `distcp-default.xml` * hdfs:\n `hdfs-site.xml` * hive: `hive-site.xml` * mapred: `mapred-site.xml`\n * pig: `pig.properties` * spark: `spark-defaults.conf` * yarn:\n `yarn-site.xml` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage job dependencies,\n config files, and job driver console output. If you do not specify\n a staging bucket, Cloud Dataproc will determine a Cloud Storage location\n (US, ASIA, or EU) for your cluster's staging bucket according to the\n Compute Engine zone where your cluster is deployed, and then create\n and manage this project-level, per-location bucket (see [Dataproc\n staging bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI to a\n Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store ephemeral\n cluster and jobs data, such as Spark and MapReduce history files.\n If you do not specify a temp bucket, Dataproc will determine a Cloud\n Storage location (US, ASIA, or EU) for your cluster's temp bucket\n according to the Compute Engine zone where your cluster is deployed,\n and then create and manage this project-level, per-location bucket.\n The default bucket has a TTL of 90 days, but you can use any TTL (or\n none) if you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: ClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for worker\n instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this cluster. Label\n **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n Label **values** may be empty, but, if present, must contain 1 to 63 characters,\n and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n No more than 32 labels can be associated with a cluster.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource, usually a GCP region.\n x-kubernetes-immutable: true\n metrics:\n type: object\n x-dcl-go-name: Metrics\n x-dcl-go-type: ClusterMetrics\n readOnly: true\n description: 'Output only. Contains cluster daemon metrics such as HDFS\n and YARN stats. **Beta Feature**: This report is available for testing\n purposes only. It may be changed before final release.'\n x-kubernetes-immutable: true\n properties:\n hdfsMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HdfsMetrics\n description: The HDFS metrics.\n x-kubernetes-immutable: true\n yarnMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: YarnMetrics\n description: The YARN metrics.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The cluster name. Cluster names within a project\n must be unique. Names of deleted clusters can be reused.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The Google Cloud Platform project ID that the cluster\n belongs to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: ClusterStatus\n readOnly: true\n description: Output only. Cluster status.\n x-kubernetes-immutable: true\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values: UNKNOWN,\n CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING, STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusSubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n statusHistory:\n type: array\n x-dcl-go-name: StatusHistory\n readOnly: true\n description: Output only. The previous cluster status.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterStatusHistory\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusHistoryStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values:\n UNKNOWN, CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING,\n STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusHistorySubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n") +var YAML_cluster = []byte("info:\n title: Dataproc/Cluster\n description: The Dataproc Cluster resource\n x-dcl-struct-name: Cluster\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/regions/{{location}}/clusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - project\n - name\n - location\n properties:\n clusterUuid:\n type: string\n x-dcl-go-name: ClusterUuid\n readOnly: true\n description: Output only. A cluster UUID (Unique Universal Identifier).\n Dataproc generates this value when it creates the cluster.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: ClusterConfig\n description: Required. The cluster config. Note that Dataproc may set default\n values, and values may change when clusters are updated.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: ClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the cluster.\n Only resource names including projectid and location (region)\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: ClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for PD disk\n encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: ClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this cluster\n x-kubernetes-immutable: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific ports\n on the cluster from external sources. Defaults to false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to URLs.\n Will only be populated if enable_http_port_access is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: ClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings for\n all instances in a cluster.\n x-kubernetes-immutable: true\n properties:\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster will\n only have internal IP addresses. By default, clusters are not\n restricted to internal IP addresses, and will have ephemeral external\n IP addresses assigned to each instance. This `internal_ip_only`\n restriction can only be enabled for subnetwork enabled networks,\n and all off-cluster dependencies must be configured to be accessible\n without external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add to all instances\n (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be used for\n machine communications. Cannot be specified with subnetwork_uri.\n If neither `network_uri` nor `subnetwork_uri` is specified, the\n \"default\" network of the project is used, if it exists. Cannot\n be a \"Custom Subnet Network\" (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node group\n resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial URI,\n or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: ClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster. Possible\n values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, INHERIT_FROM_SUBNETWORK,\n OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming Zonal\n reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume Possible\n values: TYPE_UNSPECIFIED, NO_RESERVATION, ANY_RESERVATION,\n SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key of reservation\n resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values of reservation\n resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google Cloud Platform\n services. If not specified, the [Compute Engine default service\n account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes to be\n included in Compute Engine instances. The following base set of\n scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write\n If no scopes are specified, the following defaults are also provided:\n * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table\n * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to be used\n for machine communications. Cannot be specified with network_uri.\n A full URL, partial URI, or short name are valid. Examples: *\n `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0` *\n `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances (see\n [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine cluster\n will be located. On a create request, it is required in the \"global\"\n region. If omitted in a non-global Dataproc region, the service\n will pick a zone in the corresponding Compute Engine region. On\n a get request, zone will always be present. A full URL, partial\n URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after config\n is completed. By default, executables are run on master and all worker\n nodes. You can test a node''s `role` metadata to run an executable\n on a master or worker node, as shown below using `curl` (you can also\n use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific actions\n ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigInitializationActions\n required:\n - executableFile\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to complete.\n Default is 10 minutes (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message (the\n name of the executable that caused the error and the exceeded\n timeout period) if the executable is not completed at end of\n the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: ClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster. The cluster\n will be auto-deleted at the end of this period. Minimum value\n is 10 minutes; maximum value is 14 days (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster alive while\n idling (when no jobs are running). Passing this threshold will\n cause the cluster to be deleted. Minimum value is 5 minutes; maximum\n value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle (most\n recent job finished) and became eligible for deletion due to idleness\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: ClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for the master\n instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for additional\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: ClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: ClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for the remote\n trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc on-cluster\n KDC will trust, should the user enable cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the shared password between the on-cluster\n Kerberos realm and the remote trusted realm, in a cross realm\n trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to Kerberize\n the cluster (default: false). Set this field to true to enable\n Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the master key of the KDC database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided key. For\n the self-signed certificate, this password is generated by\n Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the keystore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided keystore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to encrypt\n various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos realm.\n If not specified, the uppercased domain of hostnames will\n be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting ticket,\n in hours. If not specified, or user specifies 0, then default\n value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the truststore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided truststore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: ClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside the cluster.\n x-kubernetes-immutable: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the cluster.\n It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate on the\n cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon config files.\n Property keys are specified in `prefix:property` format, for example\n `core:hadoop.tmp.dir`. The following are supported prefixes and\n their mappings: * capacity-scheduler: `capacity-scheduler.xml`\n * core: `core-site.xml` * distcp: `distcp-default.xml` * hdfs:\n `hdfs-site.xml` * hive: `hive-site.xml` * mapred: `mapred-site.xml`\n * pig: `pig.properties` * spark: `spark-defaults.conf` * yarn:\n `yarn-site.xml` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage job dependencies,\n config files, and job driver console output. If you do not specify\n a staging bucket, Cloud Dataproc will determine a Cloud Storage location\n (US, ASIA, or EU) for your cluster's staging bucket according to the\n Compute Engine zone where your cluster is deployed, and then create\n and manage this project-level, per-location bucket (see [Dataproc\n staging bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI to a\n Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store ephemeral\n cluster and jobs data, such as Spark and MapReduce history files.\n If you do not specify a temp bucket, Dataproc will determine a Cloud\n Storage location (US, ASIA, or EU) for your cluster's temp bucket\n according to the Compute Engine zone where your cluster is deployed,\n and then create and manage this project-level, per-location bucket.\n The default bucket has a TTL of 90 days, but you can use any TTL (or\n none) if you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: ClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for worker\n instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this cluster. Label\n **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n Label **values** may be empty, but, if present, must contain 1 to 63 characters,\n and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n No more than 32 labels can be associated with a cluster.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource, usually a GCP region.\n x-kubernetes-immutable: true\n metrics:\n type: object\n x-dcl-go-name: Metrics\n x-dcl-go-type: ClusterMetrics\n readOnly: true\n description: 'Output only. Contains cluster daemon metrics such as HDFS\n and YARN stats. **Beta Feature**: This report is available for testing\n purposes only. It may be changed before final release.'\n x-kubernetes-immutable: true\n properties:\n hdfsMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HdfsMetrics\n description: The HDFS metrics.\n x-kubernetes-immutable: true\n yarnMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: YarnMetrics\n description: The YARN metrics.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The cluster name. Cluster names within a project\n must be unique. Names of deleted clusters can be reused.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The Google Cloud Platform project ID that the cluster\n belongs to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: ClusterStatus\n readOnly: true\n description: Output only. Cluster status.\n x-kubernetes-immutable: true\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values: UNKNOWN,\n CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING, STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusSubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n statusHistory:\n type: array\n x-dcl-go-name: StatusHistory\n readOnly: true\n description: Output only. The previous cluster status.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterStatusHistory\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusHistoryStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values:\n UNKNOWN, CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING,\n STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusHistorySubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n") -// 70328 bytes -// MD5: 30f42469352f97cf86f7f29d54bfbcc2 +// 70353 bytes +// MD5: 01825bf94e90d5605251591da5fef042 diff --git a/services/google/dataproc/workflow_template.yaml b/services/google/dataproc/workflow_template.yaml index c882942f79..1c01afd06d 100755 --- a/services/google/dataproc/workflow_template.yaml +++ b/services/google/dataproc/workflow_template.yaml @@ -15,6 +15,7 @@ info: title: Dataproc/WorkflowTemplate description: The Dataproc WorkflowTemplate resource x-dcl-struct-name: WorkflowTemplate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dataproc/workflow_template_schema.go b/services/google/dataproc/workflow_template_schema.go index c43ee64145..6c2cbac903 100755 --- a/services/google/dataproc/workflow_template_schema.go +++ b/services/google/dataproc/workflow_template_schema.go @@ -23,6 +23,7 @@ func DCLWorkflowTemplateSchema() *dcl.Schema { Title: "Dataproc/WorkflowTemplate", Description: "The Dataproc WorkflowTemplate resource", StructName: "WorkflowTemplate", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dataproc/workflow_template_yaml_embed.go b/services/google/dataproc/workflow_template_yaml_embed.go index d5a326c736..11bfb6811a 100755 --- a/services/google/dataproc/workflow_template_yaml_embed.go +++ b/services/google/dataproc/workflow_template_yaml_embed.go @@ -17,7 +17,7 @@ package dataproc // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataproc/workflow_template.yaml -var YAML_workflow_template = []byte("info:\n title: Dataproc/WorkflowTemplate\n description: The Dataproc WorkflowTemplate resource\n x-dcl-struct-name: WorkflowTemplate\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n apply:\n description: The function used to apply information about a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n delete:\n description: The function used to delete a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n deleteAll:\n description: The function used to delete all WorkflowTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkflowTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkflowTemplate:\n title: WorkflowTemplate\n x-dcl-id: projects/{{project}}/locations/{{location}}/workflowTemplates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - placement\n - jobs\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time template was created.\n x-kubernetes-immutable: true\n dagTimeout:\n type: string\n x-dcl-go-name: DagTimeout\n description: Optional. Timeout duration for the DAG of jobs, expressed in\n seconds (see [JSON representation of duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n The timeout duration must be from 10 minutes (\"600s\") to 24 hours (\"86400s\").\n The timer begins when the first job is submitted. If the workflow is running\n at the end of the timeout period, any remaining jobs are cancelled, the\n workflow is ended, and if the workflow was running on a [managed cluster](/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster),\n the cluster is deleted.\n x-kubernetes-immutable: true\n jobs:\n type: array\n x-dcl-go-name: Jobs\n description: Required. The Directed Acyclic Graph of Jobs to submit.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplateJobs\n required:\n - stepId\n properties:\n hadoopJob:\n type: object\n x-dcl-go-name: HadoopJob\n x-dcl-go-type: WorkflowTemplateJobsHadoopJob\n description: Optional. Job is a Hadoop job.\n x-kubernetes-immutable: true\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n in the working directory of Hadoop drivers and tasks. Supported\n file types: .jar, .tar, .tar.gz, .tgz, or .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `-libjars` or `-Dfoo=bar`, that\n can be set as job properties, since a collision may occur that\n causes an incorrect job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS (Hadoop Compatible Filesystem) URIs\n of files to be copied to the working directory of Hadoop drivers\n and distributed tasks. Useful for naively parallel tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. Jar file URIs to add to the CLASSPATHs\n of the Hadoop driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsHadoopJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainClass:\n type: string\n x-dcl-go-name: MainClass\n description: The name of the driver's main class. The jar file\n containing the class must be in the default CLASSPATH or specified\n in `jar_file_uris`.\n x-kubernetes-immutable: true\n mainJarFileUri:\n type: string\n x-dcl-go-name: MainJarFileUri\n description: 'The HCFS URI of the jar file containing the main\n class. Examples: ''gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar''\n ''hdfs:/tmp/test-samples/custom-wordcount.jar'' ''file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Hadoop. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site and classes in user code.\n x-kubernetes-immutable: true\n hiveJob:\n type: object\n x-dcl-go-name: HiveJob\n x-dcl-go-type: WorkflowTemplateJobsHiveJob\n description: Optional. Job is a Hive job.\n x-kubernetes-immutable: true\n properties:\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATH\n of the Hive server and Hadoop MapReduce (MR) tasks. Can contain\n Hive SerDes and UDFs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names and values,\n used to configure Hive. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml,\n and classes in user code.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains Hive queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsHiveJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Hive command: `SET name=\"value\";`).'\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The labels to associate with this job. Label\n keys must be between 1 and 63 characters long, and must conform\n to the following regular expression: p{Ll}p{Lo}{0,62} Label values\n must be between 1 and 63 characters long, and must conform to the\n following regular expression: [p{Ll}p{Lo}p{N}_-]{0,63} No more than\n 32 labels can be associated with a given job.'\n x-kubernetes-immutable: true\n pigJob:\n type: object\n x-dcl-go-name: PigJob\n x-dcl-go-type: WorkflowTemplateJobsPigJob\n description: Optional. Job is a Pig job.\n x-kubernetes-immutable: true\n properties:\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATH\n of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain\n Pig UDFs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPigJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Pig. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties,\n and classes in user code.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains the Pig\n queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsPigJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Pig command: `name=[value]`).'\n x-kubernetes-immutable: true\n prerequisiteStepIds:\n type: array\n x-dcl-go-name: PrerequisiteStepIds\n description: Optional. The optional list of prerequisite job step_ids.\n If not specified, the job will start at the beginning of workflow.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n prestoJob:\n type: object\n x-dcl-go-name: PrestoJob\n x-dcl-go-type: WorkflowTemplateJobsPrestoJob\n description: Optional. Job is a Presto job.\n x-kubernetes-immutable: true\n properties:\n clientTags:\n type: array\n x-dcl-go-name: ClientTags\n description: Optional. Presto client tags to attach to this query\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPrestoJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n outputFormat:\n type: string\n x-dcl-go-name: OutputFormat\n description: Optional. The format in which query output will be\n displayed. See the Presto documentation for supported output\n formats\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values.\n Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html)\n Equivalent to using the --session flag in the Presto CLI\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains SQL queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsPrestoJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n pysparkJob:\n type: object\n x-dcl-go-name: PysparkJob\n x-dcl-go-type: WorkflowTemplateJobsPysparkJob\n description: Optional. Job is a PySpark job.\n x-kubernetes-immutable: true\n required:\n - mainPythonFileUri\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATHs\n of the Python driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPysparkJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainPythonFileUri:\n type: string\n x-dcl-go-name: MainPythonFileUri\n description: Required. The HCFS URI of the main Python file to\n use as the driver. Must be a .py file.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure PySpark. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n pythonFileUris:\n type: array\n x-dcl-go-name: PythonFileUris\n description: 'Optional. HCFS file URIs of Python files to pass\n to the PySpark framework. Supported file types: .py, .egg, and\n .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scheduling:\n type: object\n x-dcl-go-name: Scheduling\n x-dcl-go-type: WorkflowTemplateJobsScheduling\n description: Optional. Job scheduling configuration.\n x-kubernetes-immutable: true\n properties:\n maxFailuresPerHour:\n type: integer\n format: int64\n x-dcl-go-name: MaxFailuresPerHour\n description: Optional. Maximum number of times per hour a driver\n may be restarted as a result of driver exiting with non-zero\n code before job is reported failed. A job may be reported as\n thrashing if driver exits with non-zero code 4 times within\n 10 minute window. Maximum value is 10.\n x-kubernetes-immutable: true\n maxFailuresTotal:\n type: integer\n format: int64\n x-dcl-go-name: MaxFailuresTotal\n description: Optional. Maximum number of times in total a driver\n may be restarted as a result of driver exiting with non-zero\n code before job is reported failed. Maximum value is 240.\n x-kubernetes-immutable: true\n sparkJob:\n type: object\n x-dcl-go-name: SparkJob\n x-dcl-go-type: WorkflowTemplateJobsSparkJob\n description: Optional. Job is a Spark job.\n x-kubernetes-immutable: true\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATHs\n of the Spark driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainClass:\n type: string\n x-dcl-go-name: MainClass\n description: The name of the driver's main class. The jar file\n that contains the class must be in the default CLASSPATH or\n specified in `jar_file_uris`.\n x-kubernetes-immutable: true\n mainJarFileUri:\n type: string\n x-dcl-go-name: MainJarFileUri\n description: The HCFS URI of the jar file that contains the main\n class.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Spark. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n sparkRJob:\n type: object\n x-dcl-go-name: SparkRJob\n x-dcl-go-type: WorkflowTemplateJobsSparkRJob\n description: Optional. Job is a SparkR job.\n x-kubernetes-immutable: true\n required:\n - mainRFileUri\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkRJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainRFileUri:\n type: string\n x-dcl-go-name: MainRFileUri\n description: Required. The HCFS URI of the main R file to use\n as the driver. Must be a .R file.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure SparkR. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n sparkSqlJob:\n type: object\n x-dcl-go-name: SparkSqlJob\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJob\n description: Optional. Job is a SparkSql job.\n x-kubernetes-immutable: true\n properties:\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to be added to the\n Spark CLASSPATH.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Spark SQL's SparkConf. Properties that conflict\n with values set by the Dataproc API may be overwritten.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains SQL queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Spark SQL command: SET `name=\"value\";`).'\n x-kubernetes-immutable: true\n stepId:\n type: string\n x-dcl-go-name: StepId\n description: Required. The step id. The id must be unique among all\n jobs within the template. The step id is used as prefix for job\n id, as job `goog-dataproc-workflow-step-id` label, and in prerequisiteStepIds\n field from other steps. The id must contain only letters (a-z, A-Z),\n numbers (0-9), underscores (_), and hyphens (-). Cannot begin or\n end with underscore or hyphen. Must consist of between 3 and 50\n characters.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this template. These\n labels will be propagated to all jobs and clusters created by the workflow\n instance. Label **keys** must contain 1 to 63 characters, and must conform\n to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values**\n may be empty, but, if present, must contain 1 to 63 characters, and must\n conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than\n 32 labels can be associated with a template.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The resource name of the workflow template, as\n described in https://cloud.google.com/apis/design/resource_names. * For\n `projects.regions.workflowTemplates`, the resource name of the template\n has the following format: `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`\n * For `projects.locations.workflowTemplates`, the resource name of the\n template has the following format: `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`'\n x-kubernetes-immutable: true\n parameters:\n type: array\n x-dcl-go-name: Parameters\n description: Optional. Template parameters whose values are substituted\n into the template. Values for parameters must be provided when the template\n is instantiated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplateParameters\n required:\n - name\n - fields\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Brief description of the parameter. Must not\n exceed 1024 characters.\n x-kubernetes-immutable: true\n fields:\n type: array\n x-dcl-go-name: Fields\n description: 'Required. Paths to all fields that the parameter replaces.\n A field is allowed to appear in at most one parameter''s list of\n field paths. A field path is similar in syntax to a google.protobuf.FieldMask.\n For example, a field path that references the zone field of a workflow\n template''s cluster selector would be specified as `placement.clusterSelector.zone`.\n Also, field paths can reference fields using the following syntax:\n * Values in maps can be referenced by key: * labels[''key''] * placement.clusterSelector.clusterLabels[''key'']\n * placement.managedCluster.labels[''key''] * placement.clusterSelector.clusterLabels[''key'']\n * jobs[''step-id''].labels[''key''] * Jobs in the jobs list can\n be referenced by step-id: * jobs[''step-id''].hadoopJob.mainJarFileUri\n * jobs[''step-id''].hiveJob.queryFileUri * jobs[''step-id''].pySparkJob.mainPythonFileUri\n * jobs[''step-id''].hadoopJob.jarFileUris[0] * jobs[''step-id''].hadoopJob.archiveUris[0]\n * jobs[''step-id''].hadoopJob.fileUris[0] * jobs[''step-id''].pySparkJob.pythonFileUris[0]\n * Items in repeated fields can be referenced by a zero-based index:\n * jobs[''step-id''].sparkJob.args[0] * Other examples: * jobs[''step-id''].hadoopJob.properties[''key'']\n * jobs[''step-id''].hadoopJob.args[0] * jobs[''step-id''].hiveJob.scriptVariables[''key'']\n * jobs[''step-id''].hadoopJob.mainJarFileUri * placement.clusterSelector.zone\n It may not be possible to parameterize maps and repeated fields\n in their entirety since only individual map values and individual\n items in repeated fields can be referenced. For example, the following\n field paths are invalid: - placement.clusterSelector.clusterLabels\n - jobs[''step-id''].sparkJob.args'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Parameter name. The parameter name is used\n as the key, and paired with the parameter value, which are passed\n to the template when the template is instantiated. The name must\n contain only capital letters (A-Z), numbers (0-9), and underscores\n (_), and must not start with a number. The maximum length is 40\n characters.\n x-kubernetes-immutable: true\n validation:\n type: object\n x-dcl-go-name: Validation\n x-dcl-go-type: WorkflowTemplateParametersValidation\n description: Optional. Validation rules to be applied to this parameter's\n value.\n x-kubernetes-immutable: true\n properties:\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: WorkflowTemplateParametersValidationRegex\n description: Validation based on regular expressions.\n x-kubernetes-immutable: true\n required:\n - regexes\n properties:\n regexes:\n type: array\n x-dcl-go-name: Regexes\n description: Required. RE2 regular expressions used to validate\n the parameter's value. The value must match the regex in\n its entirety (substring matches are not sufficient).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n values:\n type: object\n x-dcl-go-name: Values\n x-dcl-go-type: WorkflowTemplateParametersValidationValues\n description: Validation based on a list of allowed values.\n x-kubernetes-immutable: true\n required:\n - values\n properties:\n values:\n type: array\n x-dcl-go-name: Values\n description: Required. List of allowed values for the parameter.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n placement:\n type: object\n x-dcl-go-name: Placement\n x-dcl-go-type: WorkflowTemplatePlacement\n description: Required. WorkflowTemplate scheduling information.\n x-kubernetes-immutable: true\n properties:\n clusterSelector:\n type: object\n x-dcl-go-name: ClusterSelector\n x-dcl-go-type: WorkflowTemplatePlacementClusterSelector\n description: Optional. A selector that chooses target cluster for jobs\n based on metadata. The selector is evaluated at the time each job\n is submitted.\n x-kubernetes-immutable: true\n required:\n - clusterLabels\n properties:\n clusterLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ClusterLabels\n description: Required. The cluster labels. Cluster must have all\n labels to match.\n x-kubernetes-immutable: true\n zone:\n type: string\n x-dcl-go-name: Zone\n description: Optional. The zone where workflow process executes.\n This parameter does not affect the selection of the cluster. If\n unspecified, the zone of the first cluster matching the selector\n is used.\n x-kubernetes-immutable: true\n managedCluster:\n type: object\n x-dcl-go-name: ManagedCluster\n x-dcl-go-type: WorkflowTemplatePlacementManagedCluster\n description: A cluster that is managed by the workflow.\n x-kubernetes-immutable: true\n required:\n - clusterName\n - config\n properties:\n clusterName:\n type: string\n x-dcl-go-name: ClusterName\n description: Required. The cluster name prefix. A unique cluster\n name will be formed by appending a random suffix. The name must\n contain only lower-case letters (a-z), numbers (0-9), and hyphens\n (-). Must begin with a letter. Cannot begin or end with hyphen.\n Must consist of between 2 and 35 characters.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfig\n description: Required. The cluster configuration.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field\n is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the\n cluster. Only resource names including projectid and location\n (region) are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for\n PD disk encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this\n cluster\n x-kubernetes-immutable: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific\n ports on the cluster from external sources. Defaults to\n false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to\n URLs. Will only be populated if enable_http_port_access\n is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings\n for all instances in a cluster.\n x-kubernetes-immutable: true\n properties:\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster\n will only have internal IP addresses. By default, clusters\n are not restricted to internal IP addresses, and will\n have ephemeral external IP addresses assigned to each\n instance. This `internal_ip_only` restriction can only\n be enabled for subnetwork enabled networks, and all off-cluster\n dependencies must be configured to be accessible without\n external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add\n to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be\n used for machine communications. Cannot be specified with\n subnetwork_uri. If neither `network_uri` nor `subnetwork_uri`\n is specified, the \"default\" network of the project is\n used, if it exists. Cannot be a \"Custom Subnet Network\"\n (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short\n name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant\n clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node\n group resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial\n URI, or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster.\n Possible values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED,\n INHERIT_FROM_SUBNETWORK, OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming\n Zonal reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume\n Possible values: TYPE_UNSPECIFIED, NO_RESERVATION,\n ANY_RESERVATION, SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key\n of reservation resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values\n of reservation resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google\n Cloud Platform services. If not specified, the [Compute\n Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes\n to be included in Compute Engine instances. The following\n base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write\n * https://www.googleapis.com/auth/logging.write If no\n scopes are specified, the following defaults are also\n provided: * https://www.googleapis.com/auth/bigquery *\n https://www.googleapis.com/auth/bigtable.admin.table *\n https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to\n be used for machine communications. Cannot be specified\n with network_uri. A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances\n (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine\n cluster will be located. On a create request, it is required\n in the \"global\" region. If omitted in a non-global Dataproc\n region, the service will pick a zone in the corresponding\n Compute Engine region. On a get request, zone will always\n be present. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after\n config is completed. By default, executables are run on master\n and all worker nodes. You can test a node''s `role` metadata\n to run an executable on a master or worker node, as shown\n below using `curl` (you can also use `wget`): ROLE=$(curl\n -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific\n actions ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigInitializationActions\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable\n file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to\n complete. Default is 10 minutes (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message\n (the name of the executable that caused the error and\n the exceeded timeout period) if the executable is not\n completed at end of the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster.\n The cluster will be auto-deleted at the end of this period.\n Minimum value is 10 minutes; maximum value is 14 days\n (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster\n alive while idling (when no jobs are running). Passing\n this threshold will cause the cluster to be deleted. Minimum\n value is 5 minutes; maximum value is 14 days (see JSON\n representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle\n (most recent job finished) and became eligible for deletion\n due to idleness (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for\n the master instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for\n additional worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname)\n for the remote trusted realm in a cross realm trust\n relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc\n on-cluster KDC will trust, should the user enable\n cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the shared password between\n the on-cluster Kerberos realm and the remote trusted\n realm, in a cross realm trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to\n Kerberize the cluster (default: false). Set this field\n to true to enable Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the master key of the KDC\n database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided key. For the self-signed certificate, this\n password is generated by Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the\n keystore file used for SSL encryption. If not provided,\n Dataproc will provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided keystore. For the self-signed certificate,\n this password is generated by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to\n encrypt various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos\n realm. If not specified, the uppercased domain of\n hostnames will be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting\n ticket, in hours. If not specified, or user specifies\n 0, then default value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the\n truststore file used for SSL encryption. If not provided,\n Dataproc will provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided truststore. For the self-signed certificate,\n this password is generated by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside\n the cluster.\n x-kubernetes-immutable: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the\n cluster. It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate\n on the cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon\n config files. Property keys are specified in `prefix:property`\n format, for example `core:hadoop.tmp.dir`. The following\n are supported prefixes and their mappings: * capacity-scheduler:\n `capacity-scheduler.xml` * core: `core-site.xml` * distcp:\n `distcp-default.xml` * hdfs: `hdfs-site.xml` * hive: `hive-site.xml`\n * mapred: `mapred-site.xml` * pig: `pig.properties` *\n spark: `spark-defaults.conf` * yarn: `yarn-site.xml` For\n more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage\n job dependencies, config files, and job driver console output.\n If you do not specify a staging bucket, Cloud Dataproc will\n determine a Cloud Storage location (US, ASIA, or EU) for your\n cluster's staging bucket according to the Compute Engine zone\n where your cluster is deployed, and then create and manage\n this project-level, per-location bucket (see [Dataproc staging\n bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI\n to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store\n ephemeral cluster and jobs data, such as Spark and MapReduce\n history files. If you do not specify a temp bucket, Dataproc\n will determine a Cloud Storage location (US, ASIA, or EU)\n for your cluster's temp bucket according to the Compute Engine\n zone where your cluster is deployed, and then create and manage\n this project-level, per-location bucket. The default bucket\n has a TTL of 90 days, but you can use any TTL (or none) if\n you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The labels to associate with this cluster.\n Label keys must be between 1 and 63 characters long, and must\n conform to the following PCRE regular expression: p{Ll}p{Lo}{0,62}\n Label values must be between 1 and 63 characters long, and must\n conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}_-]{0,63}\n No more than 32 labels can be associated with a given cluster.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time template was last updated.\n x-kubernetes-immutable: true\n version:\n type: integer\n format: int64\n x-dcl-go-name: Version\n readOnly: true\n description: Output only. The current version of this workflow template.\n x-kubernetes-immutable: true\n") +var YAML_workflow_template = []byte("info:\n title: Dataproc/WorkflowTemplate\n description: The Dataproc WorkflowTemplate resource\n x-dcl-struct-name: WorkflowTemplate\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n apply:\n description: The function used to apply information about a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n delete:\n description: The function used to delete a WorkflowTemplate\n parameters:\n - name: WorkflowTemplate\n required: true\n description: A full instance of a WorkflowTemplate\n deleteAll:\n description: The function used to delete all WorkflowTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkflowTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkflowTemplate:\n title: WorkflowTemplate\n x-dcl-id: projects/{{project}}/locations/{{location}}/workflowTemplates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - placement\n - jobs\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time template was created.\n x-kubernetes-immutable: true\n dagTimeout:\n type: string\n x-dcl-go-name: DagTimeout\n description: Optional. Timeout duration for the DAG of jobs, expressed in\n seconds (see [JSON representation of duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n The timeout duration must be from 10 minutes (\"600s\") to 24 hours (\"86400s\").\n The timer begins when the first job is submitted. If the workflow is running\n at the end of the timeout period, any remaining jobs are cancelled, the\n workflow is ended, and if the workflow was running on a [managed cluster](/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster),\n the cluster is deleted.\n x-kubernetes-immutable: true\n jobs:\n type: array\n x-dcl-go-name: Jobs\n description: Required. The Directed Acyclic Graph of Jobs to submit.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplateJobs\n required:\n - stepId\n properties:\n hadoopJob:\n type: object\n x-dcl-go-name: HadoopJob\n x-dcl-go-type: WorkflowTemplateJobsHadoopJob\n description: Optional. Job is a Hadoop job.\n x-kubernetes-immutable: true\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n in the working directory of Hadoop drivers and tasks. Supported\n file types: .jar, .tar, .tar.gz, .tgz, or .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `-libjars` or `-Dfoo=bar`, that\n can be set as job properties, since a collision may occur that\n causes an incorrect job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS (Hadoop Compatible Filesystem) URIs\n of files to be copied to the working directory of Hadoop drivers\n and distributed tasks. Useful for naively parallel tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. Jar file URIs to add to the CLASSPATHs\n of the Hadoop driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsHadoopJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainClass:\n type: string\n x-dcl-go-name: MainClass\n description: The name of the driver's main class. The jar file\n containing the class must be in the default CLASSPATH or specified\n in `jar_file_uris`.\n x-kubernetes-immutable: true\n mainJarFileUri:\n type: string\n x-dcl-go-name: MainJarFileUri\n description: 'The HCFS URI of the jar file containing the main\n class. Examples: ''gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar''\n ''hdfs:/tmp/test-samples/custom-wordcount.jar'' ''file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Hadoop. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site and classes in user code.\n x-kubernetes-immutable: true\n hiveJob:\n type: object\n x-dcl-go-name: HiveJob\n x-dcl-go-type: WorkflowTemplateJobsHiveJob\n description: Optional. Job is a Hive job.\n x-kubernetes-immutable: true\n properties:\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATH\n of the Hive server and Hadoop MapReduce (MR) tasks. Can contain\n Hive SerDes and UDFs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names and values,\n used to configure Hive. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml,\n and classes in user code.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains Hive queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsHiveJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Hive command: `SET name=\"value\";`).'\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The labels to associate with this job. Label\n keys must be between 1 and 63 characters long, and must conform\n to the following regular expression: p{Ll}p{Lo}{0,62} Label values\n must be between 1 and 63 characters long, and must conform to the\n following regular expression: [p{Ll}p{Lo}p{N}_-]{0,63} No more than\n 32 labels can be associated with a given job.'\n x-kubernetes-immutable: true\n pigJob:\n type: object\n x-dcl-go-name: PigJob\n x-dcl-go-type: WorkflowTemplateJobsPigJob\n description: Optional. Job is a Pig job.\n x-kubernetes-immutable: true\n properties:\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATH\n of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain\n Pig UDFs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPigJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Pig. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties,\n and classes in user code.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains the Pig\n queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsPigJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Pig command: `name=[value]`).'\n x-kubernetes-immutable: true\n prerequisiteStepIds:\n type: array\n x-dcl-go-name: PrerequisiteStepIds\n description: Optional. The optional list of prerequisite job step_ids.\n If not specified, the job will start at the beginning of workflow.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n prestoJob:\n type: object\n x-dcl-go-name: PrestoJob\n x-dcl-go-type: WorkflowTemplateJobsPrestoJob\n description: Optional. Job is a Presto job.\n x-kubernetes-immutable: true\n properties:\n clientTags:\n type: array\n x-dcl-go-name: ClientTags\n description: Optional. Presto client tags to attach to this query\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n continueOnFailure:\n type: boolean\n x-dcl-go-name: ContinueOnFailure\n description: Optional. Whether to continue executing queries if\n a query fails. The default value is `false`. Setting to `true`\n can be useful when executing independent parallel queries.\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPrestoJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n outputFormat:\n type: string\n x-dcl-go-name: OutputFormat\n description: Optional. The format in which query output will be\n displayed. See the Presto documentation for supported output\n formats\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values.\n Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html)\n Equivalent to using the --session flag in the Presto CLI\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains SQL queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsPrestoJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n pysparkJob:\n type: object\n x-dcl-go-name: PysparkJob\n x-dcl-go-type: WorkflowTemplateJobsPysparkJob\n description: Optional. Job is a PySpark job.\n x-kubernetes-immutable: true\n required:\n - mainPythonFileUri\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATHs\n of the Python driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsPysparkJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainPythonFileUri:\n type: string\n x-dcl-go-name: MainPythonFileUri\n description: Required. The HCFS URI of the main Python file to\n use as the driver. Must be a .py file.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure PySpark. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n pythonFileUris:\n type: array\n x-dcl-go-name: PythonFileUris\n description: 'Optional. HCFS file URIs of Python files to pass\n to the PySpark framework. Supported file types: .py, .egg, and\n .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scheduling:\n type: object\n x-dcl-go-name: Scheduling\n x-dcl-go-type: WorkflowTemplateJobsScheduling\n description: Optional. Job scheduling configuration.\n x-kubernetes-immutable: true\n properties:\n maxFailuresPerHour:\n type: integer\n format: int64\n x-dcl-go-name: MaxFailuresPerHour\n description: Optional. Maximum number of times per hour a driver\n may be restarted as a result of driver exiting with non-zero\n code before job is reported failed. A job may be reported as\n thrashing if driver exits with non-zero code 4 times within\n 10 minute window. Maximum value is 10.\n x-kubernetes-immutable: true\n maxFailuresTotal:\n type: integer\n format: int64\n x-dcl-go-name: MaxFailuresTotal\n description: Optional. Maximum number of times in total a driver\n may be restarted as a result of driver exiting with non-zero\n code before job is reported failed. Maximum value is 240.\n x-kubernetes-immutable: true\n sparkJob:\n type: object\n x-dcl-go-name: SparkJob\n x-dcl-go-type: WorkflowTemplateJobsSparkJob\n description: Optional. Job is a Spark job.\n x-kubernetes-immutable: true\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to add to the CLASSPATHs\n of the Spark driver and tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainClass:\n type: string\n x-dcl-go-name: MainClass\n description: The name of the driver's main class. The jar file\n that contains the class must be in the default CLASSPATH or\n specified in `jar_file_uris`.\n x-kubernetes-immutable: true\n mainJarFileUri:\n type: string\n x-dcl-go-name: MainJarFileUri\n description: The HCFS URI of the jar file that contains the main\n class.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Spark. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n sparkRJob:\n type: object\n x-dcl-go-name: SparkRJob\n x-dcl-go-type: WorkflowTemplateJobsSparkRJob\n description: Optional. Job is a SparkR job.\n x-kubernetes-immutable: true\n required:\n - mainRFileUri\n properties:\n archiveUris:\n type: array\n x-dcl-go-name: ArchiveUris\n description: 'Optional. HCFS URIs of archives to be extracted\n into the working directory of each executor. Supported file\n types: .jar, .tar, .tar.gz, .tgz, and .zip.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional. The arguments to pass to the driver. Do\n not include arguments, such as `--conf`, that can be set as\n job properties, since a collision may occur that causes an incorrect\n job submission.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fileUris:\n type: array\n x-dcl-go-name: FileUris\n description: Optional. HCFS URIs of files to be placed in the\n working directory of each executor. Useful for naively parallel\n tasks.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkRJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n mainRFileUri:\n type: string\n x-dcl-go-name: MainRFileUri\n description: Required. The HCFS URI of the main R file to use\n as the driver. Must be a .R file.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure SparkR. Properties that conflict with values\n set by the Dataproc API may be overwritten. Can include properties\n set in /etc/spark/conf/spark-defaults.conf and classes in user\n code.\n x-kubernetes-immutable: true\n sparkSqlJob:\n type: object\n x-dcl-go-name: SparkSqlJob\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJob\n description: Optional. Job is a SparkSql job.\n x-kubernetes-immutable: true\n properties:\n jarFileUris:\n type: array\n x-dcl-go-name: JarFileUris\n description: Optional. HCFS URIs of jar files to be added to the\n Spark CLASSPATH.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJobLoggingConfig\n description: Optional. The runtime log config for job execution.\n x-kubernetes-immutable: true\n properties:\n driverLogLevels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: DriverLogLevels\n description: 'The per-package log levels for the driver. This\n may include \"root\" package name to configure rootLogger.\n Examples: ''com.google = FATAL'', ''root = INFO'', ''org.apache\n = DEBUG'''\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: Optional. A mapping of property names to values,\n used to configure Spark SQL's SparkConf. Properties that conflict\n with values set by the Dataproc API may be overwritten.\n x-kubernetes-immutable: true\n queryFileUri:\n type: string\n x-dcl-go-name: QueryFileUri\n description: The HCFS URI of the script that contains SQL queries.\n x-kubernetes-immutable: true\n queryList:\n type: object\n x-dcl-go-name: QueryList\n x-dcl-go-type: WorkflowTemplateJobsSparkSqlJobQueryList\n description: A list of queries.\n x-kubernetes-immutable: true\n required:\n - queries\n properties:\n queries:\n type: array\n x-dcl-go-name: Queries\n description: 'Required. The queries to execute. You do not\n need to end a query expression with a semicolon. Multiple\n queries can be specified in one string by separating each\n with a semicolon. Here is an example of a Dataproc API snippet\n that uses a QueryList to specify a HiveJob: \"hiveJob\": {\n \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\",\n ] } }'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n scriptVariables:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ScriptVariables\n description: 'Optional. Mapping of query variable names to values\n (equivalent to the Spark SQL command: SET `name=\"value\";`).'\n x-kubernetes-immutable: true\n stepId:\n type: string\n x-dcl-go-name: StepId\n description: Required. The step id. The id must be unique among all\n jobs within the template. The step id is used as prefix for job\n id, as job `goog-dataproc-workflow-step-id` label, and in prerequisiteStepIds\n field from other steps. The id must contain only letters (a-z, A-Z),\n numbers (0-9), underscores (_), and hyphens (-). Cannot begin or\n end with underscore or hyphen. Must consist of between 3 and 50\n characters.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this template. These\n labels will be propagated to all jobs and clusters created by the workflow\n instance. Label **keys** must contain 1 to 63 characters, and must conform\n to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values**\n may be empty, but, if present, must contain 1 to 63 characters, and must\n conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than\n 32 labels can be associated with a template.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The resource name of the workflow template, as\n described in https://cloud.google.com/apis/design/resource_names. * For\n `projects.regions.workflowTemplates`, the resource name of the template\n has the following format: `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`\n * For `projects.locations.workflowTemplates`, the resource name of the\n template has the following format: `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`'\n x-kubernetes-immutable: true\n parameters:\n type: array\n x-dcl-go-name: Parameters\n description: Optional. Template parameters whose values are substituted\n into the template. Values for parameters must be provided when the template\n is instantiated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplateParameters\n required:\n - name\n - fields\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Brief description of the parameter. Must not\n exceed 1024 characters.\n x-kubernetes-immutable: true\n fields:\n type: array\n x-dcl-go-name: Fields\n description: 'Required. Paths to all fields that the parameter replaces.\n A field is allowed to appear in at most one parameter''s list of\n field paths. A field path is similar in syntax to a google.protobuf.FieldMask.\n For example, a field path that references the zone field of a workflow\n template''s cluster selector would be specified as `placement.clusterSelector.zone`.\n Also, field paths can reference fields using the following syntax:\n * Values in maps can be referenced by key: * labels[''key''] * placement.clusterSelector.clusterLabels[''key'']\n * placement.managedCluster.labels[''key''] * placement.clusterSelector.clusterLabels[''key'']\n * jobs[''step-id''].labels[''key''] * Jobs in the jobs list can\n be referenced by step-id: * jobs[''step-id''].hadoopJob.mainJarFileUri\n * jobs[''step-id''].hiveJob.queryFileUri * jobs[''step-id''].pySparkJob.mainPythonFileUri\n * jobs[''step-id''].hadoopJob.jarFileUris[0] * jobs[''step-id''].hadoopJob.archiveUris[0]\n * jobs[''step-id''].hadoopJob.fileUris[0] * jobs[''step-id''].pySparkJob.pythonFileUris[0]\n * Items in repeated fields can be referenced by a zero-based index:\n * jobs[''step-id''].sparkJob.args[0] * Other examples: * jobs[''step-id''].hadoopJob.properties[''key'']\n * jobs[''step-id''].hadoopJob.args[0] * jobs[''step-id''].hiveJob.scriptVariables[''key'']\n * jobs[''step-id''].hadoopJob.mainJarFileUri * placement.clusterSelector.zone\n It may not be possible to parameterize maps and repeated fields\n in their entirety since only individual map values and individual\n items in repeated fields can be referenced. For example, the following\n field paths are invalid: - placement.clusterSelector.clusterLabels\n - jobs[''step-id''].sparkJob.args'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Parameter name. The parameter name is used\n as the key, and paired with the parameter value, which are passed\n to the template when the template is instantiated. The name must\n contain only capital letters (A-Z), numbers (0-9), and underscores\n (_), and must not start with a number. The maximum length is 40\n characters.\n x-kubernetes-immutable: true\n validation:\n type: object\n x-dcl-go-name: Validation\n x-dcl-go-type: WorkflowTemplateParametersValidation\n description: Optional. Validation rules to be applied to this parameter's\n value.\n x-kubernetes-immutable: true\n properties:\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: WorkflowTemplateParametersValidationRegex\n description: Validation based on regular expressions.\n x-kubernetes-immutable: true\n required:\n - regexes\n properties:\n regexes:\n type: array\n x-dcl-go-name: Regexes\n description: Required. RE2 regular expressions used to validate\n the parameter's value. The value must match the regex in\n its entirety (substring matches are not sufficient).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n values:\n type: object\n x-dcl-go-name: Values\n x-dcl-go-type: WorkflowTemplateParametersValidationValues\n description: Validation based on a list of allowed values.\n x-kubernetes-immutable: true\n required:\n - values\n properties:\n values:\n type: array\n x-dcl-go-name: Values\n description: Required. List of allowed values for the parameter.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n placement:\n type: object\n x-dcl-go-name: Placement\n x-dcl-go-type: WorkflowTemplatePlacement\n description: Required. WorkflowTemplate scheduling information.\n x-kubernetes-immutable: true\n properties:\n clusterSelector:\n type: object\n x-dcl-go-name: ClusterSelector\n x-dcl-go-type: WorkflowTemplatePlacementClusterSelector\n description: Optional. A selector that chooses target cluster for jobs\n based on metadata. The selector is evaluated at the time each job\n is submitted.\n x-kubernetes-immutable: true\n required:\n - clusterLabels\n properties:\n clusterLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ClusterLabels\n description: Required. The cluster labels. Cluster must have all\n labels to match.\n x-kubernetes-immutable: true\n zone:\n type: string\n x-dcl-go-name: Zone\n description: Optional. The zone where workflow process executes.\n This parameter does not affect the selection of the cluster. If\n unspecified, the zone of the first cluster matching the selector\n is used.\n x-kubernetes-immutable: true\n managedCluster:\n type: object\n x-dcl-go-name: ManagedCluster\n x-dcl-go-type: WorkflowTemplatePlacementManagedCluster\n description: A cluster that is managed by the workflow.\n x-kubernetes-immutable: true\n required:\n - clusterName\n - config\n properties:\n clusterName:\n type: string\n x-dcl-go-name: ClusterName\n description: Required. The cluster name prefix. A unique cluster\n name will be formed by appending a random suffix. The name must\n contain only lower-case letters (a-z), numbers (0-9), and hyphens\n (-). Must begin with a letter. Cannot begin or end with hyphen.\n Must consist of between 2 and 35 characters.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfig\n description: Required. The cluster configuration.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field\n is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the\n cluster. Only resource names including projectid and location\n (region) are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for\n PD disk encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this\n cluster\n x-kubernetes-immutable: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific\n ports on the cluster from external sources. Defaults to\n false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to\n URLs. Will only be populated if enable_http_port_access\n is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings\n for all instances in a cluster.\n x-kubernetes-immutable: true\n properties:\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster\n will only have internal IP addresses. By default, clusters\n are not restricted to internal IP addresses, and will\n have ephemeral external IP addresses assigned to each\n instance. This `internal_ip_only` restriction can only\n be enabled for subnetwork enabled networks, and all off-cluster\n dependencies must be configured to be accessible without\n external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add\n to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be\n used for machine communications. Cannot be specified with\n subnetwork_uri. If neither `network_uri` nor `subnetwork_uri`\n is specified, the \"default\" network of the project is\n used, if it exists. Cannot be a \"Custom Subnet Network\"\n (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short\n name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant\n clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node\n group resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial\n URI, or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster.\n Possible values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED,\n INHERIT_FROM_SUBNETWORK, OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming\n Zonal reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume\n Possible values: TYPE_UNSPECIFIED, NO_RESERVATION,\n ANY_RESERVATION, SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key\n of reservation resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values\n of reservation resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google\n Cloud Platform services. If not specified, the [Compute\n Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes\n to be included in Compute Engine instances. The following\n base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write\n * https://www.googleapis.com/auth/logging.write If no\n scopes are specified, the following defaults are also\n provided: * https://www.googleapis.com/auth/bigquery *\n https://www.googleapis.com/auth/bigtable.admin.table *\n https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to\n be used for machine communications. Cannot be specified\n with network_uri. A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances\n (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine\n cluster will be located. On a create request, it is required\n in the \"global\" region. If omitted in a non-global Dataproc\n region, the service will pick a zone in the corresponding\n Compute Engine region. On a get request, zone will always\n be present. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after\n config is completed. By default, executables are run on master\n and all worker nodes. You can test a node''s `role` metadata\n to run an executable on a master or worker node, as shown\n below using `curl` (you can also use `wget`): ROLE=$(curl\n -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific\n actions ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigInitializationActions\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable\n file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to\n complete. Default is 10 minutes (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message\n (the name of the executable that caused the error and\n the exceeded timeout period) if the executable is not\n completed at end of the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster.\n The cluster will be auto-deleted at the end of this period.\n Minimum value is 10 minutes; maximum value is 14 days\n (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster\n alive while idling (when no jobs are running). Passing\n this threshold will cause the cluster to be deleted. Minimum\n value is 5 minutes; maximum value is 14 days (see JSON\n representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle\n (most recent job finished) and became eligible for deletion\n due to idleness (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for\n the master instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for\n additional worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname)\n for the remote trusted realm in a cross realm trust\n relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc\n on-cluster KDC will trust, should the user enable\n cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the shared password between\n the on-cluster Kerberos realm and the remote trusted\n realm, in a cross realm trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to\n Kerberize the cluster (default: false). Set this field\n to true to enable Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the master key of the KDC\n database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided key. For the self-signed certificate, this\n password is generated by Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the\n keystore file used for SSL encryption. If not provided,\n Dataproc will provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided keystore. For the self-signed certificate,\n this password is generated by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to\n encrypt various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos\n realm. If not specified, the uppercased domain of\n hostnames will be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting\n ticket, in hours. If not specified, or user specifies\n 0, then default value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the\n truststore file used for SSL encryption. If not provided,\n Dataproc will provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS\n encrypted file containing the password to the user\n provided truststore. For the self-signed certificate,\n this password is generated by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside\n the cluster.\n x-kubernetes-immutable: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the\n cluster. It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate\n on the cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon\n config files. Property keys are specified in `prefix:property`\n format, for example `core:hadoop.tmp.dir`. The following\n are supported prefixes and their mappings: * capacity-scheduler:\n `capacity-scheduler.xml` * core: `core-site.xml` * distcp:\n `distcp-default.xml` * hdfs: `hdfs-site.xml` * hive: `hive-site.xml`\n * mapred: `mapred-site.xml` * pig: `pig.properties` *\n spark: `spark-defaults.conf` * yarn: `yarn-site.xml` For\n more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage\n job dependencies, config files, and job driver console output.\n If you do not specify a staging bucket, Cloud Dataproc will\n determine a Cloud Storage location (US, ASIA, or EU) for your\n cluster's staging bucket according to the Compute Engine zone\n where your cluster is deployed, and then create and manage\n this project-level, per-location bucket (see [Dataproc staging\n bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI\n to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store\n ephemeral cluster and jobs data, such as Spark and MapReduce\n history files. If you do not specify a temp bucket, Dataproc\n will determine a Cloud Storage location (US, ASIA, or EU)\n for your cluster's temp bucket according to the Compute Engine\n zone where your cluster is deployed, and then create and manage\n this project-level, per-location bucket. The default bucket\n has a TTL of 90 days, but you can use any TTL (or none) if\n you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of\n this type exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name\n of the accelerator type resource to expose to this\n instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If\n you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default\n is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent\n Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent\n Disk Solid State Drive), or \"pd-standard\" (Persistent\n Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from\n 0 to 4 (default is 0). If SSDs are not attached, the\n boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime\n bulk data is spread across them, and the boot disk\n contains only basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource\n used for cluster instances. The URI can represent an image\n or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent\n image from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc\n derives the names from `cluster_name`, `num_instances`,\n and the instance group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group\n contains preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type\n used for cluster instances. A full URL, partial URI, or\n short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type\n resource, for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine\n Instance Group Manager that manages this group. This is\n only used for preemptible instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group\n Manager for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform\n for the Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the\n instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must\n be set to 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: WorkflowTemplatePlacementManagedClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of\n the instance group. The default value for master and worker\n groups is `NON_PREEMPTIBLE`. This default cannot be changed.\n The default value for secondary instances is `PREEMPTIBLE`.\n Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE,\n PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'Optional. The labels to associate with this cluster.\n Label keys must be between 1 and 63 characters long, and must\n conform to the following PCRE regular expression: p{Ll}p{Lo}{0,62}\n Label values must be between 1 and 63 characters long, and must\n conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}_-]{0,63}\n No more than 32 labels can be associated with a given cluster.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time template was last updated.\n x-kubernetes-immutable: true\n version:\n type: integer\n format: int64\n x-dcl-go-name: Version\n readOnly: true\n description: Output only. The current version of this workflow template.\n x-kubernetes-immutable: true\n") -// 125888 bytes -// MD5: 7128113e163857e54903d6383119ed02 +// 125913 bytes +// MD5: 3a47431dc9c1509684f68129239159c8 diff --git a/services/google/dlp/alpha/deidentify_template.yaml b/services/google/dlp/alpha/deidentify_template.yaml index dbb428a4db..ac983d18ec 100755 --- a/services/google/dlp/alpha/deidentify_template.yaml +++ b/services/google/dlp/alpha/deidentify_template.yaml @@ -15,6 +15,7 @@ info: title: Dlp/DeidentifyTemplate description: The Dlp DeidentifyTemplate resource x-dcl-struct-name: DeidentifyTemplate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dlp/alpha/deidentify_template_alpha_yaml_embed.go b/services/google/dlp/alpha/deidentify_template_alpha_yaml_embed.go index 9ebddcffe6..ed330b8d80 100755 --- a/services/google/dlp/alpha/deidentify_template_alpha_yaml_embed.go +++ b/services/google/dlp/alpha/deidentify_template_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dlp/alpha/deidentify_template.yaml -var YAML_deidentify_template = []byte("info:\n title: Dlp/DeidentifyTemplate\n description: The Dlp DeidentifyTemplate resource\n x-dcl-struct-name: DeidentifyTemplate\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n apply:\n description: The function used to apply information about a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n delete:\n description: The function used to delete a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n deleteAll:\n description: The function used to delete all DeidentifyTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many DeidentifyTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n DeidentifyTemplate:\n title: DeidentifyTemplate\n x-dcl-id: '{{parent}}/deidentifyTemplates/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n deidentifyConfig:\n type: object\n x-dcl-go-name: DeidentifyConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfig\n description: The core content of the template.\n properties:\n infoTypeTransformations:\n type: object\n x-dcl-go-name: InfoTypeTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformations\n description: Treat the dataset as free-form text and apply the same\n free text transformation everywhere.\n x-dcl-conflicts:\n - recordTransformations\n required:\n - transformations\n properties:\n transformations:\n type: array\n x-dcl-go-name: Transformations\n description: Required. Transformation for each infoType. Cannot\n specify more than one for a given infoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformations\n required:\n - primitiveTransformation\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoTypes to apply the transformation to. An\n empty list will cause this transformation to apply to all\n findings that correspond to infoTypes that were requested\n in `InspectConfig`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a\n name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformation\n description: Required. Primitive transformation to apply to\n the infoType.\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range, exclusive;\n type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range, inclusive.\n Type should be the same as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement value for\n this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items in this\n list will be skipped when replacing characters.\n For example, if the input string is `555-555-5555`\n and you instruct Cloud DLP to skip `-` and mask\n 5 characters with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform when\n masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to not transform\n when masking. Useful to avoid removing punctuation.\n Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the sensitive\n values—for example, `*` for an alphabetic string\n such as a name, or `0` for a numeric string such\n as ZIP code or credit card number. This string must\n have a length of 1. If not supplied, this value\n defaults to `*` for strings, and `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask. If not\n set, all matching chars will be masked. Skipped\n characters do not count towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse order. For\n example, if `masking_character` is `0`, `number_to_mask`\n is `14`, and `reverse_order` is `false`, then the\n input string `1234-5678-9012-3456` is masked as\n `00000000000000-3456`. If `masking_character` is\n `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is masked as\n `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for higher security\n and maintaining referential integrity such that\n the same identifier in two different contexts will\n be given a distinct surrogate. The context is appended\n to plaintext value being encrypted. On decryption\n the provided context is validated against the value\n used during encryption. If a context was provided\n during encryption, same context must be provided\n during decryption as well. If the context is not\n set, plaintext would be used as is for encryption.\n If the context is set but: 1. there is no record\n present when transforming a given value or 2. the\n field is not present when transforming a given value,\n plaintext would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption function.\n For deterministic encryption using AES-SIV, the\n provided key is internally expanded to 64 bytes\n prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom info type followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: {info type name}({surrogate character\n count}):{surrogate} For example, if the name of\n custom info type is ''MY_TOKEN_INFO_TYPE'' and the\n surrogate is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This annotation\n identifies the surrogate when inspecting content\n using the custom info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs in free\n text. Note: For record transformations where the\n entire cell in a table is being transformed, surrogates\n are not mandatory. Surrogates are used to denote\n the location of the token and are necessary for\n re-identification in free form text. In order for\n inspection to work properly, the name of this info\n type must not occur naturally anywhere in your data;\n otherwise, inspection may either - reverse a surrogate\n that does not correspond to an actual identifier\n - be unable to parse the surrogate and result in\n an error Therefore, choose your custom info type\n name carefully after considering what your data\n looks like. One way to select a name that has a\n high chance of yielding reliable detection is to\n include one or more unicode characters that are\n highly improbable to exist in your data. For example,\n assuming your data is entered from a regular ASCII\n keyboard, the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may be used\n for higher security since the same identifier in\n two different contexts won''t be given the same\n surrogate. If the context is not set, a default\n tweak will be used. If the context is set but: 1.\n there is no record present when transforming a given\n value or 1. the field is not present when transforming\n a given value, a default tweak will be used. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced field\n may be of value type integer or string. The tweak\n is constructed as a sequence of bytes in big endian\n byte order such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 - a string\n is encoded in UTF-8 format followed by a single\n byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the encryption\n algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping these to\n the alphanumeric characters that the FFX mode natively\n supports. This happens before/after encryption/decryption.\n Each character listed must appear only once. Number\n of characters must be in the range [2, 95]. This\n must be encoded as ASCII. The order of characters\n does not matter. The full list of allowed characters\n is: ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the alphabet.\n Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom infoType followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full replacement\n value will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This\n annotation identifies the surrogate when inspecting\n content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate when\n it occurs in free text. In order for inspection\n to work properly, the name of this infoType must\n not occur naturally anywhere in your data; otherwise,\n inspection may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose your\n custom infoType name carefully after considering\n what your data looks like. One way to select a name\n that has a high chance of yielding reliable detection\n is to include one or more unicode characters that\n are highly improbable to exist in your data. For\n example, assuming your data is entered from a regular\n ASCII keyboard, the symbol with the hex code point\n 29DD might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains the\n context, for example, an entity id. If set, must\n also set cryptoKey. If set, shift will be consistent\n for the given context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed based\n on this key and the context. This results in the\n same shift for the same context and crypto_key.\n If set, must also set context. Can only be applied\n to table items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means shift\n date to at most 5 days back in the past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in days. Actual\n shift will be selected at random within this range\n (inclusive ends). Negative means shift to earlier\n in time. Must not be more than 365250 days (1000\n years) each direction. For example, 3 means shift\n date to at most 3 days into the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket (except\n for minimum and maximum buckets). So if `lower_bound`\n = 10, `upper_bound` = 89, and `bucket_size` = 10,\n then the following buckets would be used: -10, 10-20,\n 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89,\n 89+. Precision up to 2 decimals works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value of buckets.\n All values less than `lower_bound` are grouped together\n into a single bucket; for example if `lower_bound`\n = 10, then all values less than 10 are replaced\n with the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value of buckets.\n All values greater than upper_bound are grouped\n together into a single bucket; for example if `upper_bound`\n = 89, then all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep. Possible\n values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH,\n DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n recordTransformations:\n type: object\n x-dcl-go-name: RecordTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformations\n description: Treat the dataset as structured. Transformations can be\n applied to specific locations within structured datasets, such as\n transforming a column within a table.\n x-dcl-conflicts:\n - infoTypeTransformations\n properties:\n fieldTransformations:\n type: array\n x-dcl-go-name: FieldTransformations\n description: Transform the record by applying various field transformations.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformations\n required:\n - fields\n properties:\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsCondition\n description: 'Only apply the transformation if the condition\n evaluates to true for the given `RecordCondition`. The conditions\n are allowed to reference fields that are not used in the\n actual transformation. Example Use Cases: - Apply a different\n bucket transformation to an age column if the zip code column\n for the same record is within a specific range. - Redact\n a field if the date of birth field is greater than 85.'\n properties:\n expressions:\n type: object\n x-dcl-go-name: Expressions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressions\n description: An expression.\n properties:\n conditions:\n type: object\n x-dcl-go-name: Conditions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditions\n description: Conditions to apply to the expression.\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n description: A collection of conditions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditions\n required:\n - field\n - operator\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsField\n description: Required. Field within the\n record this condition is evaluated against.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n operator:\n type: string\n x-dcl-go-name: Operator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsOperatorEnum\n description: 'Required. Operator used to\n compare the field or infoType to the value.\n Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n value:\n type: object\n x-dcl-go-name: Value\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValue\n description: Value to compare against. [Mandatory,\n except for `EXISTS` tests.]\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n logicalOperator:\n type: string\n x-dcl-go-name: LogicalOperator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsLogicalOperatorEnum\n description: 'The operator to apply to the result\n of conditions. Default and currently only supported\n value is `AND`. Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n fields:\n type: array\n x-dcl-go-name: Fields\n description: Required. Input field(s) to apply the transformation\n to. When you have columns that reference their position\n within a list, omit the index from the FieldId. FieldId\n name matching ignores the index. For example, instead of\n \"contact.nums[0].type\", use \"contact.nums.type\".\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n infoTypeTransformations:\n type: object\n x-dcl-go-name: InfoTypeTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformations\n description: Treat the contents of the field as free text,\n and selectively transform content that matches an `InfoType`.\n x-dcl-conflicts:\n - primitiveTransformation\n required:\n - transformations\n properties:\n transformations:\n type: array\n x-dcl-go-name: Transformations\n description: Required. Transformation for each infoType.\n Cannot specify more than one for a given infoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformations\n required:\n - primitiveTransformation\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoTypes to apply the transformation\n to. An empty list will cause this transformation\n to apply to all findings that correspond to infoTypes\n that were requested in `InspectConfig`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when creating\n a CustomInfoType, or one of the names listed\n at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformation\n description: Required. Primitive transformation\n to apply to the infoType.\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must\n be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range,\n exclusive; type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range,\n inclusive. Type should be the same\n as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement\n value for this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items\n in this list will be skipped when replacing\n characters. For example, if the input\n string is `555-555-5555` and you instruct\n Cloud DLP to skip `-` and mask 5 characters\n with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform\n when masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to\n not transform when masking. Useful\n to avoid removing punctuation. Possible\n values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the\n sensitive values—for example, `*` for\n an alphabetic string such as a name, or\n `0` for a numeric string such as ZIP code\n or credit card number. This string must\n have a length of 1. If not supplied, this\n value defaults to `*` for strings, and\n `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask.\n If not set, all matching chars will be\n masked. Skipped characters do not count\n towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse\n order. For example, if `masking_character`\n is `0`, `number_to_mask` is `14`, and\n `reverse_order` is `false`, then the input\n string `1234-5678-9012-3456` is masked\n as `00000000000000-3456`. If `masking_character`\n is `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is\n masked as `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for\n higher security and maintaining referential\n integrity such that the same identifier\n in two different contexts will be given\n a distinct surrogate. The context is appended\n to plaintext value being encrypted. On\n decryption the provided context is validated\n against the value used during encryption.\n If a context was provided during encryption,\n same context must be provided during decryption\n as well. If the context is not set, plaintext\n would be used as is for encryption. If\n the context is set but: 1. there is no\n record present when transforming a given\n value or 2. the field is not present when\n transforming a given value, plaintext\n would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption\n function. For deterministic encryption\n using AES-SIV, the provided key is internally\n expanded to 64 bytes prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate\n the surrogate with. This annotation will\n be applied to the surrogate by prefixing\n it with the name of the custom info type\n followed by the number of characters comprising\n the surrogate. The following scheme defines\n the format: {info type name}({surrogate\n character count}):{surrogate} For example,\n if the name of custom info type is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full\n replacement value will be: ''MY_TOKEN_INFO_TYPE(3):abc''\n This annotation identifies the surrogate\n when inspecting content using the custom\n info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs\n in free text. Note: For record transformations\n where the entire cell in a table is being\n transformed, surrogates are not mandatory.\n Surrogates are used to denote the location\n of the token and are necessary for re-identification\n in free form text. In order for inspection\n to work properly, the name of this info\n type must not occur naturally anywhere\n in your data; otherwise, inspection may\n either - reverse a surrogate that does\n not correspond to an actual identifier\n - be unable to parse the surrogate and\n result in an error Therefore, choose your\n custom info type name carefully after\n considering what your data looks like.\n One way to select a name that has a high\n chance of yielding reliable detection\n is to include one or more unicode characters\n that are highly improbable to exist in\n your data. For example, assuming your\n data is entered from a regular ASCII keyboard,\n the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information\n type. Either a name of your choosing\n when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data\n Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible\n values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may\n be used for higher security since the\n same identifier in two different contexts\n won''t be given the same surrogate. If\n the context is not set, a default tweak\n will be used. If the context is set but:\n 1. there is no record present when transforming\n a given value or 1. the field is not present\n when transforming a given value, a default\n tweak will be used. Note that case (1)\n is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced\n field may be of value type integer or\n string. The tweak is constructed as a\n sequence of bytes in big endian byte order\n such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 -\n a string is encoded in UTF-8 format followed\n by a single byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the\n encryption algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping\n these to the alphanumeric characters that\n the FFX mode natively supports. This happens\n before/after encryption/decryption. Each\n character listed must appear only once.\n Number of characters must be in the range\n [2, 95]. This must be encoded as ASCII.\n The order of characters does not matter.\n The full list of allowed characters is:\n ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the\n alphabet. Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate\n the surrogate with. This annotation will\n be applied to the surrogate by prefixing\n it with the name of the custom infoType\n followed by the number of characters comprising\n the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType\n is ''MY_TOKEN_INFO_TYPE'' and the surrogate\n is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc''\n This annotation identifies the surrogate\n when inspecting content using the custom\n infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate\n when it occurs in free text. In order\n for inspection to work properly, the name\n of this infoType must not occur naturally\n anywhere in your data; otherwise, inspection\n may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose\n your custom infoType name carefully after\n considering what your data looks like.\n One way to select a name that has a high\n chance of yielding reliable detection\n is to include one or more unicode characters\n that are highly improbable to exist in\n your data. For example, assuming your\n data is entered from a regular ASCII keyboard,\n the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information\n type. Either a name of your choosing\n when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data\n Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains\n the context, for example, an entity id.\n If set, must also set cryptoKey. If set,\n shift will be consistent for the given\n context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed\n based on this key and the context. This\n results in the same shift for the same\n context and crypto_key. If set, must also\n set context. Can only be applied to table\n items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means\n shift date to at most 5 days back in the\n past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in\n days. Actual shift will be selected at\n random within this range (inclusive ends).\n Negative means shift to earlier in time.\n Must not be more than 365250 days (1000\n years) each direction. For example, 3\n means shift date to at most 3 days into\n the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket\n (except for minimum and maximum buckets).\n So if `lower_bound` = 10, `upper_bound`\n = 89, and `bucket_size` = 10, then the\n following buckets would be used: -10,\n 10-20, 20-30, 30-40, 40-50, 50-60, 60-70,\n 70-80, 80-89, 89+. Precision up to 2 decimals\n works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value\n of buckets. All values less than `lower_bound`\n are grouped together into a single bucket;\n for example if `lower_bound` = 10, then\n all values less than 10 are replaced with\n the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value\n of buckets. All values greater than upper_bound\n are grouped together into a single bucket;\n for example if `upper_bound` = 89, then\n all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep.\n Possible values: TIME_PART_UNSPECIFIED,\n YEAR, MONTH, DAY_OF_MONTH, DAY_OF_WEEK,\n WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformation\n description: Apply the transformation to the entire field.\n x-dcl-conflicts:\n - infoTypeTransformations\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range, exclusive;\n type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range, inclusive.\n Type should be the same as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement value for\n this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items in this\n list will be skipped when replacing characters.\n For example, if the input string is `555-555-5555`\n and you instruct Cloud DLP to skip `-` and mask\n 5 characters with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform when\n masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to not transform\n when masking. Useful to avoid removing punctuation.\n Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the sensitive\n values—for example, `*` for an alphabetic string\n such as a name, or `0` for a numeric string such\n as ZIP code or credit card number. This string must\n have a length of 1. If not supplied, this value\n defaults to `*` for strings, and `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask. If not\n set, all matching chars will be masked. Skipped\n characters do not count towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse order. For\n example, if `masking_character` is `0`, `number_to_mask`\n is `14`, and `reverse_order` is `false`, then the\n input string `1234-5678-9012-3456` is masked as\n `00000000000000-3456`. If `masking_character` is\n `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is masked as\n `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for higher security\n and maintaining referential integrity such that\n the same identifier in two different contexts will\n be given a distinct surrogate. The context is appended\n to plaintext value being encrypted. On decryption\n the provided context is validated against the value\n used during encryption. If a context was provided\n during encryption, same context must be provided\n during decryption as well. If the context is not\n set, plaintext would be used as is for encryption.\n If the context is set but: 1. there is no record\n present when transforming a given value or 2. the\n field is not present when transforming a given value,\n plaintext would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption function.\n For deterministic encryption using AES-SIV, the\n provided key is internally expanded to 64 bytes\n prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom info type followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: {info type name}({surrogate character\n count}):{surrogate} For example, if the name of\n custom info type is ''MY_TOKEN_INFO_TYPE'' and the\n surrogate is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This annotation\n identifies the surrogate when inspecting content\n using the custom info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs in free\n text. Note: For record transformations where the\n entire cell in a table is being transformed, surrogates\n are not mandatory. Surrogates are used to denote\n the location of the token and are necessary for\n re-identification in free form text. In order for\n inspection to work properly, the name of this info\n type must not occur naturally anywhere in your data;\n otherwise, inspection may either - reverse a surrogate\n that does not correspond to an actual identifier\n - be unable to parse the surrogate and result in\n an error Therefore, choose your custom info type\n name carefully after considering what your data\n looks like. One way to select a name that has a\n high chance of yielding reliable detection is to\n include one or more unicode characters that are\n highly improbable to exist in your data. For example,\n assuming your data is entered from a regular ASCII\n keyboard, the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may be used\n for higher security since the same identifier in\n two different contexts won''t be given the same\n surrogate. If the context is not set, a default\n tweak will be used. If the context is set but: 1.\n there is no record present when transforming a given\n value or 1. the field is not present when transforming\n a given value, a default tweak will be used. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced field\n may be of value type integer or string. The tweak\n is constructed as a sequence of bytes in big endian\n byte order such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 - a string\n is encoded in UTF-8 format followed by a single\n byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the encryption\n algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping these to\n the alphanumeric characters that the FFX mode natively\n supports. This happens before/after encryption/decryption.\n Each character listed must appear only once. Number\n of characters must be in the range [2, 95]. This\n must be encoded as ASCII. The order of characters\n does not matter. The full list of allowed characters\n is: ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the alphabet.\n Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom infoType followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full replacement\n value will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This\n annotation identifies the surrogate when inspecting\n content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate when\n it occurs in free text. In order for inspection\n to work properly, the name of this infoType must\n not occur naturally anywhere in your data; otherwise,\n inspection may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose your\n custom infoType name carefully after considering\n what your data looks like. One way to select a name\n that has a high chance of yielding reliable detection\n is to include one or more unicode characters that\n are highly improbable to exist in your data. For\n example, assuming your data is entered from a regular\n ASCII keyboard, the symbol with the hex code point\n 29DD might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains the\n context, for example, an entity id. If set, must\n also set cryptoKey. If set, shift will be consistent\n for the given context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed based\n on this key and the context. This results in the\n same shift for the same context and crypto_key.\n If set, must also set context. Can only be applied\n to table items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means shift\n date to at most 5 days back in the past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in days. Actual\n shift will be selected at random within this range\n (inclusive ends). Negative means shift to earlier\n in time. Must not be more than 365250 days (1000\n years) each direction. For example, 3 means shift\n date to at most 3 days into the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket (except\n for minimum and maximum buckets). So if `lower_bound`\n = 10, `upper_bound` = 89, and `bucket_size` = 10,\n then the following buckets would be used: -10, 10-20,\n 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89,\n 89+. Precision up to 2 decimals works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value of buckets.\n All values less than `lower_bound` are grouped together\n into a single bucket; for example if `lower_bound`\n = 10, then all values less than 10 are replaced\n with the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value of buckets.\n All values greater than upper_bound are grouped\n together into a single bucket; for example if `upper_bound`\n = 89, then all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep. Possible\n values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH,\n DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n recordSuppressions:\n type: array\n x-dcl-go-name: RecordSuppressions\n description: Configuration defining which records get suppressed\n entirely. Records that match any suppression rule are omitted\n from the output.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressions\n properties:\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsCondition\n description: A condition that when it evaluates to true will\n result in the record being evaluated to be suppressed from\n the transformed content.\n properties:\n expressions:\n type: object\n x-dcl-go-name: Expressions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressions\n description: An expression.\n properties:\n conditions:\n type: object\n x-dcl-go-name: Conditions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditions\n description: Conditions to apply to the expression.\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n description: A collection of conditions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditions\n required:\n - field\n - operator\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsField\n description: Required. Field within the\n record this condition is evaluated against.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n operator:\n type: string\n x-dcl-go-name: Operator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsOperatorEnum\n description: 'Required. Operator used to\n compare the field or infoType to the value.\n Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n value:\n type: object\n x-dcl-go-name: Value\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValue\n description: Value to compare against. [Mandatory,\n except for `EXISTS` tests.]\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n logicalOperator:\n type: string\n x-dcl-go-name: LogicalOperator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsLogicalOperatorEnum\n description: 'The operator to apply to the result\n of conditions. Default and currently only supported\n value is `AND`. Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n transformationErrorHandling:\n type: object\n x-dcl-go-name: TransformationErrorHandling\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandling\n description: Mode for handling transformation errors. If left unspecified,\n the default mode is `TransformationErrorHandling.ThrowError`.\n properties:\n leaveUntransformed:\n type: object\n x-dcl-go-name: LeaveUntransformed\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandlingLeaveUntransformed\n description: Ignore errors\n x-dcl-conflicts:\n - throwError\n throwError:\n type: object\n x-dcl-go-name: ThrowError\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandlingThrowError\n description: Throw an error\n x-dcl-conflicts:\n - leaveUntransformed\n description:\n type: string\n x-dcl-go-name: Description\n description: Short description (max 256 chars).\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 256 chars).\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The template name. The template will have one\n of the following formats: `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID`\n OR `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n") +var YAML_deidentify_template = []byte("info:\n title: Dlp/DeidentifyTemplate\n description: The Dlp DeidentifyTemplate resource\n x-dcl-struct-name: DeidentifyTemplate\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n apply:\n description: The function used to apply information about a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n delete:\n description: The function used to delete a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n deleteAll:\n description: The function used to delete all DeidentifyTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many DeidentifyTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n DeidentifyTemplate:\n title: DeidentifyTemplate\n x-dcl-id: '{{parent}}/deidentifyTemplates/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n deidentifyConfig:\n type: object\n x-dcl-go-name: DeidentifyConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfig\n description: The core content of the template.\n properties:\n infoTypeTransformations:\n type: object\n x-dcl-go-name: InfoTypeTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformations\n description: Treat the dataset as free-form text and apply the same\n free text transformation everywhere.\n x-dcl-conflicts:\n - recordTransformations\n required:\n - transformations\n properties:\n transformations:\n type: array\n x-dcl-go-name: Transformations\n description: Required. Transformation for each infoType. Cannot\n specify more than one for a given infoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformations\n required:\n - primitiveTransformation\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoTypes to apply the transformation to. An\n empty list will cause this transformation to apply to all\n findings that correspond to infoTypes that were requested\n in `InspectConfig`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a\n name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformation\n description: Required. Primitive transformation to apply to\n the infoType.\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range, exclusive;\n type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range, inclusive.\n Type should be the same as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement value for\n this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items in this\n list will be skipped when replacing characters.\n For example, if the input string is `555-555-5555`\n and you instruct Cloud DLP to skip `-` and mask\n 5 characters with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform when\n masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to not transform\n when masking. Useful to avoid removing punctuation.\n Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the sensitive\n values—for example, `*` for an alphabetic string\n such as a name, or `0` for a numeric string such\n as ZIP code or credit card number. This string must\n have a length of 1. If not supplied, this value\n defaults to `*` for strings, and `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask. If not\n set, all matching chars will be masked. Skipped\n characters do not count towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse order. For\n example, if `masking_character` is `0`, `number_to_mask`\n is `14`, and `reverse_order` is `false`, then the\n input string `1234-5678-9012-3456` is masked as\n `00000000000000-3456`. If `masking_character` is\n `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is masked as\n `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for higher security\n and maintaining referential integrity such that\n the same identifier in two different contexts will\n be given a distinct surrogate. The context is appended\n to plaintext value being encrypted. On decryption\n the provided context is validated against the value\n used during encryption. If a context was provided\n during encryption, same context must be provided\n during decryption as well. If the context is not\n set, plaintext would be used as is for encryption.\n If the context is set but: 1. there is no record\n present when transforming a given value or 2. the\n field is not present when transforming a given value,\n plaintext would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption function.\n For deterministic encryption using AES-SIV, the\n provided key is internally expanded to 64 bytes\n prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom info type followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: {info type name}({surrogate character\n count}):{surrogate} For example, if the name of\n custom info type is ''MY_TOKEN_INFO_TYPE'' and the\n surrogate is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This annotation\n identifies the surrogate when inspecting content\n using the custom info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs in free\n text. Note: For record transformations where the\n entire cell in a table is being transformed, surrogates\n are not mandatory. Surrogates are used to denote\n the location of the token and are necessary for\n re-identification in free form text. In order for\n inspection to work properly, the name of this info\n type must not occur naturally anywhere in your data;\n otherwise, inspection may either - reverse a surrogate\n that does not correspond to an actual identifier\n - be unable to parse the surrogate and result in\n an error Therefore, choose your custom info type\n name carefully after considering what your data\n looks like. One way to select a name that has a\n high chance of yielding reliable detection is to\n include one or more unicode characters that are\n highly improbable to exist in your data. For example,\n assuming your data is entered from a regular ASCII\n keyboard, the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may be used\n for higher security since the same identifier in\n two different contexts won''t be given the same\n surrogate. If the context is not set, a default\n tweak will be used. If the context is set but: 1.\n there is no record present when transforming a given\n value or 1. the field is not present when transforming\n a given value, a default tweak will be used. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced field\n may be of value type integer or string. The tweak\n is constructed as a sequence of bytes in big endian\n byte order such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 - a string\n is encoded in UTF-8 format followed by a single\n byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the encryption\n algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping these to\n the alphanumeric characters that the FFX mode natively\n supports. This happens before/after encryption/decryption.\n Each character listed must appear only once. Number\n of characters must be in the range [2, 95]. This\n must be encoded as ASCII. The order of characters\n does not matter. The full list of allowed characters\n is: ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the alphabet.\n Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom infoType followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full replacement\n value will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This\n annotation identifies the surrogate when inspecting\n content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate when\n it occurs in free text. In order for inspection\n to work properly, the name of this infoType must\n not occur naturally anywhere in your data; otherwise,\n inspection may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose your\n custom infoType name carefully after considering\n what your data looks like. One way to select a name\n that has a high chance of yielding reliable detection\n is to include one or more unicode characters that\n are highly improbable to exist in your data. For\n example, assuming your data is entered from a regular\n ASCII keyboard, the symbol with the hex code point\n 29DD might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains the\n context, for example, an entity id. If set, must\n also set cryptoKey. If set, shift will be consistent\n for the given context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed based\n on this key and the context. This results in the\n same shift for the same context and crypto_key.\n If set, must also set context. Can only be applied\n to table items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means shift\n date to at most 5 days back in the past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in days. Actual\n shift will be selected at random within this range\n (inclusive ends). Negative means shift to earlier\n in time. Must not be more than 365250 days (1000\n years) each direction. For example, 3 means shift\n date to at most 3 days into the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket (except\n for minimum and maximum buckets). So if `lower_bound`\n = 10, `upper_bound` = 89, and `bucket_size` = 10,\n then the following buckets would be used: -10, 10-20,\n 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89,\n 89+. Precision up to 2 decimals works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value of buckets.\n All values less than `lower_bound` are grouped together\n into a single bucket; for example if `lower_bound`\n = 10, then all values less than 10 are replaced\n with the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value of buckets.\n All values greater than upper_bound are grouped\n together into a single bucket; for example if `upper_bound`\n = 89, then all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep. Possible\n values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH,\n DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n recordTransformations:\n type: object\n x-dcl-go-name: RecordTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformations\n description: Treat the dataset as structured. Transformations can be\n applied to specific locations within structured datasets, such as\n transforming a column within a table.\n x-dcl-conflicts:\n - infoTypeTransformations\n properties:\n fieldTransformations:\n type: array\n x-dcl-go-name: FieldTransformations\n description: Transform the record by applying various field transformations.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformations\n required:\n - fields\n properties:\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsCondition\n description: 'Only apply the transformation if the condition\n evaluates to true for the given `RecordCondition`. The conditions\n are allowed to reference fields that are not used in the\n actual transformation. Example Use Cases: - Apply a different\n bucket transformation to an age column if the zip code column\n for the same record is within a specific range. - Redact\n a field if the date of birth field is greater than 85.'\n properties:\n expressions:\n type: object\n x-dcl-go-name: Expressions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressions\n description: An expression.\n properties:\n conditions:\n type: object\n x-dcl-go-name: Conditions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditions\n description: Conditions to apply to the expression.\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n description: A collection of conditions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditions\n required:\n - field\n - operator\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsField\n description: Required. Field within the\n record this condition is evaluated against.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n operator:\n type: string\n x-dcl-go-name: Operator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsOperatorEnum\n description: 'Required. Operator used to\n compare the field or infoType to the value.\n Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n value:\n type: object\n x-dcl-go-name: Value\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValue\n description: Value to compare against. [Mandatory,\n except for `EXISTS` tests.]\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n logicalOperator:\n type: string\n x-dcl-go-name: LogicalOperator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsLogicalOperatorEnum\n description: 'The operator to apply to the result\n of conditions. Default and currently only supported\n value is `AND`. Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n fields:\n type: array\n x-dcl-go-name: Fields\n description: Required. Input field(s) to apply the transformation\n to. When you have columns that reference their position\n within a list, omit the index from the FieldId. FieldId\n name matching ignores the index. For example, instead of\n \"contact.nums[0].type\", use \"contact.nums.type\".\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n infoTypeTransformations:\n type: object\n x-dcl-go-name: InfoTypeTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformations\n description: Treat the contents of the field as free text,\n and selectively transform content that matches an `InfoType`.\n x-dcl-conflicts:\n - primitiveTransformation\n required:\n - transformations\n properties:\n transformations:\n type: array\n x-dcl-go-name: Transformations\n description: Required. Transformation for each infoType.\n Cannot specify more than one for a given infoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformations\n required:\n - primitiveTransformation\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoTypes to apply the transformation\n to. An empty list will cause this transformation\n to apply to all findings that correspond to infoTypes\n that were requested in `InspectConfig`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when creating\n a CustomInfoType, or one of the names listed\n at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformation\n description: Required. Primitive transformation\n to apply to the infoType.\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must\n be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range,\n exclusive; type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range,\n inclusive. Type should be the same\n as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement\n value for this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items\n in this list will be skipped when replacing\n characters. For example, if the input\n string is `555-555-5555` and you instruct\n Cloud DLP to skip `-` and mask 5 characters\n with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform\n when masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to\n not transform when masking. Useful\n to avoid removing punctuation. Possible\n values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the\n sensitive values—for example, `*` for\n an alphabetic string such as a name, or\n `0` for a numeric string such as ZIP code\n or credit card number. This string must\n have a length of 1. If not supplied, this\n value defaults to `*` for strings, and\n `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask.\n If not set, all matching chars will be\n masked. Skipped characters do not count\n towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse\n order. For example, if `masking_character`\n is `0`, `number_to_mask` is `14`, and\n `reverse_order` is `false`, then the input\n string `1234-5678-9012-3456` is masked\n as `00000000000000-3456`. If `masking_character`\n is `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is\n masked as `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for\n higher security and maintaining referential\n integrity such that the same identifier\n in two different contexts will be given\n a distinct surrogate. The context is appended\n to plaintext value being encrypted. On\n decryption the provided context is validated\n against the value used during encryption.\n If a context was provided during encryption,\n same context must be provided during decryption\n as well. If the context is not set, plaintext\n would be used as is for encryption. If\n the context is set but: 1. there is no\n record present when transforming a given\n value or 2. the field is not present when\n transforming a given value, plaintext\n would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption\n function. For deterministic encryption\n using AES-SIV, the provided key is internally\n expanded to 64 bytes prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate\n the surrogate with. This annotation will\n be applied to the surrogate by prefixing\n it with the name of the custom info type\n followed by the number of characters comprising\n the surrogate. The following scheme defines\n the format: {info type name}({surrogate\n character count}):{surrogate} For example,\n if the name of custom info type is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full\n replacement value will be: ''MY_TOKEN_INFO_TYPE(3):abc''\n This annotation identifies the surrogate\n when inspecting content using the custom\n info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs\n in free text. Note: For record transformations\n where the entire cell in a table is being\n transformed, surrogates are not mandatory.\n Surrogates are used to denote the location\n of the token and are necessary for re-identification\n in free form text. In order for inspection\n to work properly, the name of this info\n type must not occur naturally anywhere\n in your data; otherwise, inspection may\n either - reverse a surrogate that does\n not correspond to an actual identifier\n - be unable to parse the surrogate and\n result in an error Therefore, choose your\n custom info type name carefully after\n considering what your data looks like.\n One way to select a name that has a high\n chance of yielding reliable detection\n is to include one or more unicode characters\n that are highly improbable to exist in\n your data. For example, assuming your\n data is entered from a regular ASCII keyboard,\n the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information\n type. Either a name of your choosing\n when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data\n Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible\n values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may\n be used for higher security since the\n same identifier in two different contexts\n won''t be given the same surrogate. If\n the context is not set, a default tweak\n will be used. If the context is set but:\n 1. there is no record present when transforming\n a given value or 1. the field is not present\n when transforming a given value, a default\n tweak will be used. Note that case (1)\n is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced\n field may be of value type integer or\n string. The tweak is constructed as a\n sequence of bytes in big endian byte order\n such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 -\n a string is encoded in UTF-8 format followed\n by a single byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the\n encryption algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping\n these to the alphanumeric characters that\n the FFX mode natively supports. This happens\n before/after encryption/decryption. Each\n character listed must appear only once.\n Number of characters must be in the range\n [2, 95]. This must be encoded as ASCII.\n The order of characters does not matter.\n The full list of allowed characters is:\n ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the\n alphabet. Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate\n the surrogate with. This annotation will\n be applied to the surrogate by prefixing\n it with the name of the custom infoType\n followed by the number of characters comprising\n the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType\n is ''MY_TOKEN_INFO_TYPE'' and the surrogate\n is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc''\n This annotation identifies the surrogate\n when inspecting content using the custom\n infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate\n when it occurs in free text. In order\n for inspection to work properly, the name\n of this infoType must not occur naturally\n anywhere in your data; otherwise, inspection\n may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose\n your custom infoType name carefully after\n considering what your data looks like.\n One way to select a name that has a high\n chance of yielding reliable detection\n is to include one or more unicode characters\n that are highly improbable to exist in\n your data. For example, assuming your\n data is entered from a regular ASCII keyboard,\n the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information\n type. Either a name of your choosing\n when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data\n Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains\n the context, for example, an entity id.\n If set, must also set cryptoKey. If set,\n shift will be consistent for the given\n context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed\n based on this key and the context. This\n results in the same shift for the same\n context and crypto_key. If set, must also\n set context. Can only be applied to table\n items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means\n shift date to at most 5 days back in the\n past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in\n days. Actual shift will be selected at\n random within this range (inclusive ends).\n Negative means shift to earlier in time.\n Must not be more than 365250 days (1000\n years) each direction. For example, 3\n means shift date to at most 3 days into\n the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket\n (except for minimum and maximum buckets).\n So if `lower_bound` = 10, `upper_bound`\n = 89, and `bucket_size` = 10, then the\n following buckets would be used: -10,\n 10-20, 20-30, 30-40, 40-50, 50-60, 60-70,\n 70-80, 80-89, 89+. Precision up to 2 decimals\n works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value\n of buckets. All values less than `lower_bound`\n are grouped together into a single bucket;\n for example if `lower_bound` = 10, then\n all values less than 10 are replaced with\n the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value\n of buckets. All values greater than upper_bound\n are grouped together into a single bucket;\n for example if `upper_bound` = 89, then\n all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep.\n Possible values: TIME_PART_UNSPECIFIED,\n YEAR, MONTH, DAY_OF_MONTH, DAY_OF_WEEK,\n WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformation\n description: Apply the transformation to the entire field.\n x-dcl-conflicts:\n - infoTypeTransformations\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range, exclusive;\n type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range, inclusive.\n Type should be the same as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement value for\n this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items in this\n list will be skipped when replacing characters.\n For example, if the input string is `555-555-5555`\n and you instruct Cloud DLP to skip `-` and mask\n 5 characters with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform when\n masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to not transform\n when masking. Useful to avoid removing punctuation.\n Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the sensitive\n values—for example, `*` for an alphabetic string\n such as a name, or `0` for a numeric string such\n as ZIP code or credit card number. This string must\n have a length of 1. If not supplied, this value\n defaults to `*` for strings, and `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask. If not\n set, all matching chars will be masked. Skipped\n characters do not count towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse order. For\n example, if `masking_character` is `0`, `number_to_mask`\n is `14`, and `reverse_order` is `false`, then the\n input string `1234-5678-9012-3456` is masked as\n `00000000000000-3456`. If `masking_character` is\n `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is masked as\n `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for higher security\n and maintaining referential integrity such that\n the same identifier in two different contexts will\n be given a distinct surrogate. The context is appended\n to plaintext value being encrypted. On decryption\n the provided context is validated against the value\n used during encryption. If a context was provided\n during encryption, same context must be provided\n during decryption as well. If the context is not\n set, plaintext would be used as is for encryption.\n If the context is set but: 1. there is no record\n present when transforming a given value or 2. the\n field is not present when transforming a given value,\n plaintext would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption function.\n For deterministic encryption using AES-SIV, the\n provided key is internally expanded to 64 bytes\n prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom info type followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: {info type name}({surrogate character\n count}):{surrogate} For example, if the name of\n custom info type is ''MY_TOKEN_INFO_TYPE'' and the\n surrogate is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This annotation\n identifies the surrogate when inspecting content\n using the custom info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs in free\n text. Note: For record transformations where the\n entire cell in a table is being transformed, surrogates\n are not mandatory. Surrogates are used to denote\n the location of the token and are necessary for\n re-identification in free form text. In order for\n inspection to work properly, the name of this info\n type must not occur naturally anywhere in your data;\n otherwise, inspection may either - reverse a surrogate\n that does not correspond to an actual identifier\n - be unable to parse the surrogate and result in\n an error Therefore, choose your custom info type\n name carefully after considering what your data\n looks like. One way to select a name that has a\n high chance of yielding reliable detection is to\n include one or more unicode characters that are\n highly improbable to exist in your data. For example,\n assuming your data is entered from a regular ASCII\n keyboard, the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may be used\n for higher security since the same identifier in\n two different contexts won''t be given the same\n surrogate. If the context is not set, a default\n tweak will be used. If the context is set but: 1.\n there is no record present when transforming a given\n value or 1. the field is not present when transforming\n a given value, a default tweak will be used. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced field\n may be of value type integer or string. The tweak\n is constructed as a sequence of bytes in big endian\n byte order such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 - a string\n is encoded in UTF-8 format followed by a single\n byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the encryption\n algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping these to\n the alphanumeric characters that the FFX mode natively\n supports. This happens before/after encryption/decryption.\n Each character listed must appear only once. Number\n of characters must be in the range [2, 95]. This\n must be encoded as ASCII. The order of characters\n does not matter. The full list of allowed characters\n is: ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the alphabet.\n Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom infoType followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full replacement\n value will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This\n annotation identifies the surrogate when inspecting\n content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate when\n it occurs in free text. In order for inspection\n to work properly, the name of this infoType must\n not occur naturally anywhere in your data; otherwise,\n inspection may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose your\n custom infoType name carefully after considering\n what your data looks like. One way to select a name\n that has a high chance of yielding reliable detection\n is to include one or more unicode characters that\n are highly improbable to exist in your data. For\n example, assuming your data is entered from a regular\n ASCII keyboard, the symbol with the hex code point\n 29DD might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains the\n context, for example, an entity id. If set, must\n also set cryptoKey. If set, shift will be consistent\n for the given context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed based\n on this key and the context. This results in the\n same shift for the same context and crypto_key.\n If set, must also set context. Can only be applied\n to table items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means shift\n date to at most 5 days back in the past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in days. Actual\n shift will be selected at random within this range\n (inclusive ends). Negative means shift to earlier\n in time. Must not be more than 365250 days (1000\n years) each direction. For example, 3 means shift\n date to at most 3 days into the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket (except\n for minimum and maximum buckets). So if `lower_bound`\n = 10, `upper_bound` = 89, and `bucket_size` = 10,\n then the following buckets would be used: -10, 10-20,\n 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89,\n 89+. Precision up to 2 decimals works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value of buckets.\n All values less than `lower_bound` are grouped together\n into a single bucket; for example if `lower_bound`\n = 10, then all values less than 10 are replaced\n with the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value of buckets.\n All values greater than upper_bound are grouped\n together into a single bucket; for example if `upper_bound`\n = 89, then all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep. Possible\n values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH,\n DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n recordSuppressions:\n type: array\n x-dcl-go-name: RecordSuppressions\n description: Configuration defining which records get suppressed\n entirely. Records that match any suppression rule are omitted\n from the output.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressions\n properties:\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsCondition\n description: A condition that when it evaluates to true will\n result in the record being evaluated to be suppressed from\n the transformed content.\n properties:\n expressions:\n type: object\n x-dcl-go-name: Expressions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressions\n description: An expression.\n properties:\n conditions:\n type: object\n x-dcl-go-name: Conditions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditions\n description: Conditions to apply to the expression.\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n description: A collection of conditions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditions\n required:\n - field\n - operator\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsField\n description: Required. Field within the\n record this condition is evaluated against.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n operator:\n type: string\n x-dcl-go-name: Operator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsOperatorEnum\n description: 'Required. Operator used to\n compare the field or infoType to the value.\n Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n value:\n type: object\n x-dcl-go-name: Value\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValue\n description: Value to compare against. [Mandatory,\n except for `EXISTS` tests.]\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n logicalOperator:\n type: string\n x-dcl-go-name: LogicalOperator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsLogicalOperatorEnum\n description: 'The operator to apply to the result\n of conditions. Default and currently only supported\n value is `AND`. Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n transformationErrorHandling:\n type: object\n x-dcl-go-name: TransformationErrorHandling\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandling\n description: Mode for handling transformation errors. If left unspecified,\n the default mode is `TransformationErrorHandling.ThrowError`.\n properties:\n leaveUntransformed:\n type: object\n x-dcl-go-name: LeaveUntransformed\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandlingLeaveUntransformed\n description: Ignore errors\n x-dcl-conflicts:\n - throwError\n throwError:\n type: object\n x-dcl-go-name: ThrowError\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandlingThrowError\n description: Throw an error\n x-dcl-conflicts:\n - leaveUntransformed\n description:\n type: string\n x-dcl-go-name: Description\n description: Short description (max 256 chars).\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 256 chars).\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The template name. The template will have one\n of the following formats: `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID`\n OR `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n") -// 422529 bytes -// MD5: 5dc6672c4f1fe72e1184f6382e14a878 +// 422554 bytes +// MD5: 073c2da7da614c6731550b9763ce677c diff --git a/services/google/dlp/alpha/deidentify_template_schema.go b/services/google/dlp/alpha/deidentify_template_schema.go index 3b7329b303..79ae5aca01 100755 --- a/services/google/dlp/alpha/deidentify_template_schema.go +++ b/services/google/dlp/alpha/deidentify_template_schema.go @@ -23,6 +23,7 @@ func DCLDeidentifyTemplateSchema() *dcl.Schema { Title: "Dlp/DeidentifyTemplate", Description: "The Dlp DeidentifyTemplate resource", StructName: "DeidentifyTemplate", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dlp/alpha/inspect_template.yaml b/services/google/dlp/alpha/inspect_template.yaml index 278fb3a658..30c800b20b 100755 --- a/services/google/dlp/alpha/inspect_template.yaml +++ b/services/google/dlp/alpha/inspect_template.yaml @@ -15,6 +15,7 @@ info: title: Dlp/InspectTemplate description: The Dlp InspectTemplate resource x-dcl-struct-name: InspectTemplate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dlp/alpha/inspect_template_alpha_yaml_embed.go b/services/google/dlp/alpha/inspect_template_alpha_yaml_embed.go index 6df79bfe3c..c958e54253 100755 --- a/services/google/dlp/alpha/inspect_template_alpha_yaml_embed.go +++ b/services/google/dlp/alpha/inspect_template_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dlp/alpha/inspect_template.yaml -var YAML_inspect_template = []byte("info:\n title: Dlp/InspectTemplate\n description: The Dlp InspectTemplate resource\n x-dcl-struct-name: InspectTemplate\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n apply:\n description: The function used to apply information about a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n delete:\n description: The function used to delete a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n deleteAll:\n description: The function used to delete all InspectTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InspectTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InspectTemplate:\n title: InspectTemplate\n x-dcl-id: '{{parent}}/inspectTemplates/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Short description (max 256 chars).\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 256 chars).\n inspectConfig:\n type: object\n x-dcl-go-name: InspectConfig\n x-dcl-go-type: InspectTemplateInspectConfig\n description: The core content of the template. Configuration of the scanning\n process.\n properties:\n contentOptions:\n type: array\n x-dcl-go-name: ContentOptions\n description: List of options defining data content to scan. If empty,\n text, images, and other content will be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: InspectTemplateInspectConfigContentOptionsEnum\n enum:\n - CONTENT_UNSPECIFIED\n - CONTENT_TEXT\n - CONTENT_IMAGE\n customInfoTypes:\n type: array\n x-dcl-go-name: CustomInfoTypes\n description: CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes\n to learn more.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypes\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionary\n description: A list of phrases to detect as a CustomInfoType.\n x-dcl-conflicts:\n - regex\n - surrogateType\n - storedType\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud Storage.\n Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards)\n in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionaryWordList\n description: List of words or phrases to search for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase and\n every phrase must contain at least 2 characters that\n are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusionType:\n type: string\n x-dcl-go-name: ExclusionType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesExclusionTypeEnum\n description: 'If set to EXCLUSION_TYPE_EXCLUDE this infoType will\n not cause a finding to be returned. It still can be used for\n rules matching. Possible values: EXCLUSION_TYPE_UNSPECIFIED,\n EXCLUSION_TYPE_EXCLUDE'\n enum:\n - EXCLUSION_TYPE_UNSPECIFIED\n - EXCLUSION_TYPE_EXCLUDE\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesInfoType\n description: CustomInfoType can either be a new infoType, or an\n extension of built-in infoType, when the name matches one of\n existing infoTypes and that infoType is specified in `InspectContent.info_types`\n field. Specifying the latter adds findings to the one detected\n by the system. If built-in info type is not specified in `InspectContent.info_types`\n list then the name is treated as a custom info type.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of\n your choosing when creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform to\n the pattern `[A-Za-z0-9$-_]{1,64}`.\n likelihood:\n type: string\n x-dcl-go-name: Likelihood\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesLikelihoodEnum\n description: 'Likelihood to return for this CustomInfoType. This\n base value can be altered by a detection rule if the finding\n meets the criteria specified by the rule. Defaults to `VERY_LIKELY`\n if not specified. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesRegex\n description: Regular expression based CustomInfoType.\n x-dcl-conflicts:\n - dictionary\n - surrogateType\n - storedType\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings.\n When not specified, the entire match is returned. No more\n than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression. Its\n syntax (https://github.com/google/re2/wiki/Syntax) can be\n found under the google/re2 repository on GitHub.\n storedType:\n type: object\n x-dcl-go-name: StoredType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesStoredType\n description: Load an existing `StoredInfoType` resource for use\n in `InspectDataSource`. Not currently supported in `InspectContent`.\n x-dcl-conflicts:\n - dictionary\n - regex\n - surrogateType\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Timestamp indicating when the version of the\n `StoredInfoType` used for inspection was created. Output-only\n field, populated by the system.\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name of the requested `StoredInfoType`,\n for example `organizations/433245324/storedInfoTypes/432452342`\n or `projects/project-id/storedInfoTypes/432452342`.\n surrogateType:\n type: object\n x-dcl-go-name: SurrogateType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesSurrogateType\n description: Message for detecting output from deidentification\n transformations that support reversing.\n x-dcl-conflicts:\n - dictionary\n - regex\n - storedType\n excludeInfoTypes:\n type: boolean\n x-dcl-go-name: ExcludeInfoTypes\n description: When true, excludes type information of the findings.\n includeQuote:\n type: boolean\n x-dcl-go-name: IncludeQuote\n description: When true, a contextual quote from the data that triggered\n a finding is included in the response; see Finding.quote.\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: Restricts what info_types to look for. The values must\n correspond to InfoType values returned by ListInfoTypes or listed\n at https://cloud.google.com/dlp/docs/infotypes-reference. When no\n InfoTypes or CustomInfoTypes are specified in a request, the system\n may automatically choose what detectors to run. By default this may\n be all types, but may change over time as detectors are updated. If\n you need precise control and predictability as to what detectors are\n run you should specify specific InfoTypes listed in the reference,\n otherwise a default list will be used, which may change over time.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of your\n choosing when creating a CustomInfoType, or one of the names\n listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP results\n to Data Catalog, infoType names should conform to the pattern\n `[A-Za-z0-9$-_]{1,64}`.\n limits:\n type: object\n x-dcl-go-name: Limits\n x-dcl-go-type: InspectTemplateInspectConfigLimits\n description: Configuration to control the number of findings returned.\n properties:\n maxFindingsPerInfoType:\n type: array\n x-dcl-go-name: MaxFindingsPerInfoType\n description: Configuration of findings limit given for specified\n infoTypes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigLimitsMaxFindingsPerInfoType\n properties:\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: InspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeInfoType\n description: Type of information the findings limit applies\n to. Only one limit per info_type should be provided. If\n InfoTypeLimit does not have an info_type, the DLP API applies\n the limit against all info_types that are found but not\n specified in another InfoTypeLimit.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n maxFindings:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindings\n description: Max findings limit for the given infoType.\n maxFindingsPerItem:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerItem\n description: Max number of findings that will be returned for each\n item scanned. When set within `InspectJobConfig`, the maximum\n returned is 2000 regardless if this is set higher. When set within\n `InspectContentRequest`, this field is ignored.\n maxFindingsPerRequest:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerRequest\n description: Max number of findings that will be returned per request/job.\n When set within `InspectContentRequest`, the maximum returned\n is 2000 regardless if this is set higher.\n minLikelihood:\n type: string\n x-dcl-go-name: MinLikelihood\n x-dcl-go-type: InspectTemplateInspectConfigMinLikelihoodEnum\n description: 'Only returns findings equal or above this threshold. The\n default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood\n to learn more. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n ruleSet:\n type: array\n x-dcl-go-name: RuleSet\n description: Set of rules to apply to the findings for this InspectConfig.\n Exclusion rules, contained in the set are executed in the end, other\n rules are executed in the order they are specified for each info type.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSet\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: List of infoTypes this rule set is applied to.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or one\n of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Set of rules to be applied to infoTypes. The rules\n are applied in order.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRules\n properties:\n exclusionRule:\n type: object\n x-dcl-go-name: ExclusionRule\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRule\n description: Exclusion rule.\n x-dcl-conflicts:\n - hotwordRule\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionary\n description: Dictionary which defines the rule.\n x-dcl-conflicts:\n - regex\n - excludeInfoTypes\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionaryCloudStoragePath\n description: Newline-delimited file of words in\n Cloud Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path\n (no wildcards) in Cloud Storage. Example:\n gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionaryWordList\n description: List of words or phrases to search\n for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase\n and every phrase must contain at least 2 characters\n that are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludeInfoTypes:\n type: object\n x-dcl-go-name: ExcludeInfoTypes\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes\n description: Set of infoTypes for which findings would\n affect this rule.\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoType list in ExclusionRule rule\n drops a finding when it overlaps or contained\n within with a finding of an infoType from this\n list. For example, for `InspectionRuleSet.info_types`\n containing \"PHONE_NUMBER\"` and `exclusion_rule`\n containing `exclude_info_types.info_types` with\n \"EMAIL_ADDRESS\" the phone number findings are\n dropped if they overlap with EMAIL_ADDRESS finding.\n That leads to \"555-222-2222@example.org\" to generate\n only a single finding, namely email address.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypesInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when creating\n a CustomInfoType, or one of the names listed\n at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n matchingType:\n type: string\n x-dcl-go-name: MatchingType\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleMatchingTypeEnum\n description: 'How the rule is applied, see MatchingType\n documentation for details. Possible values: MATCHING_TYPE_UNSPECIFIED,\n MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH,\n MATCHING_TYPE_INVERSE_MATCH'\n enum:\n - MATCHING_TYPE_UNSPECIFIED\n - MATCHING_TYPE_FULL_MATCH\n - MATCHING_TYPE_PARTIAL_MATCH\n - MATCHING_TYPE_INVERSE_MATCH\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleRegex\n description: Regular expression which defines the rule.\n x-dcl-conflicts:\n - dictionary\n - excludeInfoTypes\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire match\n is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on\n GitHub.\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRule\n x-dcl-conflicts:\n - exclusionRule\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining what\n qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire match\n is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on\n GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all matching\n findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding to\n a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the detection\n rule and `relative_likelihood` is 1, then it is\n upgraded to `LIKELY`, while a value of -1 would\n downgrade it to `UNLIKELY`. Likelihood may never\n drop below `VERY_UNLIKELY` or exceed `VERY_LIKELY`,\n so applying an adjustment of 1 followed by an\n adjustment of -1 when base likelihood is `VERY_LIKELY`\n will result in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleProximity\n description: Proximity of the finding within which the\n entire hotword must reside. The total length of the\n window cannot exceed 1000 characters. Note that the\n finding itself will be included in the window, so\n that hotwords may be used to match substrings of the\n finding itself. For example, the certainty of a phone\n number regex \"(d{3}) d{3}-d{4}\" could be adjusted\n upwards if the area code is known to be the local\n area code of a company office using the hotword regex\n \"(xxx)\", where \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the finding\n to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the finding\n to consider.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The template name. The template will have one of the following\n formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n") +var YAML_inspect_template = []byte("info:\n title: Dlp/InspectTemplate\n description: The Dlp InspectTemplate resource\n x-dcl-struct-name: InspectTemplate\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n apply:\n description: The function used to apply information about a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n delete:\n description: The function used to delete a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n deleteAll:\n description: The function used to delete all InspectTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InspectTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InspectTemplate:\n title: InspectTemplate\n x-dcl-id: '{{parent}}/inspectTemplates/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Short description (max 256 chars).\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 256 chars).\n inspectConfig:\n type: object\n x-dcl-go-name: InspectConfig\n x-dcl-go-type: InspectTemplateInspectConfig\n description: The core content of the template. Configuration of the scanning\n process.\n properties:\n contentOptions:\n type: array\n x-dcl-go-name: ContentOptions\n description: List of options defining data content to scan. If empty,\n text, images, and other content will be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: InspectTemplateInspectConfigContentOptionsEnum\n enum:\n - CONTENT_UNSPECIFIED\n - CONTENT_TEXT\n - CONTENT_IMAGE\n customInfoTypes:\n type: array\n x-dcl-go-name: CustomInfoTypes\n description: CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes\n to learn more.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypes\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionary\n description: A list of phrases to detect as a CustomInfoType.\n x-dcl-conflicts:\n - regex\n - surrogateType\n - storedType\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud Storage.\n Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards)\n in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionaryWordList\n description: List of words or phrases to search for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase and\n every phrase must contain at least 2 characters that\n are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusionType:\n type: string\n x-dcl-go-name: ExclusionType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesExclusionTypeEnum\n description: 'If set to EXCLUSION_TYPE_EXCLUDE this infoType will\n not cause a finding to be returned. It still can be used for\n rules matching. Possible values: EXCLUSION_TYPE_UNSPECIFIED,\n EXCLUSION_TYPE_EXCLUDE'\n enum:\n - EXCLUSION_TYPE_UNSPECIFIED\n - EXCLUSION_TYPE_EXCLUDE\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesInfoType\n description: CustomInfoType can either be a new infoType, or an\n extension of built-in infoType, when the name matches one of\n existing infoTypes and that infoType is specified in `InspectContent.info_types`\n field. Specifying the latter adds findings to the one detected\n by the system. If built-in info type is not specified in `InspectContent.info_types`\n list then the name is treated as a custom info type.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of\n your choosing when creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform to\n the pattern `[A-Za-z0-9$-_]{1,64}`.\n likelihood:\n type: string\n x-dcl-go-name: Likelihood\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesLikelihoodEnum\n description: 'Likelihood to return for this CustomInfoType. This\n base value can be altered by a detection rule if the finding\n meets the criteria specified by the rule. Defaults to `VERY_LIKELY`\n if not specified. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesRegex\n description: Regular expression based CustomInfoType.\n x-dcl-conflicts:\n - dictionary\n - surrogateType\n - storedType\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings.\n When not specified, the entire match is returned. No more\n than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression. Its\n syntax (https://github.com/google/re2/wiki/Syntax) can be\n found under the google/re2 repository on GitHub.\n storedType:\n type: object\n x-dcl-go-name: StoredType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesStoredType\n description: Load an existing `StoredInfoType` resource for use\n in `InspectDataSource`. Not currently supported in `InspectContent`.\n x-dcl-conflicts:\n - dictionary\n - regex\n - surrogateType\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Timestamp indicating when the version of the\n `StoredInfoType` used for inspection was created. Output-only\n field, populated by the system.\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name of the requested `StoredInfoType`,\n for example `organizations/433245324/storedInfoTypes/432452342`\n or `projects/project-id/storedInfoTypes/432452342`.\n surrogateType:\n type: object\n x-dcl-go-name: SurrogateType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesSurrogateType\n description: Message for detecting output from deidentification\n transformations that support reversing.\n x-dcl-conflicts:\n - dictionary\n - regex\n - storedType\n excludeInfoTypes:\n type: boolean\n x-dcl-go-name: ExcludeInfoTypes\n description: When true, excludes type information of the findings.\n includeQuote:\n type: boolean\n x-dcl-go-name: IncludeQuote\n description: When true, a contextual quote from the data that triggered\n a finding is included in the response; see Finding.quote.\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: Restricts what info_types to look for. The values must\n correspond to InfoType values returned by ListInfoTypes or listed\n at https://cloud.google.com/dlp/docs/infotypes-reference. When no\n InfoTypes or CustomInfoTypes are specified in a request, the system\n may automatically choose what detectors to run. By default this may\n be all types, but may change over time as detectors are updated. If\n you need precise control and predictability as to what detectors are\n run you should specify specific InfoTypes listed in the reference,\n otherwise a default list will be used, which may change over time.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of your\n choosing when creating a CustomInfoType, or one of the names\n listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP results\n to Data Catalog, infoType names should conform to the pattern\n `[A-Za-z0-9$-_]{1,64}`.\n limits:\n type: object\n x-dcl-go-name: Limits\n x-dcl-go-type: InspectTemplateInspectConfigLimits\n description: Configuration to control the number of findings returned.\n properties:\n maxFindingsPerInfoType:\n type: array\n x-dcl-go-name: MaxFindingsPerInfoType\n description: Configuration of findings limit given for specified\n infoTypes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigLimitsMaxFindingsPerInfoType\n properties:\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: InspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeInfoType\n description: Type of information the findings limit applies\n to. Only one limit per info_type should be provided. If\n InfoTypeLimit does not have an info_type, the DLP API applies\n the limit against all info_types that are found but not\n specified in another InfoTypeLimit.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n maxFindings:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindings\n description: Max findings limit for the given infoType.\n maxFindingsPerItem:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerItem\n description: Max number of findings that will be returned for each\n item scanned. When set within `InspectJobConfig`, the maximum\n returned is 2000 regardless if this is set higher. When set within\n `InspectContentRequest`, this field is ignored.\n maxFindingsPerRequest:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerRequest\n description: Max number of findings that will be returned per request/job.\n When set within `InspectContentRequest`, the maximum returned\n is 2000 regardless if this is set higher.\n minLikelihood:\n type: string\n x-dcl-go-name: MinLikelihood\n x-dcl-go-type: InspectTemplateInspectConfigMinLikelihoodEnum\n description: 'Only returns findings equal or above this threshold. The\n default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood\n to learn more. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n ruleSet:\n type: array\n x-dcl-go-name: RuleSet\n description: Set of rules to apply to the findings for this InspectConfig.\n Exclusion rules, contained in the set are executed in the end, other\n rules are executed in the order they are specified for each info type.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSet\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: List of infoTypes this rule set is applied to.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or one\n of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Set of rules to be applied to infoTypes. The rules\n are applied in order.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRules\n properties:\n exclusionRule:\n type: object\n x-dcl-go-name: ExclusionRule\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRule\n description: Exclusion rule.\n x-dcl-conflicts:\n - hotwordRule\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionary\n description: Dictionary which defines the rule.\n x-dcl-conflicts:\n - regex\n - excludeInfoTypes\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionaryCloudStoragePath\n description: Newline-delimited file of words in\n Cloud Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path\n (no wildcards) in Cloud Storage. Example:\n gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionaryWordList\n description: List of words or phrases to search\n for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase\n and every phrase must contain at least 2 characters\n that are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludeInfoTypes:\n type: object\n x-dcl-go-name: ExcludeInfoTypes\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes\n description: Set of infoTypes for which findings would\n affect this rule.\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoType list in ExclusionRule rule\n drops a finding when it overlaps or contained\n within with a finding of an infoType from this\n list. For example, for `InspectionRuleSet.info_types`\n containing \"PHONE_NUMBER\"` and `exclusion_rule`\n containing `exclude_info_types.info_types` with\n \"EMAIL_ADDRESS\" the phone number findings are\n dropped if they overlap with EMAIL_ADDRESS finding.\n That leads to \"555-222-2222@example.org\" to generate\n only a single finding, namely email address.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypesInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when creating\n a CustomInfoType, or one of the names listed\n at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n matchingType:\n type: string\n x-dcl-go-name: MatchingType\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleMatchingTypeEnum\n description: 'How the rule is applied, see MatchingType\n documentation for details. Possible values: MATCHING_TYPE_UNSPECIFIED,\n MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH,\n MATCHING_TYPE_INVERSE_MATCH'\n enum:\n - MATCHING_TYPE_UNSPECIFIED\n - MATCHING_TYPE_FULL_MATCH\n - MATCHING_TYPE_PARTIAL_MATCH\n - MATCHING_TYPE_INVERSE_MATCH\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleRegex\n description: Regular expression which defines the rule.\n x-dcl-conflicts:\n - dictionary\n - excludeInfoTypes\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire match\n is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on\n GitHub.\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRule\n x-dcl-conflicts:\n - exclusionRule\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining what\n qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire match\n is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on\n GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all matching\n findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding to\n a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the detection\n rule and `relative_likelihood` is 1, then it is\n upgraded to `LIKELY`, while a value of -1 would\n downgrade it to `UNLIKELY`. Likelihood may never\n drop below `VERY_UNLIKELY` or exceed `VERY_LIKELY`,\n so applying an adjustment of 1 followed by an\n adjustment of -1 when base likelihood is `VERY_LIKELY`\n will result in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleProximity\n description: Proximity of the finding within which the\n entire hotword must reside. The total length of the\n window cannot exceed 1000 characters. Note that the\n finding itself will be included in the window, so\n that hotwords may be used to match substrings of the\n finding itself. For example, the certainty of a phone\n number regex \"(d{3}) d{3}-d{4}\" could be adjusted\n upwards if the area code is known to be the local\n area code of a company office using the hotword regex\n \"(xxx)\", where \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the finding\n to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the finding\n to consider.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The template name. The template will have one of the following\n formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n") -// 36128 bytes -// MD5: c63e93c3ab1a29486ca1814f7a382fd2 +// 36153 bytes +// MD5: 60dcc845c04b44b45333f9b4f576d0c9 diff --git a/services/google/dlp/alpha/inspect_template_schema.go b/services/google/dlp/alpha/inspect_template_schema.go index 08956606e2..c65cc311fa 100755 --- a/services/google/dlp/alpha/inspect_template_schema.go +++ b/services/google/dlp/alpha/inspect_template_schema.go @@ -23,6 +23,7 @@ func DCLInspectTemplateSchema() *dcl.Schema { Title: "Dlp/InspectTemplate", Description: "The Dlp InspectTemplate resource", StructName: "InspectTemplate", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dlp/alpha/job_trigger.yaml b/services/google/dlp/alpha/job_trigger.yaml index 7894b7618b..0b28c6ab3a 100755 --- a/services/google/dlp/alpha/job_trigger.yaml +++ b/services/google/dlp/alpha/job_trigger.yaml @@ -15,6 +15,7 @@ info: title: Dlp/JobTrigger description: The Dlp JobTrigger resource x-dcl-struct-name: JobTrigger + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dlp/alpha/job_trigger_alpha_yaml_embed.go b/services/google/dlp/alpha/job_trigger_alpha_yaml_embed.go index 850aa8bfe1..7d4a08f267 100755 --- a/services/google/dlp/alpha/job_trigger_alpha_yaml_embed.go +++ b/services/google/dlp/alpha/job_trigger_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dlp/alpha/job_trigger.yaml -var YAML_job_trigger = []byte("info:\n title: Dlp/JobTrigger\n description: The Dlp JobTrigger resource\n x-dcl-struct-name: JobTrigger\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n apply:\n description: The function used to apply information about a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n delete:\n description: The function used to delete a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n deleteAll:\n description: The function used to delete all JobTrigger\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many JobTrigger\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n JobTrigger:\n title: JobTrigger\n x-dcl-id: '{{parent}}/jobTriggers/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - inspectJob\n - triggers\n - status\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of a triggeredJob.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: User provided description (max 256 chars)\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 100 chars)\n errors:\n type: array\n x-dcl-go-name: Errors\n readOnly: true\n description: Output only. A stream of errors encountered when the trigger\n was activated. Repeated errors may result in the JobTrigger automatically\n being paused. Will return the last 100 errors. Whenever the JobTrigger\n is modified this list will be cleared.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerErrors\n properties:\n details:\n type: object\n x-dcl-go-name: Details\n x-dcl-go-type: JobTriggerErrorsDetails\n description: Detailed error codes and messages.\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of\n google.rpc.Code.\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details.\n There is a common set of message types for APIs to use.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerErrorsDetailsDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies\n the type of the serialized protocol buffer message. This\n string must contain at least one \"/\" character. The last\n segment of the URL''s path must represent the fully qualified\n name of the type (as in `path/google.protobuf.Duration`).\n The name should be in a canonical form (e.g., leading\n \".\" is not accepted). In practice, teams usually precompile\n into the binary all types that they expect it to use in\n the context of Any. However, for URLs which use the scheme\n `http`, `https`, or no scheme, one can optionally set\n up a type server that maps type URLs to message definitions\n as follows: * If no scheme is provided, `https` is assumed.\n * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL,\n or have them precompiled into a binary to avoid any lookup.\n Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.) Note: this functionality is not currently\n available in the official protobuf release, and it is\n not used for type URLs beginning with type.googleapis.com.\n Schemes other than `http`, `https` (or the empty scheme)\n might be used with implementation specific semantics.'\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer\n of the above specified type.\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be\n in English. Any user-facing error message should be localized\n and sent in the google.rpc.Status.details field, or localized\n by the client.\n timestamps:\n type: array\n x-dcl-go-name: Timestamps\n description: The times the error occurred.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n format: date-time\n x-dcl-go-type: string\n inspectJob:\n type: object\n x-dcl-go-name: InspectJob\n x-dcl-go-type: JobTriggerInspectJob\n description: For inspect jobs, a snapshot of the configuration.\n required:\n - storageConfig\n properties:\n actions:\n type: array\n x-dcl-go-name: Actions\n description: Actions to execute at the completion of the job.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobActions\n properties:\n jobNotificationEmails:\n type: object\n x-dcl-go-name: JobNotificationEmails\n x-dcl-go-type: JobTriggerInspectJobActionsJobNotificationEmails\n description: Enable email notification for project owners and\n editors on job's completion/failure.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - publishToStackdriver\n x-dcl-send-empty: true\n pubSub:\n type: object\n x-dcl-go-name: PubSub\n x-dcl-go-type: JobTriggerInspectJobActionsPubSub\n description: Publish a notification to a pubsub topic.\n x-dcl-conflicts:\n - saveFindings\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n properties:\n topic:\n type: string\n x-dcl-go-name: Topic\n description: Cloud Pub/Sub topic to send notifications to.\n The topic must have given publishing access rights to the\n DLP API service account executing the long running DlpJob\n sending the notifications. Format is projects/{project}/topics/{topic}.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n publishFindingsToCloudDataCatalog:\n type: object\n x-dcl-go-name: PublishFindingsToCloudDataCatalog\n x-dcl-go-type: JobTriggerInspectJobActionsPublishFindingsToCloudDataCatalog\n description: Publish findings to Cloud Datahub.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - jobNotificationEmails\n - publishToStackdriver\n x-dcl-send-empty: true\n publishSummaryToCscc:\n type: object\n x-dcl-go-name: PublishSummaryToCscc\n x-dcl-go-type: JobTriggerInspectJobActionsPublishSummaryToCscc\n description: Publish summary to Cloud Security Command Center\n (Alpha).\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n x-dcl-send-empty: true\n publishToStackdriver:\n type: object\n x-dcl-go-name: PublishToStackdriver\n x-dcl-go-type: JobTriggerInspectJobActionsPublishToStackdriver\n description: Enable Stackdriver metric dlp.googleapis.com/finding_count.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n x-dcl-send-empty: true\n saveFindings:\n type: object\n x-dcl-go-name: SaveFindings\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindings\n description: Save resulting findings in a provided location.\n x-dcl-conflicts:\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n properties:\n outputConfig:\n type: object\n x-dcl-go-name: OutputConfig\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfig\n description: Location to store findings outside of DLP.\n properties:\n dlpStorage:\n type: object\n x-dcl-go-name: DlpStorage\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigDlpStorage\n description: Store findings directly to DLP. If neither\n this or bigquery is chosen only summary stats of total\n infotype count will be stored. Quotes will not be stored\n to dlp findings. If quotes are needed, store to BigQuery.\n Currently only for inspect jobs.\n x-dcl-conflicts:\n - table\n x-dcl-send-empty: true\n outputSchema:\n type: string\n x-dcl-go-name: OutputSchema\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigOutputSchemaEnum\n description: 'Schema used for writing the findings for\n Inspect jobs. This field is only used for Inspect and\n must be unspecified for Risk jobs. Columns are derived\n from the `Finding` object. If appending to an existing\n table, any columns from the predefined schema that are\n missing will be added. No columns in the existing table\n will be deleted. If unspecified, then all available\n columns will be used for a new table or an (existing)\n table with no schema, and no changes will be made to\n an existing table that has a schema. Only for use with\n external storage. Possible values: OUTPUT_SCHEMA_UNSPECIFIED,\n BASIC_COLUMNS, GCS_COLUMNS, DATASTORE_COLUMNS, BIG_QUERY_COLUMNS,\n ALL_COLUMNS'\n enum:\n - OUTPUT_SCHEMA_UNSPECIFIED\n - BASIC_COLUMNS\n - GCS_COLUMNS\n - DATASTORE_COLUMNS\n - BIG_QUERY_COLUMNS\n - ALL_COLUMNS\n table:\n type: object\n x-dcl-go-name: Table\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigTable\n description: 'Store findings in an existing table or a\n new table in an existing dataset. If table_id is not\n set a new one will be generated for you with the following\n format: dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific\n timezone will be used for generating the date details.\n For Inspect, each column in an existing output table\n must have the same name, type, and mode of a field in\n the `Finding` object. For Risk, an existing output table\n should be the output of a previous Risk analysis job\n run on the same source table, with the same privacy\n metric and quasi-identifiers. Risk jobs that analyze\n the same table but compute a different privacy metric,\n or use different sets of quasi-identifiers, cannot store\n their results in the same table.'\n x-dcl-conflicts:\n - dlpStorage\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID\n of the project containing the table. If omitted,\n project ID is inferred from the API call.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n inspectConfig:\n type: object\n x-dcl-go-name: InspectConfig\n x-dcl-go-type: JobTriggerInspectJobInspectConfig\n description: How and what to scan for.\n properties:\n customInfoTypes:\n type: array\n x-dcl-go-name: CustomInfoTypes\n description: CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes\n to learn more.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypes\n properties:\n detectionRules:\n type: array\n x-dcl-go-name: DetectionRules\n description: Set of detection rules to apply to all findings\n of this CustomInfoType. Rules are applied in order that\n they are specified. Not supported for the `surrogate_type`\n CustomInfoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRules\n properties:\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRule\n description: Hotword-based detection rule.\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining\n what qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all\n matching findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding\n to a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY,\n VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the\n detection rule and `relative_likelihood` is\n 1, then it is upgraded to `LIKELY`, while\n a value of -1 would downgrade it to `UNLIKELY`.\n Likelihood may never drop below `VERY_UNLIKELY`\n or exceed `VERY_LIKELY`, so applying an adjustment\n of 1 followed by an adjustment of -1 when\n base likelihood is `VERY_LIKELY` will result\n in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleProximity\n description: Proximity of the finding within which\n the entire hotword must reside. The total length\n of the window cannot exceed 1000 characters. Note\n that the finding itself will be included in the\n window, so that hotwords may be used to match\n substrings of the finding itself. For example,\n the certainty of a phone number regex \"(d{3})\n d{3}-d{4}\" could be adjusted upwards if the area\n code is known to be the local area code of a company\n office using the hotword regex \"(xxx)\", where\n \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the\n finding to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the\n finding to consider.\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionary\n description: A list of phrases to detect as a CustomInfoType.\n x-dcl-conflicts:\n - regex\n - surrogateType\n - storedType\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud\n Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no\n wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionaryWordList\n description: List of words or phrases to search for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase\n and every phrase must contain at least 2 characters\n that are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusionType:\n type: string\n x-dcl-go-name: ExclusionType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesExclusionTypeEnum\n description: 'If set to EXCLUSION_TYPE_EXCLUDE this infoType\n will not cause a finding to be returned. It still can be\n used for rules matching. Possible values: EXCLUSION_TYPE_UNSPECIFIED,\n EXCLUSION_TYPE_EXCLUDE'\n enum:\n - EXCLUSION_TYPE_UNSPECIFIED\n - EXCLUSION_TYPE_EXCLUDE\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesInfoType\n description: CustomInfoType can either be a new infoType,\n or an extension of built-in infoType, when the name matches\n one of existing infoTypes and that infoType is specified\n in `InspectContent.info_types` field. Specifying the latter\n adds findings to the one detected by the system. If built-in\n info type is not specified in `InspectContent.info_types`\n list then the name is treated as a custom info type.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n likelihood:\n type: string\n x-dcl-go-name: Likelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesLikelihoodEnum\n description: 'Likelihood to return for this CustomInfoType.\n This base value can be altered by a detection rule if the\n finding meets the criteria specified by the rule. Defaults\n to `VERY_LIKELY` if not specified. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesRegex\n description: Regular expression based CustomInfoType.\n x-dcl-conflicts:\n - dictionary\n - surrogateType\n - storedType\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings.\n When not specified, the entire match is returned. No\n more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on GitHub.\n storedType:\n type: object\n x-dcl-go-name: StoredType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesStoredType\n description: Load an existing `StoredInfoType` resource for\n use in `InspectDataSource`. Not currently supported in `InspectContent`.\n x-dcl-conflicts:\n - dictionary\n - regex\n - surrogateType\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Timestamp indicating when the version of\n the `StoredInfoType` used for inspection was created.\n Output-only field, populated by the system.\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name of the requested `StoredInfoType`,\n for example `organizations/433245324/storedInfoTypes/432452342`\n or `projects/project-id/storedInfoTypes/432452342`.\n surrogateType:\n type: object\n x-dcl-go-name: SurrogateType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesSurrogateType\n description: Message for detecting output from deidentification\n transformations that support reversing.\n x-dcl-conflicts:\n - dictionary\n - regex\n - storedType\n x-dcl-send-empty: true\n excludeInfoTypes:\n type: boolean\n x-dcl-go-name: ExcludeInfoTypes\n description: When true, excludes type information of the findings.\n This is not used for data profiling.\n includeQuote:\n type: boolean\n x-dcl-go-name: IncludeQuote\n description: When true, a contextual quote from the data that triggered\n a finding is included in the response; see Finding.quote. This\n is not used for data profiling.\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: Restricts what info_types to look for. The values must\n correspond to InfoType values returned by ListInfoTypes or listed\n at https://cloud.google.com/dlp/docs/infotypes-reference. When\n no InfoTypes or CustomInfoTypes are specified in a request, the\n system may automatically choose what detectors to run. By default\n this may be all types, but may change over time as detectors are\n updated. If you need precise control and predictability as to\n what detectors are run you should specify specific InfoTypes listed\n in the reference, otherwise a default list will be used, which\n may change over time.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of\n your choosing when creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform to\n the pattern `[A-Za-z0-9$-_]{1,64}`.\n limits:\n type: object\n x-dcl-go-name: Limits\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimits\n description: Configuration to control the number of findings returned.\n This is not used for data profiling.\n properties:\n maxFindingsPerInfoType:\n type: array\n x-dcl-go-name: MaxFindingsPerInfoType\n description: Configuration of findings limit given for specified\n infoTypes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoType\n properties:\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoType\n description: Type of information the findings limit applies\n to. Only one limit per info_type should be provided.\n If InfoTypeLimit does not have an info_type, the DLP\n API applies the limit against all info_types that are\n found but not specified in another InfoTypeLimit.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n maxFindings:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindings\n description: Max findings limit for the given infoType.\n maxFindingsPerItem:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerItem\n description: Max number of findings that will be returned for\n each item scanned. When set within `InspectJobConfig`, the\n maximum returned is 2000 regardless if this is set higher.\n When set within `InspectContentRequest`, this field is ignored.\n maxFindingsPerRequest:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerRequest\n description: Max number of findings that will be returned per\n request/job. When set within `InspectContentRequest`, the\n maximum returned is 2000 regardless if this is set higher.\n minLikelihood:\n type: string\n x-dcl-go-name: MinLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigMinLikelihoodEnum\n description: 'Only returns findings equal or above this threshold.\n The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood\n to learn more. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n ruleSet:\n type: array\n x-dcl-go-name: RuleSet\n description: Set of rules to apply to the findings for this InspectConfig.\n Exclusion rules, contained in the set are executed in the end,\n other rules are executed in the order they are specified for each\n info type.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSet\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: List of infoTypes this rule set is applied to.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a\n name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Set of rules to be applied to infoTypes. The\n rules are applied in order.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRules\n properties:\n exclusionRule:\n type: object\n x-dcl-go-name: ExclusionRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRule\n description: Exclusion rule.\n x-dcl-conflicts:\n - hotwordRule\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionary\n description: Dictionary which defines the rule.\n x-dcl-conflicts:\n - regex\n - excludeInfoTypes\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionaryCloudStoragePath\n description: Newline-delimited file of words\n in Cloud Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file\n or path (no wildcards) in Cloud Storage.\n Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionaryWordList\n description: List of words or phrases to search\n for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the\n dictionary. The dictionary must contain\n at least one phrase and every phrase must\n contain at least 2 characters that are\n letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludeInfoTypes:\n type: object\n x-dcl-go-name: ExcludeInfoTypes\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes\n description: Set of infoTypes for which findings\n would affect this rule.\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoType list in ExclusionRule\n rule drops a finding when it overlaps or contained\n within with a finding of an infoType from\n this list. For example, for `InspectionRuleSet.info_types`\n containing \"PHONE_NUMBER\"` and `exclusion_rule`\n containing `exclude_info_types.info_types`\n with \"EMAIL_ADDRESS\" the phone number findings\n are dropped if they overlap with EMAIL_ADDRESS\n finding. That leads to \"555-222-2222@example.org\"\n to generate only a single finding, namely\n email address.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypesInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when\n creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data Catalog,\n infoType names should conform to the\n pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for\n this InfoType.\n matchingType:\n type: string\n x-dcl-go-name: MatchingType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleMatchingTypeEnum\n description: 'How the rule is applied, see MatchingType\n documentation for details. Possible values: MATCHING_TYPE_UNSPECIFIED,\n MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH,\n MATCHING_TYPE_INVERSE_MATCH'\n enum:\n - MATCHING_TYPE_UNSPECIFIED\n - MATCHING_TYPE_FULL_MATCH\n - MATCHING_TYPE_PARTIAL_MATCH\n - MATCHING_TYPE_INVERSE_MATCH\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleRegex\n description: Regular expression which defines the\n rule.\n x-dcl-conflicts:\n - dictionary\n - excludeInfoTypes\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRule\n x-dcl-conflicts:\n - exclusionRule\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining\n what qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all\n matching findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding\n to a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY,\n VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the\n detection rule and `relative_likelihood` is\n 1, then it is upgraded to `LIKELY`, while\n a value of -1 would downgrade it to `UNLIKELY`.\n Likelihood may never drop below `VERY_UNLIKELY`\n or exceed `VERY_LIKELY`, so applying an adjustment\n of 1 followed by an adjustment of -1 when\n base likelihood is `VERY_LIKELY` will result\n in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleProximity\n description: Proximity of the finding within which\n the entire hotword must reside. The total length\n of the window cannot exceed 1000 characters. Note\n that the finding itself will be included in the\n window, so that hotwords may be used to match\n substrings of the finding itself. For example,\n the certainty of a phone number regex \"(d{3})\n d{3}-d{4}\" could be adjusted upwards if the area\n code is known to be the local area code of a company\n office using the hotword regex \"(xxx)\", where\n \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the\n finding to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the\n finding to consider.\n inspectTemplateName:\n type: string\n x-dcl-go-name: InspectTemplateName\n description: If provided, will be used as the default for all values\n in InspectConfig. `inspect_config` will be merged into the values\n persisted as part of the template.\n storageConfig:\n type: object\n x-dcl-go-name: StorageConfig\n x-dcl-go-type: JobTriggerInspectJobStorageConfig\n description: The data to scan.\n properties:\n bigQueryOptions:\n type: object\n x-dcl-go-name: BigQueryOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptions\n description: BigQuery options.\n x-dcl-conflicts:\n - datastoreOptions\n - cloudStorageOptions\n - hybridOptions\n required:\n - tableReference\n properties:\n excludedFields:\n type: array\n x-dcl-go-name: ExcludedFields\n description: References to fields excluded from scanning. This\n allows you to skip inspection of entire columns which you\n know have no findings.\n x-dcl-conflicts:\n - includedFields\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsExcludedFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n identifyingFields:\n type: array\n x-dcl-go-name: IdentifyingFields\n description: Table fields that may uniquely identify a row within\n the table. When `actions.saveFindings.outputConfig.table`\n is specified, the values of columns specified here are available\n in the output table under `location.content_locations.record_location.record_key.id_values`.\n Nested fields such as `person.birthdate.year` are allowed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n includedFields:\n type: array\n x-dcl-go-name: IncludedFields\n description: Limit scanning only to these fields.\n x-dcl-conflicts:\n - excludedFields\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsIncludedFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n rowsLimit:\n type: integer\n format: int64\n x-dcl-go-name: RowsLimit\n description: Max number of rows to scan. If the table has more\n rows than this value, the rest of the rows are omitted. If\n not set, or if set to 0, all rows will be scanned. Only one\n of rows_limit and rows_limit_percent can be specified. Cannot\n be used in conjunction with TimespanConfig.\n x-dcl-conflicts:\n - rowsLimitPercent\n rowsLimitPercent:\n type: integer\n format: int64\n x-dcl-go-name: RowsLimitPercent\n description: Max percentage of rows to scan. The rest are omitted.\n The number of rows scanned is rounded down. Must be between\n 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults\n to 0. Only one of rows_limit and rows_limit_percent can be\n specified. Cannot be used in conjunction with TimespanConfig.\n x-dcl-conflicts:\n - rowsLimit\n sampleMethod:\n type: string\n x-dcl-go-name: SampleMethod\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsSampleMethodEnum\n description: ' Possible values: SAMPLE_METHOD_UNSPECIFIED, TOP,\n RANDOM_START'\n enum:\n - SAMPLE_METHOD_UNSPECIFIED\n - TOP\n - RANDOM_START\n tableReference:\n type: object\n x-dcl-go-name: TableReference\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsTableReference\n description: Complete BigQuery table reference.\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID of the\n project containing the table. If omitted, project ID is\n inferred from the API call.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n cloudStorageOptions:\n type: object\n x-dcl-go-name: CloudStorageOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptions\n description: Google Cloud Storage options.\n x-dcl-conflicts:\n - datastoreOptions\n - bigQueryOptions\n - hybridOptions\n properties:\n bytesLimitPerFile:\n type: integer\n format: int64\n x-dcl-go-name: BytesLimitPerFile\n description: Max number of bytes to scan from a file. If a scanned\n file's size is bigger than this value then the rest of the\n bytes are omitted. Only one of bytes_limit_per_file and bytes_limit_per_file_percent\n can be specified. Cannot be set if de-identification is requested.\n x-dcl-conflicts:\n - bytesLimitPerFilePercent\n bytesLimitPerFilePercent:\n type: integer\n format: int64\n x-dcl-go-name: BytesLimitPerFilePercent\n description: Max percentage of bytes to scan from a file. The\n rest are omitted. The number of bytes scanned is rounded down.\n Must be between 0 and 100, inclusively. Both 0 and 100 means\n no limit. Defaults to 0. Only one of bytes_limit_per_file\n and bytes_limit_per_file_percent can be specified. Cannot\n be set if de-identification is requested.\n x-dcl-conflicts:\n - bytesLimitPerFile\n fileSet:\n type: object\n x-dcl-go-name: FileSet\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileSet\n description: The set of one or more files to scan.\n properties:\n regexFileSet:\n type: object\n x-dcl-go-name: RegexFileSet\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetRegexFileSet\n description: The regex-filtered set of files to scan. Exactly\n one of `url` or `regex_file_set` must be set.\n x-dcl-conflicts:\n - url\n required:\n - bucketName\n properties:\n bucketName:\n type: string\n x-dcl-go-name: BucketName\n description: The name of a Cloud Storage bucket. Required.\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n excludeRegex:\n type: array\n x-dcl-go-name: ExcludeRegex\n description: A list of regular expressions matching\n file paths to exclude. All files in the bucket that\n match at least one of these regular expressions will\n be excluded from the scan. Regular expressions use\n RE2 [syntax](https://github.com/google/re2/wiki/Syntax);\n a guide can be found under the google/re2 repository\n on GitHub.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includeRegex:\n type: array\n x-dcl-go-name: IncludeRegex\n description: A list of regular expressions matching\n file paths to include. All files in the bucket that\n match at least one of these regular expressions will\n be included in the set of files, except for those\n that also match an item in `exclude_regex`. Leaving\n this field empty will match all files by default (this\n is equivalent to including `.*` in the list). Regular\n expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax);\n a guide can be found under the google/re2 repository\n on GitHub.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n url:\n type: string\n x-dcl-go-name: Url\n description: The Cloud Storage url of the file(s) to scan,\n in the format `gs:///`. Trailing wildcard in the path\n is allowed. If the url ends in a trailing slash, the bucket\n or directory represented by the url will be scanned non-recursively\n (content in sub-directories will not be scanned). This\n means that `gs://mybucket/` is equivalent to `gs://mybucket/*`,\n and `gs://mybucket/directory/` is equivalent to `gs://mybucket/directory/*`.\n Exactly one of `url` or `regex_file_set` must be set.\n x-dcl-conflicts:\n - regexFileSet\n fileTypes:\n type: array\n x-dcl-go-name: FileTypes\n description: List of file type groups to include in the scan.\n If empty, all files are scanned and available data format\n processors are applied. In addition, the binary content of\n the selected files is always scanned as well. Images are scanned\n only as binary if the specified region does not support image\n inspection and no file_types were specified. Image inspection\n is restricted to 'global', 'us', 'asia', and 'europe'.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileTypesEnum\n enum:\n - FILE_TYPE_UNSPECIFIED\n - BINARY_FILE\n - TEXT_FILE\n - IMAGE\n - WORD\n - PDF\n - AVRO\n - CSV\n - TSV\n filesLimitPercent:\n type: integer\n format: int64\n x-dcl-go-name: FilesLimitPercent\n description: Limits the number of files to scan to this percentage\n of the input FileSet. Number of files scanned is rounded down.\n Must be between 0 and 100, inclusively. Both 0 and 100 means\n no limit. Defaults to 0.\n sampleMethod:\n type: string\n x-dcl-go-name: SampleMethod\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsSampleMethodEnum\n description: ' Possible values: SAMPLE_METHOD_UNSPECIFIED, TOP,\n RANDOM_START'\n enum:\n - SAMPLE_METHOD_UNSPECIFIED\n - TOP\n - RANDOM_START\n datastoreOptions:\n type: object\n x-dcl-go-name: DatastoreOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptions\n description: Google Cloud Datastore options.\n x-dcl-conflicts:\n - cloudStorageOptions\n - bigQueryOptions\n - hybridOptions\n properties:\n kind:\n type: object\n x-dcl-go-name: Kind\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptionsKind\n description: The kind to process.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the kind.\n partitionId:\n type: object\n x-dcl-go-name: PartitionId\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptionsPartitionId\n description: A partition ID identifies a grouping of entities.\n The grouping is always by project namespace ID may be empty.\n properties:\n namespaceId:\n type: string\n x-dcl-go-name: NamespaceId\n description: If not empty, the ID of the namespace to which\n the entities belong.\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The ID of the project to which the entities\n belong.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n hybridOptions:\n type: object\n x-dcl-go-name: HybridOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptions\n description: Hybrid inspection options.\n x-dcl-conflicts:\n - datastoreOptions\n - cloudStorageOptions\n - bigQueryOptions\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A short description of where the data is coming\n from. Will be stored once in the job. 256 max length.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'To organize findings, these labels will be added\n to each finding. Label keys must be between 1 and 63 characters\n long and must conform to the following regular expression:\n `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between\n 0 and 63 characters long and must conform to the regular expression\n `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can\n be associated with a given finding. Examples: * `\"environment\"\n : \"production\"` * `\"pipeline\" : \"etl\"`'\n requiredFindingLabelKeys:\n type: array\n x-dcl-go-name: RequiredFindingLabelKeys\n description: 'These are labels that each inspection request\n must include within their ''finding_labels'' map. Request\n may contain others, but any missing one of these will be rejected.\n Label keys must be between 1 and 63 characters long and must\n conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.\n No more than 10 keys can be required.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tableOptions:\n type: object\n x-dcl-go-name: TableOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptionsTableOptions\n description: If the container is a table, additional information\n to make findings meaningful such as the columns that are primary\n keys.\n properties:\n identifyingFields:\n type: array\n x-dcl-go-name: IdentifyingFields\n description: The columns that are the primary keys for table\n objects included in ContentItem. A copy of this cell's\n value will stored alongside alongside each finding so\n that the finding can be traced to the specific row it\n came from. No more than 3 may be provided.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n timespanConfig:\n type: object\n x-dcl-go-name: TimespanConfig\n x-dcl-go-type: JobTriggerInspectJobStorageConfigTimespanConfig\n properties:\n enableAutoPopulationOfTimespanConfig:\n type: boolean\n x-dcl-go-name: EnableAutoPopulationOfTimespanConfig\n description: When the job is started by a JobTrigger we will\n automatically figure out a valid start_time to avoid scanning\n files that have not been modified since the last time the\n JobTrigger executed. This will be based on the time of the\n execution of the last run of the JobTrigger.\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Exclude files, tables, or rows newer than this\n value. If not set, no upper time limit is applied.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Exclude files, tables, or rows older than this\n value. If not set, no lower time limit is applied.\n timestampField:\n type: object\n x-dcl-go-name: TimestampField\n x-dcl-go-type: JobTriggerInspectJobStorageConfigTimespanConfigTimestampField\n description: 'Specification of the field containing the timestamp\n of scanned items. Used for data sources like Datastore and\n BigQuery. For BigQuery: If this value is not specified and\n the table was modified between the given start and end times,\n the entire table will be scanned. If this value is specified,\n then rows are filtered based on the given start and end times.\n Rows with a `NULL` value in the provided BigQuery column are\n skipped. Valid data types of the provided BigQuery column\n are: `INTEGER`, `DATE`, `TIMESTAMP`, and `DATETIME`. For Datastore:\n If this value is specified, then entities are filtered based\n on the given start and end times. If an entity does not contain\n the provided timestamp property or contains empty or invalid\n values, then it is included. Valid data types of the provided\n timestamp property are: `TIMESTAMP`.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n readOnly: true\n description: Output only. The timestamp of the last time this trigger executed.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Unique resource name for the triggeredJob, assigned by the\n service when the triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/53234423`.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: JobTriggerStatusEnum\n description: 'Required. A status for this trigger. Possible values: STATUS_UNSPECIFIED,\n HEALTHY, PAUSED, CANCELLED'\n x-kubernetes-immutable: true\n enum:\n - STATUS_UNSPECIFIED\n - HEALTHY\n - PAUSED\n - CANCELLED\n triggers:\n type: array\n x-dcl-go-name: Triggers\n description: A list of triggers which will be OR'ed together. Only one in\n the list needs to trigger for a job to be started. The list may contain\n only a single Schedule trigger and must have at least one object.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerTriggers\n properties:\n manual:\n type: object\n x-dcl-go-name: Manual\n x-dcl-go-type: JobTriggerTriggersManual\n description: For use with hybrid jobs. Jobs must be manually created\n and finished.\n x-dcl-conflicts:\n - schedule\n x-dcl-send-empty: true\n schedule:\n type: object\n x-dcl-go-name: Schedule\n x-dcl-go-type: JobTriggerTriggersSchedule\n description: Create a job on a repeating basis based on the elapse\n of time.\n x-dcl-conflicts:\n - manual\n properties:\n recurrencePeriodDuration:\n type: string\n x-dcl-go-name: RecurrencePeriodDuration\n description: 'With this option a job is started a regular periodic\n basis. For example: every day (86400 seconds). A scheduled start\n time will be skipped if the previous execution has not ended\n when its scheduled time occurs. This value must be set to a\n time duration greater than or equal to 1 day and can be no longer\n than 60 days.'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of a triggeredJob.\n x-kubernetes-immutable: true\n") +var YAML_job_trigger = []byte("info:\n title: Dlp/JobTrigger\n description: The Dlp JobTrigger resource\n x-dcl-struct-name: JobTrigger\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n apply:\n description: The function used to apply information about a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n delete:\n description: The function used to delete a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n deleteAll:\n description: The function used to delete all JobTrigger\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many JobTrigger\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n JobTrigger:\n title: JobTrigger\n x-dcl-id: '{{parent}}/jobTriggers/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - inspectJob\n - triggers\n - status\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of a triggeredJob.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: User provided description (max 256 chars)\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 100 chars)\n errors:\n type: array\n x-dcl-go-name: Errors\n readOnly: true\n description: Output only. A stream of errors encountered when the trigger\n was activated. Repeated errors may result in the JobTrigger automatically\n being paused. Will return the last 100 errors. Whenever the JobTrigger\n is modified this list will be cleared.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerErrors\n properties:\n details:\n type: object\n x-dcl-go-name: Details\n x-dcl-go-type: JobTriggerErrorsDetails\n description: Detailed error codes and messages.\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of\n google.rpc.Code.\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details.\n There is a common set of message types for APIs to use.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerErrorsDetailsDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies\n the type of the serialized protocol buffer message. This\n string must contain at least one \"/\" character. The last\n segment of the URL''s path must represent the fully qualified\n name of the type (as in `path/google.protobuf.Duration`).\n The name should be in a canonical form (e.g., leading\n \".\" is not accepted). In practice, teams usually precompile\n into the binary all types that they expect it to use in\n the context of Any. However, for URLs which use the scheme\n `http`, `https`, or no scheme, one can optionally set\n up a type server that maps type URLs to message definitions\n as follows: * If no scheme is provided, `https` is assumed.\n * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL,\n or have them precompiled into a binary to avoid any lookup.\n Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.) Note: this functionality is not currently\n available in the official protobuf release, and it is\n not used for type URLs beginning with type.googleapis.com.\n Schemes other than `http`, `https` (or the empty scheme)\n might be used with implementation specific semantics.'\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer\n of the above specified type.\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be\n in English. Any user-facing error message should be localized\n and sent in the google.rpc.Status.details field, or localized\n by the client.\n timestamps:\n type: array\n x-dcl-go-name: Timestamps\n description: The times the error occurred.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n format: date-time\n x-dcl-go-type: string\n inspectJob:\n type: object\n x-dcl-go-name: InspectJob\n x-dcl-go-type: JobTriggerInspectJob\n description: For inspect jobs, a snapshot of the configuration.\n required:\n - storageConfig\n properties:\n actions:\n type: array\n x-dcl-go-name: Actions\n description: Actions to execute at the completion of the job.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobActions\n properties:\n jobNotificationEmails:\n type: object\n x-dcl-go-name: JobNotificationEmails\n x-dcl-go-type: JobTriggerInspectJobActionsJobNotificationEmails\n description: Enable email notification for project owners and\n editors on job's completion/failure.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - publishToStackdriver\n x-dcl-send-empty: true\n pubSub:\n type: object\n x-dcl-go-name: PubSub\n x-dcl-go-type: JobTriggerInspectJobActionsPubSub\n description: Publish a notification to a pubsub topic.\n x-dcl-conflicts:\n - saveFindings\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n properties:\n topic:\n type: string\n x-dcl-go-name: Topic\n description: Cloud Pub/Sub topic to send notifications to.\n The topic must have given publishing access rights to the\n DLP API service account executing the long running DlpJob\n sending the notifications. Format is projects/{project}/topics/{topic}.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n publishFindingsToCloudDataCatalog:\n type: object\n x-dcl-go-name: PublishFindingsToCloudDataCatalog\n x-dcl-go-type: JobTriggerInspectJobActionsPublishFindingsToCloudDataCatalog\n description: Publish findings to Cloud Datahub.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - jobNotificationEmails\n - publishToStackdriver\n x-dcl-send-empty: true\n publishSummaryToCscc:\n type: object\n x-dcl-go-name: PublishSummaryToCscc\n x-dcl-go-type: JobTriggerInspectJobActionsPublishSummaryToCscc\n description: Publish summary to Cloud Security Command Center\n (Alpha).\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n x-dcl-send-empty: true\n publishToStackdriver:\n type: object\n x-dcl-go-name: PublishToStackdriver\n x-dcl-go-type: JobTriggerInspectJobActionsPublishToStackdriver\n description: Enable Stackdriver metric dlp.googleapis.com/finding_count.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n x-dcl-send-empty: true\n saveFindings:\n type: object\n x-dcl-go-name: SaveFindings\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindings\n description: Save resulting findings in a provided location.\n x-dcl-conflicts:\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n properties:\n outputConfig:\n type: object\n x-dcl-go-name: OutputConfig\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfig\n description: Location to store findings outside of DLP.\n properties:\n dlpStorage:\n type: object\n x-dcl-go-name: DlpStorage\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigDlpStorage\n description: Store findings directly to DLP. If neither\n this or bigquery is chosen only summary stats of total\n infotype count will be stored. Quotes will not be stored\n to dlp findings. If quotes are needed, store to BigQuery.\n Currently only for inspect jobs.\n x-dcl-conflicts:\n - table\n x-dcl-send-empty: true\n outputSchema:\n type: string\n x-dcl-go-name: OutputSchema\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigOutputSchemaEnum\n description: 'Schema used for writing the findings for\n Inspect jobs. This field is only used for Inspect and\n must be unspecified for Risk jobs. Columns are derived\n from the `Finding` object. If appending to an existing\n table, any columns from the predefined schema that are\n missing will be added. No columns in the existing table\n will be deleted. If unspecified, then all available\n columns will be used for a new table or an (existing)\n table with no schema, and no changes will be made to\n an existing table that has a schema. Only for use with\n external storage. Possible values: OUTPUT_SCHEMA_UNSPECIFIED,\n BASIC_COLUMNS, GCS_COLUMNS, DATASTORE_COLUMNS, BIG_QUERY_COLUMNS,\n ALL_COLUMNS'\n enum:\n - OUTPUT_SCHEMA_UNSPECIFIED\n - BASIC_COLUMNS\n - GCS_COLUMNS\n - DATASTORE_COLUMNS\n - BIG_QUERY_COLUMNS\n - ALL_COLUMNS\n table:\n type: object\n x-dcl-go-name: Table\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigTable\n description: 'Store findings in an existing table or a\n new table in an existing dataset. If table_id is not\n set a new one will be generated for you with the following\n format: dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific\n timezone will be used for generating the date details.\n For Inspect, each column in an existing output table\n must have the same name, type, and mode of a field in\n the `Finding` object. For Risk, an existing output table\n should be the output of a previous Risk analysis job\n run on the same source table, with the same privacy\n metric and quasi-identifiers. Risk jobs that analyze\n the same table but compute a different privacy metric,\n or use different sets of quasi-identifiers, cannot store\n their results in the same table.'\n x-dcl-conflicts:\n - dlpStorage\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID\n of the project containing the table. If omitted,\n project ID is inferred from the API call.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n inspectConfig:\n type: object\n x-dcl-go-name: InspectConfig\n x-dcl-go-type: JobTriggerInspectJobInspectConfig\n description: How and what to scan for.\n properties:\n customInfoTypes:\n type: array\n x-dcl-go-name: CustomInfoTypes\n description: CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes\n to learn more.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypes\n properties:\n detectionRules:\n type: array\n x-dcl-go-name: DetectionRules\n description: Set of detection rules to apply to all findings\n of this CustomInfoType. Rules are applied in order that\n they are specified. Not supported for the `surrogate_type`\n CustomInfoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRules\n properties:\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRule\n description: Hotword-based detection rule.\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining\n what qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all\n matching findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding\n to a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY,\n VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the\n detection rule and `relative_likelihood` is\n 1, then it is upgraded to `LIKELY`, while\n a value of -1 would downgrade it to `UNLIKELY`.\n Likelihood may never drop below `VERY_UNLIKELY`\n or exceed `VERY_LIKELY`, so applying an adjustment\n of 1 followed by an adjustment of -1 when\n base likelihood is `VERY_LIKELY` will result\n in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleProximity\n description: Proximity of the finding within which\n the entire hotword must reside. The total length\n of the window cannot exceed 1000 characters. Note\n that the finding itself will be included in the\n window, so that hotwords may be used to match\n substrings of the finding itself. For example,\n the certainty of a phone number regex \"(d{3})\n d{3}-d{4}\" could be adjusted upwards if the area\n code is known to be the local area code of a company\n office using the hotword regex \"(xxx)\", where\n \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the\n finding to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the\n finding to consider.\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionary\n description: A list of phrases to detect as a CustomInfoType.\n x-dcl-conflicts:\n - regex\n - surrogateType\n - storedType\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud\n Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no\n wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionaryWordList\n description: List of words or phrases to search for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase\n and every phrase must contain at least 2 characters\n that are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusionType:\n type: string\n x-dcl-go-name: ExclusionType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesExclusionTypeEnum\n description: 'If set to EXCLUSION_TYPE_EXCLUDE this infoType\n will not cause a finding to be returned. It still can be\n used for rules matching. Possible values: EXCLUSION_TYPE_UNSPECIFIED,\n EXCLUSION_TYPE_EXCLUDE'\n enum:\n - EXCLUSION_TYPE_UNSPECIFIED\n - EXCLUSION_TYPE_EXCLUDE\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesInfoType\n description: CustomInfoType can either be a new infoType,\n or an extension of built-in infoType, when the name matches\n one of existing infoTypes and that infoType is specified\n in `InspectContent.info_types` field. Specifying the latter\n adds findings to the one detected by the system. If built-in\n info type is not specified in `InspectContent.info_types`\n list then the name is treated as a custom info type.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n likelihood:\n type: string\n x-dcl-go-name: Likelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesLikelihoodEnum\n description: 'Likelihood to return for this CustomInfoType.\n This base value can be altered by a detection rule if the\n finding meets the criteria specified by the rule. Defaults\n to `VERY_LIKELY` if not specified. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesRegex\n description: Regular expression based CustomInfoType.\n x-dcl-conflicts:\n - dictionary\n - surrogateType\n - storedType\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings.\n When not specified, the entire match is returned. No\n more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on GitHub.\n storedType:\n type: object\n x-dcl-go-name: StoredType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesStoredType\n description: Load an existing `StoredInfoType` resource for\n use in `InspectDataSource`. Not currently supported in `InspectContent`.\n x-dcl-conflicts:\n - dictionary\n - regex\n - surrogateType\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Timestamp indicating when the version of\n the `StoredInfoType` used for inspection was created.\n Output-only field, populated by the system.\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name of the requested `StoredInfoType`,\n for example `organizations/433245324/storedInfoTypes/432452342`\n or `projects/project-id/storedInfoTypes/432452342`.\n surrogateType:\n type: object\n x-dcl-go-name: SurrogateType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesSurrogateType\n description: Message for detecting output from deidentification\n transformations that support reversing.\n x-dcl-conflicts:\n - dictionary\n - regex\n - storedType\n x-dcl-send-empty: true\n excludeInfoTypes:\n type: boolean\n x-dcl-go-name: ExcludeInfoTypes\n description: When true, excludes type information of the findings.\n This is not used for data profiling.\n includeQuote:\n type: boolean\n x-dcl-go-name: IncludeQuote\n description: When true, a contextual quote from the data that triggered\n a finding is included in the response; see Finding.quote. This\n is not used for data profiling.\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: Restricts what info_types to look for. The values must\n correspond to InfoType values returned by ListInfoTypes or listed\n at https://cloud.google.com/dlp/docs/infotypes-reference. When\n no InfoTypes or CustomInfoTypes are specified in a request, the\n system may automatically choose what detectors to run. By default\n this may be all types, but may change over time as detectors are\n updated. If you need precise control and predictability as to\n what detectors are run you should specify specific InfoTypes listed\n in the reference, otherwise a default list will be used, which\n may change over time.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of\n your choosing when creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform to\n the pattern `[A-Za-z0-9$-_]{1,64}`.\n limits:\n type: object\n x-dcl-go-name: Limits\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimits\n description: Configuration to control the number of findings returned.\n This is not used for data profiling.\n properties:\n maxFindingsPerInfoType:\n type: array\n x-dcl-go-name: MaxFindingsPerInfoType\n description: Configuration of findings limit given for specified\n infoTypes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoType\n properties:\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoType\n description: Type of information the findings limit applies\n to. Only one limit per info_type should be provided.\n If InfoTypeLimit does not have an info_type, the DLP\n API applies the limit against all info_types that are\n found but not specified in another InfoTypeLimit.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n maxFindings:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindings\n description: Max findings limit for the given infoType.\n maxFindingsPerItem:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerItem\n description: Max number of findings that will be returned for\n each item scanned. When set within `InspectJobConfig`, the\n maximum returned is 2000 regardless if this is set higher.\n When set within `InspectContentRequest`, this field is ignored.\n maxFindingsPerRequest:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerRequest\n description: Max number of findings that will be returned per\n request/job. When set within `InspectContentRequest`, the\n maximum returned is 2000 regardless if this is set higher.\n minLikelihood:\n type: string\n x-dcl-go-name: MinLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigMinLikelihoodEnum\n description: 'Only returns findings equal or above this threshold.\n The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood\n to learn more. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n ruleSet:\n type: array\n x-dcl-go-name: RuleSet\n description: Set of rules to apply to the findings for this InspectConfig.\n Exclusion rules, contained in the set are executed in the end,\n other rules are executed in the order they are specified for each\n info type.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSet\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: List of infoTypes this rule set is applied to.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a\n name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Set of rules to be applied to infoTypes. The\n rules are applied in order.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRules\n properties:\n exclusionRule:\n type: object\n x-dcl-go-name: ExclusionRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRule\n description: Exclusion rule.\n x-dcl-conflicts:\n - hotwordRule\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionary\n description: Dictionary which defines the rule.\n x-dcl-conflicts:\n - regex\n - excludeInfoTypes\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionaryCloudStoragePath\n description: Newline-delimited file of words\n in Cloud Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file\n or path (no wildcards) in Cloud Storage.\n Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionaryWordList\n description: List of words or phrases to search\n for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the\n dictionary. The dictionary must contain\n at least one phrase and every phrase must\n contain at least 2 characters that are\n letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludeInfoTypes:\n type: object\n x-dcl-go-name: ExcludeInfoTypes\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes\n description: Set of infoTypes for which findings\n would affect this rule.\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoType list in ExclusionRule\n rule drops a finding when it overlaps or contained\n within with a finding of an infoType from\n this list. For example, for `InspectionRuleSet.info_types`\n containing \"PHONE_NUMBER\"` and `exclusion_rule`\n containing `exclude_info_types.info_types`\n with \"EMAIL_ADDRESS\" the phone number findings\n are dropped if they overlap with EMAIL_ADDRESS\n finding. That leads to \"555-222-2222@example.org\"\n to generate only a single finding, namely\n email address.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypesInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when\n creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data Catalog,\n infoType names should conform to the\n pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for\n this InfoType.\n matchingType:\n type: string\n x-dcl-go-name: MatchingType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleMatchingTypeEnum\n description: 'How the rule is applied, see MatchingType\n documentation for details. Possible values: MATCHING_TYPE_UNSPECIFIED,\n MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH,\n MATCHING_TYPE_INVERSE_MATCH'\n enum:\n - MATCHING_TYPE_UNSPECIFIED\n - MATCHING_TYPE_FULL_MATCH\n - MATCHING_TYPE_PARTIAL_MATCH\n - MATCHING_TYPE_INVERSE_MATCH\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleRegex\n description: Regular expression which defines the\n rule.\n x-dcl-conflicts:\n - dictionary\n - excludeInfoTypes\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRule\n x-dcl-conflicts:\n - exclusionRule\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining\n what qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all\n matching findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding\n to a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY,\n VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the\n detection rule and `relative_likelihood` is\n 1, then it is upgraded to `LIKELY`, while\n a value of -1 would downgrade it to `UNLIKELY`.\n Likelihood may never drop below `VERY_UNLIKELY`\n or exceed `VERY_LIKELY`, so applying an adjustment\n of 1 followed by an adjustment of -1 when\n base likelihood is `VERY_LIKELY` will result\n in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleProximity\n description: Proximity of the finding within which\n the entire hotword must reside. The total length\n of the window cannot exceed 1000 characters. Note\n that the finding itself will be included in the\n window, so that hotwords may be used to match\n substrings of the finding itself. For example,\n the certainty of a phone number regex \"(d{3})\n d{3}-d{4}\" could be adjusted upwards if the area\n code is known to be the local area code of a company\n office using the hotword regex \"(xxx)\", where\n \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the\n finding to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the\n finding to consider.\n inspectTemplateName:\n type: string\n x-dcl-go-name: InspectTemplateName\n description: If provided, will be used as the default for all values\n in InspectConfig. `inspect_config` will be merged into the values\n persisted as part of the template.\n storageConfig:\n type: object\n x-dcl-go-name: StorageConfig\n x-dcl-go-type: JobTriggerInspectJobStorageConfig\n description: The data to scan.\n properties:\n bigQueryOptions:\n type: object\n x-dcl-go-name: BigQueryOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptions\n description: BigQuery options.\n x-dcl-conflicts:\n - datastoreOptions\n - cloudStorageOptions\n - hybridOptions\n required:\n - tableReference\n properties:\n excludedFields:\n type: array\n x-dcl-go-name: ExcludedFields\n description: References to fields excluded from scanning. This\n allows you to skip inspection of entire columns which you\n know have no findings.\n x-dcl-conflicts:\n - includedFields\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsExcludedFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n identifyingFields:\n type: array\n x-dcl-go-name: IdentifyingFields\n description: Table fields that may uniquely identify a row within\n the table. When `actions.saveFindings.outputConfig.table`\n is specified, the values of columns specified here are available\n in the output table under `location.content_locations.record_location.record_key.id_values`.\n Nested fields such as `person.birthdate.year` are allowed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n includedFields:\n type: array\n x-dcl-go-name: IncludedFields\n description: Limit scanning only to these fields.\n x-dcl-conflicts:\n - excludedFields\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsIncludedFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n rowsLimit:\n type: integer\n format: int64\n x-dcl-go-name: RowsLimit\n description: Max number of rows to scan. If the table has more\n rows than this value, the rest of the rows are omitted. If\n not set, or if set to 0, all rows will be scanned. Only one\n of rows_limit and rows_limit_percent can be specified. Cannot\n be used in conjunction with TimespanConfig.\n x-dcl-conflicts:\n - rowsLimitPercent\n rowsLimitPercent:\n type: integer\n format: int64\n x-dcl-go-name: RowsLimitPercent\n description: Max percentage of rows to scan. The rest are omitted.\n The number of rows scanned is rounded down. Must be between\n 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults\n to 0. Only one of rows_limit and rows_limit_percent can be\n specified. Cannot be used in conjunction with TimespanConfig.\n x-dcl-conflicts:\n - rowsLimit\n sampleMethod:\n type: string\n x-dcl-go-name: SampleMethod\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsSampleMethodEnum\n description: ' Possible values: SAMPLE_METHOD_UNSPECIFIED, TOP,\n RANDOM_START'\n enum:\n - SAMPLE_METHOD_UNSPECIFIED\n - TOP\n - RANDOM_START\n tableReference:\n type: object\n x-dcl-go-name: TableReference\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsTableReference\n description: Complete BigQuery table reference.\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID of the\n project containing the table. If omitted, project ID is\n inferred from the API call.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n cloudStorageOptions:\n type: object\n x-dcl-go-name: CloudStorageOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptions\n description: Google Cloud Storage options.\n x-dcl-conflicts:\n - datastoreOptions\n - bigQueryOptions\n - hybridOptions\n properties:\n bytesLimitPerFile:\n type: integer\n format: int64\n x-dcl-go-name: BytesLimitPerFile\n description: Max number of bytes to scan from a file. If a scanned\n file's size is bigger than this value then the rest of the\n bytes are omitted. Only one of bytes_limit_per_file and bytes_limit_per_file_percent\n can be specified. Cannot be set if de-identification is requested.\n x-dcl-conflicts:\n - bytesLimitPerFilePercent\n bytesLimitPerFilePercent:\n type: integer\n format: int64\n x-dcl-go-name: BytesLimitPerFilePercent\n description: Max percentage of bytes to scan from a file. The\n rest are omitted. The number of bytes scanned is rounded down.\n Must be between 0 and 100, inclusively. Both 0 and 100 means\n no limit. Defaults to 0. Only one of bytes_limit_per_file\n and bytes_limit_per_file_percent can be specified. Cannot\n be set if de-identification is requested.\n x-dcl-conflicts:\n - bytesLimitPerFile\n fileSet:\n type: object\n x-dcl-go-name: FileSet\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileSet\n description: The set of one or more files to scan.\n properties:\n regexFileSet:\n type: object\n x-dcl-go-name: RegexFileSet\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetRegexFileSet\n description: The regex-filtered set of files to scan. Exactly\n one of `url` or `regex_file_set` must be set.\n x-dcl-conflicts:\n - url\n required:\n - bucketName\n properties:\n bucketName:\n type: string\n x-dcl-go-name: BucketName\n description: The name of a Cloud Storage bucket. Required.\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n excludeRegex:\n type: array\n x-dcl-go-name: ExcludeRegex\n description: A list of regular expressions matching\n file paths to exclude. All files in the bucket that\n match at least one of these regular expressions will\n be excluded from the scan. Regular expressions use\n RE2 [syntax](https://github.com/google/re2/wiki/Syntax);\n a guide can be found under the google/re2 repository\n on GitHub.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includeRegex:\n type: array\n x-dcl-go-name: IncludeRegex\n description: A list of regular expressions matching\n file paths to include. All files in the bucket that\n match at least one of these regular expressions will\n be included in the set of files, except for those\n that also match an item in `exclude_regex`. Leaving\n this field empty will match all files by default (this\n is equivalent to including `.*` in the list). Regular\n expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax);\n a guide can be found under the google/re2 repository\n on GitHub.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n url:\n type: string\n x-dcl-go-name: Url\n description: The Cloud Storage url of the file(s) to scan,\n in the format `gs:///`. Trailing wildcard in the path\n is allowed. If the url ends in a trailing slash, the bucket\n or directory represented by the url will be scanned non-recursively\n (content in sub-directories will not be scanned). This\n means that `gs://mybucket/` is equivalent to `gs://mybucket/*`,\n and `gs://mybucket/directory/` is equivalent to `gs://mybucket/directory/*`.\n Exactly one of `url` or `regex_file_set` must be set.\n x-dcl-conflicts:\n - regexFileSet\n fileTypes:\n type: array\n x-dcl-go-name: FileTypes\n description: List of file type groups to include in the scan.\n If empty, all files are scanned and available data format\n processors are applied. In addition, the binary content of\n the selected files is always scanned as well. Images are scanned\n only as binary if the specified region does not support image\n inspection and no file_types were specified. Image inspection\n is restricted to 'global', 'us', 'asia', and 'europe'.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileTypesEnum\n enum:\n - FILE_TYPE_UNSPECIFIED\n - BINARY_FILE\n - TEXT_FILE\n - IMAGE\n - WORD\n - PDF\n - AVRO\n - CSV\n - TSV\n filesLimitPercent:\n type: integer\n format: int64\n x-dcl-go-name: FilesLimitPercent\n description: Limits the number of files to scan to this percentage\n of the input FileSet. Number of files scanned is rounded down.\n Must be between 0 and 100, inclusively. Both 0 and 100 means\n no limit. Defaults to 0.\n sampleMethod:\n type: string\n x-dcl-go-name: SampleMethod\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsSampleMethodEnum\n description: ' Possible values: SAMPLE_METHOD_UNSPECIFIED, TOP,\n RANDOM_START'\n enum:\n - SAMPLE_METHOD_UNSPECIFIED\n - TOP\n - RANDOM_START\n datastoreOptions:\n type: object\n x-dcl-go-name: DatastoreOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptions\n description: Google Cloud Datastore options.\n x-dcl-conflicts:\n - cloudStorageOptions\n - bigQueryOptions\n - hybridOptions\n properties:\n kind:\n type: object\n x-dcl-go-name: Kind\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptionsKind\n description: The kind to process.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the kind.\n partitionId:\n type: object\n x-dcl-go-name: PartitionId\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptionsPartitionId\n description: A partition ID identifies a grouping of entities.\n The grouping is always by project namespace ID may be empty.\n properties:\n namespaceId:\n type: string\n x-dcl-go-name: NamespaceId\n description: If not empty, the ID of the namespace to which\n the entities belong.\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The ID of the project to which the entities\n belong.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n hybridOptions:\n type: object\n x-dcl-go-name: HybridOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptions\n description: Hybrid inspection options.\n x-dcl-conflicts:\n - datastoreOptions\n - cloudStorageOptions\n - bigQueryOptions\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A short description of where the data is coming\n from. Will be stored once in the job. 256 max length.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'To organize findings, these labels will be added\n to each finding. Label keys must be between 1 and 63 characters\n long and must conform to the following regular expression:\n `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between\n 0 and 63 characters long and must conform to the regular expression\n `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can\n be associated with a given finding. Examples: * `\"environment\"\n : \"production\"` * `\"pipeline\" : \"etl\"`'\n requiredFindingLabelKeys:\n type: array\n x-dcl-go-name: RequiredFindingLabelKeys\n description: 'These are labels that each inspection request\n must include within their ''finding_labels'' map. Request\n may contain others, but any missing one of these will be rejected.\n Label keys must be between 1 and 63 characters long and must\n conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.\n No more than 10 keys can be required.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tableOptions:\n type: object\n x-dcl-go-name: TableOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptionsTableOptions\n description: If the container is a table, additional information\n to make findings meaningful such as the columns that are primary\n keys.\n properties:\n identifyingFields:\n type: array\n x-dcl-go-name: IdentifyingFields\n description: The columns that are the primary keys for table\n objects included in ContentItem. A copy of this cell's\n value will stored alongside alongside each finding so\n that the finding can be traced to the specific row it\n came from. No more than 3 may be provided.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n timespanConfig:\n type: object\n x-dcl-go-name: TimespanConfig\n x-dcl-go-type: JobTriggerInspectJobStorageConfigTimespanConfig\n properties:\n enableAutoPopulationOfTimespanConfig:\n type: boolean\n x-dcl-go-name: EnableAutoPopulationOfTimespanConfig\n description: When the job is started by a JobTrigger we will\n automatically figure out a valid start_time to avoid scanning\n files that have not been modified since the last time the\n JobTrigger executed. This will be based on the time of the\n execution of the last run of the JobTrigger.\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Exclude files, tables, or rows newer than this\n value. If not set, no upper time limit is applied.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Exclude files, tables, or rows older than this\n value. If not set, no lower time limit is applied.\n timestampField:\n type: object\n x-dcl-go-name: TimestampField\n x-dcl-go-type: JobTriggerInspectJobStorageConfigTimespanConfigTimestampField\n description: 'Specification of the field containing the timestamp\n of scanned items. Used for data sources like Datastore and\n BigQuery. For BigQuery: If this value is not specified and\n the table was modified between the given start and end times,\n the entire table will be scanned. If this value is specified,\n then rows are filtered based on the given start and end times.\n Rows with a `NULL` value in the provided BigQuery column are\n skipped. Valid data types of the provided BigQuery column\n are: `INTEGER`, `DATE`, `TIMESTAMP`, and `DATETIME`. For Datastore:\n If this value is specified, then entities are filtered based\n on the given start and end times. If an entity does not contain\n the provided timestamp property or contains empty or invalid\n values, then it is included. Valid data types of the provided\n timestamp property are: `TIMESTAMP`.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n readOnly: true\n description: Output only. The timestamp of the last time this trigger executed.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Unique resource name for the triggeredJob, assigned by the\n service when the triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/53234423`.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: JobTriggerStatusEnum\n description: 'Required. A status for this trigger. Possible values: STATUS_UNSPECIFIED,\n HEALTHY, PAUSED, CANCELLED'\n x-kubernetes-immutable: true\n enum:\n - STATUS_UNSPECIFIED\n - HEALTHY\n - PAUSED\n - CANCELLED\n triggers:\n type: array\n x-dcl-go-name: Triggers\n description: A list of triggers which will be OR'ed together. Only one in\n the list needs to trigger for a job to be started. The list may contain\n only a single Schedule trigger and must have at least one object.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerTriggers\n properties:\n manual:\n type: object\n x-dcl-go-name: Manual\n x-dcl-go-type: JobTriggerTriggersManual\n description: For use with hybrid jobs. Jobs must be manually created\n and finished.\n x-dcl-conflicts:\n - schedule\n x-dcl-send-empty: true\n schedule:\n type: object\n x-dcl-go-name: Schedule\n x-dcl-go-type: JobTriggerTriggersSchedule\n description: Create a job on a repeating basis based on the elapse\n of time.\n x-dcl-conflicts:\n - manual\n properties:\n recurrencePeriodDuration:\n type: string\n x-dcl-go-name: RecurrencePeriodDuration\n description: 'With this option a job is started a regular periodic\n basis. For example: every day (86400 seconds). A scheduled start\n time will be skipped if the previous execution has not ended\n when its scheduled time occurs. This value must be set to a\n time duration greater than or equal to 1 day and can be no longer\n than 60 days.'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of a triggeredJob.\n x-kubernetes-immutable: true\n") -// 88750 bytes -// MD5: e19cbe70aa838f1e99e6c8f6090d5453 +// 88775 bytes +// MD5: 88ca71cf1fe845c1fff987c92e895bba diff --git a/services/google/dlp/alpha/job_trigger_schema.go b/services/google/dlp/alpha/job_trigger_schema.go index cd7d3d0377..0f9f7193a9 100755 --- a/services/google/dlp/alpha/job_trigger_schema.go +++ b/services/google/dlp/alpha/job_trigger_schema.go @@ -23,6 +23,7 @@ func DCLJobTriggerSchema() *dcl.Schema { Title: "Dlp/JobTrigger", Description: "The Dlp JobTrigger resource", StructName: "JobTrigger", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dlp/alpha/stored_info_type.yaml b/services/google/dlp/alpha/stored_info_type.yaml index 11800a5708..c0e2882fb3 100755 --- a/services/google/dlp/alpha/stored_info_type.yaml +++ b/services/google/dlp/alpha/stored_info_type.yaml @@ -15,6 +15,7 @@ info: title: Dlp/StoredInfoType description: The Dlp StoredInfoType resource x-dcl-struct-name: StoredInfoType + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dlp/alpha/stored_info_type_alpha_yaml_embed.go b/services/google/dlp/alpha/stored_info_type_alpha_yaml_embed.go index 179a34afff..c5b8142971 100755 --- a/services/google/dlp/alpha/stored_info_type_alpha_yaml_embed.go +++ b/services/google/dlp/alpha/stored_info_type_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dlp/alpha/stored_info_type.yaml -var YAML_stored_info_type = []byte("info:\n title: Dlp/StoredInfoType\n description: The Dlp StoredInfoType resource\n x-dcl-struct-name: StoredInfoType\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n apply:\n description: The function used to apply information about a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n delete:\n description: The function used to delete a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n deleteAll:\n description: The function used to delete all StoredInfoType\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many StoredInfoType\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n StoredInfoType:\n title: StoredInfoType\n x-dcl-id: '{{parent}}/storedInfoTypes/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the StoredInfoType (max 256 characters).\n x-kubernetes-immutable: true\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: StoredInfoTypeDictionary\n description: Store dictionary-based CustomInfoType.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - largeCustomDictionary\n - regex\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: StoredInfoTypeDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud Storage. Only\n a single file is accepted.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - wordList\n required:\n - path\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards) in\n Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n x-kubernetes-immutable: true\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: StoredInfoTypeDictionaryWordList\n description: List of words or phrases to search for.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudStoragePath\n required:\n - words\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary. The dictionary\n must contain at least one phrase and every phrase must contain\n at least 2 characters that are letters or digits. [required]\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the StoredInfoType (max 256 characters).\n x-kubernetes-immutable: true\n largeCustomDictionary:\n type: object\n x-dcl-go-name: LargeCustomDictionary\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionary\n description: StoredInfoType where findings are defined by a dictionary of\n phrases.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n bigQueryField:\n type: object\n x-dcl-go-name: BigQueryField\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryField\n description: Field in a BigQuery table where each cell represents a\n dictionary phrase.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudStorageFileSet\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryFieldField\n description: Designated field in the BigQuery table.\n x-kubernetes-immutable: true\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n x-kubernetes-immutable: true\n table:\n type: object\n x-dcl-go-name: Table\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryFieldTable\n description: Source table of the field.\n x-kubernetes-immutable: true\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID of the project\n containing the table. If omitted, project ID is inferred from\n the API call.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n cloudStorageFileSet:\n type: object\n x-dcl-go-name: CloudStorageFileSet\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryCloudStorageFileSet\n description: Set of files containing newline-delimited lists of dictionary\n phrases.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - bigQueryField\n required:\n - url\n properties:\n url:\n type: string\n x-dcl-go-name: Url\n description: The url, in the format `gs:///`. Trailing wildcard\n in the path is allowed.\n x-kubernetes-immutable: true\n outputPath:\n type: object\n x-dcl-go-name: OutputPath\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryOutputPath\n description: Location to store dictionary artifacts in Google Cloud\n Storage. These files will only be accessible by project owners and\n the DLP API. If any of these artifacts are modified, the dictionary\n is considered invalid and can no longer be used.\n x-kubernetes-immutable: true\n required:\n - path\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards) in\n Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: StoredInfoTypeRegex\n description: Store regular expression-based StoredInfoType.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - largeCustomDictionary\n - dictionary\n required:\n - pattern\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings. When\n not specified, the entire match is returned. No more than 3 may be\n included.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on GitHub.\n x-kubernetes-immutable: true\n") +var YAML_stored_info_type = []byte("info:\n title: Dlp/StoredInfoType\n description: The Dlp StoredInfoType resource\n x-dcl-struct-name: StoredInfoType\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n apply:\n description: The function used to apply information about a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n delete:\n description: The function used to delete a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n deleteAll:\n description: The function used to delete all StoredInfoType\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many StoredInfoType\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n StoredInfoType:\n title: StoredInfoType\n x-dcl-id: '{{parent}}/storedInfoTypes/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the StoredInfoType (max 256 characters).\n x-kubernetes-immutable: true\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: StoredInfoTypeDictionary\n description: Store dictionary-based CustomInfoType.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - largeCustomDictionary\n - regex\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: StoredInfoTypeDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud Storage. Only\n a single file is accepted.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - wordList\n required:\n - path\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards) in\n Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n x-kubernetes-immutable: true\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: StoredInfoTypeDictionaryWordList\n description: List of words or phrases to search for.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudStoragePath\n required:\n - words\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary. The dictionary\n must contain at least one phrase and every phrase must contain\n at least 2 characters that are letters or digits. [required]\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the StoredInfoType (max 256 characters).\n x-kubernetes-immutable: true\n largeCustomDictionary:\n type: object\n x-dcl-go-name: LargeCustomDictionary\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionary\n description: StoredInfoType where findings are defined by a dictionary of\n phrases.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n bigQueryField:\n type: object\n x-dcl-go-name: BigQueryField\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryField\n description: Field in a BigQuery table where each cell represents a\n dictionary phrase.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudStorageFileSet\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryFieldField\n description: Designated field in the BigQuery table.\n x-kubernetes-immutable: true\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n x-kubernetes-immutable: true\n table:\n type: object\n x-dcl-go-name: Table\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryFieldTable\n description: Source table of the field.\n x-kubernetes-immutable: true\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID of the project\n containing the table. If omitted, project ID is inferred from\n the API call.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n cloudStorageFileSet:\n type: object\n x-dcl-go-name: CloudStorageFileSet\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryCloudStorageFileSet\n description: Set of files containing newline-delimited lists of dictionary\n phrases.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - bigQueryField\n required:\n - url\n properties:\n url:\n type: string\n x-dcl-go-name: Url\n description: The url, in the format `gs:///`. Trailing wildcard\n in the path is allowed.\n x-kubernetes-immutable: true\n outputPath:\n type: object\n x-dcl-go-name: OutputPath\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryOutputPath\n description: Location to store dictionary artifacts in Google Cloud\n Storage. These files will only be accessible by project owners and\n the DLP API. If any of these artifacts are modified, the dictionary\n is considered invalid and can no longer be used.\n x-kubernetes-immutable: true\n required:\n - path\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards) in\n Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: StoredInfoTypeRegex\n description: Store regular expression-based StoredInfoType.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - largeCustomDictionary\n - dictionary\n required:\n - pattern\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings. When\n not specified, the entire match is returned. No more than 3 may be\n included.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on GitHub.\n x-kubernetes-immutable: true\n") -// 10507 bytes -// MD5: dd0b1d1d3cf77469038fca8a0942707b +// 10532 bytes +// MD5: 6df8dd68b97d16140f3cdf1db4fe856e diff --git a/services/google/dlp/alpha/stored_info_type_schema.go b/services/google/dlp/alpha/stored_info_type_schema.go index 2761bd4397..59cff2e4b0 100755 --- a/services/google/dlp/alpha/stored_info_type_schema.go +++ b/services/google/dlp/alpha/stored_info_type_schema.go @@ -23,6 +23,7 @@ func DCLStoredInfoTypeSchema() *dcl.Schema { Title: "Dlp/StoredInfoType", Description: "The Dlp StoredInfoType resource", StructName: "StoredInfoType", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dlp/beta/deidentify_template.yaml b/services/google/dlp/beta/deidentify_template.yaml index dbb428a4db..ac983d18ec 100755 --- a/services/google/dlp/beta/deidentify_template.yaml +++ b/services/google/dlp/beta/deidentify_template.yaml @@ -15,6 +15,7 @@ info: title: Dlp/DeidentifyTemplate description: The Dlp DeidentifyTemplate resource x-dcl-struct-name: DeidentifyTemplate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dlp/beta/deidentify_template_beta_yaml_embed.go b/services/google/dlp/beta/deidentify_template_beta_yaml_embed.go index 42948e8fc5..ba7aea9ef9 100755 --- a/services/google/dlp/beta/deidentify_template_beta_yaml_embed.go +++ b/services/google/dlp/beta/deidentify_template_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dlp/beta/deidentify_template.yaml -var YAML_deidentify_template = []byte("info:\n title: Dlp/DeidentifyTemplate\n description: The Dlp DeidentifyTemplate resource\n x-dcl-struct-name: DeidentifyTemplate\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n apply:\n description: The function used to apply information about a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n delete:\n description: The function used to delete a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n deleteAll:\n description: The function used to delete all DeidentifyTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many DeidentifyTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n DeidentifyTemplate:\n title: DeidentifyTemplate\n x-dcl-id: '{{parent}}/deidentifyTemplates/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n deidentifyConfig:\n type: object\n x-dcl-go-name: DeidentifyConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfig\n description: The core content of the template.\n properties:\n infoTypeTransformations:\n type: object\n x-dcl-go-name: InfoTypeTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformations\n description: Treat the dataset as free-form text and apply the same\n free text transformation everywhere.\n x-dcl-conflicts:\n - recordTransformations\n required:\n - transformations\n properties:\n transformations:\n type: array\n x-dcl-go-name: Transformations\n description: Required. Transformation for each infoType. Cannot\n specify more than one for a given infoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformations\n required:\n - primitiveTransformation\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoTypes to apply the transformation to. An\n empty list will cause this transformation to apply to all\n findings that correspond to infoTypes that were requested\n in `InspectConfig`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a\n name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformation\n description: Required. Primitive transformation to apply to\n the infoType.\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range, exclusive;\n type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range, inclusive.\n Type should be the same as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement value for\n this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items in this\n list will be skipped when replacing characters.\n For example, if the input string is `555-555-5555`\n and you instruct Cloud DLP to skip `-` and mask\n 5 characters with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform when\n masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to not transform\n when masking. Useful to avoid removing punctuation.\n Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the sensitive\n values—for example, `*` for an alphabetic string\n such as a name, or `0` for a numeric string such\n as ZIP code or credit card number. This string must\n have a length of 1. If not supplied, this value\n defaults to `*` for strings, and `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask. If not\n set, all matching chars will be masked. Skipped\n characters do not count towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse order. For\n example, if `masking_character` is `0`, `number_to_mask`\n is `14`, and `reverse_order` is `false`, then the\n input string `1234-5678-9012-3456` is masked as\n `00000000000000-3456`. If `masking_character` is\n `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is masked as\n `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for higher security\n and maintaining referential integrity such that\n the same identifier in two different contexts will\n be given a distinct surrogate. The context is appended\n to plaintext value being encrypted. On decryption\n the provided context is validated against the value\n used during encryption. If a context was provided\n during encryption, same context must be provided\n during decryption as well. If the context is not\n set, plaintext would be used as is for encryption.\n If the context is set but: 1. there is no record\n present when transforming a given value or 2. the\n field is not present when transforming a given value,\n plaintext would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption function.\n For deterministic encryption using AES-SIV, the\n provided key is internally expanded to 64 bytes\n prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom info type followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: {info type name}({surrogate character\n count}):{surrogate} For example, if the name of\n custom info type is ''MY_TOKEN_INFO_TYPE'' and the\n surrogate is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This annotation\n identifies the surrogate when inspecting content\n using the custom info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs in free\n text. Note: For record transformations where the\n entire cell in a table is being transformed, surrogates\n are not mandatory. Surrogates are used to denote\n the location of the token and are necessary for\n re-identification in free form text. In order for\n inspection to work properly, the name of this info\n type must not occur naturally anywhere in your data;\n otherwise, inspection may either - reverse a surrogate\n that does not correspond to an actual identifier\n - be unable to parse the surrogate and result in\n an error Therefore, choose your custom info type\n name carefully after considering what your data\n looks like. One way to select a name that has a\n high chance of yielding reliable detection is to\n include one or more unicode characters that are\n highly improbable to exist in your data. For example,\n assuming your data is entered from a regular ASCII\n keyboard, the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may be used\n for higher security since the same identifier in\n two different contexts won''t be given the same\n surrogate. If the context is not set, a default\n tweak will be used. If the context is set but: 1.\n there is no record present when transforming a given\n value or 1. the field is not present when transforming\n a given value, a default tweak will be used. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced field\n may be of value type integer or string. The tweak\n is constructed as a sequence of bytes in big endian\n byte order such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 - a string\n is encoded in UTF-8 format followed by a single\n byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the encryption\n algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping these to\n the alphanumeric characters that the FFX mode natively\n supports. This happens before/after encryption/decryption.\n Each character listed must appear only once. Number\n of characters must be in the range [2, 95]. This\n must be encoded as ASCII. The order of characters\n does not matter. The full list of allowed characters\n is: ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the alphabet.\n Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom infoType followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full replacement\n value will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This\n annotation identifies the surrogate when inspecting\n content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate when\n it occurs in free text. In order for inspection\n to work properly, the name of this infoType must\n not occur naturally anywhere in your data; otherwise,\n inspection may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose your\n custom infoType name carefully after considering\n what your data looks like. One way to select a name\n that has a high chance of yielding reliable detection\n is to include one or more unicode characters that\n are highly improbable to exist in your data. For\n example, assuming your data is entered from a regular\n ASCII keyboard, the symbol with the hex code point\n 29DD might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains the\n context, for example, an entity id. If set, must\n also set cryptoKey. If set, shift will be consistent\n for the given context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed based\n on this key and the context. This results in the\n same shift for the same context and crypto_key.\n If set, must also set context. Can only be applied\n to table items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means shift\n date to at most 5 days back in the past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in days. Actual\n shift will be selected at random within this range\n (inclusive ends). Negative means shift to earlier\n in time. Must not be more than 365250 days (1000\n years) each direction. For example, 3 means shift\n date to at most 3 days into the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket (except\n for minimum and maximum buckets). So if `lower_bound`\n = 10, `upper_bound` = 89, and `bucket_size` = 10,\n then the following buckets would be used: -10, 10-20,\n 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89,\n 89+. Precision up to 2 decimals works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value of buckets.\n All values less than `lower_bound` are grouped together\n into a single bucket; for example if `lower_bound`\n = 10, then all values less than 10 are replaced\n with the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value of buckets.\n All values greater than upper_bound are grouped\n together into a single bucket; for example if `upper_bound`\n = 89, then all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep. Possible\n values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH,\n DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n recordTransformations:\n type: object\n x-dcl-go-name: RecordTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformations\n description: Treat the dataset as structured. Transformations can be\n applied to specific locations within structured datasets, such as\n transforming a column within a table.\n x-dcl-conflicts:\n - infoTypeTransformations\n properties:\n fieldTransformations:\n type: array\n x-dcl-go-name: FieldTransformations\n description: Transform the record by applying various field transformations.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformations\n required:\n - fields\n properties:\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsCondition\n description: 'Only apply the transformation if the condition\n evaluates to true for the given `RecordCondition`. The conditions\n are allowed to reference fields that are not used in the\n actual transformation. Example Use Cases: - Apply a different\n bucket transformation to an age column if the zip code column\n for the same record is within a specific range. - Redact\n a field if the date of birth field is greater than 85.'\n properties:\n expressions:\n type: object\n x-dcl-go-name: Expressions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressions\n description: An expression.\n properties:\n conditions:\n type: object\n x-dcl-go-name: Conditions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditions\n description: Conditions to apply to the expression.\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n description: A collection of conditions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditions\n required:\n - field\n - operator\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsField\n description: Required. Field within the\n record this condition is evaluated against.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n operator:\n type: string\n x-dcl-go-name: Operator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsOperatorEnum\n description: 'Required. Operator used to\n compare the field or infoType to the value.\n Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n value:\n type: object\n x-dcl-go-name: Value\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValue\n description: Value to compare against. [Mandatory,\n except for `EXISTS` tests.]\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n logicalOperator:\n type: string\n x-dcl-go-name: LogicalOperator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsLogicalOperatorEnum\n description: 'The operator to apply to the result\n of conditions. Default and currently only supported\n value is `AND`. Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n fields:\n type: array\n x-dcl-go-name: Fields\n description: Required. Input field(s) to apply the transformation\n to. When you have columns that reference their position\n within a list, omit the index from the FieldId. FieldId\n name matching ignores the index. For example, instead of\n \"contact.nums[0].type\", use \"contact.nums.type\".\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n infoTypeTransformations:\n type: object\n x-dcl-go-name: InfoTypeTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformations\n description: Treat the contents of the field as free text,\n and selectively transform content that matches an `InfoType`.\n x-dcl-conflicts:\n - primitiveTransformation\n required:\n - transformations\n properties:\n transformations:\n type: array\n x-dcl-go-name: Transformations\n description: Required. Transformation for each infoType.\n Cannot specify more than one for a given infoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformations\n required:\n - primitiveTransformation\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoTypes to apply the transformation\n to. An empty list will cause this transformation\n to apply to all findings that correspond to infoTypes\n that were requested in `InspectConfig`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when creating\n a CustomInfoType, or one of the names listed\n at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformation\n description: Required. Primitive transformation\n to apply to the infoType.\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must\n be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range,\n exclusive; type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range,\n inclusive. Type should be the same\n as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement\n value for this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items\n in this list will be skipped when replacing\n characters. For example, if the input\n string is `555-555-5555` and you instruct\n Cloud DLP to skip `-` and mask 5 characters\n with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform\n when masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to\n not transform when masking. Useful\n to avoid removing punctuation. Possible\n values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the\n sensitive values—for example, `*` for\n an alphabetic string such as a name, or\n `0` for a numeric string such as ZIP code\n or credit card number. This string must\n have a length of 1. If not supplied, this\n value defaults to `*` for strings, and\n `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask.\n If not set, all matching chars will be\n masked. Skipped characters do not count\n towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse\n order. For example, if `masking_character`\n is `0`, `number_to_mask` is `14`, and\n `reverse_order` is `false`, then the input\n string `1234-5678-9012-3456` is masked\n as `00000000000000-3456`. If `masking_character`\n is `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is\n masked as `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for\n higher security and maintaining referential\n integrity such that the same identifier\n in two different contexts will be given\n a distinct surrogate. The context is appended\n to plaintext value being encrypted. On\n decryption the provided context is validated\n against the value used during encryption.\n If a context was provided during encryption,\n same context must be provided during decryption\n as well. If the context is not set, plaintext\n would be used as is for encryption. If\n the context is set but: 1. there is no\n record present when transforming a given\n value or 2. the field is not present when\n transforming a given value, plaintext\n would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption\n function. For deterministic encryption\n using AES-SIV, the provided key is internally\n expanded to 64 bytes prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate\n the surrogate with. This annotation will\n be applied to the surrogate by prefixing\n it with the name of the custom info type\n followed by the number of characters comprising\n the surrogate. The following scheme defines\n the format: {info type name}({surrogate\n character count}):{surrogate} For example,\n if the name of custom info type is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full\n replacement value will be: ''MY_TOKEN_INFO_TYPE(3):abc''\n This annotation identifies the surrogate\n when inspecting content using the custom\n info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs\n in free text. Note: For record transformations\n where the entire cell in a table is being\n transformed, surrogates are not mandatory.\n Surrogates are used to denote the location\n of the token and are necessary for re-identification\n in free form text. In order for inspection\n to work properly, the name of this info\n type must not occur naturally anywhere\n in your data; otherwise, inspection may\n either - reverse a surrogate that does\n not correspond to an actual identifier\n - be unable to parse the surrogate and\n result in an error Therefore, choose your\n custom info type name carefully after\n considering what your data looks like.\n One way to select a name that has a high\n chance of yielding reliable detection\n is to include one or more unicode characters\n that are highly improbable to exist in\n your data. For example, assuming your\n data is entered from a regular ASCII keyboard,\n the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information\n type. Either a name of your choosing\n when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data\n Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible\n values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may\n be used for higher security since the\n same identifier in two different contexts\n won''t be given the same surrogate. If\n the context is not set, a default tweak\n will be used. If the context is set but:\n 1. there is no record present when transforming\n a given value or 1. the field is not present\n when transforming a given value, a default\n tweak will be used. Note that case (1)\n is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced\n field may be of value type integer or\n string. The tweak is constructed as a\n sequence of bytes in big endian byte order\n such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 -\n a string is encoded in UTF-8 format followed\n by a single byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the\n encryption algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping\n these to the alphanumeric characters that\n the FFX mode natively supports. This happens\n before/after encryption/decryption. Each\n character listed must appear only once.\n Number of characters must be in the range\n [2, 95]. This must be encoded as ASCII.\n The order of characters does not matter.\n The full list of allowed characters is:\n ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the\n alphabet. Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate\n the surrogate with. This annotation will\n be applied to the surrogate by prefixing\n it with the name of the custom infoType\n followed by the number of characters comprising\n the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType\n is ''MY_TOKEN_INFO_TYPE'' and the surrogate\n is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc''\n This annotation identifies the surrogate\n when inspecting content using the custom\n infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate\n when it occurs in free text. In order\n for inspection to work properly, the name\n of this infoType must not occur naturally\n anywhere in your data; otherwise, inspection\n may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose\n your custom infoType name carefully after\n considering what your data looks like.\n One way to select a name that has a high\n chance of yielding reliable detection\n is to include one or more unicode characters\n that are highly improbable to exist in\n your data. For example, assuming your\n data is entered from a regular ASCII keyboard,\n the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information\n type. Either a name of your choosing\n when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data\n Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains\n the context, for example, an entity id.\n If set, must also set cryptoKey. If set,\n shift will be consistent for the given\n context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed\n based on this key and the context. This\n results in the same shift for the same\n context and crypto_key. If set, must also\n set context. Can only be applied to table\n items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means\n shift date to at most 5 days back in the\n past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in\n days. Actual shift will be selected at\n random within this range (inclusive ends).\n Negative means shift to earlier in time.\n Must not be more than 365250 days (1000\n years) each direction. For example, 3\n means shift date to at most 3 days into\n the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket\n (except for minimum and maximum buckets).\n So if `lower_bound` = 10, `upper_bound`\n = 89, and `bucket_size` = 10, then the\n following buckets would be used: -10,\n 10-20, 20-30, 30-40, 40-50, 50-60, 60-70,\n 70-80, 80-89, 89+. Precision up to 2 decimals\n works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value\n of buckets. All values less than `lower_bound`\n are grouped together into a single bucket;\n for example if `lower_bound` = 10, then\n all values less than 10 are replaced with\n the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value\n of buckets. All values greater than upper_bound\n are grouped together into a single bucket;\n for example if `upper_bound` = 89, then\n all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep.\n Possible values: TIME_PART_UNSPECIFIED,\n YEAR, MONTH, DAY_OF_MONTH, DAY_OF_WEEK,\n WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformation\n description: Apply the transformation to the entire field.\n x-dcl-conflicts:\n - infoTypeTransformations\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range, exclusive;\n type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range, inclusive.\n Type should be the same as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement value for\n this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items in this\n list will be skipped when replacing characters.\n For example, if the input string is `555-555-5555`\n and you instruct Cloud DLP to skip `-` and mask\n 5 characters with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform when\n masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to not transform\n when masking. Useful to avoid removing punctuation.\n Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the sensitive\n values—for example, `*` for an alphabetic string\n such as a name, or `0` for a numeric string such\n as ZIP code or credit card number. This string must\n have a length of 1. If not supplied, this value\n defaults to `*` for strings, and `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask. If not\n set, all matching chars will be masked. Skipped\n characters do not count towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse order. For\n example, if `masking_character` is `0`, `number_to_mask`\n is `14`, and `reverse_order` is `false`, then the\n input string `1234-5678-9012-3456` is masked as\n `00000000000000-3456`. If `masking_character` is\n `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is masked as\n `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for higher security\n and maintaining referential integrity such that\n the same identifier in two different contexts will\n be given a distinct surrogate. The context is appended\n to plaintext value being encrypted. On decryption\n the provided context is validated against the value\n used during encryption. If a context was provided\n during encryption, same context must be provided\n during decryption as well. If the context is not\n set, plaintext would be used as is for encryption.\n If the context is set but: 1. there is no record\n present when transforming a given value or 2. the\n field is not present when transforming a given value,\n plaintext would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption function.\n For deterministic encryption using AES-SIV, the\n provided key is internally expanded to 64 bytes\n prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom info type followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: {info type name}({surrogate character\n count}):{surrogate} For example, if the name of\n custom info type is ''MY_TOKEN_INFO_TYPE'' and the\n surrogate is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This annotation\n identifies the surrogate when inspecting content\n using the custom info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs in free\n text. Note: For record transformations where the\n entire cell in a table is being transformed, surrogates\n are not mandatory. Surrogates are used to denote\n the location of the token and are necessary for\n re-identification in free form text. In order for\n inspection to work properly, the name of this info\n type must not occur naturally anywhere in your data;\n otherwise, inspection may either - reverse a surrogate\n that does not correspond to an actual identifier\n - be unable to parse the surrogate and result in\n an error Therefore, choose your custom info type\n name carefully after considering what your data\n looks like. One way to select a name that has a\n high chance of yielding reliable detection is to\n include one or more unicode characters that are\n highly improbable to exist in your data. For example,\n assuming your data is entered from a regular ASCII\n keyboard, the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may be used\n for higher security since the same identifier in\n two different contexts won''t be given the same\n surrogate. If the context is not set, a default\n tweak will be used. If the context is set but: 1.\n there is no record present when transforming a given\n value or 1. the field is not present when transforming\n a given value, a default tweak will be used. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced field\n may be of value type integer or string. The tweak\n is constructed as a sequence of bytes in big endian\n byte order such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 - a string\n is encoded in UTF-8 format followed by a single\n byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the encryption\n algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping these to\n the alphanumeric characters that the FFX mode natively\n supports. This happens before/after encryption/decryption.\n Each character listed must appear only once. Number\n of characters must be in the range [2, 95]. This\n must be encoded as ASCII. The order of characters\n does not matter. The full list of allowed characters\n is: ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the alphabet.\n Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom infoType followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full replacement\n value will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This\n annotation identifies the surrogate when inspecting\n content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate when\n it occurs in free text. In order for inspection\n to work properly, the name of this infoType must\n not occur naturally anywhere in your data; otherwise,\n inspection may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose your\n custom infoType name carefully after considering\n what your data looks like. One way to select a name\n that has a high chance of yielding reliable detection\n is to include one or more unicode characters that\n are highly improbable to exist in your data. For\n example, assuming your data is entered from a regular\n ASCII keyboard, the symbol with the hex code point\n 29DD might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains the\n context, for example, an entity id. If set, must\n also set cryptoKey. If set, shift will be consistent\n for the given context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed based\n on this key and the context. This results in the\n same shift for the same context and crypto_key.\n If set, must also set context. Can only be applied\n to table items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means shift\n date to at most 5 days back in the past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in days. Actual\n shift will be selected at random within this range\n (inclusive ends). Negative means shift to earlier\n in time. Must not be more than 365250 days (1000\n years) each direction. For example, 3 means shift\n date to at most 3 days into the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket (except\n for minimum and maximum buckets). So if `lower_bound`\n = 10, `upper_bound` = 89, and `bucket_size` = 10,\n then the following buckets would be used: -10, 10-20,\n 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89,\n 89+. Precision up to 2 decimals works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value of buckets.\n All values less than `lower_bound` are grouped together\n into a single bucket; for example if `lower_bound`\n = 10, then all values less than 10 are replaced\n with the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value of buckets.\n All values greater than upper_bound are grouped\n together into a single bucket; for example if `upper_bound`\n = 89, then all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep. Possible\n values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH,\n DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n recordSuppressions:\n type: array\n x-dcl-go-name: RecordSuppressions\n description: Configuration defining which records get suppressed\n entirely. Records that match any suppression rule are omitted\n from the output.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressions\n properties:\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsCondition\n description: A condition that when it evaluates to true will\n result in the record being evaluated to be suppressed from\n the transformed content.\n properties:\n expressions:\n type: object\n x-dcl-go-name: Expressions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressions\n description: An expression.\n properties:\n conditions:\n type: object\n x-dcl-go-name: Conditions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditions\n description: Conditions to apply to the expression.\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n description: A collection of conditions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditions\n required:\n - field\n - operator\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsField\n description: Required. Field within the\n record this condition is evaluated against.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n operator:\n type: string\n x-dcl-go-name: Operator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsOperatorEnum\n description: 'Required. Operator used to\n compare the field or infoType to the value.\n Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n value:\n type: object\n x-dcl-go-name: Value\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValue\n description: Value to compare against. [Mandatory,\n except for `EXISTS` tests.]\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n logicalOperator:\n type: string\n x-dcl-go-name: LogicalOperator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsLogicalOperatorEnum\n description: 'The operator to apply to the result\n of conditions. Default and currently only supported\n value is `AND`. Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n transformationErrorHandling:\n type: object\n x-dcl-go-name: TransformationErrorHandling\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandling\n description: Mode for handling transformation errors. If left unspecified,\n the default mode is `TransformationErrorHandling.ThrowError`.\n properties:\n leaveUntransformed:\n type: object\n x-dcl-go-name: LeaveUntransformed\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandlingLeaveUntransformed\n description: Ignore errors\n x-dcl-conflicts:\n - throwError\n throwError:\n type: object\n x-dcl-go-name: ThrowError\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandlingThrowError\n description: Throw an error\n x-dcl-conflicts:\n - leaveUntransformed\n description:\n type: string\n x-dcl-go-name: Description\n description: Short description (max 256 chars).\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 256 chars).\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The template name. The template will have one\n of the following formats: `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID`\n OR `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n") +var YAML_deidentify_template = []byte("info:\n title: Dlp/DeidentifyTemplate\n description: The Dlp DeidentifyTemplate resource\n x-dcl-struct-name: DeidentifyTemplate\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n apply:\n description: The function used to apply information about a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n delete:\n description: The function used to delete a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n deleteAll:\n description: The function used to delete all DeidentifyTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many DeidentifyTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n DeidentifyTemplate:\n title: DeidentifyTemplate\n x-dcl-id: '{{parent}}/deidentifyTemplates/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n deidentifyConfig:\n type: object\n x-dcl-go-name: DeidentifyConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfig\n description: The core content of the template.\n properties:\n infoTypeTransformations:\n type: object\n x-dcl-go-name: InfoTypeTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformations\n description: Treat the dataset as free-form text and apply the same\n free text transformation everywhere.\n x-dcl-conflicts:\n - recordTransformations\n required:\n - transformations\n properties:\n transformations:\n type: array\n x-dcl-go-name: Transformations\n description: Required. Transformation for each infoType. Cannot\n specify more than one for a given infoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformations\n required:\n - primitiveTransformation\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoTypes to apply the transformation to. An\n empty list will cause this transformation to apply to all\n findings that correspond to infoTypes that were requested\n in `InspectConfig`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a\n name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformation\n description: Required. Primitive transformation to apply to\n the infoType.\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range, exclusive;\n type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range, inclusive.\n Type should be the same as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement value for\n this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items in this\n list will be skipped when replacing characters.\n For example, if the input string is `555-555-5555`\n and you instruct Cloud DLP to skip `-` and mask\n 5 characters with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform when\n masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to not transform\n when masking. Useful to avoid removing punctuation.\n Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the sensitive\n values—for example, `*` for an alphabetic string\n such as a name, or `0` for a numeric string such\n as ZIP code or credit card number. This string must\n have a length of 1. If not supplied, this value\n defaults to `*` for strings, and `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask. If not\n set, all matching chars will be masked. Skipped\n characters do not count towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse order. For\n example, if `masking_character` is `0`, `number_to_mask`\n is `14`, and `reverse_order` is `false`, then the\n input string `1234-5678-9012-3456` is masked as\n `00000000000000-3456`. If `masking_character` is\n `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is masked as\n `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for higher security\n and maintaining referential integrity such that\n the same identifier in two different contexts will\n be given a distinct surrogate. The context is appended\n to plaintext value being encrypted. On decryption\n the provided context is validated against the value\n used during encryption. If a context was provided\n during encryption, same context must be provided\n during decryption as well. If the context is not\n set, plaintext would be used as is for encryption.\n If the context is set but: 1. there is no record\n present when transforming a given value or 2. the\n field is not present when transforming a given value,\n plaintext would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption function.\n For deterministic encryption using AES-SIV, the\n provided key is internally expanded to 64 bytes\n prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom info type followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: {info type name}({surrogate character\n count}):{surrogate} For example, if the name of\n custom info type is ''MY_TOKEN_INFO_TYPE'' and the\n surrogate is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This annotation\n identifies the surrogate when inspecting content\n using the custom info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs in free\n text. Note: For record transformations where the\n entire cell in a table is being transformed, surrogates\n are not mandatory. Surrogates are used to denote\n the location of the token and are necessary for\n re-identification in free form text. In order for\n inspection to work properly, the name of this info\n type must not occur naturally anywhere in your data;\n otherwise, inspection may either - reverse a surrogate\n that does not correspond to an actual identifier\n - be unable to parse the surrogate and result in\n an error Therefore, choose your custom info type\n name carefully after considering what your data\n looks like. One way to select a name that has a\n high chance of yielding reliable detection is to\n include one or more unicode characters that are\n highly improbable to exist in your data. For example,\n assuming your data is entered from a regular ASCII\n keyboard, the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may be used\n for higher security since the same identifier in\n two different contexts won''t be given the same\n surrogate. If the context is not set, a default\n tweak will be used. If the context is set but: 1.\n there is no record present when transforming a given\n value or 1. the field is not present when transforming\n a given value, a default tweak will be used. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced field\n may be of value type integer or string. The tweak\n is constructed as a sequence of bytes in big endian\n byte order such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 - a string\n is encoded in UTF-8 format followed by a single\n byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the encryption\n algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping these to\n the alphanumeric characters that the FFX mode natively\n supports. This happens before/after encryption/decryption.\n Each character listed must appear only once. Number\n of characters must be in the range [2, 95]. This\n must be encoded as ASCII. The order of characters\n does not matter. The full list of allowed characters\n is: ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the alphabet.\n Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom infoType followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full replacement\n value will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This\n annotation identifies the surrogate when inspecting\n content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate when\n it occurs in free text. In order for inspection\n to work properly, the name of this infoType must\n not occur naturally anywhere in your data; otherwise,\n inspection may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose your\n custom infoType name carefully after considering\n what your data looks like. One way to select a name\n that has a high chance of yielding reliable detection\n is to include one or more unicode characters that\n are highly improbable to exist in your data. For\n example, assuming your data is entered from a regular\n ASCII keyboard, the symbol with the hex code point\n 29DD might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains the\n context, for example, an entity id. If set, must\n also set cryptoKey. If set, shift will be consistent\n for the given context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed based\n on this key and the context. This results in the\n same shift for the same context and crypto_key.\n If set, must also set context. Can only be applied\n to table items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means shift\n date to at most 5 days back in the past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in days. Actual\n shift will be selected at random within this range\n (inclusive ends). Negative means shift to earlier\n in time. Must not be more than 365250 days (1000\n years) each direction. For example, 3 means shift\n date to at most 3 days into the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket (except\n for minimum and maximum buckets). So if `lower_bound`\n = 10, `upper_bound` = 89, and `bucket_size` = 10,\n then the following buckets would be used: -10, 10-20,\n 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89,\n 89+. Precision up to 2 decimals works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value of buckets.\n All values less than `lower_bound` are grouped together\n into a single bucket; for example if `lower_bound`\n = 10, then all values less than 10 are replaced\n with the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value of buckets.\n All values greater than upper_bound are grouped\n together into a single bucket; for example if `upper_bound`\n = 89, then all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep. Possible\n values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH,\n DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n recordTransformations:\n type: object\n x-dcl-go-name: RecordTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformations\n description: Treat the dataset as structured. Transformations can be\n applied to specific locations within structured datasets, such as\n transforming a column within a table.\n x-dcl-conflicts:\n - infoTypeTransformations\n properties:\n fieldTransformations:\n type: array\n x-dcl-go-name: FieldTransformations\n description: Transform the record by applying various field transformations.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformations\n required:\n - fields\n properties:\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsCondition\n description: 'Only apply the transformation if the condition\n evaluates to true for the given `RecordCondition`. The conditions\n are allowed to reference fields that are not used in the\n actual transformation. Example Use Cases: - Apply a different\n bucket transformation to an age column if the zip code column\n for the same record is within a specific range. - Redact\n a field if the date of birth field is greater than 85.'\n properties:\n expressions:\n type: object\n x-dcl-go-name: Expressions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressions\n description: An expression.\n properties:\n conditions:\n type: object\n x-dcl-go-name: Conditions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditions\n description: Conditions to apply to the expression.\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n description: A collection of conditions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditions\n required:\n - field\n - operator\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsField\n description: Required. Field within the\n record this condition is evaluated against.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n operator:\n type: string\n x-dcl-go-name: Operator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsOperatorEnum\n description: 'Required. Operator used to\n compare the field or infoType to the value.\n Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n value:\n type: object\n x-dcl-go-name: Value\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValue\n description: Value to compare against. [Mandatory,\n except for `EXISTS` tests.]\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n logicalOperator:\n type: string\n x-dcl-go-name: LogicalOperator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsLogicalOperatorEnum\n description: 'The operator to apply to the result\n of conditions. Default and currently only supported\n value is `AND`. Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n fields:\n type: array\n x-dcl-go-name: Fields\n description: Required. Input field(s) to apply the transformation\n to. When you have columns that reference their position\n within a list, omit the index from the FieldId. FieldId\n name matching ignores the index. For example, instead of\n \"contact.nums[0].type\", use \"contact.nums.type\".\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n infoTypeTransformations:\n type: object\n x-dcl-go-name: InfoTypeTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformations\n description: Treat the contents of the field as free text,\n and selectively transform content that matches an `InfoType`.\n x-dcl-conflicts:\n - primitiveTransformation\n required:\n - transformations\n properties:\n transformations:\n type: array\n x-dcl-go-name: Transformations\n description: Required. Transformation for each infoType.\n Cannot specify more than one for a given infoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformations\n required:\n - primitiveTransformation\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoTypes to apply the transformation\n to. An empty list will cause this transformation\n to apply to all findings that correspond to infoTypes\n that were requested in `InspectConfig`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when creating\n a CustomInfoType, or one of the names listed\n at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformation\n description: Required. Primitive transformation\n to apply to the infoType.\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must\n be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range,\n exclusive; type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range,\n inclusive. Type should be the same\n as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement\n value for this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items\n in this list will be skipped when replacing\n characters. For example, if the input\n string is `555-555-5555` and you instruct\n Cloud DLP to skip `-` and mask 5 characters\n with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform\n when masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to\n not transform when masking. Useful\n to avoid removing punctuation. Possible\n values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the\n sensitive values—for example, `*` for\n an alphabetic string such as a name, or\n `0` for a numeric string such as ZIP code\n or credit card number. This string must\n have a length of 1. If not supplied, this\n value defaults to `*` for strings, and\n `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask.\n If not set, all matching chars will be\n masked. Skipped characters do not count\n towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse\n order. For example, if `masking_character`\n is `0`, `number_to_mask` is `14`, and\n `reverse_order` is `false`, then the input\n string `1234-5678-9012-3456` is masked\n as `00000000000000-3456`. If `masking_character`\n is `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is\n masked as `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for\n higher security and maintaining referential\n integrity such that the same identifier\n in two different contexts will be given\n a distinct surrogate. The context is appended\n to plaintext value being encrypted. On\n decryption the provided context is validated\n against the value used during encryption.\n If a context was provided during encryption,\n same context must be provided during decryption\n as well. If the context is not set, plaintext\n would be used as is for encryption. If\n the context is set but: 1. there is no\n record present when transforming a given\n value or 2. the field is not present when\n transforming a given value, plaintext\n would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption\n function. For deterministic encryption\n using AES-SIV, the provided key is internally\n expanded to 64 bytes prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate\n the surrogate with. This annotation will\n be applied to the surrogate by prefixing\n it with the name of the custom info type\n followed by the number of characters comprising\n the surrogate. The following scheme defines\n the format: {info type name}({surrogate\n character count}):{surrogate} For example,\n if the name of custom info type is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full\n replacement value will be: ''MY_TOKEN_INFO_TYPE(3):abc''\n This annotation identifies the surrogate\n when inspecting content using the custom\n info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs\n in free text. Note: For record transformations\n where the entire cell in a table is being\n transformed, surrogates are not mandatory.\n Surrogates are used to denote the location\n of the token and are necessary for re-identification\n in free form text. In order for inspection\n to work properly, the name of this info\n type must not occur naturally anywhere\n in your data; otherwise, inspection may\n either - reverse a surrogate that does\n not correspond to an actual identifier\n - be unable to parse the surrogate and\n result in an error Therefore, choose your\n custom info type name carefully after\n considering what your data looks like.\n One way to select a name that has a high\n chance of yielding reliable detection\n is to include one or more unicode characters\n that are highly improbable to exist in\n your data. For example, assuming your\n data is entered from a regular ASCII keyboard,\n the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information\n type. Either a name of your choosing\n when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data\n Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible\n values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may\n be used for higher security since the\n same identifier in two different contexts\n won''t be given the same surrogate. If\n the context is not set, a default tweak\n will be used. If the context is set but:\n 1. there is no record present when transforming\n a given value or 1. the field is not present\n when transforming a given value, a default\n tweak will be used. Note that case (1)\n is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced\n field may be of value type integer or\n string. The tweak is constructed as a\n sequence of bytes in big endian byte order\n such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 -\n a string is encoded in UTF-8 format followed\n by a single byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the\n encryption algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping\n these to the alphanumeric characters that\n the FFX mode natively supports. This happens\n before/after encryption/decryption. Each\n character listed must appear only once.\n Number of characters must be in the range\n [2, 95]. This must be encoded as ASCII.\n The order of characters does not matter.\n The full list of allowed characters is:\n ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the\n alphabet. Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate\n the surrogate with. This annotation will\n be applied to the surrogate by prefixing\n it with the name of the custom infoType\n followed by the number of characters comprising\n the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType\n is ''MY_TOKEN_INFO_TYPE'' and the surrogate\n is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc''\n This annotation identifies the surrogate\n when inspecting content using the custom\n infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate\n when it occurs in free text. In order\n for inspection to work properly, the name\n of this infoType must not occur naturally\n anywhere in your data; otherwise, inspection\n may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose\n your custom infoType name carefully after\n considering what your data looks like.\n One way to select a name that has a high\n chance of yielding reliable detection\n is to include one or more unicode characters\n that are highly improbable to exist in\n your data. For example, assuming your\n data is entered from a regular ASCII keyboard,\n the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information\n type. Either a name of your choosing\n when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data\n Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains\n the context, for example, an entity id.\n If set, must also set cryptoKey. If set,\n shift will be consistent for the given\n context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed\n based on this key and the context. This\n results in the same shift for the same\n context and crypto_key. If set, must also\n set context. Can only be applied to table\n items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means\n shift date to at most 5 days back in the\n past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in\n days. Actual shift will be selected at\n random within this range (inclusive ends).\n Negative means shift to earlier in time.\n Must not be more than 365250 days (1000\n years) each direction. For example, 3\n means shift date to at most 3 days into\n the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket\n (except for minimum and maximum buckets).\n So if `lower_bound` = 10, `upper_bound`\n = 89, and `bucket_size` = 10, then the\n following buckets would be used: -10,\n 10-20, 20-30, 30-40, 40-50, 50-60, 60-70,\n 70-80, 80-89, 89+. Precision up to 2 decimals\n works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value\n of buckets. All values less than `lower_bound`\n are grouped together into a single bucket;\n for example if `lower_bound` = 10, then\n all values less than 10 are replaced with\n the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value\n of buckets. All values greater than upper_bound\n are grouped together into a single bucket;\n for example if `upper_bound` = 89, then\n all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep.\n Possible values: TIME_PART_UNSPECIFIED,\n YEAR, MONTH, DAY_OF_MONTH, DAY_OF_WEEK,\n WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformation\n description: Apply the transformation to the entire field.\n x-dcl-conflicts:\n - infoTypeTransformations\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range, exclusive;\n type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range, inclusive.\n Type should be the same as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement value for\n this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items in this\n list will be skipped when replacing characters.\n For example, if the input string is `555-555-5555`\n and you instruct Cloud DLP to skip `-` and mask\n 5 characters with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform when\n masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to not transform\n when masking. Useful to avoid removing punctuation.\n Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the sensitive\n values—for example, `*` for an alphabetic string\n such as a name, or `0` for a numeric string such\n as ZIP code or credit card number. This string must\n have a length of 1. If not supplied, this value\n defaults to `*` for strings, and `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask. If not\n set, all matching chars will be masked. Skipped\n characters do not count towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse order. For\n example, if `masking_character` is `0`, `number_to_mask`\n is `14`, and `reverse_order` is `false`, then the\n input string `1234-5678-9012-3456` is masked as\n `00000000000000-3456`. If `masking_character` is\n `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is masked as\n `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for higher security\n and maintaining referential integrity such that\n the same identifier in two different contexts will\n be given a distinct surrogate. The context is appended\n to plaintext value being encrypted. On decryption\n the provided context is validated against the value\n used during encryption. If a context was provided\n during encryption, same context must be provided\n during decryption as well. If the context is not\n set, plaintext would be used as is for encryption.\n If the context is set but: 1. there is no record\n present when transforming a given value or 2. the\n field is not present when transforming a given value,\n plaintext would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption function.\n For deterministic encryption using AES-SIV, the\n provided key is internally expanded to 64 bytes\n prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom info type followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: {info type name}({surrogate character\n count}):{surrogate} For example, if the name of\n custom info type is ''MY_TOKEN_INFO_TYPE'' and the\n surrogate is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This annotation\n identifies the surrogate when inspecting content\n using the custom info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs in free\n text. Note: For record transformations where the\n entire cell in a table is being transformed, surrogates\n are not mandatory. Surrogates are used to denote\n the location of the token and are necessary for\n re-identification in free form text. In order for\n inspection to work properly, the name of this info\n type must not occur naturally anywhere in your data;\n otherwise, inspection may either - reverse a surrogate\n that does not correspond to an actual identifier\n - be unable to parse the surrogate and result in\n an error Therefore, choose your custom info type\n name carefully after considering what your data\n looks like. One way to select a name that has a\n high chance of yielding reliable detection is to\n include one or more unicode characters that are\n highly improbable to exist in your data. For example,\n assuming your data is entered from a regular ASCII\n keyboard, the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may be used\n for higher security since the same identifier in\n two different contexts won''t be given the same\n surrogate. If the context is not set, a default\n tweak will be used. If the context is set but: 1.\n there is no record present when transforming a given\n value or 1. the field is not present when transforming\n a given value, a default tweak will be used. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced field\n may be of value type integer or string. The tweak\n is constructed as a sequence of bytes in big endian\n byte order such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 - a string\n is encoded in UTF-8 format followed by a single\n byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the encryption\n algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping these to\n the alphanumeric characters that the FFX mode natively\n supports. This happens before/after encryption/decryption.\n Each character listed must appear only once. Number\n of characters must be in the range [2, 95]. This\n must be encoded as ASCII. The order of characters\n does not matter. The full list of allowed characters\n is: ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the alphabet.\n Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom infoType followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full replacement\n value will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This\n annotation identifies the surrogate when inspecting\n content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate when\n it occurs in free text. In order for inspection\n to work properly, the name of this infoType must\n not occur naturally anywhere in your data; otherwise,\n inspection may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose your\n custom infoType name carefully after considering\n what your data looks like. One way to select a name\n that has a high chance of yielding reliable detection\n is to include one or more unicode characters that\n are highly improbable to exist in your data. For\n example, assuming your data is entered from a regular\n ASCII keyboard, the symbol with the hex code point\n 29DD might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains the\n context, for example, an entity id. If set, must\n also set cryptoKey. If set, shift will be consistent\n for the given context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed based\n on this key and the context. This results in the\n same shift for the same context and crypto_key.\n If set, must also set context. Can only be applied\n to table items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means shift\n date to at most 5 days back in the past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in days. Actual\n shift will be selected at random within this range\n (inclusive ends). Negative means shift to earlier\n in time. Must not be more than 365250 days (1000\n years) each direction. For example, 3 means shift\n date to at most 3 days into the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket (except\n for minimum and maximum buckets). So if `lower_bound`\n = 10, `upper_bound` = 89, and `bucket_size` = 10,\n then the following buckets would be used: -10, 10-20,\n 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89,\n 89+. Precision up to 2 decimals works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value of buckets.\n All values less than `lower_bound` are grouped together\n into a single bucket; for example if `lower_bound`\n = 10, then all values less than 10 are replaced\n with the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value of buckets.\n All values greater than upper_bound are grouped\n together into a single bucket; for example if `upper_bound`\n = 89, then all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep. Possible\n values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH,\n DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n recordSuppressions:\n type: array\n x-dcl-go-name: RecordSuppressions\n description: Configuration defining which records get suppressed\n entirely. Records that match any suppression rule are omitted\n from the output.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressions\n properties:\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsCondition\n description: A condition that when it evaluates to true will\n result in the record being evaluated to be suppressed from\n the transformed content.\n properties:\n expressions:\n type: object\n x-dcl-go-name: Expressions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressions\n description: An expression.\n properties:\n conditions:\n type: object\n x-dcl-go-name: Conditions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditions\n description: Conditions to apply to the expression.\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n description: A collection of conditions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditions\n required:\n - field\n - operator\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsField\n description: Required. Field within the\n record this condition is evaluated against.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n operator:\n type: string\n x-dcl-go-name: Operator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsOperatorEnum\n description: 'Required. Operator used to\n compare the field or infoType to the value.\n Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n value:\n type: object\n x-dcl-go-name: Value\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValue\n description: Value to compare against. [Mandatory,\n except for `EXISTS` tests.]\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n logicalOperator:\n type: string\n x-dcl-go-name: LogicalOperator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsLogicalOperatorEnum\n description: 'The operator to apply to the result\n of conditions. Default and currently only supported\n value is `AND`. Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n transformationErrorHandling:\n type: object\n x-dcl-go-name: TransformationErrorHandling\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandling\n description: Mode for handling transformation errors. If left unspecified,\n the default mode is `TransformationErrorHandling.ThrowError`.\n properties:\n leaveUntransformed:\n type: object\n x-dcl-go-name: LeaveUntransformed\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandlingLeaveUntransformed\n description: Ignore errors\n x-dcl-conflicts:\n - throwError\n throwError:\n type: object\n x-dcl-go-name: ThrowError\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandlingThrowError\n description: Throw an error\n x-dcl-conflicts:\n - leaveUntransformed\n description:\n type: string\n x-dcl-go-name: Description\n description: Short description (max 256 chars).\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 256 chars).\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The template name. The template will have one\n of the following formats: `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID`\n OR `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n") -// 422529 bytes -// MD5: 5dc6672c4f1fe72e1184f6382e14a878 +// 422554 bytes +// MD5: 073c2da7da614c6731550b9763ce677c diff --git a/services/google/dlp/beta/deidentify_template_schema.go b/services/google/dlp/beta/deidentify_template_schema.go index a68ce97e2e..623e9b9542 100755 --- a/services/google/dlp/beta/deidentify_template_schema.go +++ b/services/google/dlp/beta/deidentify_template_schema.go @@ -23,6 +23,7 @@ func DCLDeidentifyTemplateSchema() *dcl.Schema { Title: "Dlp/DeidentifyTemplate", Description: "The Dlp DeidentifyTemplate resource", StructName: "DeidentifyTemplate", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dlp/beta/inspect_template.yaml b/services/google/dlp/beta/inspect_template.yaml index 278fb3a658..30c800b20b 100755 --- a/services/google/dlp/beta/inspect_template.yaml +++ b/services/google/dlp/beta/inspect_template.yaml @@ -15,6 +15,7 @@ info: title: Dlp/InspectTemplate description: The Dlp InspectTemplate resource x-dcl-struct-name: InspectTemplate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dlp/beta/inspect_template_beta_yaml_embed.go b/services/google/dlp/beta/inspect_template_beta_yaml_embed.go index ff134f6d3a..44a348040c 100755 --- a/services/google/dlp/beta/inspect_template_beta_yaml_embed.go +++ b/services/google/dlp/beta/inspect_template_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dlp/beta/inspect_template.yaml -var YAML_inspect_template = []byte("info:\n title: Dlp/InspectTemplate\n description: The Dlp InspectTemplate resource\n x-dcl-struct-name: InspectTemplate\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n apply:\n description: The function used to apply information about a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n delete:\n description: The function used to delete a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n deleteAll:\n description: The function used to delete all InspectTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InspectTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InspectTemplate:\n title: InspectTemplate\n x-dcl-id: '{{parent}}/inspectTemplates/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Short description (max 256 chars).\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 256 chars).\n inspectConfig:\n type: object\n x-dcl-go-name: InspectConfig\n x-dcl-go-type: InspectTemplateInspectConfig\n description: The core content of the template. Configuration of the scanning\n process.\n properties:\n contentOptions:\n type: array\n x-dcl-go-name: ContentOptions\n description: List of options defining data content to scan. If empty,\n text, images, and other content will be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: InspectTemplateInspectConfigContentOptionsEnum\n enum:\n - CONTENT_UNSPECIFIED\n - CONTENT_TEXT\n - CONTENT_IMAGE\n customInfoTypes:\n type: array\n x-dcl-go-name: CustomInfoTypes\n description: CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes\n to learn more.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypes\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionary\n description: A list of phrases to detect as a CustomInfoType.\n x-dcl-conflicts:\n - regex\n - surrogateType\n - storedType\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud Storage.\n Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards)\n in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionaryWordList\n description: List of words or phrases to search for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase and\n every phrase must contain at least 2 characters that\n are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusionType:\n type: string\n x-dcl-go-name: ExclusionType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesExclusionTypeEnum\n description: 'If set to EXCLUSION_TYPE_EXCLUDE this infoType will\n not cause a finding to be returned. It still can be used for\n rules matching. Possible values: EXCLUSION_TYPE_UNSPECIFIED,\n EXCLUSION_TYPE_EXCLUDE'\n enum:\n - EXCLUSION_TYPE_UNSPECIFIED\n - EXCLUSION_TYPE_EXCLUDE\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesInfoType\n description: CustomInfoType can either be a new infoType, or an\n extension of built-in infoType, when the name matches one of\n existing infoTypes and that infoType is specified in `InspectContent.info_types`\n field. Specifying the latter adds findings to the one detected\n by the system. If built-in info type is not specified in `InspectContent.info_types`\n list then the name is treated as a custom info type.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of\n your choosing when creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform to\n the pattern `[A-Za-z0-9$-_]{1,64}`.\n likelihood:\n type: string\n x-dcl-go-name: Likelihood\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesLikelihoodEnum\n description: 'Likelihood to return for this CustomInfoType. This\n base value can be altered by a detection rule if the finding\n meets the criteria specified by the rule. Defaults to `VERY_LIKELY`\n if not specified. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesRegex\n description: Regular expression based CustomInfoType.\n x-dcl-conflicts:\n - dictionary\n - surrogateType\n - storedType\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings.\n When not specified, the entire match is returned. No more\n than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression. Its\n syntax (https://github.com/google/re2/wiki/Syntax) can be\n found under the google/re2 repository on GitHub.\n storedType:\n type: object\n x-dcl-go-name: StoredType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesStoredType\n description: Load an existing `StoredInfoType` resource for use\n in `InspectDataSource`. Not currently supported in `InspectContent`.\n x-dcl-conflicts:\n - dictionary\n - regex\n - surrogateType\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Timestamp indicating when the version of the\n `StoredInfoType` used for inspection was created. Output-only\n field, populated by the system.\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name of the requested `StoredInfoType`,\n for example `organizations/433245324/storedInfoTypes/432452342`\n or `projects/project-id/storedInfoTypes/432452342`.\n surrogateType:\n type: object\n x-dcl-go-name: SurrogateType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesSurrogateType\n description: Message for detecting output from deidentification\n transformations that support reversing.\n x-dcl-conflicts:\n - dictionary\n - regex\n - storedType\n excludeInfoTypes:\n type: boolean\n x-dcl-go-name: ExcludeInfoTypes\n description: When true, excludes type information of the findings.\n includeQuote:\n type: boolean\n x-dcl-go-name: IncludeQuote\n description: When true, a contextual quote from the data that triggered\n a finding is included in the response; see Finding.quote.\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: Restricts what info_types to look for. The values must\n correspond to InfoType values returned by ListInfoTypes or listed\n at https://cloud.google.com/dlp/docs/infotypes-reference. When no\n InfoTypes or CustomInfoTypes are specified in a request, the system\n may automatically choose what detectors to run. By default this may\n be all types, but may change over time as detectors are updated. If\n you need precise control and predictability as to what detectors are\n run you should specify specific InfoTypes listed in the reference,\n otherwise a default list will be used, which may change over time.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of your\n choosing when creating a CustomInfoType, or one of the names\n listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP results\n to Data Catalog, infoType names should conform to the pattern\n `[A-Za-z0-9$-_]{1,64}`.\n limits:\n type: object\n x-dcl-go-name: Limits\n x-dcl-go-type: InspectTemplateInspectConfigLimits\n description: Configuration to control the number of findings returned.\n properties:\n maxFindingsPerInfoType:\n type: array\n x-dcl-go-name: MaxFindingsPerInfoType\n description: Configuration of findings limit given for specified\n infoTypes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigLimitsMaxFindingsPerInfoType\n properties:\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: InspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeInfoType\n description: Type of information the findings limit applies\n to. Only one limit per info_type should be provided. If\n InfoTypeLimit does not have an info_type, the DLP API applies\n the limit against all info_types that are found but not\n specified in another InfoTypeLimit.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n maxFindings:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindings\n description: Max findings limit for the given infoType.\n maxFindingsPerItem:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerItem\n description: Max number of findings that will be returned for each\n item scanned. When set within `InspectJobConfig`, the maximum\n returned is 2000 regardless if this is set higher. When set within\n `InspectContentRequest`, this field is ignored.\n maxFindingsPerRequest:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerRequest\n description: Max number of findings that will be returned per request/job.\n When set within `InspectContentRequest`, the maximum returned\n is 2000 regardless if this is set higher.\n minLikelihood:\n type: string\n x-dcl-go-name: MinLikelihood\n x-dcl-go-type: InspectTemplateInspectConfigMinLikelihoodEnum\n description: 'Only returns findings equal or above this threshold. The\n default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood\n to learn more. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n ruleSet:\n type: array\n x-dcl-go-name: RuleSet\n description: Set of rules to apply to the findings for this InspectConfig.\n Exclusion rules, contained in the set are executed in the end, other\n rules are executed in the order they are specified for each info type.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSet\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: List of infoTypes this rule set is applied to.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or one\n of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Set of rules to be applied to infoTypes. The rules\n are applied in order.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRules\n properties:\n exclusionRule:\n type: object\n x-dcl-go-name: ExclusionRule\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRule\n description: Exclusion rule.\n x-dcl-conflicts:\n - hotwordRule\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionary\n description: Dictionary which defines the rule.\n x-dcl-conflicts:\n - regex\n - excludeInfoTypes\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionaryCloudStoragePath\n description: Newline-delimited file of words in\n Cloud Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path\n (no wildcards) in Cloud Storage. Example:\n gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionaryWordList\n description: List of words or phrases to search\n for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase\n and every phrase must contain at least 2 characters\n that are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludeInfoTypes:\n type: object\n x-dcl-go-name: ExcludeInfoTypes\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes\n description: Set of infoTypes for which findings would\n affect this rule.\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoType list in ExclusionRule rule\n drops a finding when it overlaps or contained\n within with a finding of an infoType from this\n list. For example, for `InspectionRuleSet.info_types`\n containing \"PHONE_NUMBER\"` and `exclusion_rule`\n containing `exclude_info_types.info_types` with\n \"EMAIL_ADDRESS\" the phone number findings are\n dropped if they overlap with EMAIL_ADDRESS finding.\n That leads to \"555-222-2222@example.org\" to generate\n only a single finding, namely email address.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypesInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when creating\n a CustomInfoType, or one of the names listed\n at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n matchingType:\n type: string\n x-dcl-go-name: MatchingType\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleMatchingTypeEnum\n description: 'How the rule is applied, see MatchingType\n documentation for details. Possible values: MATCHING_TYPE_UNSPECIFIED,\n MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH,\n MATCHING_TYPE_INVERSE_MATCH'\n enum:\n - MATCHING_TYPE_UNSPECIFIED\n - MATCHING_TYPE_FULL_MATCH\n - MATCHING_TYPE_PARTIAL_MATCH\n - MATCHING_TYPE_INVERSE_MATCH\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleRegex\n description: Regular expression which defines the rule.\n x-dcl-conflicts:\n - dictionary\n - excludeInfoTypes\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire match\n is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on\n GitHub.\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRule\n x-dcl-conflicts:\n - exclusionRule\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining what\n qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire match\n is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on\n GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all matching\n findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding to\n a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the detection\n rule and `relative_likelihood` is 1, then it is\n upgraded to `LIKELY`, while a value of -1 would\n downgrade it to `UNLIKELY`. Likelihood may never\n drop below `VERY_UNLIKELY` or exceed `VERY_LIKELY`,\n so applying an adjustment of 1 followed by an\n adjustment of -1 when base likelihood is `VERY_LIKELY`\n will result in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleProximity\n description: Proximity of the finding within which the\n entire hotword must reside. The total length of the\n window cannot exceed 1000 characters. Note that the\n finding itself will be included in the window, so\n that hotwords may be used to match substrings of the\n finding itself. For example, the certainty of a phone\n number regex \"(d{3}) d{3}-d{4}\" could be adjusted\n upwards if the area code is known to be the local\n area code of a company office using the hotword regex\n \"(xxx)\", where \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the finding\n to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the finding\n to consider.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The template name. The template will have one of the following\n formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n") +var YAML_inspect_template = []byte("info:\n title: Dlp/InspectTemplate\n description: The Dlp InspectTemplate resource\n x-dcl-struct-name: InspectTemplate\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n apply:\n description: The function used to apply information about a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n delete:\n description: The function used to delete a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n deleteAll:\n description: The function used to delete all InspectTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InspectTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InspectTemplate:\n title: InspectTemplate\n x-dcl-id: '{{parent}}/inspectTemplates/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Short description (max 256 chars).\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 256 chars).\n inspectConfig:\n type: object\n x-dcl-go-name: InspectConfig\n x-dcl-go-type: InspectTemplateInspectConfig\n description: The core content of the template. Configuration of the scanning\n process.\n properties:\n contentOptions:\n type: array\n x-dcl-go-name: ContentOptions\n description: List of options defining data content to scan. If empty,\n text, images, and other content will be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: InspectTemplateInspectConfigContentOptionsEnum\n enum:\n - CONTENT_UNSPECIFIED\n - CONTENT_TEXT\n - CONTENT_IMAGE\n customInfoTypes:\n type: array\n x-dcl-go-name: CustomInfoTypes\n description: CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes\n to learn more.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypes\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionary\n description: A list of phrases to detect as a CustomInfoType.\n x-dcl-conflicts:\n - regex\n - surrogateType\n - storedType\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud Storage.\n Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards)\n in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionaryWordList\n description: List of words or phrases to search for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase and\n every phrase must contain at least 2 characters that\n are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusionType:\n type: string\n x-dcl-go-name: ExclusionType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesExclusionTypeEnum\n description: 'If set to EXCLUSION_TYPE_EXCLUDE this infoType will\n not cause a finding to be returned. It still can be used for\n rules matching. Possible values: EXCLUSION_TYPE_UNSPECIFIED,\n EXCLUSION_TYPE_EXCLUDE'\n enum:\n - EXCLUSION_TYPE_UNSPECIFIED\n - EXCLUSION_TYPE_EXCLUDE\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesInfoType\n description: CustomInfoType can either be a new infoType, or an\n extension of built-in infoType, when the name matches one of\n existing infoTypes and that infoType is specified in `InspectContent.info_types`\n field. Specifying the latter adds findings to the one detected\n by the system. If built-in info type is not specified in `InspectContent.info_types`\n list then the name is treated as a custom info type.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of\n your choosing when creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform to\n the pattern `[A-Za-z0-9$-_]{1,64}`.\n likelihood:\n type: string\n x-dcl-go-name: Likelihood\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesLikelihoodEnum\n description: 'Likelihood to return for this CustomInfoType. This\n base value can be altered by a detection rule if the finding\n meets the criteria specified by the rule. Defaults to `VERY_LIKELY`\n if not specified. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesRegex\n description: Regular expression based CustomInfoType.\n x-dcl-conflicts:\n - dictionary\n - surrogateType\n - storedType\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings.\n When not specified, the entire match is returned. No more\n than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression. Its\n syntax (https://github.com/google/re2/wiki/Syntax) can be\n found under the google/re2 repository on GitHub.\n storedType:\n type: object\n x-dcl-go-name: StoredType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesStoredType\n description: Load an existing `StoredInfoType` resource for use\n in `InspectDataSource`. Not currently supported in `InspectContent`.\n x-dcl-conflicts:\n - dictionary\n - regex\n - surrogateType\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Timestamp indicating when the version of the\n `StoredInfoType` used for inspection was created. Output-only\n field, populated by the system.\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name of the requested `StoredInfoType`,\n for example `organizations/433245324/storedInfoTypes/432452342`\n or `projects/project-id/storedInfoTypes/432452342`.\n surrogateType:\n type: object\n x-dcl-go-name: SurrogateType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesSurrogateType\n description: Message for detecting output from deidentification\n transformations that support reversing.\n x-dcl-conflicts:\n - dictionary\n - regex\n - storedType\n excludeInfoTypes:\n type: boolean\n x-dcl-go-name: ExcludeInfoTypes\n description: When true, excludes type information of the findings.\n includeQuote:\n type: boolean\n x-dcl-go-name: IncludeQuote\n description: When true, a contextual quote from the data that triggered\n a finding is included in the response; see Finding.quote.\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: Restricts what info_types to look for. The values must\n correspond to InfoType values returned by ListInfoTypes or listed\n at https://cloud.google.com/dlp/docs/infotypes-reference. When no\n InfoTypes or CustomInfoTypes are specified in a request, the system\n may automatically choose what detectors to run. By default this may\n be all types, but may change over time as detectors are updated. If\n you need precise control and predictability as to what detectors are\n run you should specify specific InfoTypes listed in the reference,\n otherwise a default list will be used, which may change over time.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of your\n choosing when creating a CustomInfoType, or one of the names\n listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP results\n to Data Catalog, infoType names should conform to the pattern\n `[A-Za-z0-9$-_]{1,64}`.\n limits:\n type: object\n x-dcl-go-name: Limits\n x-dcl-go-type: InspectTemplateInspectConfigLimits\n description: Configuration to control the number of findings returned.\n properties:\n maxFindingsPerInfoType:\n type: array\n x-dcl-go-name: MaxFindingsPerInfoType\n description: Configuration of findings limit given for specified\n infoTypes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigLimitsMaxFindingsPerInfoType\n properties:\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: InspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeInfoType\n description: Type of information the findings limit applies\n to. Only one limit per info_type should be provided. If\n InfoTypeLimit does not have an info_type, the DLP API applies\n the limit against all info_types that are found but not\n specified in another InfoTypeLimit.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n maxFindings:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindings\n description: Max findings limit for the given infoType.\n maxFindingsPerItem:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerItem\n description: Max number of findings that will be returned for each\n item scanned. When set within `InspectJobConfig`, the maximum\n returned is 2000 regardless if this is set higher. When set within\n `InspectContentRequest`, this field is ignored.\n maxFindingsPerRequest:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerRequest\n description: Max number of findings that will be returned per request/job.\n When set within `InspectContentRequest`, the maximum returned\n is 2000 regardless if this is set higher.\n minLikelihood:\n type: string\n x-dcl-go-name: MinLikelihood\n x-dcl-go-type: InspectTemplateInspectConfigMinLikelihoodEnum\n description: 'Only returns findings equal or above this threshold. The\n default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood\n to learn more. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n ruleSet:\n type: array\n x-dcl-go-name: RuleSet\n description: Set of rules to apply to the findings for this InspectConfig.\n Exclusion rules, contained in the set are executed in the end, other\n rules are executed in the order they are specified for each info type.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSet\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: List of infoTypes this rule set is applied to.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or one\n of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Set of rules to be applied to infoTypes. The rules\n are applied in order.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRules\n properties:\n exclusionRule:\n type: object\n x-dcl-go-name: ExclusionRule\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRule\n description: Exclusion rule.\n x-dcl-conflicts:\n - hotwordRule\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionary\n description: Dictionary which defines the rule.\n x-dcl-conflicts:\n - regex\n - excludeInfoTypes\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionaryCloudStoragePath\n description: Newline-delimited file of words in\n Cloud Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path\n (no wildcards) in Cloud Storage. Example:\n gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionaryWordList\n description: List of words or phrases to search\n for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase\n and every phrase must contain at least 2 characters\n that are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludeInfoTypes:\n type: object\n x-dcl-go-name: ExcludeInfoTypes\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes\n description: Set of infoTypes for which findings would\n affect this rule.\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoType list in ExclusionRule rule\n drops a finding when it overlaps or contained\n within with a finding of an infoType from this\n list. For example, for `InspectionRuleSet.info_types`\n containing \"PHONE_NUMBER\"` and `exclusion_rule`\n containing `exclude_info_types.info_types` with\n \"EMAIL_ADDRESS\" the phone number findings are\n dropped if they overlap with EMAIL_ADDRESS finding.\n That leads to \"555-222-2222@example.org\" to generate\n only a single finding, namely email address.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypesInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when creating\n a CustomInfoType, or one of the names listed\n at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n matchingType:\n type: string\n x-dcl-go-name: MatchingType\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleMatchingTypeEnum\n description: 'How the rule is applied, see MatchingType\n documentation for details. Possible values: MATCHING_TYPE_UNSPECIFIED,\n MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH,\n MATCHING_TYPE_INVERSE_MATCH'\n enum:\n - MATCHING_TYPE_UNSPECIFIED\n - MATCHING_TYPE_FULL_MATCH\n - MATCHING_TYPE_PARTIAL_MATCH\n - MATCHING_TYPE_INVERSE_MATCH\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleRegex\n description: Regular expression which defines the rule.\n x-dcl-conflicts:\n - dictionary\n - excludeInfoTypes\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire match\n is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on\n GitHub.\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRule\n x-dcl-conflicts:\n - exclusionRule\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining what\n qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire match\n is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on\n GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all matching\n findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding to\n a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the detection\n rule and `relative_likelihood` is 1, then it is\n upgraded to `LIKELY`, while a value of -1 would\n downgrade it to `UNLIKELY`. Likelihood may never\n drop below `VERY_UNLIKELY` or exceed `VERY_LIKELY`,\n so applying an adjustment of 1 followed by an\n adjustment of -1 when base likelihood is `VERY_LIKELY`\n will result in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleProximity\n description: Proximity of the finding within which the\n entire hotword must reside. The total length of the\n window cannot exceed 1000 characters. Note that the\n finding itself will be included in the window, so\n that hotwords may be used to match substrings of the\n finding itself. For example, the certainty of a phone\n number regex \"(d{3}) d{3}-d{4}\" could be adjusted\n upwards if the area code is known to be the local\n area code of a company office using the hotword regex\n \"(xxx)\", where \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the finding\n to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the finding\n to consider.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The template name. The template will have one of the following\n formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n") -// 36128 bytes -// MD5: c63e93c3ab1a29486ca1814f7a382fd2 +// 36153 bytes +// MD5: 60dcc845c04b44b45333f9b4f576d0c9 diff --git a/services/google/dlp/beta/inspect_template_schema.go b/services/google/dlp/beta/inspect_template_schema.go index 9f4a09e030..a488ba8fd5 100755 --- a/services/google/dlp/beta/inspect_template_schema.go +++ b/services/google/dlp/beta/inspect_template_schema.go @@ -23,6 +23,7 @@ func DCLInspectTemplateSchema() *dcl.Schema { Title: "Dlp/InspectTemplate", Description: "The Dlp InspectTemplate resource", StructName: "InspectTemplate", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dlp/beta/job_trigger.yaml b/services/google/dlp/beta/job_trigger.yaml index 7894b7618b..0b28c6ab3a 100755 --- a/services/google/dlp/beta/job_trigger.yaml +++ b/services/google/dlp/beta/job_trigger.yaml @@ -15,6 +15,7 @@ info: title: Dlp/JobTrigger description: The Dlp JobTrigger resource x-dcl-struct-name: JobTrigger + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dlp/beta/job_trigger_beta_yaml_embed.go b/services/google/dlp/beta/job_trigger_beta_yaml_embed.go index 864e61e8bd..8d95ff2fbd 100755 --- a/services/google/dlp/beta/job_trigger_beta_yaml_embed.go +++ b/services/google/dlp/beta/job_trigger_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dlp/beta/job_trigger.yaml -var YAML_job_trigger = []byte("info:\n title: Dlp/JobTrigger\n description: The Dlp JobTrigger resource\n x-dcl-struct-name: JobTrigger\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n apply:\n description: The function used to apply information about a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n delete:\n description: The function used to delete a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n deleteAll:\n description: The function used to delete all JobTrigger\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many JobTrigger\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n JobTrigger:\n title: JobTrigger\n x-dcl-id: '{{parent}}/jobTriggers/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - inspectJob\n - triggers\n - status\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of a triggeredJob.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: User provided description (max 256 chars)\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 100 chars)\n errors:\n type: array\n x-dcl-go-name: Errors\n readOnly: true\n description: Output only. A stream of errors encountered when the trigger\n was activated. Repeated errors may result in the JobTrigger automatically\n being paused. Will return the last 100 errors. Whenever the JobTrigger\n is modified this list will be cleared.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerErrors\n properties:\n details:\n type: object\n x-dcl-go-name: Details\n x-dcl-go-type: JobTriggerErrorsDetails\n description: Detailed error codes and messages.\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of\n google.rpc.Code.\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details.\n There is a common set of message types for APIs to use.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerErrorsDetailsDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies\n the type of the serialized protocol buffer message. This\n string must contain at least one \"/\" character. The last\n segment of the URL''s path must represent the fully qualified\n name of the type (as in `path/google.protobuf.Duration`).\n The name should be in a canonical form (e.g., leading\n \".\" is not accepted). In practice, teams usually precompile\n into the binary all types that they expect it to use in\n the context of Any. However, for URLs which use the scheme\n `http`, `https`, or no scheme, one can optionally set\n up a type server that maps type URLs to message definitions\n as follows: * If no scheme is provided, `https` is assumed.\n * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL,\n or have them precompiled into a binary to avoid any lookup.\n Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.) Note: this functionality is not currently\n available in the official protobuf release, and it is\n not used for type URLs beginning with type.googleapis.com.\n Schemes other than `http`, `https` (or the empty scheme)\n might be used with implementation specific semantics.'\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer\n of the above specified type.\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be\n in English. Any user-facing error message should be localized\n and sent in the google.rpc.Status.details field, or localized\n by the client.\n timestamps:\n type: array\n x-dcl-go-name: Timestamps\n description: The times the error occurred.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n format: date-time\n x-dcl-go-type: string\n inspectJob:\n type: object\n x-dcl-go-name: InspectJob\n x-dcl-go-type: JobTriggerInspectJob\n description: For inspect jobs, a snapshot of the configuration.\n required:\n - storageConfig\n properties:\n actions:\n type: array\n x-dcl-go-name: Actions\n description: Actions to execute at the completion of the job.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobActions\n properties:\n jobNotificationEmails:\n type: object\n x-dcl-go-name: JobNotificationEmails\n x-dcl-go-type: JobTriggerInspectJobActionsJobNotificationEmails\n description: Enable email notification for project owners and\n editors on job's completion/failure.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - publishToStackdriver\n x-dcl-send-empty: true\n pubSub:\n type: object\n x-dcl-go-name: PubSub\n x-dcl-go-type: JobTriggerInspectJobActionsPubSub\n description: Publish a notification to a pubsub topic.\n x-dcl-conflicts:\n - saveFindings\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n properties:\n topic:\n type: string\n x-dcl-go-name: Topic\n description: Cloud Pub/Sub topic to send notifications to.\n The topic must have given publishing access rights to the\n DLP API service account executing the long running DlpJob\n sending the notifications. Format is projects/{project}/topics/{topic}.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n publishFindingsToCloudDataCatalog:\n type: object\n x-dcl-go-name: PublishFindingsToCloudDataCatalog\n x-dcl-go-type: JobTriggerInspectJobActionsPublishFindingsToCloudDataCatalog\n description: Publish findings to Cloud Datahub.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - jobNotificationEmails\n - publishToStackdriver\n x-dcl-send-empty: true\n publishSummaryToCscc:\n type: object\n x-dcl-go-name: PublishSummaryToCscc\n x-dcl-go-type: JobTriggerInspectJobActionsPublishSummaryToCscc\n description: Publish summary to Cloud Security Command Center\n (Alpha).\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n x-dcl-send-empty: true\n publishToStackdriver:\n type: object\n x-dcl-go-name: PublishToStackdriver\n x-dcl-go-type: JobTriggerInspectJobActionsPublishToStackdriver\n description: Enable Stackdriver metric dlp.googleapis.com/finding_count.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n x-dcl-send-empty: true\n saveFindings:\n type: object\n x-dcl-go-name: SaveFindings\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindings\n description: Save resulting findings in a provided location.\n x-dcl-conflicts:\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n properties:\n outputConfig:\n type: object\n x-dcl-go-name: OutputConfig\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfig\n description: Location to store findings outside of DLP.\n properties:\n dlpStorage:\n type: object\n x-dcl-go-name: DlpStorage\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigDlpStorage\n description: Store findings directly to DLP. If neither\n this or bigquery is chosen only summary stats of total\n infotype count will be stored. Quotes will not be stored\n to dlp findings. If quotes are needed, store to BigQuery.\n Currently only for inspect jobs.\n x-dcl-conflicts:\n - table\n x-dcl-send-empty: true\n outputSchema:\n type: string\n x-dcl-go-name: OutputSchema\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigOutputSchemaEnum\n description: 'Schema used for writing the findings for\n Inspect jobs. This field is only used for Inspect and\n must be unspecified for Risk jobs. Columns are derived\n from the `Finding` object. If appending to an existing\n table, any columns from the predefined schema that are\n missing will be added. No columns in the existing table\n will be deleted. If unspecified, then all available\n columns will be used for a new table or an (existing)\n table with no schema, and no changes will be made to\n an existing table that has a schema. Only for use with\n external storage. Possible values: OUTPUT_SCHEMA_UNSPECIFIED,\n BASIC_COLUMNS, GCS_COLUMNS, DATASTORE_COLUMNS, BIG_QUERY_COLUMNS,\n ALL_COLUMNS'\n enum:\n - OUTPUT_SCHEMA_UNSPECIFIED\n - BASIC_COLUMNS\n - GCS_COLUMNS\n - DATASTORE_COLUMNS\n - BIG_QUERY_COLUMNS\n - ALL_COLUMNS\n table:\n type: object\n x-dcl-go-name: Table\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigTable\n description: 'Store findings in an existing table or a\n new table in an existing dataset. If table_id is not\n set a new one will be generated for you with the following\n format: dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific\n timezone will be used for generating the date details.\n For Inspect, each column in an existing output table\n must have the same name, type, and mode of a field in\n the `Finding` object. For Risk, an existing output table\n should be the output of a previous Risk analysis job\n run on the same source table, with the same privacy\n metric and quasi-identifiers. Risk jobs that analyze\n the same table but compute a different privacy metric,\n or use different sets of quasi-identifiers, cannot store\n their results in the same table.'\n x-dcl-conflicts:\n - dlpStorage\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID\n of the project containing the table. If omitted,\n project ID is inferred from the API call.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n inspectConfig:\n type: object\n x-dcl-go-name: InspectConfig\n x-dcl-go-type: JobTriggerInspectJobInspectConfig\n description: How and what to scan for.\n properties:\n customInfoTypes:\n type: array\n x-dcl-go-name: CustomInfoTypes\n description: CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes\n to learn more.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypes\n properties:\n detectionRules:\n type: array\n x-dcl-go-name: DetectionRules\n description: Set of detection rules to apply to all findings\n of this CustomInfoType. Rules are applied in order that\n they are specified. Not supported for the `surrogate_type`\n CustomInfoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRules\n properties:\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRule\n description: Hotword-based detection rule.\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining\n what qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all\n matching findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding\n to a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY,\n VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the\n detection rule and `relative_likelihood` is\n 1, then it is upgraded to `LIKELY`, while\n a value of -1 would downgrade it to `UNLIKELY`.\n Likelihood may never drop below `VERY_UNLIKELY`\n or exceed `VERY_LIKELY`, so applying an adjustment\n of 1 followed by an adjustment of -1 when\n base likelihood is `VERY_LIKELY` will result\n in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleProximity\n description: Proximity of the finding within which\n the entire hotword must reside. The total length\n of the window cannot exceed 1000 characters. Note\n that the finding itself will be included in the\n window, so that hotwords may be used to match\n substrings of the finding itself. For example,\n the certainty of a phone number regex \"(d{3})\n d{3}-d{4}\" could be adjusted upwards if the area\n code is known to be the local area code of a company\n office using the hotword regex \"(xxx)\", where\n \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the\n finding to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the\n finding to consider.\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionary\n description: A list of phrases to detect as a CustomInfoType.\n x-dcl-conflicts:\n - regex\n - surrogateType\n - storedType\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud\n Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no\n wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionaryWordList\n description: List of words or phrases to search for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase\n and every phrase must contain at least 2 characters\n that are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusionType:\n type: string\n x-dcl-go-name: ExclusionType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesExclusionTypeEnum\n description: 'If set to EXCLUSION_TYPE_EXCLUDE this infoType\n will not cause a finding to be returned. It still can be\n used for rules matching. Possible values: EXCLUSION_TYPE_UNSPECIFIED,\n EXCLUSION_TYPE_EXCLUDE'\n enum:\n - EXCLUSION_TYPE_UNSPECIFIED\n - EXCLUSION_TYPE_EXCLUDE\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesInfoType\n description: CustomInfoType can either be a new infoType,\n or an extension of built-in infoType, when the name matches\n one of existing infoTypes and that infoType is specified\n in `InspectContent.info_types` field. Specifying the latter\n adds findings to the one detected by the system. If built-in\n info type is not specified in `InspectContent.info_types`\n list then the name is treated as a custom info type.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n likelihood:\n type: string\n x-dcl-go-name: Likelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesLikelihoodEnum\n description: 'Likelihood to return for this CustomInfoType.\n This base value can be altered by a detection rule if the\n finding meets the criteria specified by the rule. Defaults\n to `VERY_LIKELY` if not specified. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesRegex\n description: Regular expression based CustomInfoType.\n x-dcl-conflicts:\n - dictionary\n - surrogateType\n - storedType\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings.\n When not specified, the entire match is returned. No\n more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on GitHub.\n storedType:\n type: object\n x-dcl-go-name: StoredType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesStoredType\n description: Load an existing `StoredInfoType` resource for\n use in `InspectDataSource`. Not currently supported in `InspectContent`.\n x-dcl-conflicts:\n - dictionary\n - regex\n - surrogateType\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Timestamp indicating when the version of\n the `StoredInfoType` used for inspection was created.\n Output-only field, populated by the system.\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name of the requested `StoredInfoType`,\n for example `organizations/433245324/storedInfoTypes/432452342`\n or `projects/project-id/storedInfoTypes/432452342`.\n surrogateType:\n type: object\n x-dcl-go-name: SurrogateType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesSurrogateType\n description: Message for detecting output from deidentification\n transformations that support reversing.\n x-dcl-conflicts:\n - dictionary\n - regex\n - storedType\n x-dcl-send-empty: true\n excludeInfoTypes:\n type: boolean\n x-dcl-go-name: ExcludeInfoTypes\n description: When true, excludes type information of the findings.\n This is not used for data profiling.\n includeQuote:\n type: boolean\n x-dcl-go-name: IncludeQuote\n description: When true, a contextual quote from the data that triggered\n a finding is included in the response; see Finding.quote. This\n is not used for data profiling.\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: Restricts what info_types to look for. The values must\n correspond to InfoType values returned by ListInfoTypes or listed\n at https://cloud.google.com/dlp/docs/infotypes-reference. When\n no InfoTypes or CustomInfoTypes are specified in a request, the\n system may automatically choose what detectors to run. By default\n this may be all types, but may change over time as detectors are\n updated. If you need precise control and predictability as to\n what detectors are run you should specify specific InfoTypes listed\n in the reference, otherwise a default list will be used, which\n may change over time.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of\n your choosing when creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform to\n the pattern `[A-Za-z0-9$-_]{1,64}`.\n limits:\n type: object\n x-dcl-go-name: Limits\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimits\n description: Configuration to control the number of findings returned.\n This is not used for data profiling.\n properties:\n maxFindingsPerInfoType:\n type: array\n x-dcl-go-name: MaxFindingsPerInfoType\n description: Configuration of findings limit given for specified\n infoTypes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoType\n properties:\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoType\n description: Type of information the findings limit applies\n to. Only one limit per info_type should be provided.\n If InfoTypeLimit does not have an info_type, the DLP\n API applies the limit against all info_types that are\n found but not specified in another InfoTypeLimit.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n maxFindings:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindings\n description: Max findings limit for the given infoType.\n maxFindingsPerItem:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerItem\n description: Max number of findings that will be returned for\n each item scanned. When set within `InspectJobConfig`, the\n maximum returned is 2000 regardless if this is set higher.\n When set within `InspectContentRequest`, this field is ignored.\n maxFindingsPerRequest:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerRequest\n description: Max number of findings that will be returned per\n request/job. When set within `InspectContentRequest`, the\n maximum returned is 2000 regardless if this is set higher.\n minLikelihood:\n type: string\n x-dcl-go-name: MinLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigMinLikelihoodEnum\n description: 'Only returns findings equal or above this threshold.\n The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood\n to learn more. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n ruleSet:\n type: array\n x-dcl-go-name: RuleSet\n description: Set of rules to apply to the findings for this InspectConfig.\n Exclusion rules, contained in the set are executed in the end,\n other rules are executed in the order they are specified for each\n info type.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSet\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: List of infoTypes this rule set is applied to.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a\n name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Set of rules to be applied to infoTypes. The\n rules are applied in order.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRules\n properties:\n exclusionRule:\n type: object\n x-dcl-go-name: ExclusionRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRule\n description: Exclusion rule.\n x-dcl-conflicts:\n - hotwordRule\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionary\n description: Dictionary which defines the rule.\n x-dcl-conflicts:\n - regex\n - excludeInfoTypes\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionaryCloudStoragePath\n description: Newline-delimited file of words\n in Cloud Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file\n or path (no wildcards) in Cloud Storage.\n Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionaryWordList\n description: List of words or phrases to search\n for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the\n dictionary. The dictionary must contain\n at least one phrase and every phrase must\n contain at least 2 characters that are\n letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludeInfoTypes:\n type: object\n x-dcl-go-name: ExcludeInfoTypes\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes\n description: Set of infoTypes for which findings\n would affect this rule.\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoType list in ExclusionRule\n rule drops a finding when it overlaps or contained\n within with a finding of an infoType from\n this list. For example, for `InspectionRuleSet.info_types`\n containing \"PHONE_NUMBER\"` and `exclusion_rule`\n containing `exclude_info_types.info_types`\n with \"EMAIL_ADDRESS\" the phone number findings\n are dropped if they overlap with EMAIL_ADDRESS\n finding. That leads to \"555-222-2222@example.org\"\n to generate only a single finding, namely\n email address.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypesInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when\n creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data Catalog,\n infoType names should conform to the\n pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for\n this InfoType.\n matchingType:\n type: string\n x-dcl-go-name: MatchingType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleMatchingTypeEnum\n description: 'How the rule is applied, see MatchingType\n documentation for details. Possible values: MATCHING_TYPE_UNSPECIFIED,\n MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH,\n MATCHING_TYPE_INVERSE_MATCH'\n enum:\n - MATCHING_TYPE_UNSPECIFIED\n - MATCHING_TYPE_FULL_MATCH\n - MATCHING_TYPE_PARTIAL_MATCH\n - MATCHING_TYPE_INVERSE_MATCH\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleRegex\n description: Regular expression which defines the\n rule.\n x-dcl-conflicts:\n - dictionary\n - excludeInfoTypes\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRule\n x-dcl-conflicts:\n - exclusionRule\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining\n what qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all\n matching findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding\n to a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY,\n VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the\n detection rule and `relative_likelihood` is\n 1, then it is upgraded to `LIKELY`, while\n a value of -1 would downgrade it to `UNLIKELY`.\n Likelihood may never drop below `VERY_UNLIKELY`\n or exceed `VERY_LIKELY`, so applying an adjustment\n of 1 followed by an adjustment of -1 when\n base likelihood is `VERY_LIKELY` will result\n in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleProximity\n description: Proximity of the finding within which\n the entire hotword must reside. The total length\n of the window cannot exceed 1000 characters. Note\n that the finding itself will be included in the\n window, so that hotwords may be used to match\n substrings of the finding itself. For example,\n the certainty of a phone number regex \"(d{3})\n d{3}-d{4}\" could be adjusted upwards if the area\n code is known to be the local area code of a company\n office using the hotword regex \"(xxx)\", where\n \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the\n finding to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the\n finding to consider.\n inspectTemplateName:\n type: string\n x-dcl-go-name: InspectTemplateName\n description: If provided, will be used as the default for all values\n in InspectConfig. `inspect_config` will be merged into the values\n persisted as part of the template.\n storageConfig:\n type: object\n x-dcl-go-name: StorageConfig\n x-dcl-go-type: JobTriggerInspectJobStorageConfig\n description: The data to scan.\n properties:\n bigQueryOptions:\n type: object\n x-dcl-go-name: BigQueryOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptions\n description: BigQuery options.\n x-dcl-conflicts:\n - datastoreOptions\n - cloudStorageOptions\n - hybridOptions\n required:\n - tableReference\n properties:\n excludedFields:\n type: array\n x-dcl-go-name: ExcludedFields\n description: References to fields excluded from scanning. This\n allows you to skip inspection of entire columns which you\n know have no findings.\n x-dcl-conflicts:\n - includedFields\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsExcludedFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n identifyingFields:\n type: array\n x-dcl-go-name: IdentifyingFields\n description: Table fields that may uniquely identify a row within\n the table. When `actions.saveFindings.outputConfig.table`\n is specified, the values of columns specified here are available\n in the output table under `location.content_locations.record_location.record_key.id_values`.\n Nested fields such as `person.birthdate.year` are allowed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n includedFields:\n type: array\n x-dcl-go-name: IncludedFields\n description: Limit scanning only to these fields.\n x-dcl-conflicts:\n - excludedFields\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsIncludedFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n rowsLimit:\n type: integer\n format: int64\n x-dcl-go-name: RowsLimit\n description: Max number of rows to scan. If the table has more\n rows than this value, the rest of the rows are omitted. If\n not set, or if set to 0, all rows will be scanned. Only one\n of rows_limit and rows_limit_percent can be specified. Cannot\n be used in conjunction with TimespanConfig.\n x-dcl-conflicts:\n - rowsLimitPercent\n rowsLimitPercent:\n type: integer\n format: int64\n x-dcl-go-name: RowsLimitPercent\n description: Max percentage of rows to scan. The rest are omitted.\n The number of rows scanned is rounded down. Must be between\n 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults\n to 0. Only one of rows_limit and rows_limit_percent can be\n specified. Cannot be used in conjunction with TimespanConfig.\n x-dcl-conflicts:\n - rowsLimit\n sampleMethod:\n type: string\n x-dcl-go-name: SampleMethod\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsSampleMethodEnum\n description: ' Possible values: SAMPLE_METHOD_UNSPECIFIED, TOP,\n RANDOM_START'\n enum:\n - SAMPLE_METHOD_UNSPECIFIED\n - TOP\n - RANDOM_START\n tableReference:\n type: object\n x-dcl-go-name: TableReference\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsTableReference\n description: Complete BigQuery table reference.\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID of the\n project containing the table. If omitted, project ID is\n inferred from the API call.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n cloudStorageOptions:\n type: object\n x-dcl-go-name: CloudStorageOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptions\n description: Google Cloud Storage options.\n x-dcl-conflicts:\n - datastoreOptions\n - bigQueryOptions\n - hybridOptions\n properties:\n bytesLimitPerFile:\n type: integer\n format: int64\n x-dcl-go-name: BytesLimitPerFile\n description: Max number of bytes to scan from a file. If a scanned\n file's size is bigger than this value then the rest of the\n bytes are omitted. Only one of bytes_limit_per_file and bytes_limit_per_file_percent\n can be specified. Cannot be set if de-identification is requested.\n x-dcl-conflicts:\n - bytesLimitPerFilePercent\n bytesLimitPerFilePercent:\n type: integer\n format: int64\n x-dcl-go-name: BytesLimitPerFilePercent\n description: Max percentage of bytes to scan from a file. The\n rest are omitted. The number of bytes scanned is rounded down.\n Must be between 0 and 100, inclusively. Both 0 and 100 means\n no limit. Defaults to 0. Only one of bytes_limit_per_file\n and bytes_limit_per_file_percent can be specified. Cannot\n be set if de-identification is requested.\n x-dcl-conflicts:\n - bytesLimitPerFile\n fileSet:\n type: object\n x-dcl-go-name: FileSet\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileSet\n description: The set of one or more files to scan.\n properties:\n regexFileSet:\n type: object\n x-dcl-go-name: RegexFileSet\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetRegexFileSet\n description: The regex-filtered set of files to scan. Exactly\n one of `url` or `regex_file_set` must be set.\n x-dcl-conflicts:\n - url\n required:\n - bucketName\n properties:\n bucketName:\n type: string\n x-dcl-go-name: BucketName\n description: The name of a Cloud Storage bucket. Required.\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n excludeRegex:\n type: array\n x-dcl-go-name: ExcludeRegex\n description: A list of regular expressions matching\n file paths to exclude. All files in the bucket that\n match at least one of these regular expressions will\n be excluded from the scan. Regular expressions use\n RE2 [syntax](https://github.com/google/re2/wiki/Syntax);\n a guide can be found under the google/re2 repository\n on GitHub.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includeRegex:\n type: array\n x-dcl-go-name: IncludeRegex\n description: A list of regular expressions matching\n file paths to include. All files in the bucket that\n match at least one of these regular expressions will\n be included in the set of files, except for those\n that also match an item in `exclude_regex`. Leaving\n this field empty will match all files by default (this\n is equivalent to including `.*` in the list). Regular\n expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax);\n a guide can be found under the google/re2 repository\n on GitHub.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n url:\n type: string\n x-dcl-go-name: Url\n description: The Cloud Storage url of the file(s) to scan,\n in the format `gs:///`. Trailing wildcard in the path\n is allowed. If the url ends in a trailing slash, the bucket\n or directory represented by the url will be scanned non-recursively\n (content in sub-directories will not be scanned). This\n means that `gs://mybucket/` is equivalent to `gs://mybucket/*`,\n and `gs://mybucket/directory/` is equivalent to `gs://mybucket/directory/*`.\n Exactly one of `url` or `regex_file_set` must be set.\n x-dcl-conflicts:\n - regexFileSet\n fileTypes:\n type: array\n x-dcl-go-name: FileTypes\n description: List of file type groups to include in the scan.\n If empty, all files are scanned and available data format\n processors are applied. In addition, the binary content of\n the selected files is always scanned as well. Images are scanned\n only as binary if the specified region does not support image\n inspection and no file_types were specified. Image inspection\n is restricted to 'global', 'us', 'asia', and 'europe'.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileTypesEnum\n enum:\n - FILE_TYPE_UNSPECIFIED\n - BINARY_FILE\n - TEXT_FILE\n - IMAGE\n - WORD\n - PDF\n - AVRO\n - CSV\n - TSV\n filesLimitPercent:\n type: integer\n format: int64\n x-dcl-go-name: FilesLimitPercent\n description: Limits the number of files to scan to this percentage\n of the input FileSet. Number of files scanned is rounded down.\n Must be between 0 and 100, inclusively. Both 0 and 100 means\n no limit. Defaults to 0.\n sampleMethod:\n type: string\n x-dcl-go-name: SampleMethod\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsSampleMethodEnum\n description: ' Possible values: SAMPLE_METHOD_UNSPECIFIED, TOP,\n RANDOM_START'\n enum:\n - SAMPLE_METHOD_UNSPECIFIED\n - TOP\n - RANDOM_START\n datastoreOptions:\n type: object\n x-dcl-go-name: DatastoreOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptions\n description: Google Cloud Datastore options.\n x-dcl-conflicts:\n - cloudStorageOptions\n - bigQueryOptions\n - hybridOptions\n properties:\n kind:\n type: object\n x-dcl-go-name: Kind\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptionsKind\n description: The kind to process.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the kind.\n partitionId:\n type: object\n x-dcl-go-name: PartitionId\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptionsPartitionId\n description: A partition ID identifies a grouping of entities.\n The grouping is always by project namespace ID may be empty.\n properties:\n namespaceId:\n type: string\n x-dcl-go-name: NamespaceId\n description: If not empty, the ID of the namespace to which\n the entities belong.\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The ID of the project to which the entities\n belong.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n hybridOptions:\n type: object\n x-dcl-go-name: HybridOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptions\n description: Hybrid inspection options.\n x-dcl-conflicts:\n - datastoreOptions\n - cloudStorageOptions\n - bigQueryOptions\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A short description of where the data is coming\n from. Will be stored once in the job. 256 max length.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'To organize findings, these labels will be added\n to each finding. Label keys must be between 1 and 63 characters\n long and must conform to the following regular expression:\n `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between\n 0 and 63 characters long and must conform to the regular expression\n `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can\n be associated with a given finding. Examples: * `\"environment\"\n : \"production\"` * `\"pipeline\" : \"etl\"`'\n requiredFindingLabelKeys:\n type: array\n x-dcl-go-name: RequiredFindingLabelKeys\n description: 'These are labels that each inspection request\n must include within their ''finding_labels'' map. Request\n may contain others, but any missing one of these will be rejected.\n Label keys must be between 1 and 63 characters long and must\n conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.\n No more than 10 keys can be required.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tableOptions:\n type: object\n x-dcl-go-name: TableOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptionsTableOptions\n description: If the container is a table, additional information\n to make findings meaningful such as the columns that are primary\n keys.\n properties:\n identifyingFields:\n type: array\n x-dcl-go-name: IdentifyingFields\n description: The columns that are the primary keys for table\n objects included in ContentItem. A copy of this cell's\n value will stored alongside alongside each finding so\n that the finding can be traced to the specific row it\n came from. No more than 3 may be provided.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n timespanConfig:\n type: object\n x-dcl-go-name: TimespanConfig\n x-dcl-go-type: JobTriggerInspectJobStorageConfigTimespanConfig\n properties:\n enableAutoPopulationOfTimespanConfig:\n type: boolean\n x-dcl-go-name: EnableAutoPopulationOfTimespanConfig\n description: When the job is started by a JobTrigger we will\n automatically figure out a valid start_time to avoid scanning\n files that have not been modified since the last time the\n JobTrigger executed. This will be based on the time of the\n execution of the last run of the JobTrigger.\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Exclude files, tables, or rows newer than this\n value. If not set, no upper time limit is applied.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Exclude files, tables, or rows older than this\n value. If not set, no lower time limit is applied.\n timestampField:\n type: object\n x-dcl-go-name: TimestampField\n x-dcl-go-type: JobTriggerInspectJobStorageConfigTimespanConfigTimestampField\n description: 'Specification of the field containing the timestamp\n of scanned items. Used for data sources like Datastore and\n BigQuery. For BigQuery: If this value is not specified and\n the table was modified between the given start and end times,\n the entire table will be scanned. If this value is specified,\n then rows are filtered based on the given start and end times.\n Rows with a `NULL` value in the provided BigQuery column are\n skipped. Valid data types of the provided BigQuery column\n are: `INTEGER`, `DATE`, `TIMESTAMP`, and `DATETIME`. For Datastore:\n If this value is specified, then entities are filtered based\n on the given start and end times. If an entity does not contain\n the provided timestamp property or contains empty or invalid\n values, then it is included. Valid data types of the provided\n timestamp property are: `TIMESTAMP`.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n readOnly: true\n description: Output only. The timestamp of the last time this trigger executed.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Unique resource name for the triggeredJob, assigned by the\n service when the triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/53234423`.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: JobTriggerStatusEnum\n description: 'Required. A status for this trigger. Possible values: STATUS_UNSPECIFIED,\n HEALTHY, PAUSED, CANCELLED'\n x-kubernetes-immutable: true\n enum:\n - STATUS_UNSPECIFIED\n - HEALTHY\n - PAUSED\n - CANCELLED\n triggers:\n type: array\n x-dcl-go-name: Triggers\n description: A list of triggers which will be OR'ed together. Only one in\n the list needs to trigger for a job to be started. The list may contain\n only a single Schedule trigger and must have at least one object.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerTriggers\n properties:\n manual:\n type: object\n x-dcl-go-name: Manual\n x-dcl-go-type: JobTriggerTriggersManual\n description: For use with hybrid jobs. Jobs must be manually created\n and finished.\n x-dcl-conflicts:\n - schedule\n x-dcl-send-empty: true\n schedule:\n type: object\n x-dcl-go-name: Schedule\n x-dcl-go-type: JobTriggerTriggersSchedule\n description: Create a job on a repeating basis based on the elapse\n of time.\n x-dcl-conflicts:\n - manual\n properties:\n recurrencePeriodDuration:\n type: string\n x-dcl-go-name: RecurrencePeriodDuration\n description: 'With this option a job is started a regular periodic\n basis. For example: every day (86400 seconds). A scheduled start\n time will be skipped if the previous execution has not ended\n when its scheduled time occurs. This value must be set to a\n time duration greater than or equal to 1 day and can be no longer\n than 60 days.'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of a triggeredJob.\n x-kubernetes-immutable: true\n") +var YAML_job_trigger = []byte("info:\n title: Dlp/JobTrigger\n description: The Dlp JobTrigger resource\n x-dcl-struct-name: JobTrigger\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n apply:\n description: The function used to apply information about a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n delete:\n description: The function used to delete a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n deleteAll:\n description: The function used to delete all JobTrigger\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many JobTrigger\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n JobTrigger:\n title: JobTrigger\n x-dcl-id: '{{parent}}/jobTriggers/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - inspectJob\n - triggers\n - status\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of a triggeredJob.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: User provided description (max 256 chars)\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 100 chars)\n errors:\n type: array\n x-dcl-go-name: Errors\n readOnly: true\n description: Output only. A stream of errors encountered when the trigger\n was activated. Repeated errors may result in the JobTrigger automatically\n being paused. Will return the last 100 errors. Whenever the JobTrigger\n is modified this list will be cleared.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerErrors\n properties:\n details:\n type: object\n x-dcl-go-name: Details\n x-dcl-go-type: JobTriggerErrorsDetails\n description: Detailed error codes and messages.\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of\n google.rpc.Code.\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details.\n There is a common set of message types for APIs to use.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerErrorsDetailsDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies\n the type of the serialized protocol buffer message. This\n string must contain at least one \"/\" character. The last\n segment of the URL''s path must represent the fully qualified\n name of the type (as in `path/google.protobuf.Duration`).\n The name should be in a canonical form (e.g., leading\n \".\" is not accepted). In practice, teams usually precompile\n into the binary all types that they expect it to use in\n the context of Any. However, for URLs which use the scheme\n `http`, `https`, or no scheme, one can optionally set\n up a type server that maps type URLs to message definitions\n as follows: * If no scheme is provided, `https` is assumed.\n * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL,\n or have them precompiled into a binary to avoid any lookup.\n Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.) Note: this functionality is not currently\n available in the official protobuf release, and it is\n not used for type URLs beginning with type.googleapis.com.\n Schemes other than `http`, `https` (or the empty scheme)\n might be used with implementation specific semantics.'\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer\n of the above specified type.\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be\n in English. Any user-facing error message should be localized\n and sent in the google.rpc.Status.details field, or localized\n by the client.\n timestamps:\n type: array\n x-dcl-go-name: Timestamps\n description: The times the error occurred.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n format: date-time\n x-dcl-go-type: string\n inspectJob:\n type: object\n x-dcl-go-name: InspectJob\n x-dcl-go-type: JobTriggerInspectJob\n description: For inspect jobs, a snapshot of the configuration.\n required:\n - storageConfig\n properties:\n actions:\n type: array\n x-dcl-go-name: Actions\n description: Actions to execute at the completion of the job.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobActions\n properties:\n jobNotificationEmails:\n type: object\n x-dcl-go-name: JobNotificationEmails\n x-dcl-go-type: JobTriggerInspectJobActionsJobNotificationEmails\n description: Enable email notification for project owners and\n editors on job's completion/failure.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - publishToStackdriver\n x-dcl-send-empty: true\n pubSub:\n type: object\n x-dcl-go-name: PubSub\n x-dcl-go-type: JobTriggerInspectJobActionsPubSub\n description: Publish a notification to a pubsub topic.\n x-dcl-conflicts:\n - saveFindings\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n properties:\n topic:\n type: string\n x-dcl-go-name: Topic\n description: Cloud Pub/Sub topic to send notifications to.\n The topic must have given publishing access rights to the\n DLP API service account executing the long running DlpJob\n sending the notifications. Format is projects/{project}/topics/{topic}.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n publishFindingsToCloudDataCatalog:\n type: object\n x-dcl-go-name: PublishFindingsToCloudDataCatalog\n x-dcl-go-type: JobTriggerInspectJobActionsPublishFindingsToCloudDataCatalog\n description: Publish findings to Cloud Datahub.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - jobNotificationEmails\n - publishToStackdriver\n x-dcl-send-empty: true\n publishSummaryToCscc:\n type: object\n x-dcl-go-name: PublishSummaryToCscc\n x-dcl-go-type: JobTriggerInspectJobActionsPublishSummaryToCscc\n description: Publish summary to Cloud Security Command Center\n (Alpha).\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n x-dcl-send-empty: true\n publishToStackdriver:\n type: object\n x-dcl-go-name: PublishToStackdriver\n x-dcl-go-type: JobTriggerInspectJobActionsPublishToStackdriver\n description: Enable Stackdriver metric dlp.googleapis.com/finding_count.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n x-dcl-send-empty: true\n saveFindings:\n type: object\n x-dcl-go-name: SaveFindings\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindings\n description: Save resulting findings in a provided location.\n x-dcl-conflicts:\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n properties:\n outputConfig:\n type: object\n x-dcl-go-name: OutputConfig\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfig\n description: Location to store findings outside of DLP.\n properties:\n dlpStorage:\n type: object\n x-dcl-go-name: DlpStorage\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigDlpStorage\n description: Store findings directly to DLP. If neither\n this or bigquery is chosen only summary stats of total\n infotype count will be stored. Quotes will not be stored\n to dlp findings. If quotes are needed, store to BigQuery.\n Currently only for inspect jobs.\n x-dcl-conflicts:\n - table\n x-dcl-send-empty: true\n outputSchema:\n type: string\n x-dcl-go-name: OutputSchema\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigOutputSchemaEnum\n description: 'Schema used for writing the findings for\n Inspect jobs. This field is only used for Inspect and\n must be unspecified for Risk jobs. Columns are derived\n from the `Finding` object. If appending to an existing\n table, any columns from the predefined schema that are\n missing will be added. No columns in the existing table\n will be deleted. If unspecified, then all available\n columns will be used for a new table or an (existing)\n table with no schema, and no changes will be made to\n an existing table that has a schema. Only for use with\n external storage. Possible values: OUTPUT_SCHEMA_UNSPECIFIED,\n BASIC_COLUMNS, GCS_COLUMNS, DATASTORE_COLUMNS, BIG_QUERY_COLUMNS,\n ALL_COLUMNS'\n enum:\n - OUTPUT_SCHEMA_UNSPECIFIED\n - BASIC_COLUMNS\n - GCS_COLUMNS\n - DATASTORE_COLUMNS\n - BIG_QUERY_COLUMNS\n - ALL_COLUMNS\n table:\n type: object\n x-dcl-go-name: Table\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigTable\n description: 'Store findings in an existing table or a\n new table in an existing dataset. If table_id is not\n set a new one will be generated for you with the following\n format: dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific\n timezone will be used for generating the date details.\n For Inspect, each column in an existing output table\n must have the same name, type, and mode of a field in\n the `Finding` object. For Risk, an existing output table\n should be the output of a previous Risk analysis job\n run on the same source table, with the same privacy\n metric and quasi-identifiers. Risk jobs that analyze\n the same table but compute a different privacy metric,\n or use different sets of quasi-identifiers, cannot store\n their results in the same table.'\n x-dcl-conflicts:\n - dlpStorage\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID\n of the project containing the table. If omitted,\n project ID is inferred from the API call.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n inspectConfig:\n type: object\n x-dcl-go-name: InspectConfig\n x-dcl-go-type: JobTriggerInspectJobInspectConfig\n description: How and what to scan for.\n properties:\n customInfoTypes:\n type: array\n x-dcl-go-name: CustomInfoTypes\n description: CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes\n to learn more.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypes\n properties:\n detectionRules:\n type: array\n x-dcl-go-name: DetectionRules\n description: Set of detection rules to apply to all findings\n of this CustomInfoType. Rules are applied in order that\n they are specified. Not supported for the `surrogate_type`\n CustomInfoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRules\n properties:\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRule\n description: Hotword-based detection rule.\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining\n what qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all\n matching findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding\n to a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY,\n VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the\n detection rule and `relative_likelihood` is\n 1, then it is upgraded to `LIKELY`, while\n a value of -1 would downgrade it to `UNLIKELY`.\n Likelihood may never drop below `VERY_UNLIKELY`\n or exceed `VERY_LIKELY`, so applying an adjustment\n of 1 followed by an adjustment of -1 when\n base likelihood is `VERY_LIKELY` will result\n in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleProximity\n description: Proximity of the finding within which\n the entire hotword must reside. The total length\n of the window cannot exceed 1000 characters. Note\n that the finding itself will be included in the\n window, so that hotwords may be used to match\n substrings of the finding itself. For example,\n the certainty of a phone number regex \"(d{3})\n d{3}-d{4}\" could be adjusted upwards if the area\n code is known to be the local area code of a company\n office using the hotword regex \"(xxx)\", where\n \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the\n finding to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the\n finding to consider.\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionary\n description: A list of phrases to detect as a CustomInfoType.\n x-dcl-conflicts:\n - regex\n - surrogateType\n - storedType\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud\n Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no\n wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionaryWordList\n description: List of words or phrases to search for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase\n and every phrase must contain at least 2 characters\n that are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusionType:\n type: string\n x-dcl-go-name: ExclusionType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesExclusionTypeEnum\n description: 'If set to EXCLUSION_TYPE_EXCLUDE this infoType\n will not cause a finding to be returned. It still can be\n used for rules matching. Possible values: EXCLUSION_TYPE_UNSPECIFIED,\n EXCLUSION_TYPE_EXCLUDE'\n enum:\n - EXCLUSION_TYPE_UNSPECIFIED\n - EXCLUSION_TYPE_EXCLUDE\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesInfoType\n description: CustomInfoType can either be a new infoType,\n or an extension of built-in infoType, when the name matches\n one of existing infoTypes and that infoType is specified\n in `InspectContent.info_types` field. Specifying the latter\n adds findings to the one detected by the system. If built-in\n info type is not specified in `InspectContent.info_types`\n list then the name is treated as a custom info type.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n likelihood:\n type: string\n x-dcl-go-name: Likelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesLikelihoodEnum\n description: 'Likelihood to return for this CustomInfoType.\n This base value can be altered by a detection rule if the\n finding meets the criteria specified by the rule. Defaults\n to `VERY_LIKELY` if not specified. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesRegex\n description: Regular expression based CustomInfoType.\n x-dcl-conflicts:\n - dictionary\n - surrogateType\n - storedType\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings.\n When not specified, the entire match is returned. No\n more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on GitHub.\n storedType:\n type: object\n x-dcl-go-name: StoredType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesStoredType\n description: Load an existing `StoredInfoType` resource for\n use in `InspectDataSource`. Not currently supported in `InspectContent`.\n x-dcl-conflicts:\n - dictionary\n - regex\n - surrogateType\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Timestamp indicating when the version of\n the `StoredInfoType` used for inspection was created.\n Output-only field, populated by the system.\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name of the requested `StoredInfoType`,\n for example `organizations/433245324/storedInfoTypes/432452342`\n or `projects/project-id/storedInfoTypes/432452342`.\n surrogateType:\n type: object\n x-dcl-go-name: SurrogateType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesSurrogateType\n description: Message for detecting output from deidentification\n transformations that support reversing.\n x-dcl-conflicts:\n - dictionary\n - regex\n - storedType\n x-dcl-send-empty: true\n excludeInfoTypes:\n type: boolean\n x-dcl-go-name: ExcludeInfoTypes\n description: When true, excludes type information of the findings.\n This is not used for data profiling.\n includeQuote:\n type: boolean\n x-dcl-go-name: IncludeQuote\n description: When true, a contextual quote from the data that triggered\n a finding is included in the response; see Finding.quote. This\n is not used for data profiling.\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: Restricts what info_types to look for. The values must\n correspond to InfoType values returned by ListInfoTypes or listed\n at https://cloud.google.com/dlp/docs/infotypes-reference. When\n no InfoTypes or CustomInfoTypes are specified in a request, the\n system may automatically choose what detectors to run. By default\n this may be all types, but may change over time as detectors are\n updated. If you need precise control and predictability as to\n what detectors are run you should specify specific InfoTypes listed\n in the reference, otherwise a default list will be used, which\n may change over time.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of\n your choosing when creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform to\n the pattern `[A-Za-z0-9$-_]{1,64}`.\n limits:\n type: object\n x-dcl-go-name: Limits\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimits\n description: Configuration to control the number of findings returned.\n This is not used for data profiling.\n properties:\n maxFindingsPerInfoType:\n type: array\n x-dcl-go-name: MaxFindingsPerInfoType\n description: Configuration of findings limit given for specified\n infoTypes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoType\n properties:\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoType\n description: Type of information the findings limit applies\n to. Only one limit per info_type should be provided.\n If InfoTypeLimit does not have an info_type, the DLP\n API applies the limit against all info_types that are\n found but not specified in another InfoTypeLimit.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n maxFindings:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindings\n description: Max findings limit for the given infoType.\n maxFindingsPerItem:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerItem\n description: Max number of findings that will be returned for\n each item scanned. When set within `InspectJobConfig`, the\n maximum returned is 2000 regardless if this is set higher.\n When set within `InspectContentRequest`, this field is ignored.\n maxFindingsPerRequest:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerRequest\n description: Max number of findings that will be returned per\n request/job. When set within `InspectContentRequest`, the\n maximum returned is 2000 regardless if this is set higher.\n minLikelihood:\n type: string\n x-dcl-go-name: MinLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigMinLikelihoodEnum\n description: 'Only returns findings equal or above this threshold.\n The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood\n to learn more. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n ruleSet:\n type: array\n x-dcl-go-name: RuleSet\n description: Set of rules to apply to the findings for this InspectConfig.\n Exclusion rules, contained in the set are executed in the end,\n other rules are executed in the order they are specified for each\n info type.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSet\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: List of infoTypes this rule set is applied to.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a\n name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Set of rules to be applied to infoTypes. The\n rules are applied in order.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRules\n properties:\n exclusionRule:\n type: object\n x-dcl-go-name: ExclusionRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRule\n description: Exclusion rule.\n x-dcl-conflicts:\n - hotwordRule\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionary\n description: Dictionary which defines the rule.\n x-dcl-conflicts:\n - regex\n - excludeInfoTypes\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionaryCloudStoragePath\n description: Newline-delimited file of words\n in Cloud Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file\n or path (no wildcards) in Cloud Storage.\n Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionaryWordList\n description: List of words or phrases to search\n for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the\n dictionary. The dictionary must contain\n at least one phrase and every phrase must\n contain at least 2 characters that are\n letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludeInfoTypes:\n type: object\n x-dcl-go-name: ExcludeInfoTypes\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes\n description: Set of infoTypes for which findings\n would affect this rule.\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoType list in ExclusionRule\n rule drops a finding when it overlaps or contained\n within with a finding of an infoType from\n this list. For example, for `InspectionRuleSet.info_types`\n containing \"PHONE_NUMBER\"` and `exclusion_rule`\n containing `exclude_info_types.info_types`\n with \"EMAIL_ADDRESS\" the phone number findings\n are dropped if they overlap with EMAIL_ADDRESS\n finding. That leads to \"555-222-2222@example.org\"\n to generate only a single finding, namely\n email address.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypesInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when\n creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data Catalog,\n infoType names should conform to the\n pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for\n this InfoType.\n matchingType:\n type: string\n x-dcl-go-name: MatchingType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleMatchingTypeEnum\n description: 'How the rule is applied, see MatchingType\n documentation for details. Possible values: MATCHING_TYPE_UNSPECIFIED,\n MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH,\n MATCHING_TYPE_INVERSE_MATCH'\n enum:\n - MATCHING_TYPE_UNSPECIFIED\n - MATCHING_TYPE_FULL_MATCH\n - MATCHING_TYPE_PARTIAL_MATCH\n - MATCHING_TYPE_INVERSE_MATCH\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleRegex\n description: Regular expression which defines the\n rule.\n x-dcl-conflicts:\n - dictionary\n - excludeInfoTypes\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRule\n x-dcl-conflicts:\n - exclusionRule\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining\n what qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all\n matching findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding\n to a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY,\n VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the\n detection rule and `relative_likelihood` is\n 1, then it is upgraded to `LIKELY`, while\n a value of -1 would downgrade it to `UNLIKELY`.\n Likelihood may never drop below `VERY_UNLIKELY`\n or exceed `VERY_LIKELY`, so applying an adjustment\n of 1 followed by an adjustment of -1 when\n base likelihood is `VERY_LIKELY` will result\n in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleProximity\n description: Proximity of the finding within which\n the entire hotword must reside. The total length\n of the window cannot exceed 1000 characters. Note\n that the finding itself will be included in the\n window, so that hotwords may be used to match\n substrings of the finding itself. For example,\n the certainty of a phone number regex \"(d{3})\n d{3}-d{4}\" could be adjusted upwards if the area\n code is known to be the local area code of a company\n office using the hotword regex \"(xxx)\", where\n \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the\n finding to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the\n finding to consider.\n inspectTemplateName:\n type: string\n x-dcl-go-name: InspectTemplateName\n description: If provided, will be used as the default for all values\n in InspectConfig. `inspect_config` will be merged into the values\n persisted as part of the template.\n storageConfig:\n type: object\n x-dcl-go-name: StorageConfig\n x-dcl-go-type: JobTriggerInspectJobStorageConfig\n description: The data to scan.\n properties:\n bigQueryOptions:\n type: object\n x-dcl-go-name: BigQueryOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptions\n description: BigQuery options.\n x-dcl-conflicts:\n - datastoreOptions\n - cloudStorageOptions\n - hybridOptions\n required:\n - tableReference\n properties:\n excludedFields:\n type: array\n x-dcl-go-name: ExcludedFields\n description: References to fields excluded from scanning. This\n allows you to skip inspection of entire columns which you\n know have no findings.\n x-dcl-conflicts:\n - includedFields\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsExcludedFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n identifyingFields:\n type: array\n x-dcl-go-name: IdentifyingFields\n description: Table fields that may uniquely identify a row within\n the table. When `actions.saveFindings.outputConfig.table`\n is specified, the values of columns specified here are available\n in the output table under `location.content_locations.record_location.record_key.id_values`.\n Nested fields such as `person.birthdate.year` are allowed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n includedFields:\n type: array\n x-dcl-go-name: IncludedFields\n description: Limit scanning only to these fields.\n x-dcl-conflicts:\n - excludedFields\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsIncludedFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n rowsLimit:\n type: integer\n format: int64\n x-dcl-go-name: RowsLimit\n description: Max number of rows to scan. If the table has more\n rows than this value, the rest of the rows are omitted. If\n not set, or if set to 0, all rows will be scanned. Only one\n of rows_limit and rows_limit_percent can be specified. Cannot\n be used in conjunction with TimespanConfig.\n x-dcl-conflicts:\n - rowsLimitPercent\n rowsLimitPercent:\n type: integer\n format: int64\n x-dcl-go-name: RowsLimitPercent\n description: Max percentage of rows to scan. The rest are omitted.\n The number of rows scanned is rounded down. Must be between\n 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults\n to 0. Only one of rows_limit and rows_limit_percent can be\n specified. Cannot be used in conjunction with TimespanConfig.\n x-dcl-conflicts:\n - rowsLimit\n sampleMethod:\n type: string\n x-dcl-go-name: SampleMethod\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsSampleMethodEnum\n description: ' Possible values: SAMPLE_METHOD_UNSPECIFIED, TOP,\n RANDOM_START'\n enum:\n - SAMPLE_METHOD_UNSPECIFIED\n - TOP\n - RANDOM_START\n tableReference:\n type: object\n x-dcl-go-name: TableReference\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsTableReference\n description: Complete BigQuery table reference.\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID of the\n project containing the table. If omitted, project ID is\n inferred from the API call.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n cloudStorageOptions:\n type: object\n x-dcl-go-name: CloudStorageOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptions\n description: Google Cloud Storage options.\n x-dcl-conflicts:\n - datastoreOptions\n - bigQueryOptions\n - hybridOptions\n properties:\n bytesLimitPerFile:\n type: integer\n format: int64\n x-dcl-go-name: BytesLimitPerFile\n description: Max number of bytes to scan from a file. If a scanned\n file's size is bigger than this value then the rest of the\n bytes are omitted. Only one of bytes_limit_per_file and bytes_limit_per_file_percent\n can be specified. Cannot be set if de-identification is requested.\n x-dcl-conflicts:\n - bytesLimitPerFilePercent\n bytesLimitPerFilePercent:\n type: integer\n format: int64\n x-dcl-go-name: BytesLimitPerFilePercent\n description: Max percentage of bytes to scan from a file. The\n rest are omitted. The number of bytes scanned is rounded down.\n Must be between 0 and 100, inclusively. Both 0 and 100 means\n no limit. Defaults to 0. Only one of bytes_limit_per_file\n and bytes_limit_per_file_percent can be specified. Cannot\n be set if de-identification is requested.\n x-dcl-conflicts:\n - bytesLimitPerFile\n fileSet:\n type: object\n x-dcl-go-name: FileSet\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileSet\n description: The set of one or more files to scan.\n properties:\n regexFileSet:\n type: object\n x-dcl-go-name: RegexFileSet\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetRegexFileSet\n description: The regex-filtered set of files to scan. Exactly\n one of `url` or `regex_file_set` must be set.\n x-dcl-conflicts:\n - url\n required:\n - bucketName\n properties:\n bucketName:\n type: string\n x-dcl-go-name: BucketName\n description: The name of a Cloud Storage bucket. Required.\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n excludeRegex:\n type: array\n x-dcl-go-name: ExcludeRegex\n description: A list of regular expressions matching\n file paths to exclude. All files in the bucket that\n match at least one of these regular expressions will\n be excluded from the scan. Regular expressions use\n RE2 [syntax](https://github.com/google/re2/wiki/Syntax);\n a guide can be found under the google/re2 repository\n on GitHub.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includeRegex:\n type: array\n x-dcl-go-name: IncludeRegex\n description: A list of regular expressions matching\n file paths to include. All files in the bucket that\n match at least one of these regular expressions will\n be included in the set of files, except for those\n that also match an item in `exclude_regex`. Leaving\n this field empty will match all files by default (this\n is equivalent to including `.*` in the list). Regular\n expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax);\n a guide can be found under the google/re2 repository\n on GitHub.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n url:\n type: string\n x-dcl-go-name: Url\n description: The Cloud Storage url of the file(s) to scan,\n in the format `gs:///`. Trailing wildcard in the path\n is allowed. If the url ends in a trailing slash, the bucket\n or directory represented by the url will be scanned non-recursively\n (content in sub-directories will not be scanned). This\n means that `gs://mybucket/` is equivalent to `gs://mybucket/*`,\n and `gs://mybucket/directory/` is equivalent to `gs://mybucket/directory/*`.\n Exactly one of `url` or `regex_file_set` must be set.\n x-dcl-conflicts:\n - regexFileSet\n fileTypes:\n type: array\n x-dcl-go-name: FileTypes\n description: List of file type groups to include in the scan.\n If empty, all files are scanned and available data format\n processors are applied. In addition, the binary content of\n the selected files is always scanned as well. Images are scanned\n only as binary if the specified region does not support image\n inspection and no file_types were specified. Image inspection\n is restricted to 'global', 'us', 'asia', and 'europe'.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileTypesEnum\n enum:\n - FILE_TYPE_UNSPECIFIED\n - BINARY_FILE\n - TEXT_FILE\n - IMAGE\n - WORD\n - PDF\n - AVRO\n - CSV\n - TSV\n filesLimitPercent:\n type: integer\n format: int64\n x-dcl-go-name: FilesLimitPercent\n description: Limits the number of files to scan to this percentage\n of the input FileSet. Number of files scanned is rounded down.\n Must be between 0 and 100, inclusively. Both 0 and 100 means\n no limit. Defaults to 0.\n sampleMethod:\n type: string\n x-dcl-go-name: SampleMethod\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsSampleMethodEnum\n description: ' Possible values: SAMPLE_METHOD_UNSPECIFIED, TOP,\n RANDOM_START'\n enum:\n - SAMPLE_METHOD_UNSPECIFIED\n - TOP\n - RANDOM_START\n datastoreOptions:\n type: object\n x-dcl-go-name: DatastoreOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptions\n description: Google Cloud Datastore options.\n x-dcl-conflicts:\n - cloudStorageOptions\n - bigQueryOptions\n - hybridOptions\n properties:\n kind:\n type: object\n x-dcl-go-name: Kind\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptionsKind\n description: The kind to process.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the kind.\n partitionId:\n type: object\n x-dcl-go-name: PartitionId\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptionsPartitionId\n description: A partition ID identifies a grouping of entities.\n The grouping is always by project namespace ID may be empty.\n properties:\n namespaceId:\n type: string\n x-dcl-go-name: NamespaceId\n description: If not empty, the ID of the namespace to which\n the entities belong.\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The ID of the project to which the entities\n belong.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n hybridOptions:\n type: object\n x-dcl-go-name: HybridOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptions\n description: Hybrid inspection options.\n x-dcl-conflicts:\n - datastoreOptions\n - cloudStorageOptions\n - bigQueryOptions\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A short description of where the data is coming\n from. Will be stored once in the job. 256 max length.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'To organize findings, these labels will be added\n to each finding. Label keys must be between 1 and 63 characters\n long and must conform to the following regular expression:\n `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between\n 0 and 63 characters long and must conform to the regular expression\n `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can\n be associated with a given finding. Examples: * `\"environment\"\n : \"production\"` * `\"pipeline\" : \"etl\"`'\n requiredFindingLabelKeys:\n type: array\n x-dcl-go-name: RequiredFindingLabelKeys\n description: 'These are labels that each inspection request\n must include within their ''finding_labels'' map. Request\n may contain others, but any missing one of these will be rejected.\n Label keys must be between 1 and 63 characters long and must\n conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.\n No more than 10 keys can be required.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tableOptions:\n type: object\n x-dcl-go-name: TableOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptionsTableOptions\n description: If the container is a table, additional information\n to make findings meaningful such as the columns that are primary\n keys.\n properties:\n identifyingFields:\n type: array\n x-dcl-go-name: IdentifyingFields\n description: The columns that are the primary keys for table\n objects included in ContentItem. A copy of this cell's\n value will stored alongside alongside each finding so\n that the finding can be traced to the specific row it\n came from. No more than 3 may be provided.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n timespanConfig:\n type: object\n x-dcl-go-name: TimespanConfig\n x-dcl-go-type: JobTriggerInspectJobStorageConfigTimespanConfig\n properties:\n enableAutoPopulationOfTimespanConfig:\n type: boolean\n x-dcl-go-name: EnableAutoPopulationOfTimespanConfig\n description: When the job is started by a JobTrigger we will\n automatically figure out a valid start_time to avoid scanning\n files that have not been modified since the last time the\n JobTrigger executed. This will be based on the time of the\n execution of the last run of the JobTrigger.\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Exclude files, tables, or rows newer than this\n value. If not set, no upper time limit is applied.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Exclude files, tables, or rows older than this\n value. If not set, no lower time limit is applied.\n timestampField:\n type: object\n x-dcl-go-name: TimestampField\n x-dcl-go-type: JobTriggerInspectJobStorageConfigTimespanConfigTimestampField\n description: 'Specification of the field containing the timestamp\n of scanned items. Used for data sources like Datastore and\n BigQuery. For BigQuery: If this value is not specified and\n the table was modified between the given start and end times,\n the entire table will be scanned. If this value is specified,\n then rows are filtered based on the given start and end times.\n Rows with a `NULL` value in the provided BigQuery column are\n skipped. Valid data types of the provided BigQuery column\n are: `INTEGER`, `DATE`, `TIMESTAMP`, and `DATETIME`. For Datastore:\n If this value is specified, then entities are filtered based\n on the given start and end times. If an entity does not contain\n the provided timestamp property or contains empty or invalid\n values, then it is included. Valid data types of the provided\n timestamp property are: `TIMESTAMP`.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n readOnly: true\n description: Output only. The timestamp of the last time this trigger executed.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Unique resource name for the triggeredJob, assigned by the\n service when the triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/53234423`.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: JobTriggerStatusEnum\n description: 'Required. A status for this trigger. Possible values: STATUS_UNSPECIFIED,\n HEALTHY, PAUSED, CANCELLED'\n x-kubernetes-immutable: true\n enum:\n - STATUS_UNSPECIFIED\n - HEALTHY\n - PAUSED\n - CANCELLED\n triggers:\n type: array\n x-dcl-go-name: Triggers\n description: A list of triggers which will be OR'ed together. Only one in\n the list needs to trigger for a job to be started. The list may contain\n only a single Schedule trigger and must have at least one object.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerTriggers\n properties:\n manual:\n type: object\n x-dcl-go-name: Manual\n x-dcl-go-type: JobTriggerTriggersManual\n description: For use with hybrid jobs. Jobs must be manually created\n and finished.\n x-dcl-conflicts:\n - schedule\n x-dcl-send-empty: true\n schedule:\n type: object\n x-dcl-go-name: Schedule\n x-dcl-go-type: JobTriggerTriggersSchedule\n description: Create a job on a repeating basis based on the elapse\n of time.\n x-dcl-conflicts:\n - manual\n properties:\n recurrencePeriodDuration:\n type: string\n x-dcl-go-name: RecurrencePeriodDuration\n description: 'With this option a job is started a regular periodic\n basis. For example: every day (86400 seconds). A scheduled start\n time will be skipped if the previous execution has not ended\n when its scheduled time occurs. This value must be set to a\n time duration greater than or equal to 1 day and can be no longer\n than 60 days.'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of a triggeredJob.\n x-kubernetes-immutable: true\n") -// 88750 bytes -// MD5: e19cbe70aa838f1e99e6c8f6090d5453 +// 88775 bytes +// MD5: 88ca71cf1fe845c1fff987c92e895bba diff --git a/services/google/dlp/beta/job_trigger_schema.go b/services/google/dlp/beta/job_trigger_schema.go index cd554aaed2..d68e239d9f 100755 --- a/services/google/dlp/beta/job_trigger_schema.go +++ b/services/google/dlp/beta/job_trigger_schema.go @@ -23,6 +23,7 @@ func DCLJobTriggerSchema() *dcl.Schema { Title: "Dlp/JobTrigger", Description: "The Dlp JobTrigger resource", StructName: "JobTrigger", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dlp/beta/stored_info_type.yaml b/services/google/dlp/beta/stored_info_type.yaml index 11800a5708..c0e2882fb3 100755 --- a/services/google/dlp/beta/stored_info_type.yaml +++ b/services/google/dlp/beta/stored_info_type.yaml @@ -15,6 +15,7 @@ info: title: Dlp/StoredInfoType description: The Dlp StoredInfoType resource x-dcl-struct-name: StoredInfoType + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dlp/beta/stored_info_type_beta_yaml_embed.go b/services/google/dlp/beta/stored_info_type_beta_yaml_embed.go index 8e7017705f..78603b8510 100755 --- a/services/google/dlp/beta/stored_info_type_beta_yaml_embed.go +++ b/services/google/dlp/beta/stored_info_type_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dlp/beta/stored_info_type.yaml -var YAML_stored_info_type = []byte("info:\n title: Dlp/StoredInfoType\n description: The Dlp StoredInfoType resource\n x-dcl-struct-name: StoredInfoType\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n apply:\n description: The function used to apply information about a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n delete:\n description: The function used to delete a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n deleteAll:\n description: The function used to delete all StoredInfoType\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many StoredInfoType\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n StoredInfoType:\n title: StoredInfoType\n x-dcl-id: '{{parent}}/storedInfoTypes/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the StoredInfoType (max 256 characters).\n x-kubernetes-immutable: true\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: StoredInfoTypeDictionary\n description: Store dictionary-based CustomInfoType.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - largeCustomDictionary\n - regex\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: StoredInfoTypeDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud Storage. Only\n a single file is accepted.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - wordList\n required:\n - path\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards) in\n Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n x-kubernetes-immutable: true\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: StoredInfoTypeDictionaryWordList\n description: List of words or phrases to search for.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudStoragePath\n required:\n - words\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary. The dictionary\n must contain at least one phrase and every phrase must contain\n at least 2 characters that are letters or digits. [required]\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the StoredInfoType (max 256 characters).\n x-kubernetes-immutable: true\n largeCustomDictionary:\n type: object\n x-dcl-go-name: LargeCustomDictionary\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionary\n description: StoredInfoType where findings are defined by a dictionary of\n phrases.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n bigQueryField:\n type: object\n x-dcl-go-name: BigQueryField\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryField\n description: Field in a BigQuery table where each cell represents a\n dictionary phrase.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudStorageFileSet\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryFieldField\n description: Designated field in the BigQuery table.\n x-kubernetes-immutable: true\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n x-kubernetes-immutable: true\n table:\n type: object\n x-dcl-go-name: Table\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryFieldTable\n description: Source table of the field.\n x-kubernetes-immutable: true\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID of the project\n containing the table. If omitted, project ID is inferred from\n the API call.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n cloudStorageFileSet:\n type: object\n x-dcl-go-name: CloudStorageFileSet\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryCloudStorageFileSet\n description: Set of files containing newline-delimited lists of dictionary\n phrases.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - bigQueryField\n required:\n - url\n properties:\n url:\n type: string\n x-dcl-go-name: Url\n description: The url, in the format `gs:///`. Trailing wildcard\n in the path is allowed.\n x-kubernetes-immutable: true\n outputPath:\n type: object\n x-dcl-go-name: OutputPath\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryOutputPath\n description: Location to store dictionary artifacts in Google Cloud\n Storage. These files will only be accessible by project owners and\n the DLP API. If any of these artifacts are modified, the dictionary\n is considered invalid and can no longer be used.\n x-kubernetes-immutable: true\n required:\n - path\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards) in\n Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: StoredInfoTypeRegex\n description: Store regular expression-based StoredInfoType.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - largeCustomDictionary\n - dictionary\n required:\n - pattern\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings. When\n not specified, the entire match is returned. No more than 3 may be\n included.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on GitHub.\n x-kubernetes-immutable: true\n") +var YAML_stored_info_type = []byte("info:\n title: Dlp/StoredInfoType\n description: The Dlp StoredInfoType resource\n x-dcl-struct-name: StoredInfoType\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n apply:\n description: The function used to apply information about a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n delete:\n description: The function used to delete a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n deleteAll:\n description: The function used to delete all StoredInfoType\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many StoredInfoType\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n StoredInfoType:\n title: StoredInfoType\n x-dcl-id: '{{parent}}/storedInfoTypes/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the StoredInfoType (max 256 characters).\n x-kubernetes-immutable: true\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: StoredInfoTypeDictionary\n description: Store dictionary-based CustomInfoType.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - largeCustomDictionary\n - regex\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: StoredInfoTypeDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud Storage. Only\n a single file is accepted.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - wordList\n required:\n - path\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards) in\n Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n x-kubernetes-immutable: true\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: StoredInfoTypeDictionaryWordList\n description: List of words or phrases to search for.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudStoragePath\n required:\n - words\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary. The dictionary\n must contain at least one phrase and every phrase must contain\n at least 2 characters that are letters or digits. [required]\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the StoredInfoType (max 256 characters).\n x-kubernetes-immutable: true\n largeCustomDictionary:\n type: object\n x-dcl-go-name: LargeCustomDictionary\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionary\n description: StoredInfoType where findings are defined by a dictionary of\n phrases.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n bigQueryField:\n type: object\n x-dcl-go-name: BigQueryField\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryField\n description: Field in a BigQuery table where each cell represents a\n dictionary phrase.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudStorageFileSet\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryFieldField\n description: Designated field in the BigQuery table.\n x-kubernetes-immutable: true\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n x-kubernetes-immutable: true\n table:\n type: object\n x-dcl-go-name: Table\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryFieldTable\n description: Source table of the field.\n x-kubernetes-immutable: true\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID of the project\n containing the table. If omitted, project ID is inferred from\n the API call.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n cloudStorageFileSet:\n type: object\n x-dcl-go-name: CloudStorageFileSet\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryCloudStorageFileSet\n description: Set of files containing newline-delimited lists of dictionary\n phrases.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - bigQueryField\n required:\n - url\n properties:\n url:\n type: string\n x-dcl-go-name: Url\n description: The url, in the format `gs:///`. Trailing wildcard\n in the path is allowed.\n x-kubernetes-immutable: true\n outputPath:\n type: object\n x-dcl-go-name: OutputPath\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryOutputPath\n description: Location to store dictionary artifacts in Google Cloud\n Storage. These files will only be accessible by project owners and\n the DLP API. If any of these artifacts are modified, the dictionary\n is considered invalid and can no longer be used.\n x-kubernetes-immutable: true\n required:\n - path\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards) in\n Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: StoredInfoTypeRegex\n description: Store regular expression-based StoredInfoType.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - largeCustomDictionary\n - dictionary\n required:\n - pattern\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings. When\n not specified, the entire match is returned. No more than 3 may be\n included.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on GitHub.\n x-kubernetes-immutable: true\n") -// 10507 bytes -// MD5: dd0b1d1d3cf77469038fca8a0942707b +// 10532 bytes +// MD5: 6df8dd68b97d16140f3cdf1db4fe856e diff --git a/services/google/dlp/beta/stored_info_type_schema.go b/services/google/dlp/beta/stored_info_type_schema.go index 9771cfee63..daa17762f8 100755 --- a/services/google/dlp/beta/stored_info_type_schema.go +++ b/services/google/dlp/beta/stored_info_type_schema.go @@ -23,6 +23,7 @@ func DCLStoredInfoTypeSchema() *dcl.Schema { Title: "Dlp/StoredInfoType", Description: "The Dlp StoredInfoType resource", StructName: "StoredInfoType", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dlp/deidentify_template.yaml b/services/google/dlp/deidentify_template.yaml index dbb428a4db..ac983d18ec 100755 --- a/services/google/dlp/deidentify_template.yaml +++ b/services/google/dlp/deidentify_template.yaml @@ -15,6 +15,7 @@ info: title: Dlp/DeidentifyTemplate description: The Dlp DeidentifyTemplate resource x-dcl-struct-name: DeidentifyTemplate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dlp/deidentify_template_schema.go b/services/google/dlp/deidentify_template_schema.go index c573a277ef..efd94b3df6 100755 --- a/services/google/dlp/deidentify_template_schema.go +++ b/services/google/dlp/deidentify_template_schema.go @@ -23,6 +23,7 @@ func DCLDeidentifyTemplateSchema() *dcl.Schema { Title: "Dlp/DeidentifyTemplate", Description: "The Dlp DeidentifyTemplate resource", StructName: "DeidentifyTemplate", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dlp/deidentify_template_yaml_embed.go b/services/google/dlp/deidentify_template_yaml_embed.go index ba74b3ef2a..376a6671e4 100755 --- a/services/google/dlp/deidentify_template_yaml_embed.go +++ b/services/google/dlp/deidentify_template_yaml_embed.go @@ -17,7 +17,7 @@ package dlp // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dlp/deidentify_template.yaml -var YAML_deidentify_template = []byte("info:\n title: Dlp/DeidentifyTemplate\n description: The Dlp DeidentifyTemplate resource\n x-dcl-struct-name: DeidentifyTemplate\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n apply:\n description: The function used to apply information about a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n delete:\n description: The function used to delete a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n deleteAll:\n description: The function used to delete all DeidentifyTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many DeidentifyTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n DeidentifyTemplate:\n title: DeidentifyTemplate\n x-dcl-id: '{{parent}}/deidentifyTemplates/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n deidentifyConfig:\n type: object\n x-dcl-go-name: DeidentifyConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfig\n description: The core content of the template.\n properties:\n infoTypeTransformations:\n type: object\n x-dcl-go-name: InfoTypeTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformations\n description: Treat the dataset as free-form text and apply the same\n free text transformation everywhere.\n x-dcl-conflicts:\n - recordTransformations\n required:\n - transformations\n properties:\n transformations:\n type: array\n x-dcl-go-name: Transformations\n description: Required. Transformation for each infoType. Cannot\n specify more than one for a given infoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformations\n required:\n - primitiveTransformation\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoTypes to apply the transformation to. An\n empty list will cause this transformation to apply to all\n findings that correspond to infoTypes that were requested\n in `InspectConfig`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a\n name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformation\n description: Required. Primitive transformation to apply to\n the infoType.\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range, exclusive;\n type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range, inclusive.\n Type should be the same as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement value for\n this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items in this\n list will be skipped when replacing characters.\n For example, if the input string is `555-555-5555`\n and you instruct Cloud DLP to skip `-` and mask\n 5 characters with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform when\n masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to not transform\n when masking. Useful to avoid removing punctuation.\n Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the sensitive\n values—for example, `*` for an alphabetic string\n such as a name, or `0` for a numeric string such\n as ZIP code or credit card number. This string must\n have a length of 1. If not supplied, this value\n defaults to `*` for strings, and `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask. If not\n set, all matching chars will be masked. Skipped\n characters do not count towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse order. For\n example, if `masking_character` is `0`, `number_to_mask`\n is `14`, and `reverse_order` is `false`, then the\n input string `1234-5678-9012-3456` is masked as\n `00000000000000-3456`. If `masking_character` is\n `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is masked as\n `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for higher security\n and maintaining referential integrity such that\n the same identifier in two different contexts will\n be given a distinct surrogate. The context is appended\n to plaintext value being encrypted. On decryption\n the provided context is validated against the value\n used during encryption. If a context was provided\n during encryption, same context must be provided\n during decryption as well. If the context is not\n set, plaintext would be used as is for encryption.\n If the context is set but: 1. there is no record\n present when transforming a given value or 2. the\n field is not present when transforming a given value,\n plaintext would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption function.\n For deterministic encryption using AES-SIV, the\n provided key is internally expanded to 64 bytes\n prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom info type followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: {info type name}({surrogate character\n count}):{surrogate} For example, if the name of\n custom info type is ''MY_TOKEN_INFO_TYPE'' and the\n surrogate is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This annotation\n identifies the surrogate when inspecting content\n using the custom info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs in free\n text. Note: For record transformations where the\n entire cell in a table is being transformed, surrogates\n are not mandatory. Surrogates are used to denote\n the location of the token and are necessary for\n re-identification in free form text. In order for\n inspection to work properly, the name of this info\n type must not occur naturally anywhere in your data;\n otherwise, inspection may either - reverse a surrogate\n that does not correspond to an actual identifier\n - be unable to parse the surrogate and result in\n an error Therefore, choose your custom info type\n name carefully after considering what your data\n looks like. One way to select a name that has a\n high chance of yielding reliable detection is to\n include one or more unicode characters that are\n highly improbable to exist in your data. For example,\n assuming your data is entered from a regular ASCII\n keyboard, the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may be used\n for higher security since the same identifier in\n two different contexts won''t be given the same\n surrogate. If the context is not set, a default\n tweak will be used. If the context is set but: 1.\n there is no record present when transforming a given\n value or 1. the field is not present when transforming\n a given value, a default tweak will be used. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced field\n may be of value type integer or string. The tweak\n is constructed as a sequence of bytes in big endian\n byte order such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 - a string\n is encoded in UTF-8 format followed by a single\n byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the encryption\n algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping these to\n the alphanumeric characters that the FFX mode natively\n supports. This happens before/after encryption/decryption.\n Each character listed must appear only once. Number\n of characters must be in the range [2, 95]. This\n must be encoded as ASCII. The order of characters\n does not matter. The full list of allowed characters\n is: ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the alphabet.\n Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom infoType followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full replacement\n value will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This\n annotation identifies the surrogate when inspecting\n content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate when\n it occurs in free text. In order for inspection\n to work properly, the name of this infoType must\n not occur naturally anywhere in your data; otherwise,\n inspection may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose your\n custom infoType name carefully after considering\n what your data looks like. One way to select a name\n that has a high chance of yielding reliable detection\n is to include one or more unicode characters that\n are highly improbable to exist in your data. For\n example, assuming your data is entered from a regular\n ASCII keyboard, the symbol with the hex code point\n 29DD might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains the\n context, for example, an entity id. If set, must\n also set cryptoKey. If set, shift will be consistent\n for the given context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed based\n on this key and the context. This results in the\n same shift for the same context and crypto_key.\n If set, must also set context. Can only be applied\n to table items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means shift\n date to at most 5 days back in the past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in days. Actual\n shift will be selected at random within this range\n (inclusive ends). Negative means shift to earlier\n in time. Must not be more than 365250 days (1000\n years) each direction. For example, 3 means shift\n date to at most 3 days into the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket (except\n for minimum and maximum buckets). So if `lower_bound`\n = 10, `upper_bound` = 89, and `bucket_size` = 10,\n then the following buckets would be used: -10, 10-20,\n 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89,\n 89+. Precision up to 2 decimals works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value of buckets.\n All values less than `lower_bound` are grouped together\n into a single bucket; for example if `lower_bound`\n = 10, then all values less than 10 are replaced\n with the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value of buckets.\n All values greater than upper_bound are grouped\n together into a single bucket; for example if `upper_bound`\n = 89, then all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep. Possible\n values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH,\n DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n recordTransformations:\n type: object\n x-dcl-go-name: RecordTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformations\n description: Treat the dataset as structured. Transformations can be\n applied to specific locations within structured datasets, such as\n transforming a column within a table.\n x-dcl-conflicts:\n - infoTypeTransformations\n properties:\n fieldTransformations:\n type: array\n x-dcl-go-name: FieldTransformations\n description: Transform the record by applying various field transformations.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformations\n required:\n - fields\n properties:\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsCondition\n description: 'Only apply the transformation if the condition\n evaluates to true for the given `RecordCondition`. The conditions\n are allowed to reference fields that are not used in the\n actual transformation. Example Use Cases: - Apply a different\n bucket transformation to an age column if the zip code column\n for the same record is within a specific range. - Redact\n a field if the date of birth field is greater than 85.'\n properties:\n expressions:\n type: object\n x-dcl-go-name: Expressions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressions\n description: An expression.\n properties:\n conditions:\n type: object\n x-dcl-go-name: Conditions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditions\n description: Conditions to apply to the expression.\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n description: A collection of conditions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditions\n required:\n - field\n - operator\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsField\n description: Required. Field within the\n record this condition is evaluated against.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n operator:\n type: string\n x-dcl-go-name: Operator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsOperatorEnum\n description: 'Required. Operator used to\n compare the field or infoType to the value.\n Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n value:\n type: object\n x-dcl-go-name: Value\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValue\n description: Value to compare against. [Mandatory,\n except for `EXISTS` tests.]\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n logicalOperator:\n type: string\n x-dcl-go-name: LogicalOperator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsLogicalOperatorEnum\n description: 'The operator to apply to the result\n of conditions. Default and currently only supported\n value is `AND`. Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n fields:\n type: array\n x-dcl-go-name: Fields\n description: Required. Input field(s) to apply the transformation\n to. When you have columns that reference their position\n within a list, omit the index from the FieldId. FieldId\n name matching ignores the index. For example, instead of\n \"contact.nums[0].type\", use \"contact.nums.type\".\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n infoTypeTransformations:\n type: object\n x-dcl-go-name: InfoTypeTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformations\n description: Treat the contents of the field as free text,\n and selectively transform content that matches an `InfoType`.\n x-dcl-conflicts:\n - primitiveTransformation\n required:\n - transformations\n properties:\n transformations:\n type: array\n x-dcl-go-name: Transformations\n description: Required. Transformation for each infoType.\n Cannot specify more than one for a given infoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformations\n required:\n - primitiveTransformation\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoTypes to apply the transformation\n to. An empty list will cause this transformation\n to apply to all findings that correspond to infoTypes\n that were requested in `InspectConfig`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when creating\n a CustomInfoType, or one of the names listed\n at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformation\n description: Required. Primitive transformation\n to apply to the infoType.\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must\n be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range,\n exclusive; type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range,\n inclusive. Type should be the same\n as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement\n value for this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items\n in this list will be skipped when replacing\n characters. For example, if the input\n string is `555-555-5555` and you instruct\n Cloud DLP to skip `-` and mask 5 characters\n with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform\n when masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to\n not transform when masking. Useful\n to avoid removing punctuation. Possible\n values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the\n sensitive values—for example, `*` for\n an alphabetic string such as a name, or\n `0` for a numeric string such as ZIP code\n or credit card number. This string must\n have a length of 1. If not supplied, this\n value defaults to `*` for strings, and\n `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask.\n If not set, all matching chars will be\n masked. Skipped characters do not count\n towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse\n order. For example, if `masking_character`\n is `0`, `number_to_mask` is `14`, and\n `reverse_order` is `false`, then the input\n string `1234-5678-9012-3456` is masked\n as `00000000000000-3456`. If `masking_character`\n is `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is\n masked as `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for\n higher security and maintaining referential\n integrity such that the same identifier\n in two different contexts will be given\n a distinct surrogate. The context is appended\n to plaintext value being encrypted. On\n decryption the provided context is validated\n against the value used during encryption.\n If a context was provided during encryption,\n same context must be provided during decryption\n as well. If the context is not set, plaintext\n would be used as is for encryption. If\n the context is set but: 1. there is no\n record present when transforming a given\n value or 2. the field is not present when\n transforming a given value, plaintext\n would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption\n function. For deterministic encryption\n using AES-SIV, the provided key is internally\n expanded to 64 bytes prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate\n the surrogate with. This annotation will\n be applied to the surrogate by prefixing\n it with the name of the custom info type\n followed by the number of characters comprising\n the surrogate. The following scheme defines\n the format: {info type name}({surrogate\n character count}):{surrogate} For example,\n if the name of custom info type is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full\n replacement value will be: ''MY_TOKEN_INFO_TYPE(3):abc''\n This annotation identifies the surrogate\n when inspecting content using the custom\n info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs\n in free text. Note: For record transformations\n where the entire cell in a table is being\n transformed, surrogates are not mandatory.\n Surrogates are used to denote the location\n of the token and are necessary for re-identification\n in free form text. In order for inspection\n to work properly, the name of this info\n type must not occur naturally anywhere\n in your data; otherwise, inspection may\n either - reverse a surrogate that does\n not correspond to an actual identifier\n - be unable to parse the surrogate and\n result in an error Therefore, choose your\n custom info type name carefully after\n considering what your data looks like.\n One way to select a name that has a high\n chance of yielding reliable detection\n is to include one or more unicode characters\n that are highly improbable to exist in\n your data. For example, assuming your\n data is entered from a regular ASCII keyboard,\n the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information\n type. Either a name of your choosing\n when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data\n Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible\n values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may\n be used for higher security since the\n same identifier in two different contexts\n won''t be given the same surrogate. If\n the context is not set, a default tweak\n will be used. If the context is set but:\n 1. there is no record present when transforming\n a given value or 1. the field is not present\n when transforming a given value, a default\n tweak will be used. Note that case (1)\n is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced\n field may be of value type integer or\n string. The tweak is constructed as a\n sequence of bytes in big endian byte order\n such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 -\n a string is encoded in UTF-8 format followed\n by a single byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the\n encryption algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping\n these to the alphanumeric characters that\n the FFX mode natively supports. This happens\n before/after encryption/decryption. Each\n character listed must appear only once.\n Number of characters must be in the range\n [2, 95]. This must be encoded as ASCII.\n The order of characters does not matter.\n The full list of allowed characters is:\n ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the\n alphabet. Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate\n the surrogate with. This annotation will\n be applied to the surrogate by prefixing\n it with the name of the custom infoType\n followed by the number of characters comprising\n the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType\n is ''MY_TOKEN_INFO_TYPE'' and the surrogate\n is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc''\n This annotation identifies the surrogate\n when inspecting content using the custom\n infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate\n when it occurs in free text. In order\n for inspection to work properly, the name\n of this infoType must not occur naturally\n anywhere in your data; otherwise, inspection\n may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose\n your custom infoType name carefully after\n considering what your data looks like.\n One way to select a name that has a high\n chance of yielding reliable detection\n is to include one or more unicode characters\n that are highly improbable to exist in\n your data. For example, assuming your\n data is entered from a regular ASCII keyboard,\n the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information\n type. Either a name of your choosing\n when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data\n Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains\n the context, for example, an entity id.\n If set, must also set cryptoKey. If set,\n shift will be consistent for the given\n context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed\n based on this key and the context. This\n results in the same shift for the same\n context and crypto_key. If set, must also\n set context. Can only be applied to table\n items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means\n shift date to at most 5 days back in the\n past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in\n days. Actual shift will be selected at\n random within this range (inclusive ends).\n Negative means shift to earlier in time.\n Must not be more than 365250 days (1000\n years) each direction. For example, 3\n means shift date to at most 3 days into\n the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket\n (except for minimum and maximum buckets).\n So if `lower_bound` = 10, `upper_bound`\n = 89, and `bucket_size` = 10, then the\n following buckets would be used: -10,\n 10-20, 20-30, 30-40, 40-50, 50-60, 60-70,\n 70-80, 80-89, 89+. Precision up to 2 decimals\n works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value\n of buckets. All values less than `lower_bound`\n are grouped together into a single bucket;\n for example if `lower_bound` = 10, then\n all values less than 10 are replaced with\n the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value\n of buckets. All values greater than upper_bound\n are grouped together into a single bucket;\n for example if `upper_bound` = 89, then\n all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep.\n Possible values: TIME_PART_UNSPECIFIED,\n YEAR, MONTH, DAY_OF_MONTH, DAY_OF_WEEK,\n WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformation\n description: Apply the transformation to the entire field.\n x-dcl-conflicts:\n - infoTypeTransformations\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range, exclusive;\n type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range, inclusive.\n Type should be the same as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement value for\n this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items in this\n list will be skipped when replacing characters.\n For example, if the input string is `555-555-5555`\n and you instruct Cloud DLP to skip `-` and mask\n 5 characters with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform when\n masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to not transform\n when masking. Useful to avoid removing punctuation.\n Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the sensitive\n values—for example, `*` for an alphabetic string\n such as a name, or `0` for a numeric string such\n as ZIP code or credit card number. This string must\n have a length of 1. If not supplied, this value\n defaults to `*` for strings, and `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask. If not\n set, all matching chars will be masked. Skipped\n characters do not count towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse order. For\n example, if `masking_character` is `0`, `number_to_mask`\n is `14`, and `reverse_order` is `false`, then the\n input string `1234-5678-9012-3456` is masked as\n `00000000000000-3456`. If `masking_character` is\n `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is masked as\n `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for higher security\n and maintaining referential integrity such that\n the same identifier in two different contexts will\n be given a distinct surrogate. The context is appended\n to plaintext value being encrypted. On decryption\n the provided context is validated against the value\n used during encryption. If a context was provided\n during encryption, same context must be provided\n during decryption as well. If the context is not\n set, plaintext would be used as is for encryption.\n If the context is set but: 1. there is no record\n present when transforming a given value or 2. the\n field is not present when transforming a given value,\n plaintext would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption function.\n For deterministic encryption using AES-SIV, the\n provided key is internally expanded to 64 bytes\n prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom info type followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: {info type name}({surrogate character\n count}):{surrogate} For example, if the name of\n custom info type is ''MY_TOKEN_INFO_TYPE'' and the\n surrogate is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This annotation\n identifies the surrogate when inspecting content\n using the custom info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs in free\n text. Note: For record transformations where the\n entire cell in a table is being transformed, surrogates\n are not mandatory. Surrogates are used to denote\n the location of the token and are necessary for\n re-identification in free form text. In order for\n inspection to work properly, the name of this info\n type must not occur naturally anywhere in your data;\n otherwise, inspection may either - reverse a surrogate\n that does not correspond to an actual identifier\n - be unable to parse the surrogate and result in\n an error Therefore, choose your custom info type\n name carefully after considering what your data\n looks like. One way to select a name that has a\n high chance of yielding reliable detection is to\n include one or more unicode characters that are\n highly improbable to exist in your data. For example,\n assuming your data is entered from a regular ASCII\n keyboard, the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may be used\n for higher security since the same identifier in\n two different contexts won''t be given the same\n surrogate. If the context is not set, a default\n tweak will be used. If the context is set but: 1.\n there is no record present when transforming a given\n value or 1. the field is not present when transforming\n a given value, a default tweak will be used. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced field\n may be of value type integer or string. The tweak\n is constructed as a sequence of bytes in big endian\n byte order such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 - a string\n is encoded in UTF-8 format followed by a single\n byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the encryption\n algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping these to\n the alphanumeric characters that the FFX mode natively\n supports. This happens before/after encryption/decryption.\n Each character listed must appear only once. Number\n of characters must be in the range [2, 95]. This\n must be encoded as ASCII. The order of characters\n does not matter. The full list of allowed characters\n is: ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the alphabet.\n Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom infoType followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full replacement\n value will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This\n annotation identifies the surrogate when inspecting\n content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate when\n it occurs in free text. In order for inspection\n to work properly, the name of this infoType must\n not occur naturally anywhere in your data; otherwise,\n inspection may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose your\n custom infoType name carefully after considering\n what your data looks like. One way to select a name\n that has a high chance of yielding reliable detection\n is to include one or more unicode characters that\n are highly improbable to exist in your data. For\n example, assuming your data is entered from a regular\n ASCII keyboard, the symbol with the hex code point\n 29DD might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains the\n context, for example, an entity id. If set, must\n also set cryptoKey. If set, shift will be consistent\n for the given context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed based\n on this key and the context. This results in the\n same shift for the same context and crypto_key.\n If set, must also set context. Can only be applied\n to table items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means shift\n date to at most 5 days back in the past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in days. Actual\n shift will be selected at random within this range\n (inclusive ends). Negative means shift to earlier\n in time. Must not be more than 365250 days (1000\n years) each direction. For example, 3 means shift\n date to at most 3 days into the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket (except\n for minimum and maximum buckets). So if `lower_bound`\n = 10, `upper_bound` = 89, and `bucket_size` = 10,\n then the following buckets would be used: -10, 10-20,\n 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89,\n 89+. Precision up to 2 decimals works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value of buckets.\n All values less than `lower_bound` are grouped together\n into a single bucket; for example if `lower_bound`\n = 10, then all values less than 10 are replaced\n with the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value of buckets.\n All values greater than upper_bound are grouped\n together into a single bucket; for example if `upper_bound`\n = 89, then all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep. Possible\n values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH,\n DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n recordSuppressions:\n type: array\n x-dcl-go-name: RecordSuppressions\n description: Configuration defining which records get suppressed\n entirely. Records that match any suppression rule are omitted\n from the output.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressions\n properties:\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsCondition\n description: A condition that when it evaluates to true will\n result in the record being evaluated to be suppressed from\n the transformed content.\n properties:\n expressions:\n type: object\n x-dcl-go-name: Expressions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressions\n description: An expression.\n properties:\n conditions:\n type: object\n x-dcl-go-name: Conditions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditions\n description: Conditions to apply to the expression.\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n description: A collection of conditions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditions\n required:\n - field\n - operator\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsField\n description: Required. Field within the\n record this condition is evaluated against.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n operator:\n type: string\n x-dcl-go-name: Operator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsOperatorEnum\n description: 'Required. Operator used to\n compare the field or infoType to the value.\n Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n value:\n type: object\n x-dcl-go-name: Value\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValue\n description: Value to compare against. [Mandatory,\n except for `EXISTS` tests.]\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n logicalOperator:\n type: string\n x-dcl-go-name: LogicalOperator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsLogicalOperatorEnum\n description: 'The operator to apply to the result\n of conditions. Default and currently only supported\n value is `AND`. Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n transformationErrorHandling:\n type: object\n x-dcl-go-name: TransformationErrorHandling\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandling\n description: Mode for handling transformation errors. If left unspecified,\n the default mode is `TransformationErrorHandling.ThrowError`.\n properties:\n leaveUntransformed:\n type: object\n x-dcl-go-name: LeaveUntransformed\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandlingLeaveUntransformed\n description: Ignore errors\n x-dcl-conflicts:\n - throwError\n throwError:\n type: object\n x-dcl-go-name: ThrowError\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandlingThrowError\n description: Throw an error\n x-dcl-conflicts:\n - leaveUntransformed\n description:\n type: string\n x-dcl-go-name: Description\n description: Short description (max 256 chars).\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 256 chars).\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The template name. The template will have one\n of the following formats: `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID`\n OR `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n") +var YAML_deidentify_template = []byte("info:\n title: Dlp/DeidentifyTemplate\n description: The Dlp DeidentifyTemplate resource\n x-dcl-struct-name: DeidentifyTemplate\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n apply:\n description: The function used to apply information about a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n delete:\n description: The function used to delete a DeidentifyTemplate\n parameters:\n - name: DeidentifyTemplate\n required: true\n description: A full instance of a DeidentifyTemplate\n deleteAll:\n description: The function used to delete all DeidentifyTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many DeidentifyTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n DeidentifyTemplate:\n title: DeidentifyTemplate\n x-dcl-id: '{{parent}}/deidentifyTemplates/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n deidentifyConfig:\n type: object\n x-dcl-go-name: DeidentifyConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfig\n description: The core content of the template.\n properties:\n infoTypeTransformations:\n type: object\n x-dcl-go-name: InfoTypeTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformations\n description: Treat the dataset as free-form text and apply the same\n free text transformation everywhere.\n x-dcl-conflicts:\n - recordTransformations\n required:\n - transformations\n properties:\n transformations:\n type: array\n x-dcl-go-name: Transformations\n description: Required. Transformation for each infoType. Cannot\n specify more than one for a given infoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformations\n required:\n - primitiveTransformation\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoTypes to apply the transformation to. An\n empty list will cause this transformation to apply to all\n findings that correspond to infoTypes that were requested\n in `InspectConfig`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a\n name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformation\n description: Required. Primitive transformation to apply to\n the infoType.\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range, exclusive;\n type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range, inclusive.\n Type should be the same as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement value for\n this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items in this\n list will be skipped when replacing characters.\n For example, if the input string is `555-555-5555`\n and you instruct Cloud DLP to skip `-` and mask\n 5 characters with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform when\n masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to not transform\n when masking. Useful to avoid removing punctuation.\n Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the sensitive\n values—for example, `*` for an alphabetic string\n such as a name, or `0` for a numeric string such\n as ZIP code or credit card number. This string must\n have a length of 1. If not supplied, this value\n defaults to `*` for strings, and `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask. If not\n set, all matching chars will be masked. Skipped\n characters do not count towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse order. For\n example, if `masking_character` is `0`, `number_to_mask`\n is `14`, and `reverse_order` is `false`, then the\n input string `1234-5678-9012-3456` is masked as\n `00000000000000-3456`. If `masking_character` is\n `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is masked as\n `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for higher security\n and maintaining referential integrity such that\n the same identifier in two different contexts will\n be given a distinct surrogate. The context is appended\n to plaintext value being encrypted. On decryption\n the provided context is validated against the value\n used during encryption. If a context was provided\n during encryption, same context must be provided\n during decryption as well. If the context is not\n set, plaintext would be used as is for encryption.\n If the context is set but: 1. there is no record\n present when transforming a given value or 2. the\n field is not present when transforming a given value,\n plaintext would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption function.\n For deterministic encryption using AES-SIV, the\n provided key is internally expanded to 64 bytes\n prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom info type followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: {info type name}({surrogate character\n count}):{surrogate} For example, if the name of\n custom info type is ''MY_TOKEN_INFO_TYPE'' and the\n surrogate is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This annotation\n identifies the surrogate when inspecting content\n using the custom info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs in free\n text. Note: For record transformations where the\n entire cell in a table is being transformed, surrogates\n are not mandatory. Surrogates are used to denote\n the location of the token and are necessary for\n re-identification in free form text. In order for\n inspection to work properly, the name of this info\n type must not occur naturally anywhere in your data;\n otherwise, inspection may either - reverse a surrogate\n that does not correspond to an actual identifier\n - be unable to parse the surrogate and result in\n an error Therefore, choose your custom info type\n name carefully after considering what your data\n looks like. One way to select a name that has a\n high chance of yielding reliable detection is to\n include one or more unicode characters that are\n highly improbable to exist in your data. For example,\n assuming your data is entered from a regular ASCII\n keyboard, the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may be used\n for higher security since the same identifier in\n two different contexts won''t be given the same\n surrogate. If the context is not set, a default\n tweak will be used. If the context is set but: 1.\n there is no record present when transforming a given\n value or 1. the field is not present when transforming\n a given value, a default tweak will be used. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced field\n may be of value type integer or string. The tweak\n is constructed as a sequence of bytes in big endian\n byte order such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 - a string\n is encoded in UTF-8 format followed by a single\n byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the encryption\n algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping these to\n the alphanumeric characters that the FFX mode natively\n supports. This happens before/after encryption/decryption.\n Each character listed must appear only once. Number\n of characters must be in the range [2, 95]. This\n must be encoded as ASCII. The order of characters\n does not matter. The full list of allowed characters\n is: ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the alphabet.\n Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom infoType followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full replacement\n value will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This\n annotation identifies the surrogate when inspecting\n content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate when\n it occurs in free text. In order for inspection\n to work properly, the name of this infoType must\n not occur naturally anywhere in your data; otherwise,\n inspection may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose your\n custom infoType name carefully after considering\n what your data looks like. One way to select a name\n that has a high chance of yielding reliable detection\n is to include one or more unicode characters that\n are highly improbable to exist in your data. For\n example, assuming your data is entered from a regular\n ASCII keyboard, the symbol with the hex code point\n 29DD might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains the\n context, for example, an entity id. If set, must\n also set cryptoKey. If set, shift will be consistent\n for the given context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed based\n on this key and the context. This results in the\n same shift for the same context and crypto_key.\n If set, must also set context. Can only be applied\n to table items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means shift\n date to at most 5 days back in the past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in days. Actual\n shift will be selected at random within this range\n (inclusive ends). Negative means shift to earlier\n in time. Must not be more than 365250 days (1000\n years) each direction. For example, 3 means shift\n date to at most 3 days into the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket (except\n for minimum and maximum buckets). So if `lower_bound`\n = 10, `upper_bound` = 89, and `bucket_size` = 10,\n then the following buckets would be used: -10, 10-20,\n 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89,\n 89+. Precision up to 2 decimals works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value of buckets.\n All values less than `lower_bound` are grouped together\n into a single bucket; for example if `lower_bound`\n = 10, then all values less than 10 are replaced\n with the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value of buckets.\n All values greater than upper_bound are grouped\n together into a single bucket; for example if `upper_bound`\n = 89, then all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep. Possible\n values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH,\n DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n recordTransformations:\n type: object\n x-dcl-go-name: RecordTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformations\n description: Treat the dataset as structured. Transformations can be\n applied to specific locations within structured datasets, such as\n transforming a column within a table.\n x-dcl-conflicts:\n - infoTypeTransformations\n properties:\n fieldTransformations:\n type: array\n x-dcl-go-name: FieldTransformations\n description: Transform the record by applying various field transformations.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformations\n required:\n - fields\n properties:\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsCondition\n description: 'Only apply the transformation if the condition\n evaluates to true for the given `RecordCondition`. The conditions\n are allowed to reference fields that are not used in the\n actual transformation. Example Use Cases: - Apply a different\n bucket transformation to an age column if the zip code column\n for the same record is within a specific range. - Redact\n a field if the date of birth field is greater than 85.'\n properties:\n expressions:\n type: object\n x-dcl-go-name: Expressions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressions\n description: An expression.\n properties:\n conditions:\n type: object\n x-dcl-go-name: Conditions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditions\n description: Conditions to apply to the expression.\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n description: A collection of conditions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditions\n required:\n - field\n - operator\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsField\n description: Required. Field within the\n record this condition is evaluated against.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n operator:\n type: string\n x-dcl-go-name: Operator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsOperatorEnum\n description: 'Required. Operator used to\n compare the field or infoType to the value.\n Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n value:\n type: object\n x-dcl-go-name: Value\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValue\n description: Value to compare against. [Mandatory,\n except for `EXISTS` tests.]\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsConditionsConditionsValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n logicalOperator:\n type: string\n x-dcl-go-name: LogicalOperator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsConditionExpressionsLogicalOperatorEnum\n description: 'The operator to apply to the result\n of conditions. Default and currently only supported\n value is `AND`. Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n fields:\n type: array\n x-dcl-go-name: Fields\n description: Required. Input field(s) to apply the transformation\n to. When you have columns that reference their position\n within a list, omit the index from the FieldId. FieldId\n name matching ignores the index. For example, instead of\n \"contact.nums[0].type\", use \"contact.nums.type\".\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n infoTypeTransformations:\n type: object\n x-dcl-go-name: InfoTypeTransformations\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformations\n description: Treat the contents of the field as free text,\n and selectively transform content that matches an `InfoType`.\n x-dcl-conflicts:\n - primitiveTransformation\n required:\n - transformations\n properties:\n transformations:\n type: array\n x-dcl-go-name: Transformations\n description: Required. Transformation for each infoType.\n Cannot specify more than one for a given infoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformations\n required:\n - primitiveTransformation\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoTypes to apply the transformation\n to. An empty list will cause this transformation\n to apply to all findings that correspond to infoTypes\n that were requested in `InspectConfig`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when creating\n a CustomInfoType, or one of the names listed\n at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformation\n description: Required. Primitive transformation\n to apply to the infoType.\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must\n be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range,\n exclusive; type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range,\n inclusive. Type should be the same\n as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement\n value for this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month.\n Must be from 1 to 31 and\n valid for the year and month,\n or 0 to specify a year by\n itself or a year and month\n where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year.\n Must be from 1 to 12, or\n 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date.\n Must be from 1 to 9999,\n or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible\n values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY,\n THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day\n in 24 hour format. Should\n be from 0 to 23. An API\n may choose to allow the\n value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour\n of day. Must be from 0 to\n 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of\n seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally\n be from 0 to 59. An API\n may allow the value 60 if\n it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items\n in this list will be skipped when replacing\n characters. For example, if the input\n string is `555-555-5555` and you instruct\n Cloud DLP to skip `-` and mask 5 characters\n with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform\n when masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to\n not transform when masking. Useful\n to avoid removing punctuation. Possible\n values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the\n sensitive values—for example, `*` for\n an alphabetic string such as a name, or\n `0` for a numeric string such as ZIP code\n or credit card number. This string must\n have a length of 1. If not supplied, this\n value defaults to `*` for strings, and\n `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask.\n If not set, all matching chars will be\n masked. Skipped characters do not count\n towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse\n order. For example, if `masking_character`\n is `0`, `number_to_mask` is `14`, and\n `reverse_order` is `false`, then the input\n string `1234-5678-9012-3456` is masked\n as `00000000000000-3456`. If `masking_character`\n is `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is\n masked as `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for\n higher security and maintaining referential\n integrity such that the same identifier\n in two different contexts will be given\n a distinct surrogate. The context is appended\n to plaintext value being encrypted. On\n decryption the provided context is validated\n against the value used during encryption.\n If a context was provided during encryption,\n same context must be provided during decryption\n as well. If the context is not set, plaintext\n would be used as is for encryption. If\n the context is set but: 1. there is no\n record present when transforming a given\n value or 2. the field is not present when\n transforming a given value, plaintext\n would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption\n function. For deterministic encryption\n using AES-SIV, the provided key is internally\n expanded to 64 bytes prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate\n the surrogate with. This annotation will\n be applied to the surrogate by prefixing\n it with the name of the custom info type\n followed by the number of characters comprising\n the surrogate. The following scheme defines\n the format: {info type name}({surrogate\n character count}):{surrogate} For example,\n if the name of custom info type is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full\n replacement value will be: ''MY_TOKEN_INFO_TYPE(3):abc''\n This annotation identifies the surrogate\n when inspecting content using the custom\n info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs\n in free text. Note: For record transformations\n where the entire cell in a table is being\n transformed, surrogates are not mandatory.\n Surrogates are used to denote the location\n of the token and are necessary for re-identification\n in free form text. In order for inspection\n to work properly, the name of this info\n type must not occur naturally anywhere\n in your data; otherwise, inspection may\n either - reverse a surrogate that does\n not correspond to an actual identifier\n - be unable to parse the surrogate and\n result in an error Therefore, choose your\n custom info type name carefully after\n considering what your data looks like.\n One way to select a name that has a high\n chance of yielding reliable detection\n is to include one or more unicode characters\n that are highly improbable to exist in\n your data. For example, assuming your\n data is entered from a regular ASCII keyboard,\n the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information\n type. Either a name of your choosing\n when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data\n Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible\n values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may\n be used for higher security since the\n same identifier in two different contexts\n won''t be given the same surrogate. If\n the context is not set, a default tweak\n will be used. If the context is set but:\n 1. there is no record present when transforming\n a given value or 1. the field is not present\n when transforming a given value, a default\n tweak will be used. Note that case (1)\n is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced\n field may be of value type integer or\n string. The tweak is constructed as a\n sequence of bytes in big endian byte order\n such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 -\n a string is encoded in UTF-8 format followed\n by a single byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the\n encryption algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping\n these to the alphanumeric characters that\n the FFX mode natively supports. This happens\n before/after encryption/decryption. Each\n character listed must appear only once.\n Number of characters must be in the range\n [2, 95]. This must be encoded as ASCII.\n The order of characters does not matter.\n The full list of allowed characters is:\n ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the\n alphabet. Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate\n the surrogate with. This annotation will\n be applied to the surrogate by prefixing\n it with the name of the custom infoType\n followed by the number of characters comprising\n the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType\n is ''MY_TOKEN_INFO_TYPE'' and the surrogate\n is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc''\n This annotation identifies the surrogate\n when inspecting content using the custom\n infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate\n when it occurs in free text. In order\n for inspection to work properly, the name\n of this infoType must not occur naturally\n anywhere in your data; otherwise, inspection\n may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose\n your custom infoType name carefully after\n considering what your data looks like.\n One way to select a name that has a high\n chance of yielding reliable detection\n is to include one or more unicode characters\n that are highly improbable to exist in\n your data. For example, assuming your\n data is entered from a regular ASCII keyboard,\n the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information\n type. Either a name of your choosing\n when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data\n Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains\n the context, for example, an entity id.\n If set, must also set cryptoKey. If set,\n shift will be consistent for the given\n context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed\n based on this key and the context. This\n results in the same shift for the same\n context and crypto_key. If set, must also\n set context. Can only be applied to table\n items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud\n KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource\n name of the KMS CryptoKey to use\n for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped\n data crypto key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of\n the key. This is an arbitrary\n string used to differentiate different\n keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated\n key if their names are the same.\n When the data crypto key is generated,\n this name is not used in any way\n (repeating the api call will result\n in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256\n bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means\n shift date to at most 5 days back in the\n past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in\n days. Actual shift will be selected at\n random within this range (inclusive ends).\n Negative means shift to earlier in time.\n Must not be more than 365250 days (1000\n years) each direction. For example, 3\n means shift date to at most 3 days into\n the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket\n (except for minimum and maximum buckets).\n So if `lower_bound` = 10, `upper_bound`\n = 89, and `bucket_size` = 10, then the\n following buckets would be used: -10,\n 10-20, 20-30, 30-40, 40-50, 50-60, 60-70,\n 70-80, 80-89, 89+. Precision up to 2 decimals\n works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value\n of buckets. All values less than `lower_bound`\n are grouped together into a single bucket;\n for example if `lower_bound` = 10, then\n all values less than 10 are replaced with\n the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value\n of buckets. All values greater than upper_bound\n are grouped together into a single bucket;\n for example if `upper_bound` = 89, then\n all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsInfoTypeTransformationsTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep.\n Possible values: TIME_PART_UNSPECIFIED,\n YEAR, MONTH, DAY_OF_MONTH, DAY_OF_WEEK,\n WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n primitiveTransformation:\n type: object\n x-dcl-go-name: PrimitiveTransformation\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformation\n description: Apply the transformation to the entire field.\n x-dcl-conflicts:\n - infoTypeTransformations\n properties:\n bucketingConfig:\n type: object\n x-dcl-go-name: BucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfig\n description: Bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n buckets:\n type: array\n x-dcl-go-name: Buckets\n description: Set of buckets. Ranges must be non-overlapping.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBuckets\n required:\n - replacementValue\n properties:\n max:\n type: object\n x-dcl-go-name: Max\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMax\n description: Upper bound of the range, exclusive;\n type must match min.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMaxTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n min:\n type: object\n x-dcl-go-name: Min\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMin\n description: Lower bound of the range, inclusive.\n Type should be the same as max if used.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsMinTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replacementValue:\n type: object\n x-dcl-go-name: ReplacementValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValue\n description: Required. Replacement value for\n this bucket.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be\n from 1 to 31 and valid for the year\n and month, or 0 to specify a year\n by itself or a year and month where\n the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be\n from 1 to 12, or 0 to specify a year\n without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationBucketingConfigBucketsReplacementValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour\n format. Should be from 0 to 23. An\n API may choose to allow the value\n \"24:00:00\" for scenarios like business\n closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day.\n Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in\n nanoseconds. Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the\n time. Must normally be from 0 to 59.\n An API may allow the value 60 if it\n allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n characterMaskConfig:\n type: object\n x-dcl-go-name: CharacterMaskConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfig\n description: Mask\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n charactersToIgnore:\n type: array\n x-dcl-go-name: CharactersToIgnore\n description: When masking a string, items in this\n list will be skipped when replacing characters.\n For example, if the input string is `555-555-5555`\n and you instruct Cloud DLP to skip `-` and mask\n 5 characters with `*`, Cloud DLP returns `***-**5-5555`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnore\n properties:\n charactersToSkip:\n type: string\n x-dcl-go-name: CharactersToSkip\n description: Characters to not transform when\n masking.\n x-dcl-conflicts:\n - commonCharactersToIgnore\n commonCharactersToIgnore:\n type: string\n x-dcl-go-name: CommonCharactersToIgnore\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCharacterMaskConfigCharactersToIgnoreCommonCharactersToIgnoreEnum\n description: 'Common characters to not transform\n when masking. Useful to avoid removing punctuation.\n Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED,\n NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE,\n PUNCTUATION, WHITESPACE'\n x-dcl-conflicts:\n - charactersToSkip\n enum:\n - COMMON_CHARS_TO_IGNORE_UNSPECIFIED\n - NUMERIC\n - ALPHA_UPPER_CASE\n - ALPHA_LOWER_CASE\n - PUNCTUATION\n - WHITESPACE\n maskingCharacter:\n type: string\n x-dcl-go-name: MaskingCharacter\n description: Character to use to mask the sensitive\n values—for example, `*` for an alphabetic string\n such as a name, or `0` for a numeric string such\n as ZIP code or credit card number. This string must\n have a length of 1. If not supplied, this value\n defaults to `*` for strings, and `0` for digits.\n numberToMask:\n type: integer\n format: int64\n x-dcl-go-name: NumberToMask\n description: Number of characters to mask. If not\n set, all matching chars will be masked. Skipped\n characters do not count towards this tally.\n reverseOrder:\n type: boolean\n x-dcl-go-name: ReverseOrder\n description: Mask characters in reverse order. For\n example, if `masking_character` is `0`, `number_to_mask`\n is `14`, and `reverse_order` is `false`, then the\n input string `1234-5678-9012-3456` is masked as\n `00000000000000-3456`. If `masking_character` is\n `*`, `number_to_mask` is `3`, and `reverse_order`\n is `true`, then the string `12345` is masked as\n `12***`.\n cryptoDeterministicConfig:\n type: object\n x-dcl-go-name: CryptoDeterministicConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfig\n description: Deterministic Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigContext\n description: 'A context may be used for higher security\n and maintaining referential integrity such that\n the same identifier in two different contexts will\n be given a distinct surrogate. The context is appended\n to plaintext value being encrypted. On decryption\n the provided context is validated against the value\n used during encryption. If a context was provided\n during encryption, same context must be provided\n during decryption as well. If the context is not\n set, plaintext would be used as is for encryption.\n If the context is set but: 1. there is no record\n present when transforming a given value or 2. the\n field is not present when transforming a given value,\n plaintext would be used as is for encryption. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKey\n description: The key used by the encryption function.\n For deterministic encryption using AES-SIV, the\n provided key is internally expanded to 64 bytes\n prior to use.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoType\n description: 'The custom info type to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom info type followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: {info type name}({surrogate character\n count}):{surrogate} For example, if the name of\n custom info type is ''MY_TOKEN_INFO_TYPE'' and the\n surrogate is ''abc'', the full replacement value\n will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This annotation\n identifies the surrogate when inspecting content\n using the custom info type ''Surrogate''. This facilitates\n reversal of the surrogate when it occurs in free\n text. Note: For record transformations where the\n entire cell in a table is being transformed, surrogates\n are not mandatory. Surrogates are used to denote\n the location of the token and are necessary for\n re-identification in free form text. In order for\n inspection to work properly, the name of this info\n type must not occur naturally anywhere in your data;\n otherwise, inspection may either - reverse a surrogate\n that does not correspond to an actual identifier\n - be unable to parse the surrogate and result in\n an error Therefore, choose your custom info type\n name carefully after considering what your data\n looks like. One way to select a name that has a\n high chance of yielding reliable detection is to\n include one or more unicode characters that are\n highly improbable to exist in your data. For example,\n assuming your data is entered from a regular ASCII\n keyboard, the symbol with the hex code point 29DD\n might be used like so: ⧝MY_TOKEN_TYPE.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n cryptoHashConfig:\n type: object\n x-dcl-go-name: CryptoHashConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfig\n description: Crypto\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKey\n description: The key used by the hash function.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoHashConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n cryptoReplaceFfxFpeConfig:\n type: object\n x-dcl-go-name: CryptoReplaceFfxFpeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfig\n description: Ffx-Fpe\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - cryptoKey\n properties:\n commonAlphabet:\n type: string\n x-dcl-go-name: CommonAlphabet\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCommonAlphabetEnum\n description: 'Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,\n NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC,\n ALPHA_NUMERIC'\n x-dcl-conflicts:\n - customAlphabet\n - radix\n enum:\n - FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\n - NUMERIC\n - HEXADECIMAL\n - UPPER_CASE_ALPHA_NUMERIC\n - ALPHA_NUMERIC\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigContext\n description: 'The ''tweak'', a context may be used\n for higher security since the same identifier in\n two different contexts won''t be given the same\n surrogate. If the context is not set, a default\n tweak will be used. If the context is set but: 1.\n there is no record present when transforming a given\n value or 1. the field is not present when transforming\n a given value, a default tweak will be used. Note\n that case (1) is expected when an `InfoTypeTransformation`\n is applied to both structured and non-structured\n `ContentItem`s. Currently, the referenced field\n may be of value type integer or string. The tweak\n is constructed as a sequence of bytes in big endian\n byte order such that: - a 64 bit integer is encoded\n followed by a single byte of value 1 - a string\n is encoded in UTF-8 format followed by a single\n byte of value 2'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKey\n description: Required. The key used by the encryption\n algorithm.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n customAlphabet:\n type: string\n x-dcl-go-name: CustomAlphabet\n description: 'This is supported by mapping these to\n the alphanumeric characters that the FFX mode natively\n supports. This happens before/after encryption/decryption.\n Each character listed must appear only once. Number\n of characters must be in the range [2, 95]. This\n must be encoded as ASCII. The order of characters\n does not matter. The full list of allowed characters\n is: ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n ~`!@#$%^&*()_-+={[}]|:;\"''<,>.?/``'\n x-dcl-conflicts:\n - commonAlphabet\n - radix\n radix:\n type: integer\n format: int64\n x-dcl-go-name: Radix\n description: The native way to select the alphabet.\n Must be in the range [2, 95].\n x-dcl-conflicts:\n - commonAlphabet\n - customAlphabet\n surrogateInfoType:\n type: object\n x-dcl-go-name: SurrogateInfoType\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationCryptoReplaceFfxFpeConfigSurrogateInfoType\n description: 'The custom infoType to annotate the\n surrogate with. This annotation will be applied\n to the surrogate by prefixing it with the name of\n the custom infoType followed by the number of characters\n comprising the surrogate. The following scheme defines\n the format: info_type_name(surrogate_character_count):surrogate\n For example, if the name of custom infoType is ''MY_TOKEN_INFO_TYPE''\n and the surrogate is ''abc'', the full replacement\n value will be: ''MY_TOKEN_INFO_TYPE(3):abc'' This\n annotation identifies the surrogate when inspecting\n content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\n This facilitates reversal of the surrogate when\n it occurs in free text. In order for inspection\n to work properly, the name of this infoType must\n not occur naturally anywhere in your data; otherwise,\n inspection may find a surrogate that does not correspond\n to an actual identifier. Therefore, choose your\n custom infoType name carefully after considering\n what your data looks like. One way to select a name\n that has a high chance of yielding reliable detection\n is to include one or more unicode characters that\n are highly improbable to exist in your data. For\n example, assuming your data is entered from a regular\n ASCII keyboard, the symbol with the hex code point\n 29DD might be used like so: ⧝MY_TOKEN_TYPE'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n dateShiftConfig:\n type: object\n x-dcl-go-name: DateShiftConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfig\n description: Date Shift\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - cryptoDeterministicConfig\n required:\n - upperBoundDays\n - lowerBoundDays\n properties:\n context:\n type: object\n x-dcl-go-name: Context\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigContext\n description: Points to the field that contains the\n context, for example, an entity id. If set, must\n also set cryptoKey. If set, shift will be consistent\n for the given context.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n cryptoKey:\n type: object\n x-dcl-go-name: CryptoKey\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKey\n description: Causes the shift to be computed based\n on this key and the context. This results in the\n same shift for the same context and crypto_key.\n If set, must also set context. Can only be applied\n to table items.\n properties:\n kmsWrapped:\n type: object\n x-dcl-go-name: KmsWrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyKmsWrapped\n description: Key wrapped using Cloud KMS\n x-dcl-conflicts:\n - transient\n - unwrapped\n required:\n - wrappedKey\n - cryptoKeyName\n properties:\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Required. The resource name of\n the KMS CryptoKey to use for unwrapping.\n wrappedKey:\n type: string\n x-dcl-go-name: WrappedKey\n description: Required. The wrapped data crypto\n key.\n transient:\n type: object\n x-dcl-go-name: Transient\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyTransient\n description: Transient crypto key\n x-dcl-conflicts:\n - unwrapped\n - kmsWrapped\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. Name of the key. This\n is an arbitrary string used to differentiate\n different keys. A unique key is generated\n per name: two separate `TransientCryptoKey`\n protos share the same generated key if their\n names are the same. When the data crypto\n key is generated, this name is not used\n in any way (repeating the api call will\n result in a different key being generated).'\n unwrapped:\n type: object\n x-dcl-go-name: Unwrapped\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationDateShiftConfigCryptoKeyUnwrapped\n description: Unwrapped crypto key\n x-dcl-conflicts:\n - transient\n - kmsWrapped\n required:\n - key\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A 128/192/256 bit key.\n lowerBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: LowerBoundDays\n description: Required. For example, -5 means shift\n date to at most 5 days back in the past.\n upperBoundDays:\n type: integer\n format: int64\n x-dcl-go-name: UpperBoundDays\n description: Required. Range of shift in days. Actual\n shift will be selected at random within this range\n (inclusive ends). Negative means shift to earlier\n in time. Must not be more than 365250 days (1000\n years) each direction. For example, 3 means shift\n date to at most 3 days into the future.\n fixedSizeBucketingConfig:\n type: object\n x-dcl-go-name: FixedSizeBucketingConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfig\n description: Fixed size bucketing\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n required:\n - lowerBound\n - upperBound\n - bucketSize\n properties:\n bucketSize:\n type: number\n format: double\n x-dcl-go-name: BucketSize\n description: 'Required. Size of each bucket (except\n for minimum and maximum buckets). So if `lower_bound`\n = 10, `upper_bound` = 89, and `bucket_size` = 10,\n then the following buckets would be used: -10, 10-20,\n 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89,\n 89+. Precision up to 2 decimals works.'\n lowerBound:\n type: object\n x-dcl-go-name: LowerBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBound\n description: Required. Lower bound value of buckets.\n All values less than `lower_bound` are grouped together\n into a single bucket; for example if `lower_bound`\n = 10, then all values less than 10 are replaced\n with the value \"-10\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigLowerBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n upperBound:\n type: object\n x-dcl-go-name: UpperBound\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBound\n description: Required. Upper bound value of buckets.\n All values greater than upper_bound are grouped\n together into a single bucket; for example if `upper_bound`\n = 89, then all values greater than 89 are replaced\n with the value \"89+\".\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationFixedSizeBucketingConfigUpperBoundTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n redactConfig:\n type: object\n x-dcl-go-name: RedactConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationRedactConfig\n description: Redact\n x-dcl-conflicts:\n - replaceConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n replaceConfig:\n type: object\n x-dcl-go-name: ReplaceConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfig\n description: Replace with a specified value.\n x-dcl-conflicts:\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n newValue:\n type: object\n x-dcl-go-name: NewValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValue\n description: Value to replace it with.\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must be from\n 1 to 31 and valid for the year and month,\n or 0 to specify a year by itself or a year\n and month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must be from\n 1 to 12, or 0 to specify a year without\n a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must be from\n 1 to 9999, or 0 to specify a date without\n a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueDayOfWeekValueEnum\n description: 'day of week Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,\n SATURDAY, SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceConfigNewValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format.\n Should be from 0 to 23. An API may choose\n to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must\n be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds.\n Must be from 0 to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time.\n Must normally be from 0 to 59. An API may\n allow the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n replaceWithInfoTypeConfig:\n type: object\n x-dcl-go-name: ReplaceWithInfoTypeConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationReplaceWithInfoTypeConfig\n description: Replace with infotype\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - timePartConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n x-dcl-send-empty: true\n timePartConfig:\n type: object\n x-dcl-go-name: TimePartConfig\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationTimePartConfig\n description: Time extraction\n x-dcl-conflicts:\n - replaceConfig\n - redactConfig\n - characterMaskConfig\n - cryptoReplaceFfxFpeConfig\n - fixedSizeBucketingConfig\n - bucketingConfig\n - replaceWithInfoTypeConfig\n - cryptoHashConfig\n - dateShiftConfig\n - cryptoDeterministicConfig\n properties:\n partToExtract:\n type: string\n x-dcl-go-name: PartToExtract\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationsPrimitiveTransformationTimePartConfigPartToExtractEnum\n description: 'The part of the time to keep. Possible\n values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH,\n DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY'\n enum:\n - TIME_PART_UNSPECIFIED\n - YEAR\n - MONTH\n - DAY_OF_MONTH\n - DAY_OF_WEEK\n - WEEK_OF_YEAR\n - HOUR_OF_DAY\n recordSuppressions:\n type: array\n x-dcl-go-name: RecordSuppressions\n description: Configuration defining which records get suppressed\n entirely. Records that match any suppression rule are omitted\n from the output.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressions\n properties:\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsCondition\n description: A condition that when it evaluates to true will\n result in the record being evaluated to be suppressed from\n the transformed content.\n properties:\n expressions:\n type: object\n x-dcl-go-name: Expressions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressions\n description: An expression.\n properties:\n conditions:\n type: object\n x-dcl-go-name: Conditions\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditions\n description: Conditions to apply to the expression.\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n description: A collection of conditions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditions\n required:\n - field\n - operator\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsField\n description: Required. Field within the\n record this condition is evaluated against.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n operator:\n type: string\n x-dcl-go-name: Operator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsOperatorEnum\n description: 'Required. Operator used to\n compare the field or infoType to the value.\n Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n value:\n type: object\n x-dcl-go-name: Value\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValue\n description: Value to compare against. [Mandatory,\n except for `EXISTS` tests.]\n properties:\n booleanValue:\n type: boolean\n x-dcl-go-name: BooleanValue\n description: boolean\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n dateValue:\n type: object\n x-dcl-go-name: DateValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueDateValue\n description: date\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dayOfWeekValue\n properties:\n day:\n type: integer\n format: int64\n x-dcl-go-name: Day\n description: Day of a month. Must\n be from 1 to 31 and valid for\n the year and month, or 0 to specify\n a year by itself or a year and\n month where the day isn't significant.\n month:\n type: integer\n format: int64\n x-dcl-go-name: Month\n description: Month of a year. Must\n be from 1 to 12, or 0 to specify\n a year without a month and day.\n year:\n type: integer\n format: int64\n x-dcl-go-name: Year\n description: Year of the date. Must\n be from 1 to 9999, or 0 to specify\n a date without a year.\n dayOfWeekValue:\n type: string\n x-dcl-go-name: DayOfWeekValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueDayOfWeekValueEnum\n description: 'day of week Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY,\n WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,\n SUNDAY'\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n floatValue:\n type: number\n format: double\n x-dcl-go-name: FloatValue\n description: float\n x-dcl-conflicts:\n - integerValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n integerValue:\n type: integer\n format: int64\n x-dcl-go-name: IntegerValue\n description: integer\n x-dcl-conflicts:\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n stringValue:\n type: string\n x-dcl-go-name: StringValue\n description: string\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - booleanValue\n - timestampValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n timeValue:\n type: object\n x-dcl-go-name: TimeValue\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsConditionsConditionsValueTimeValue\n description: time of day\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timestampValue\n - dateValue\n - dayOfWeekValue\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24\n hour format. Should be from 0\n to 23. An API may choose to allow\n the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of\n day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds\n in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes\n of the time. Must normally be\n from 0 to 59. An API may allow\n the value 60 if it allows leap-seconds.\n timestampValue:\n type: string\n format: date-time\n x-dcl-go-name: TimestampValue\n description: timestamp\n x-dcl-conflicts:\n - integerValue\n - floatValue\n - stringValue\n - booleanValue\n - timeValue\n - dateValue\n - dayOfWeekValue\n logicalOperator:\n type: string\n x-dcl-go-name: LogicalOperator\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionsConditionExpressionsLogicalOperatorEnum\n description: 'The operator to apply to the result\n of conditions. Default and currently only supported\n value is `AND`. Possible values: LOGICAL_OPERATOR_UNSPECIFIED,\n AND'\n enum:\n - LOGICAL_OPERATOR_UNSPECIFIED\n - AND\n transformationErrorHandling:\n type: object\n x-dcl-go-name: TransformationErrorHandling\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandling\n description: Mode for handling transformation errors. If left unspecified,\n the default mode is `TransformationErrorHandling.ThrowError`.\n properties:\n leaveUntransformed:\n type: object\n x-dcl-go-name: LeaveUntransformed\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandlingLeaveUntransformed\n description: Ignore errors\n x-dcl-conflicts:\n - throwError\n throwError:\n type: object\n x-dcl-go-name: ThrowError\n x-dcl-go-type: DeidentifyTemplateDeidentifyConfigTransformationErrorHandlingThrowError\n description: Throw an error\n x-dcl-conflicts:\n - leaveUntransformed\n description:\n type: string\n x-dcl-go-name: Description\n description: Short description (max 256 chars).\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 256 chars).\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The template name. The template will have one\n of the following formats: `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID`\n OR `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n") -// 422529 bytes -// MD5: 5dc6672c4f1fe72e1184f6382e14a878 +// 422554 bytes +// MD5: 073c2da7da614c6731550b9763ce677c diff --git a/services/google/dlp/inspect_template.yaml b/services/google/dlp/inspect_template.yaml index 278fb3a658..30c800b20b 100755 --- a/services/google/dlp/inspect_template.yaml +++ b/services/google/dlp/inspect_template.yaml @@ -15,6 +15,7 @@ info: title: Dlp/InspectTemplate description: The Dlp InspectTemplate resource x-dcl-struct-name: InspectTemplate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dlp/inspect_template_schema.go b/services/google/dlp/inspect_template_schema.go index 370b9247bf..d27eb093d1 100755 --- a/services/google/dlp/inspect_template_schema.go +++ b/services/google/dlp/inspect_template_schema.go @@ -23,6 +23,7 @@ func DCLInspectTemplateSchema() *dcl.Schema { Title: "Dlp/InspectTemplate", Description: "The Dlp InspectTemplate resource", StructName: "InspectTemplate", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dlp/inspect_template_yaml_embed.go b/services/google/dlp/inspect_template_yaml_embed.go index 2bd32f36c9..c568688964 100755 --- a/services/google/dlp/inspect_template_yaml_embed.go +++ b/services/google/dlp/inspect_template_yaml_embed.go @@ -17,7 +17,7 @@ package dlp // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dlp/inspect_template.yaml -var YAML_inspect_template = []byte("info:\n title: Dlp/InspectTemplate\n description: The Dlp InspectTemplate resource\n x-dcl-struct-name: InspectTemplate\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n apply:\n description: The function used to apply information about a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n delete:\n description: The function used to delete a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n deleteAll:\n description: The function used to delete all InspectTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InspectTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InspectTemplate:\n title: InspectTemplate\n x-dcl-id: '{{parent}}/inspectTemplates/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Short description (max 256 chars).\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 256 chars).\n inspectConfig:\n type: object\n x-dcl-go-name: InspectConfig\n x-dcl-go-type: InspectTemplateInspectConfig\n description: The core content of the template. Configuration of the scanning\n process.\n properties:\n contentOptions:\n type: array\n x-dcl-go-name: ContentOptions\n description: List of options defining data content to scan. If empty,\n text, images, and other content will be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: InspectTemplateInspectConfigContentOptionsEnum\n enum:\n - CONTENT_UNSPECIFIED\n - CONTENT_TEXT\n - CONTENT_IMAGE\n customInfoTypes:\n type: array\n x-dcl-go-name: CustomInfoTypes\n description: CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes\n to learn more.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypes\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionary\n description: A list of phrases to detect as a CustomInfoType.\n x-dcl-conflicts:\n - regex\n - surrogateType\n - storedType\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud Storage.\n Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards)\n in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionaryWordList\n description: List of words or phrases to search for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase and\n every phrase must contain at least 2 characters that\n are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusionType:\n type: string\n x-dcl-go-name: ExclusionType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesExclusionTypeEnum\n description: 'If set to EXCLUSION_TYPE_EXCLUDE this infoType will\n not cause a finding to be returned. It still can be used for\n rules matching. Possible values: EXCLUSION_TYPE_UNSPECIFIED,\n EXCLUSION_TYPE_EXCLUDE'\n enum:\n - EXCLUSION_TYPE_UNSPECIFIED\n - EXCLUSION_TYPE_EXCLUDE\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesInfoType\n description: CustomInfoType can either be a new infoType, or an\n extension of built-in infoType, when the name matches one of\n existing infoTypes and that infoType is specified in `InspectContent.info_types`\n field. Specifying the latter adds findings to the one detected\n by the system. If built-in info type is not specified in `InspectContent.info_types`\n list then the name is treated as a custom info type.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of\n your choosing when creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform to\n the pattern `[A-Za-z0-9$-_]{1,64}`.\n likelihood:\n type: string\n x-dcl-go-name: Likelihood\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesLikelihoodEnum\n description: 'Likelihood to return for this CustomInfoType. This\n base value can be altered by a detection rule if the finding\n meets the criteria specified by the rule. Defaults to `VERY_LIKELY`\n if not specified. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesRegex\n description: Regular expression based CustomInfoType.\n x-dcl-conflicts:\n - dictionary\n - surrogateType\n - storedType\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings.\n When not specified, the entire match is returned. No more\n than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression. Its\n syntax (https://github.com/google/re2/wiki/Syntax) can be\n found under the google/re2 repository on GitHub.\n storedType:\n type: object\n x-dcl-go-name: StoredType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesStoredType\n description: Load an existing `StoredInfoType` resource for use\n in `InspectDataSource`. Not currently supported in `InspectContent`.\n x-dcl-conflicts:\n - dictionary\n - regex\n - surrogateType\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Timestamp indicating when the version of the\n `StoredInfoType` used for inspection was created. Output-only\n field, populated by the system.\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name of the requested `StoredInfoType`,\n for example `organizations/433245324/storedInfoTypes/432452342`\n or `projects/project-id/storedInfoTypes/432452342`.\n surrogateType:\n type: object\n x-dcl-go-name: SurrogateType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesSurrogateType\n description: Message for detecting output from deidentification\n transformations that support reversing.\n x-dcl-conflicts:\n - dictionary\n - regex\n - storedType\n excludeInfoTypes:\n type: boolean\n x-dcl-go-name: ExcludeInfoTypes\n description: When true, excludes type information of the findings.\n includeQuote:\n type: boolean\n x-dcl-go-name: IncludeQuote\n description: When true, a contextual quote from the data that triggered\n a finding is included in the response; see Finding.quote.\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: Restricts what info_types to look for. The values must\n correspond to InfoType values returned by ListInfoTypes or listed\n at https://cloud.google.com/dlp/docs/infotypes-reference. When no\n InfoTypes or CustomInfoTypes are specified in a request, the system\n may automatically choose what detectors to run. By default this may\n be all types, but may change over time as detectors are updated. If\n you need precise control and predictability as to what detectors are\n run you should specify specific InfoTypes listed in the reference,\n otherwise a default list will be used, which may change over time.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of your\n choosing when creating a CustomInfoType, or one of the names\n listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP results\n to Data Catalog, infoType names should conform to the pattern\n `[A-Za-z0-9$-_]{1,64}`.\n limits:\n type: object\n x-dcl-go-name: Limits\n x-dcl-go-type: InspectTemplateInspectConfigLimits\n description: Configuration to control the number of findings returned.\n properties:\n maxFindingsPerInfoType:\n type: array\n x-dcl-go-name: MaxFindingsPerInfoType\n description: Configuration of findings limit given for specified\n infoTypes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigLimitsMaxFindingsPerInfoType\n properties:\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: InspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeInfoType\n description: Type of information the findings limit applies\n to. Only one limit per info_type should be provided. If\n InfoTypeLimit does not have an info_type, the DLP API applies\n the limit against all info_types that are found but not\n specified in another InfoTypeLimit.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n maxFindings:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindings\n description: Max findings limit for the given infoType.\n maxFindingsPerItem:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerItem\n description: Max number of findings that will be returned for each\n item scanned. When set within `InspectJobConfig`, the maximum\n returned is 2000 regardless if this is set higher. When set within\n `InspectContentRequest`, this field is ignored.\n maxFindingsPerRequest:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerRequest\n description: Max number of findings that will be returned per request/job.\n When set within `InspectContentRequest`, the maximum returned\n is 2000 regardless if this is set higher.\n minLikelihood:\n type: string\n x-dcl-go-name: MinLikelihood\n x-dcl-go-type: InspectTemplateInspectConfigMinLikelihoodEnum\n description: 'Only returns findings equal or above this threshold. The\n default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood\n to learn more. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n ruleSet:\n type: array\n x-dcl-go-name: RuleSet\n description: Set of rules to apply to the findings for this InspectConfig.\n Exclusion rules, contained in the set are executed in the end, other\n rules are executed in the order they are specified for each info type.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSet\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: List of infoTypes this rule set is applied to.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or one\n of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Set of rules to be applied to infoTypes. The rules\n are applied in order.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRules\n properties:\n exclusionRule:\n type: object\n x-dcl-go-name: ExclusionRule\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRule\n description: Exclusion rule.\n x-dcl-conflicts:\n - hotwordRule\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionary\n description: Dictionary which defines the rule.\n x-dcl-conflicts:\n - regex\n - excludeInfoTypes\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionaryCloudStoragePath\n description: Newline-delimited file of words in\n Cloud Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path\n (no wildcards) in Cloud Storage. Example:\n gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionaryWordList\n description: List of words or phrases to search\n for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase\n and every phrase must contain at least 2 characters\n that are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludeInfoTypes:\n type: object\n x-dcl-go-name: ExcludeInfoTypes\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes\n description: Set of infoTypes for which findings would\n affect this rule.\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoType list in ExclusionRule rule\n drops a finding when it overlaps or contained\n within with a finding of an infoType from this\n list. For example, for `InspectionRuleSet.info_types`\n containing \"PHONE_NUMBER\"` and `exclusion_rule`\n containing `exclude_info_types.info_types` with\n \"EMAIL_ADDRESS\" the phone number findings are\n dropped if they overlap with EMAIL_ADDRESS finding.\n That leads to \"555-222-2222@example.org\" to generate\n only a single finding, namely email address.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypesInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when creating\n a CustomInfoType, or one of the names listed\n at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n matchingType:\n type: string\n x-dcl-go-name: MatchingType\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleMatchingTypeEnum\n description: 'How the rule is applied, see MatchingType\n documentation for details. Possible values: MATCHING_TYPE_UNSPECIFIED,\n MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH,\n MATCHING_TYPE_INVERSE_MATCH'\n enum:\n - MATCHING_TYPE_UNSPECIFIED\n - MATCHING_TYPE_FULL_MATCH\n - MATCHING_TYPE_PARTIAL_MATCH\n - MATCHING_TYPE_INVERSE_MATCH\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleRegex\n description: Regular expression which defines the rule.\n x-dcl-conflicts:\n - dictionary\n - excludeInfoTypes\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire match\n is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on\n GitHub.\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRule\n x-dcl-conflicts:\n - exclusionRule\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining what\n qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire match\n is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on\n GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all matching\n findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding to\n a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the detection\n rule and `relative_likelihood` is 1, then it is\n upgraded to `LIKELY`, while a value of -1 would\n downgrade it to `UNLIKELY`. Likelihood may never\n drop below `VERY_UNLIKELY` or exceed `VERY_LIKELY`,\n so applying an adjustment of 1 followed by an\n adjustment of -1 when base likelihood is `VERY_LIKELY`\n will result in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleProximity\n description: Proximity of the finding within which the\n entire hotword must reside. The total length of the\n window cannot exceed 1000 characters. Note that the\n finding itself will be included in the window, so\n that hotwords may be used to match substrings of the\n finding itself. For example, the certainty of a phone\n number regex \"(d{3}) d{3}-d{4}\" could be adjusted\n upwards if the area code is known to be the local\n area code of a company office using the hotword regex\n \"(xxx)\", where \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the finding\n to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the finding\n to consider.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The template name. The template will have one of the following\n formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n") +var YAML_inspect_template = []byte("info:\n title: Dlp/InspectTemplate\n description: The Dlp InspectTemplate resource\n x-dcl-struct-name: InspectTemplate\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n apply:\n description: The function used to apply information about a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n delete:\n description: The function used to delete a InspectTemplate\n parameters:\n - name: InspectTemplate\n required: true\n description: A full instance of a InspectTemplate\n deleteAll:\n description: The function used to delete all InspectTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many InspectTemplate\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n InspectTemplate:\n title: InspectTemplate\n x-dcl-id: '{{parent}}/inspectTemplates/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Short description (max 256 chars).\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 256 chars).\n inspectConfig:\n type: object\n x-dcl-go-name: InspectConfig\n x-dcl-go-type: InspectTemplateInspectConfig\n description: The core content of the template. Configuration of the scanning\n process.\n properties:\n contentOptions:\n type: array\n x-dcl-go-name: ContentOptions\n description: List of options defining data content to scan. If empty,\n text, images, and other content will be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: InspectTemplateInspectConfigContentOptionsEnum\n enum:\n - CONTENT_UNSPECIFIED\n - CONTENT_TEXT\n - CONTENT_IMAGE\n customInfoTypes:\n type: array\n x-dcl-go-name: CustomInfoTypes\n description: CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes\n to learn more.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypes\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionary\n description: A list of phrases to detect as a CustomInfoType.\n x-dcl-conflicts:\n - regex\n - surrogateType\n - storedType\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud Storage.\n Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards)\n in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesDictionaryWordList\n description: List of words or phrases to search for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase and\n every phrase must contain at least 2 characters that\n are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusionType:\n type: string\n x-dcl-go-name: ExclusionType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesExclusionTypeEnum\n description: 'If set to EXCLUSION_TYPE_EXCLUDE this infoType will\n not cause a finding to be returned. It still can be used for\n rules matching. Possible values: EXCLUSION_TYPE_UNSPECIFIED,\n EXCLUSION_TYPE_EXCLUDE'\n enum:\n - EXCLUSION_TYPE_UNSPECIFIED\n - EXCLUSION_TYPE_EXCLUDE\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesInfoType\n description: CustomInfoType can either be a new infoType, or an\n extension of built-in infoType, when the name matches one of\n existing infoTypes and that infoType is specified in `InspectContent.info_types`\n field. Specifying the latter adds findings to the one detected\n by the system. If built-in info type is not specified in `InspectContent.info_types`\n list then the name is treated as a custom info type.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of\n your choosing when creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform to\n the pattern `[A-Za-z0-9$-_]{1,64}`.\n likelihood:\n type: string\n x-dcl-go-name: Likelihood\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesLikelihoodEnum\n description: 'Likelihood to return for this CustomInfoType. This\n base value can be altered by a detection rule if the finding\n meets the criteria specified by the rule. Defaults to `VERY_LIKELY`\n if not specified. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesRegex\n description: Regular expression based CustomInfoType.\n x-dcl-conflicts:\n - dictionary\n - surrogateType\n - storedType\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings.\n When not specified, the entire match is returned. No more\n than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression. Its\n syntax (https://github.com/google/re2/wiki/Syntax) can be\n found under the google/re2 repository on GitHub.\n storedType:\n type: object\n x-dcl-go-name: StoredType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesStoredType\n description: Load an existing `StoredInfoType` resource for use\n in `InspectDataSource`. Not currently supported in `InspectContent`.\n x-dcl-conflicts:\n - dictionary\n - regex\n - surrogateType\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Timestamp indicating when the version of the\n `StoredInfoType` used for inspection was created. Output-only\n field, populated by the system.\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name of the requested `StoredInfoType`,\n for example `organizations/433245324/storedInfoTypes/432452342`\n or `projects/project-id/storedInfoTypes/432452342`.\n surrogateType:\n type: object\n x-dcl-go-name: SurrogateType\n x-dcl-go-type: InspectTemplateInspectConfigCustomInfoTypesSurrogateType\n description: Message for detecting output from deidentification\n transformations that support reversing.\n x-dcl-conflicts:\n - dictionary\n - regex\n - storedType\n excludeInfoTypes:\n type: boolean\n x-dcl-go-name: ExcludeInfoTypes\n description: When true, excludes type information of the findings.\n includeQuote:\n type: boolean\n x-dcl-go-name: IncludeQuote\n description: When true, a contextual quote from the data that triggered\n a finding is included in the response; see Finding.quote.\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: Restricts what info_types to look for. The values must\n correspond to InfoType values returned by ListInfoTypes or listed\n at https://cloud.google.com/dlp/docs/infotypes-reference. When no\n InfoTypes or CustomInfoTypes are specified in a request, the system\n may automatically choose what detectors to run. By default this may\n be all types, but may change over time as detectors are updated. If\n you need precise control and predictability as to what detectors are\n run you should specify specific InfoTypes listed in the reference,\n otherwise a default list will be used, which may change over time.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of your\n choosing when creating a CustomInfoType, or one of the names\n listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP results\n to Data Catalog, infoType names should conform to the pattern\n `[A-Za-z0-9$-_]{1,64}`.\n limits:\n type: object\n x-dcl-go-name: Limits\n x-dcl-go-type: InspectTemplateInspectConfigLimits\n description: Configuration to control the number of findings returned.\n properties:\n maxFindingsPerInfoType:\n type: array\n x-dcl-go-name: MaxFindingsPerInfoType\n description: Configuration of findings limit given for specified\n infoTypes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigLimitsMaxFindingsPerInfoType\n properties:\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: InspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeInfoType\n description: Type of information the findings limit applies\n to. Only one limit per info_type should be provided. If\n InfoTypeLimit does not have an info_type, the DLP API applies\n the limit against all info_types that are found but not\n specified in another InfoTypeLimit.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n maxFindings:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindings\n description: Max findings limit for the given infoType.\n maxFindingsPerItem:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerItem\n description: Max number of findings that will be returned for each\n item scanned. When set within `InspectJobConfig`, the maximum\n returned is 2000 regardless if this is set higher. When set within\n `InspectContentRequest`, this field is ignored.\n maxFindingsPerRequest:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerRequest\n description: Max number of findings that will be returned per request/job.\n When set within `InspectContentRequest`, the maximum returned\n is 2000 regardless if this is set higher.\n minLikelihood:\n type: string\n x-dcl-go-name: MinLikelihood\n x-dcl-go-type: InspectTemplateInspectConfigMinLikelihoodEnum\n description: 'Only returns findings equal or above this threshold. The\n default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood\n to learn more. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n ruleSet:\n type: array\n x-dcl-go-name: RuleSet\n description: Set of rules to apply to the findings for this InspectConfig.\n Exclusion rules, contained in the set are executed in the end, other\n rules are executed in the order they are specified for each info type.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSet\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: List of infoTypes this rule set is applied to.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or one\n of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Set of rules to be applied to infoTypes. The rules\n are applied in order.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRules\n properties:\n exclusionRule:\n type: object\n x-dcl-go-name: ExclusionRule\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRule\n description: Exclusion rule.\n x-dcl-conflicts:\n - hotwordRule\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionary\n description: Dictionary which defines the rule.\n x-dcl-conflicts:\n - regex\n - excludeInfoTypes\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionaryCloudStoragePath\n description: Newline-delimited file of words in\n Cloud Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path\n (no wildcards) in Cloud Storage. Example:\n gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionaryWordList\n description: List of words or phrases to search\n for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase\n and every phrase must contain at least 2 characters\n that are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludeInfoTypes:\n type: object\n x-dcl-go-name: ExcludeInfoTypes\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes\n description: Set of infoTypes for which findings would\n affect this rule.\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoType list in ExclusionRule rule\n drops a finding when it overlaps or contained\n within with a finding of an infoType from this\n list. For example, for `InspectionRuleSet.info_types`\n containing \"PHONE_NUMBER\"` and `exclusion_rule`\n containing `exclude_info_types.info_types` with\n \"EMAIL_ADDRESS\" the phone number findings are\n dropped if they overlap with EMAIL_ADDRESS finding.\n That leads to \"555-222-2222@example.org\" to generate\n only a single finding, namely email address.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypesInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when creating\n a CustomInfoType, or one of the names listed\n at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending\n Cloud DLP results to Data Catalog, infoType\n names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n matchingType:\n type: string\n x-dcl-go-name: MatchingType\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleMatchingTypeEnum\n description: 'How the rule is applied, see MatchingType\n documentation for details. Possible values: MATCHING_TYPE_UNSPECIFIED,\n MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH,\n MATCHING_TYPE_INVERSE_MATCH'\n enum:\n - MATCHING_TYPE_UNSPECIFIED\n - MATCHING_TYPE_FULL_MATCH\n - MATCHING_TYPE_PARTIAL_MATCH\n - MATCHING_TYPE_INVERSE_MATCH\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesExclusionRuleRegex\n description: Regular expression which defines the rule.\n x-dcl-conflicts:\n - dictionary\n - excludeInfoTypes\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire match\n is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on\n GitHub.\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRule\n x-dcl-conflicts:\n - exclusionRule\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining what\n qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire match\n is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on\n GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all matching\n findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding to\n a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the detection\n rule and `relative_likelihood` is 1, then it is\n upgraded to `LIKELY`, while a value of -1 would\n downgrade it to `UNLIKELY`. Likelihood may never\n drop below `VERY_UNLIKELY` or exceed `VERY_LIKELY`,\n so applying an adjustment of 1 followed by an\n adjustment of -1 when base likelihood is `VERY_LIKELY`\n will result in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: InspectTemplateInspectConfigRuleSetRulesHotwordRuleProximity\n description: Proximity of the finding within which the\n entire hotword must reside. The total length of the\n window cannot exceed 1000 characters. Note that the\n finding itself will be included in the window, so\n that hotwords may be used to match substrings of the\n finding itself. For example, the certainty of a phone\n number regex \"(d{3}) d{3}-d{4}\" could be adjusted\n upwards if the area code is known to be the local\n area code of a company office using the hotword regex\n \"(xxx)\", where \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the finding\n to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the finding\n to consider.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The template name. The template will have one of the following\n formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of an inspectTemplate.\n x-kubernetes-immutable: true\n") -// 36128 bytes -// MD5: c63e93c3ab1a29486ca1814f7a382fd2 +// 36153 bytes +// MD5: 60dcc845c04b44b45333f9b4f576d0c9 diff --git a/services/google/dlp/job_trigger.yaml b/services/google/dlp/job_trigger.yaml index 7894b7618b..0b28c6ab3a 100755 --- a/services/google/dlp/job_trigger.yaml +++ b/services/google/dlp/job_trigger.yaml @@ -15,6 +15,7 @@ info: title: Dlp/JobTrigger description: The Dlp JobTrigger resource x-dcl-struct-name: JobTrigger + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dlp/job_trigger_schema.go b/services/google/dlp/job_trigger_schema.go index 98c5339c19..7eaedb587c 100755 --- a/services/google/dlp/job_trigger_schema.go +++ b/services/google/dlp/job_trigger_schema.go @@ -23,6 +23,7 @@ func DCLJobTriggerSchema() *dcl.Schema { Title: "Dlp/JobTrigger", Description: "The Dlp JobTrigger resource", StructName: "JobTrigger", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dlp/job_trigger_yaml_embed.go b/services/google/dlp/job_trigger_yaml_embed.go index 97b7012e19..7c543d1373 100755 --- a/services/google/dlp/job_trigger_yaml_embed.go +++ b/services/google/dlp/job_trigger_yaml_embed.go @@ -17,7 +17,7 @@ package dlp // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dlp/job_trigger.yaml -var YAML_job_trigger = []byte("info:\n title: Dlp/JobTrigger\n description: The Dlp JobTrigger resource\n x-dcl-struct-name: JobTrigger\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n apply:\n description: The function used to apply information about a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n delete:\n description: The function used to delete a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n deleteAll:\n description: The function used to delete all JobTrigger\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many JobTrigger\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n JobTrigger:\n title: JobTrigger\n x-dcl-id: '{{parent}}/jobTriggers/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - inspectJob\n - triggers\n - status\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of a triggeredJob.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: User provided description (max 256 chars)\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 100 chars)\n errors:\n type: array\n x-dcl-go-name: Errors\n readOnly: true\n description: Output only. A stream of errors encountered when the trigger\n was activated. Repeated errors may result in the JobTrigger automatically\n being paused. Will return the last 100 errors. Whenever the JobTrigger\n is modified this list will be cleared.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerErrors\n properties:\n details:\n type: object\n x-dcl-go-name: Details\n x-dcl-go-type: JobTriggerErrorsDetails\n description: Detailed error codes and messages.\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of\n google.rpc.Code.\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details.\n There is a common set of message types for APIs to use.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerErrorsDetailsDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies\n the type of the serialized protocol buffer message. This\n string must contain at least one \"/\" character. The last\n segment of the URL''s path must represent the fully qualified\n name of the type (as in `path/google.protobuf.Duration`).\n The name should be in a canonical form (e.g., leading\n \".\" is not accepted). In practice, teams usually precompile\n into the binary all types that they expect it to use in\n the context of Any. However, for URLs which use the scheme\n `http`, `https`, or no scheme, one can optionally set\n up a type server that maps type URLs to message definitions\n as follows: * If no scheme is provided, `https` is assumed.\n * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL,\n or have them precompiled into a binary to avoid any lookup.\n Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.) Note: this functionality is not currently\n available in the official protobuf release, and it is\n not used for type URLs beginning with type.googleapis.com.\n Schemes other than `http`, `https` (or the empty scheme)\n might be used with implementation specific semantics.'\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer\n of the above specified type.\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be\n in English. Any user-facing error message should be localized\n and sent in the google.rpc.Status.details field, or localized\n by the client.\n timestamps:\n type: array\n x-dcl-go-name: Timestamps\n description: The times the error occurred.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n format: date-time\n x-dcl-go-type: string\n inspectJob:\n type: object\n x-dcl-go-name: InspectJob\n x-dcl-go-type: JobTriggerInspectJob\n description: For inspect jobs, a snapshot of the configuration.\n required:\n - storageConfig\n properties:\n actions:\n type: array\n x-dcl-go-name: Actions\n description: Actions to execute at the completion of the job.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobActions\n properties:\n jobNotificationEmails:\n type: object\n x-dcl-go-name: JobNotificationEmails\n x-dcl-go-type: JobTriggerInspectJobActionsJobNotificationEmails\n description: Enable email notification for project owners and\n editors on job's completion/failure.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - publishToStackdriver\n x-dcl-send-empty: true\n pubSub:\n type: object\n x-dcl-go-name: PubSub\n x-dcl-go-type: JobTriggerInspectJobActionsPubSub\n description: Publish a notification to a pubsub topic.\n x-dcl-conflicts:\n - saveFindings\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n properties:\n topic:\n type: string\n x-dcl-go-name: Topic\n description: Cloud Pub/Sub topic to send notifications to.\n The topic must have given publishing access rights to the\n DLP API service account executing the long running DlpJob\n sending the notifications. Format is projects/{project}/topics/{topic}.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n publishFindingsToCloudDataCatalog:\n type: object\n x-dcl-go-name: PublishFindingsToCloudDataCatalog\n x-dcl-go-type: JobTriggerInspectJobActionsPublishFindingsToCloudDataCatalog\n description: Publish findings to Cloud Datahub.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - jobNotificationEmails\n - publishToStackdriver\n x-dcl-send-empty: true\n publishSummaryToCscc:\n type: object\n x-dcl-go-name: PublishSummaryToCscc\n x-dcl-go-type: JobTriggerInspectJobActionsPublishSummaryToCscc\n description: Publish summary to Cloud Security Command Center\n (Alpha).\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n x-dcl-send-empty: true\n publishToStackdriver:\n type: object\n x-dcl-go-name: PublishToStackdriver\n x-dcl-go-type: JobTriggerInspectJobActionsPublishToStackdriver\n description: Enable Stackdriver metric dlp.googleapis.com/finding_count.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n x-dcl-send-empty: true\n saveFindings:\n type: object\n x-dcl-go-name: SaveFindings\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindings\n description: Save resulting findings in a provided location.\n x-dcl-conflicts:\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n properties:\n outputConfig:\n type: object\n x-dcl-go-name: OutputConfig\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfig\n description: Location to store findings outside of DLP.\n properties:\n dlpStorage:\n type: object\n x-dcl-go-name: DlpStorage\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigDlpStorage\n description: Store findings directly to DLP. If neither\n this or bigquery is chosen only summary stats of total\n infotype count will be stored. Quotes will not be stored\n to dlp findings. If quotes are needed, store to BigQuery.\n Currently only for inspect jobs.\n x-dcl-conflicts:\n - table\n x-dcl-send-empty: true\n outputSchema:\n type: string\n x-dcl-go-name: OutputSchema\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigOutputSchemaEnum\n description: 'Schema used for writing the findings for\n Inspect jobs. This field is only used for Inspect and\n must be unspecified for Risk jobs. Columns are derived\n from the `Finding` object. If appending to an existing\n table, any columns from the predefined schema that are\n missing will be added. No columns in the existing table\n will be deleted. If unspecified, then all available\n columns will be used for a new table or an (existing)\n table with no schema, and no changes will be made to\n an existing table that has a schema. Only for use with\n external storage. Possible values: OUTPUT_SCHEMA_UNSPECIFIED,\n BASIC_COLUMNS, GCS_COLUMNS, DATASTORE_COLUMNS, BIG_QUERY_COLUMNS,\n ALL_COLUMNS'\n enum:\n - OUTPUT_SCHEMA_UNSPECIFIED\n - BASIC_COLUMNS\n - GCS_COLUMNS\n - DATASTORE_COLUMNS\n - BIG_QUERY_COLUMNS\n - ALL_COLUMNS\n table:\n type: object\n x-dcl-go-name: Table\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigTable\n description: 'Store findings in an existing table or a\n new table in an existing dataset. If table_id is not\n set a new one will be generated for you with the following\n format: dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific\n timezone will be used for generating the date details.\n For Inspect, each column in an existing output table\n must have the same name, type, and mode of a field in\n the `Finding` object. For Risk, an existing output table\n should be the output of a previous Risk analysis job\n run on the same source table, with the same privacy\n metric and quasi-identifiers. Risk jobs that analyze\n the same table but compute a different privacy metric,\n or use different sets of quasi-identifiers, cannot store\n their results in the same table.'\n x-dcl-conflicts:\n - dlpStorage\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID\n of the project containing the table. If omitted,\n project ID is inferred from the API call.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n inspectConfig:\n type: object\n x-dcl-go-name: InspectConfig\n x-dcl-go-type: JobTriggerInspectJobInspectConfig\n description: How and what to scan for.\n properties:\n customInfoTypes:\n type: array\n x-dcl-go-name: CustomInfoTypes\n description: CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes\n to learn more.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypes\n properties:\n detectionRules:\n type: array\n x-dcl-go-name: DetectionRules\n description: Set of detection rules to apply to all findings\n of this CustomInfoType. Rules are applied in order that\n they are specified. Not supported for the `surrogate_type`\n CustomInfoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRules\n properties:\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRule\n description: Hotword-based detection rule.\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining\n what qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all\n matching findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding\n to a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY,\n VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the\n detection rule and `relative_likelihood` is\n 1, then it is upgraded to `LIKELY`, while\n a value of -1 would downgrade it to `UNLIKELY`.\n Likelihood may never drop below `VERY_UNLIKELY`\n or exceed `VERY_LIKELY`, so applying an adjustment\n of 1 followed by an adjustment of -1 when\n base likelihood is `VERY_LIKELY` will result\n in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleProximity\n description: Proximity of the finding within which\n the entire hotword must reside. The total length\n of the window cannot exceed 1000 characters. Note\n that the finding itself will be included in the\n window, so that hotwords may be used to match\n substrings of the finding itself. For example,\n the certainty of a phone number regex \"(d{3})\n d{3}-d{4}\" could be adjusted upwards if the area\n code is known to be the local area code of a company\n office using the hotword regex \"(xxx)\", where\n \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the\n finding to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the\n finding to consider.\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionary\n description: A list of phrases to detect as a CustomInfoType.\n x-dcl-conflicts:\n - regex\n - surrogateType\n - storedType\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud\n Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no\n wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionaryWordList\n description: List of words or phrases to search for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase\n and every phrase must contain at least 2 characters\n that are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusionType:\n type: string\n x-dcl-go-name: ExclusionType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesExclusionTypeEnum\n description: 'If set to EXCLUSION_TYPE_EXCLUDE this infoType\n will not cause a finding to be returned. It still can be\n used for rules matching. Possible values: EXCLUSION_TYPE_UNSPECIFIED,\n EXCLUSION_TYPE_EXCLUDE'\n enum:\n - EXCLUSION_TYPE_UNSPECIFIED\n - EXCLUSION_TYPE_EXCLUDE\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesInfoType\n description: CustomInfoType can either be a new infoType,\n or an extension of built-in infoType, when the name matches\n one of existing infoTypes and that infoType is specified\n in `InspectContent.info_types` field. Specifying the latter\n adds findings to the one detected by the system. If built-in\n info type is not specified in `InspectContent.info_types`\n list then the name is treated as a custom info type.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n likelihood:\n type: string\n x-dcl-go-name: Likelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesLikelihoodEnum\n description: 'Likelihood to return for this CustomInfoType.\n This base value can be altered by a detection rule if the\n finding meets the criteria specified by the rule. Defaults\n to `VERY_LIKELY` if not specified. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesRegex\n description: Regular expression based CustomInfoType.\n x-dcl-conflicts:\n - dictionary\n - surrogateType\n - storedType\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings.\n When not specified, the entire match is returned. No\n more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on GitHub.\n storedType:\n type: object\n x-dcl-go-name: StoredType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesStoredType\n description: Load an existing `StoredInfoType` resource for\n use in `InspectDataSource`. Not currently supported in `InspectContent`.\n x-dcl-conflicts:\n - dictionary\n - regex\n - surrogateType\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Timestamp indicating when the version of\n the `StoredInfoType` used for inspection was created.\n Output-only field, populated by the system.\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name of the requested `StoredInfoType`,\n for example `organizations/433245324/storedInfoTypes/432452342`\n or `projects/project-id/storedInfoTypes/432452342`.\n surrogateType:\n type: object\n x-dcl-go-name: SurrogateType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesSurrogateType\n description: Message for detecting output from deidentification\n transformations that support reversing.\n x-dcl-conflicts:\n - dictionary\n - regex\n - storedType\n x-dcl-send-empty: true\n excludeInfoTypes:\n type: boolean\n x-dcl-go-name: ExcludeInfoTypes\n description: When true, excludes type information of the findings.\n This is not used for data profiling.\n includeQuote:\n type: boolean\n x-dcl-go-name: IncludeQuote\n description: When true, a contextual quote from the data that triggered\n a finding is included in the response; see Finding.quote. This\n is not used for data profiling.\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: Restricts what info_types to look for. The values must\n correspond to InfoType values returned by ListInfoTypes or listed\n at https://cloud.google.com/dlp/docs/infotypes-reference. When\n no InfoTypes or CustomInfoTypes are specified in a request, the\n system may automatically choose what detectors to run. By default\n this may be all types, but may change over time as detectors are\n updated. If you need precise control and predictability as to\n what detectors are run you should specify specific InfoTypes listed\n in the reference, otherwise a default list will be used, which\n may change over time.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of\n your choosing when creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform to\n the pattern `[A-Za-z0-9$-_]{1,64}`.\n limits:\n type: object\n x-dcl-go-name: Limits\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimits\n description: Configuration to control the number of findings returned.\n This is not used for data profiling.\n properties:\n maxFindingsPerInfoType:\n type: array\n x-dcl-go-name: MaxFindingsPerInfoType\n description: Configuration of findings limit given for specified\n infoTypes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoType\n properties:\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoType\n description: Type of information the findings limit applies\n to. Only one limit per info_type should be provided.\n If InfoTypeLimit does not have an info_type, the DLP\n API applies the limit against all info_types that are\n found but not specified in another InfoTypeLimit.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n maxFindings:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindings\n description: Max findings limit for the given infoType.\n maxFindingsPerItem:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerItem\n description: Max number of findings that will be returned for\n each item scanned. When set within `InspectJobConfig`, the\n maximum returned is 2000 regardless if this is set higher.\n When set within `InspectContentRequest`, this field is ignored.\n maxFindingsPerRequest:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerRequest\n description: Max number of findings that will be returned per\n request/job. When set within `InspectContentRequest`, the\n maximum returned is 2000 regardless if this is set higher.\n minLikelihood:\n type: string\n x-dcl-go-name: MinLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigMinLikelihoodEnum\n description: 'Only returns findings equal or above this threshold.\n The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood\n to learn more. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n ruleSet:\n type: array\n x-dcl-go-name: RuleSet\n description: Set of rules to apply to the findings for this InspectConfig.\n Exclusion rules, contained in the set are executed in the end,\n other rules are executed in the order they are specified for each\n info type.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSet\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: List of infoTypes this rule set is applied to.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a\n name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Set of rules to be applied to infoTypes. The\n rules are applied in order.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRules\n properties:\n exclusionRule:\n type: object\n x-dcl-go-name: ExclusionRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRule\n description: Exclusion rule.\n x-dcl-conflicts:\n - hotwordRule\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionary\n description: Dictionary which defines the rule.\n x-dcl-conflicts:\n - regex\n - excludeInfoTypes\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionaryCloudStoragePath\n description: Newline-delimited file of words\n in Cloud Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file\n or path (no wildcards) in Cloud Storage.\n Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionaryWordList\n description: List of words or phrases to search\n for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the\n dictionary. The dictionary must contain\n at least one phrase and every phrase must\n contain at least 2 characters that are\n letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludeInfoTypes:\n type: object\n x-dcl-go-name: ExcludeInfoTypes\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes\n description: Set of infoTypes for which findings\n would affect this rule.\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoType list in ExclusionRule\n rule drops a finding when it overlaps or contained\n within with a finding of an infoType from\n this list. For example, for `InspectionRuleSet.info_types`\n containing \"PHONE_NUMBER\"` and `exclusion_rule`\n containing `exclude_info_types.info_types`\n with \"EMAIL_ADDRESS\" the phone number findings\n are dropped if they overlap with EMAIL_ADDRESS\n finding. That leads to \"555-222-2222@example.org\"\n to generate only a single finding, namely\n email address.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypesInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when\n creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data Catalog,\n infoType names should conform to the\n pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for\n this InfoType.\n matchingType:\n type: string\n x-dcl-go-name: MatchingType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleMatchingTypeEnum\n description: 'How the rule is applied, see MatchingType\n documentation for details. Possible values: MATCHING_TYPE_UNSPECIFIED,\n MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH,\n MATCHING_TYPE_INVERSE_MATCH'\n enum:\n - MATCHING_TYPE_UNSPECIFIED\n - MATCHING_TYPE_FULL_MATCH\n - MATCHING_TYPE_PARTIAL_MATCH\n - MATCHING_TYPE_INVERSE_MATCH\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleRegex\n description: Regular expression which defines the\n rule.\n x-dcl-conflicts:\n - dictionary\n - excludeInfoTypes\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRule\n x-dcl-conflicts:\n - exclusionRule\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining\n what qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all\n matching findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding\n to a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY,\n VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the\n detection rule and `relative_likelihood` is\n 1, then it is upgraded to `LIKELY`, while\n a value of -1 would downgrade it to `UNLIKELY`.\n Likelihood may never drop below `VERY_UNLIKELY`\n or exceed `VERY_LIKELY`, so applying an adjustment\n of 1 followed by an adjustment of -1 when\n base likelihood is `VERY_LIKELY` will result\n in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleProximity\n description: Proximity of the finding within which\n the entire hotword must reside. The total length\n of the window cannot exceed 1000 characters. Note\n that the finding itself will be included in the\n window, so that hotwords may be used to match\n substrings of the finding itself. For example,\n the certainty of a phone number regex \"(d{3})\n d{3}-d{4}\" could be adjusted upwards if the area\n code is known to be the local area code of a company\n office using the hotword regex \"(xxx)\", where\n \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the\n finding to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the\n finding to consider.\n inspectTemplateName:\n type: string\n x-dcl-go-name: InspectTemplateName\n description: If provided, will be used as the default for all values\n in InspectConfig. `inspect_config` will be merged into the values\n persisted as part of the template.\n storageConfig:\n type: object\n x-dcl-go-name: StorageConfig\n x-dcl-go-type: JobTriggerInspectJobStorageConfig\n description: The data to scan.\n properties:\n bigQueryOptions:\n type: object\n x-dcl-go-name: BigQueryOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptions\n description: BigQuery options.\n x-dcl-conflicts:\n - datastoreOptions\n - cloudStorageOptions\n - hybridOptions\n required:\n - tableReference\n properties:\n excludedFields:\n type: array\n x-dcl-go-name: ExcludedFields\n description: References to fields excluded from scanning. This\n allows you to skip inspection of entire columns which you\n know have no findings.\n x-dcl-conflicts:\n - includedFields\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsExcludedFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n identifyingFields:\n type: array\n x-dcl-go-name: IdentifyingFields\n description: Table fields that may uniquely identify a row within\n the table. When `actions.saveFindings.outputConfig.table`\n is specified, the values of columns specified here are available\n in the output table under `location.content_locations.record_location.record_key.id_values`.\n Nested fields such as `person.birthdate.year` are allowed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n includedFields:\n type: array\n x-dcl-go-name: IncludedFields\n description: Limit scanning only to these fields.\n x-dcl-conflicts:\n - excludedFields\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsIncludedFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n rowsLimit:\n type: integer\n format: int64\n x-dcl-go-name: RowsLimit\n description: Max number of rows to scan. If the table has more\n rows than this value, the rest of the rows are omitted. If\n not set, or if set to 0, all rows will be scanned. Only one\n of rows_limit and rows_limit_percent can be specified. Cannot\n be used in conjunction with TimespanConfig.\n x-dcl-conflicts:\n - rowsLimitPercent\n rowsLimitPercent:\n type: integer\n format: int64\n x-dcl-go-name: RowsLimitPercent\n description: Max percentage of rows to scan. The rest are omitted.\n The number of rows scanned is rounded down. Must be between\n 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults\n to 0. Only one of rows_limit and rows_limit_percent can be\n specified. Cannot be used in conjunction with TimespanConfig.\n x-dcl-conflicts:\n - rowsLimit\n sampleMethod:\n type: string\n x-dcl-go-name: SampleMethod\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsSampleMethodEnum\n description: ' Possible values: SAMPLE_METHOD_UNSPECIFIED, TOP,\n RANDOM_START'\n enum:\n - SAMPLE_METHOD_UNSPECIFIED\n - TOP\n - RANDOM_START\n tableReference:\n type: object\n x-dcl-go-name: TableReference\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsTableReference\n description: Complete BigQuery table reference.\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID of the\n project containing the table. If omitted, project ID is\n inferred from the API call.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n cloudStorageOptions:\n type: object\n x-dcl-go-name: CloudStorageOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptions\n description: Google Cloud Storage options.\n x-dcl-conflicts:\n - datastoreOptions\n - bigQueryOptions\n - hybridOptions\n properties:\n bytesLimitPerFile:\n type: integer\n format: int64\n x-dcl-go-name: BytesLimitPerFile\n description: Max number of bytes to scan from a file. If a scanned\n file's size is bigger than this value then the rest of the\n bytes are omitted. Only one of bytes_limit_per_file and bytes_limit_per_file_percent\n can be specified. Cannot be set if de-identification is requested.\n x-dcl-conflicts:\n - bytesLimitPerFilePercent\n bytesLimitPerFilePercent:\n type: integer\n format: int64\n x-dcl-go-name: BytesLimitPerFilePercent\n description: Max percentage of bytes to scan from a file. The\n rest are omitted. The number of bytes scanned is rounded down.\n Must be between 0 and 100, inclusively. Both 0 and 100 means\n no limit. Defaults to 0. Only one of bytes_limit_per_file\n and bytes_limit_per_file_percent can be specified. Cannot\n be set if de-identification is requested.\n x-dcl-conflicts:\n - bytesLimitPerFile\n fileSet:\n type: object\n x-dcl-go-name: FileSet\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileSet\n description: The set of one or more files to scan.\n properties:\n regexFileSet:\n type: object\n x-dcl-go-name: RegexFileSet\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetRegexFileSet\n description: The regex-filtered set of files to scan. Exactly\n one of `url` or `regex_file_set` must be set.\n x-dcl-conflicts:\n - url\n required:\n - bucketName\n properties:\n bucketName:\n type: string\n x-dcl-go-name: BucketName\n description: The name of a Cloud Storage bucket. Required.\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n excludeRegex:\n type: array\n x-dcl-go-name: ExcludeRegex\n description: A list of regular expressions matching\n file paths to exclude. All files in the bucket that\n match at least one of these regular expressions will\n be excluded from the scan. Regular expressions use\n RE2 [syntax](https://github.com/google/re2/wiki/Syntax);\n a guide can be found under the google/re2 repository\n on GitHub.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includeRegex:\n type: array\n x-dcl-go-name: IncludeRegex\n description: A list of regular expressions matching\n file paths to include. All files in the bucket that\n match at least one of these regular expressions will\n be included in the set of files, except for those\n that also match an item in `exclude_regex`. Leaving\n this field empty will match all files by default (this\n is equivalent to including `.*` in the list). Regular\n expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax);\n a guide can be found under the google/re2 repository\n on GitHub.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n url:\n type: string\n x-dcl-go-name: Url\n description: The Cloud Storage url of the file(s) to scan,\n in the format `gs:///`. Trailing wildcard in the path\n is allowed. If the url ends in a trailing slash, the bucket\n or directory represented by the url will be scanned non-recursively\n (content in sub-directories will not be scanned). This\n means that `gs://mybucket/` is equivalent to `gs://mybucket/*`,\n and `gs://mybucket/directory/` is equivalent to `gs://mybucket/directory/*`.\n Exactly one of `url` or `regex_file_set` must be set.\n x-dcl-conflicts:\n - regexFileSet\n fileTypes:\n type: array\n x-dcl-go-name: FileTypes\n description: List of file type groups to include in the scan.\n If empty, all files are scanned and available data format\n processors are applied. In addition, the binary content of\n the selected files is always scanned as well. Images are scanned\n only as binary if the specified region does not support image\n inspection and no file_types were specified. Image inspection\n is restricted to 'global', 'us', 'asia', and 'europe'.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileTypesEnum\n enum:\n - FILE_TYPE_UNSPECIFIED\n - BINARY_FILE\n - TEXT_FILE\n - IMAGE\n - WORD\n - PDF\n - AVRO\n - CSV\n - TSV\n filesLimitPercent:\n type: integer\n format: int64\n x-dcl-go-name: FilesLimitPercent\n description: Limits the number of files to scan to this percentage\n of the input FileSet. Number of files scanned is rounded down.\n Must be between 0 and 100, inclusively. Both 0 and 100 means\n no limit. Defaults to 0.\n sampleMethod:\n type: string\n x-dcl-go-name: SampleMethod\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsSampleMethodEnum\n description: ' Possible values: SAMPLE_METHOD_UNSPECIFIED, TOP,\n RANDOM_START'\n enum:\n - SAMPLE_METHOD_UNSPECIFIED\n - TOP\n - RANDOM_START\n datastoreOptions:\n type: object\n x-dcl-go-name: DatastoreOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptions\n description: Google Cloud Datastore options.\n x-dcl-conflicts:\n - cloudStorageOptions\n - bigQueryOptions\n - hybridOptions\n properties:\n kind:\n type: object\n x-dcl-go-name: Kind\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptionsKind\n description: The kind to process.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the kind.\n partitionId:\n type: object\n x-dcl-go-name: PartitionId\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptionsPartitionId\n description: A partition ID identifies a grouping of entities.\n The grouping is always by project namespace ID may be empty.\n properties:\n namespaceId:\n type: string\n x-dcl-go-name: NamespaceId\n description: If not empty, the ID of the namespace to which\n the entities belong.\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The ID of the project to which the entities\n belong.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n hybridOptions:\n type: object\n x-dcl-go-name: HybridOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptions\n description: Hybrid inspection options.\n x-dcl-conflicts:\n - datastoreOptions\n - cloudStorageOptions\n - bigQueryOptions\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A short description of where the data is coming\n from. Will be stored once in the job. 256 max length.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'To organize findings, these labels will be added\n to each finding. Label keys must be between 1 and 63 characters\n long and must conform to the following regular expression:\n `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between\n 0 and 63 characters long and must conform to the regular expression\n `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can\n be associated with a given finding. Examples: * `\"environment\"\n : \"production\"` * `\"pipeline\" : \"etl\"`'\n requiredFindingLabelKeys:\n type: array\n x-dcl-go-name: RequiredFindingLabelKeys\n description: 'These are labels that each inspection request\n must include within their ''finding_labels'' map. Request\n may contain others, but any missing one of these will be rejected.\n Label keys must be between 1 and 63 characters long and must\n conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.\n No more than 10 keys can be required.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tableOptions:\n type: object\n x-dcl-go-name: TableOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptionsTableOptions\n description: If the container is a table, additional information\n to make findings meaningful such as the columns that are primary\n keys.\n properties:\n identifyingFields:\n type: array\n x-dcl-go-name: IdentifyingFields\n description: The columns that are the primary keys for table\n objects included in ContentItem. A copy of this cell's\n value will stored alongside alongside each finding so\n that the finding can be traced to the specific row it\n came from. No more than 3 may be provided.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n timespanConfig:\n type: object\n x-dcl-go-name: TimespanConfig\n x-dcl-go-type: JobTriggerInspectJobStorageConfigTimespanConfig\n properties:\n enableAutoPopulationOfTimespanConfig:\n type: boolean\n x-dcl-go-name: EnableAutoPopulationOfTimespanConfig\n description: When the job is started by a JobTrigger we will\n automatically figure out a valid start_time to avoid scanning\n files that have not been modified since the last time the\n JobTrigger executed. This will be based on the time of the\n execution of the last run of the JobTrigger.\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Exclude files, tables, or rows newer than this\n value. If not set, no upper time limit is applied.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Exclude files, tables, or rows older than this\n value. If not set, no lower time limit is applied.\n timestampField:\n type: object\n x-dcl-go-name: TimestampField\n x-dcl-go-type: JobTriggerInspectJobStorageConfigTimespanConfigTimestampField\n description: 'Specification of the field containing the timestamp\n of scanned items. Used for data sources like Datastore and\n BigQuery. For BigQuery: If this value is not specified and\n the table was modified between the given start and end times,\n the entire table will be scanned. If this value is specified,\n then rows are filtered based on the given start and end times.\n Rows with a `NULL` value in the provided BigQuery column are\n skipped. Valid data types of the provided BigQuery column\n are: `INTEGER`, `DATE`, `TIMESTAMP`, and `DATETIME`. For Datastore:\n If this value is specified, then entities are filtered based\n on the given start and end times. If an entity does not contain\n the provided timestamp property or contains empty or invalid\n values, then it is included. Valid data types of the provided\n timestamp property are: `TIMESTAMP`.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n readOnly: true\n description: Output only. The timestamp of the last time this trigger executed.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Unique resource name for the triggeredJob, assigned by the\n service when the triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/53234423`.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: JobTriggerStatusEnum\n description: 'Required. A status for this trigger. Possible values: STATUS_UNSPECIFIED,\n HEALTHY, PAUSED, CANCELLED'\n x-kubernetes-immutable: true\n enum:\n - STATUS_UNSPECIFIED\n - HEALTHY\n - PAUSED\n - CANCELLED\n triggers:\n type: array\n x-dcl-go-name: Triggers\n description: A list of triggers which will be OR'ed together. Only one in\n the list needs to trigger for a job to be started. The list may contain\n only a single Schedule trigger and must have at least one object.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerTriggers\n properties:\n manual:\n type: object\n x-dcl-go-name: Manual\n x-dcl-go-type: JobTriggerTriggersManual\n description: For use with hybrid jobs. Jobs must be manually created\n and finished.\n x-dcl-conflicts:\n - schedule\n x-dcl-send-empty: true\n schedule:\n type: object\n x-dcl-go-name: Schedule\n x-dcl-go-type: JobTriggerTriggersSchedule\n description: Create a job on a repeating basis based on the elapse\n of time.\n x-dcl-conflicts:\n - manual\n properties:\n recurrencePeriodDuration:\n type: string\n x-dcl-go-name: RecurrencePeriodDuration\n description: 'With this option a job is started a regular periodic\n basis. For example: every day (86400 seconds). A scheduled start\n time will be skipped if the previous execution has not ended\n when its scheduled time occurs. This value must be set to a\n time duration greater than or equal to 1 day and can be no longer\n than 60 days.'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of a triggeredJob.\n x-kubernetes-immutable: true\n") +var YAML_job_trigger = []byte("info:\n title: Dlp/JobTrigger\n description: The Dlp JobTrigger resource\n x-dcl-struct-name: JobTrigger\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n apply:\n description: The function used to apply information about a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n delete:\n description: The function used to delete a JobTrigger\n parameters:\n - name: JobTrigger\n required: true\n description: A full instance of a JobTrigger\n deleteAll:\n description: The function used to delete all JobTrigger\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many JobTrigger\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n JobTrigger:\n title: JobTrigger\n x-dcl-id: '{{parent}}/jobTriggers/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - inspectJob\n - triggers\n - status\n - parent\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of a triggeredJob.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: User provided description (max 256 chars)\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name (max 100 chars)\n errors:\n type: array\n x-dcl-go-name: Errors\n readOnly: true\n description: Output only. A stream of errors encountered when the trigger\n was activated. Repeated errors may result in the JobTrigger automatically\n being paused. Will return the last 100 errors. Whenever the JobTrigger\n is modified this list will be cleared.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerErrors\n properties:\n details:\n type: object\n x-dcl-go-name: Details\n x-dcl-go-type: JobTriggerErrorsDetails\n description: Detailed error codes and messages.\n properties:\n code:\n type: integer\n format: int64\n x-dcl-go-name: Code\n description: The status code, which should be an enum value of\n google.rpc.Code.\n details:\n type: array\n x-dcl-go-name: Details\n description: A list of messages that carry the error details.\n There is a common set of message types for APIs to use.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerErrorsDetailsDetails\n properties:\n typeUrl:\n type: string\n x-dcl-go-name: TypeUrl\n description: 'A URL/resource name that uniquely identifies\n the type of the serialized protocol buffer message. This\n string must contain at least one \"/\" character. The last\n segment of the URL''s path must represent the fully qualified\n name of the type (as in `path/google.protobuf.Duration`).\n The name should be in a canonical form (e.g., leading\n \".\" is not accepted). In practice, teams usually precompile\n into the binary all types that they expect it to use in\n the context of Any. However, for URLs which use the scheme\n `http`, `https`, or no scheme, one can optionally set\n up a type server that maps type URLs to message definitions\n as follows: * If no scheme is provided, `https` is assumed.\n * An HTTP GET on the URL must yield a google.protobuf.Type\n value in binary format, or produce an error. * Applications\n are allowed to cache lookup results based on the URL,\n or have them precompiled into a binary to avoid any lookup.\n Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.) Note: this functionality is not currently\n available in the official protobuf release, and it is\n not used for type URLs beginning with type.googleapis.com.\n Schemes other than `http`, `https` (or the empty scheme)\n might be used with implementation specific semantics.'\n value:\n type: string\n x-dcl-go-name: Value\n description: Must be a valid serialized protocol buffer\n of the above specified type.\n message:\n type: string\n x-dcl-go-name: Message\n description: A developer-facing error message, which should be\n in English. Any user-facing error message should be localized\n and sent in the google.rpc.Status.details field, or localized\n by the client.\n timestamps:\n type: array\n x-dcl-go-name: Timestamps\n description: The times the error occurred.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n format: date-time\n x-dcl-go-type: string\n inspectJob:\n type: object\n x-dcl-go-name: InspectJob\n x-dcl-go-type: JobTriggerInspectJob\n description: For inspect jobs, a snapshot of the configuration.\n required:\n - storageConfig\n properties:\n actions:\n type: array\n x-dcl-go-name: Actions\n description: Actions to execute at the completion of the job.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobActions\n properties:\n jobNotificationEmails:\n type: object\n x-dcl-go-name: JobNotificationEmails\n x-dcl-go-type: JobTriggerInspectJobActionsJobNotificationEmails\n description: Enable email notification for project owners and\n editors on job's completion/failure.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - publishToStackdriver\n x-dcl-send-empty: true\n pubSub:\n type: object\n x-dcl-go-name: PubSub\n x-dcl-go-type: JobTriggerInspectJobActionsPubSub\n description: Publish a notification to a pubsub topic.\n x-dcl-conflicts:\n - saveFindings\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n properties:\n topic:\n type: string\n x-dcl-go-name: Topic\n description: Cloud Pub/Sub topic to send notifications to.\n The topic must have given publishing access rights to the\n DLP API service account executing the long running DlpJob\n sending the notifications. Format is projects/{project}/topics/{topic}.\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n publishFindingsToCloudDataCatalog:\n type: object\n x-dcl-go-name: PublishFindingsToCloudDataCatalog\n x-dcl-go-type: JobTriggerInspectJobActionsPublishFindingsToCloudDataCatalog\n description: Publish findings to Cloud Datahub.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - jobNotificationEmails\n - publishToStackdriver\n x-dcl-send-empty: true\n publishSummaryToCscc:\n type: object\n x-dcl-go-name: PublishSummaryToCscc\n x-dcl-go-type: JobTriggerInspectJobActionsPublishSummaryToCscc\n description: Publish summary to Cloud Security Command Center\n (Alpha).\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n x-dcl-send-empty: true\n publishToStackdriver:\n type: object\n x-dcl-go-name: PublishToStackdriver\n x-dcl-go-type: JobTriggerInspectJobActionsPublishToStackdriver\n description: Enable Stackdriver metric dlp.googleapis.com/finding_count.\n x-dcl-conflicts:\n - saveFindings\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n x-dcl-send-empty: true\n saveFindings:\n type: object\n x-dcl-go-name: SaveFindings\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindings\n description: Save resulting findings in a provided location.\n x-dcl-conflicts:\n - pubSub\n - publishSummaryToCscc\n - publishFindingsToCloudDataCatalog\n - jobNotificationEmails\n - publishToStackdriver\n properties:\n outputConfig:\n type: object\n x-dcl-go-name: OutputConfig\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfig\n description: Location to store findings outside of DLP.\n properties:\n dlpStorage:\n type: object\n x-dcl-go-name: DlpStorage\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigDlpStorage\n description: Store findings directly to DLP. If neither\n this or bigquery is chosen only summary stats of total\n infotype count will be stored. Quotes will not be stored\n to dlp findings. If quotes are needed, store to BigQuery.\n Currently only for inspect jobs.\n x-dcl-conflicts:\n - table\n x-dcl-send-empty: true\n outputSchema:\n type: string\n x-dcl-go-name: OutputSchema\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigOutputSchemaEnum\n description: 'Schema used for writing the findings for\n Inspect jobs. This field is only used for Inspect and\n must be unspecified for Risk jobs. Columns are derived\n from the `Finding` object. If appending to an existing\n table, any columns from the predefined schema that are\n missing will be added. No columns in the existing table\n will be deleted. If unspecified, then all available\n columns will be used for a new table or an (existing)\n table with no schema, and no changes will be made to\n an existing table that has a schema. Only for use with\n external storage. Possible values: OUTPUT_SCHEMA_UNSPECIFIED,\n BASIC_COLUMNS, GCS_COLUMNS, DATASTORE_COLUMNS, BIG_QUERY_COLUMNS,\n ALL_COLUMNS'\n enum:\n - OUTPUT_SCHEMA_UNSPECIFIED\n - BASIC_COLUMNS\n - GCS_COLUMNS\n - DATASTORE_COLUMNS\n - BIG_QUERY_COLUMNS\n - ALL_COLUMNS\n table:\n type: object\n x-dcl-go-name: Table\n x-dcl-go-type: JobTriggerInspectJobActionsSaveFindingsOutputConfigTable\n description: 'Store findings in an existing table or a\n new table in an existing dataset. If table_id is not\n set a new one will be generated for you with the following\n format: dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific\n timezone will be used for generating the date details.\n For Inspect, each column in an existing output table\n must have the same name, type, and mode of a field in\n the `Finding` object. For Risk, an existing output table\n should be the output of a previous Risk analysis job\n run on the same source table, with the same privacy\n metric and quasi-identifiers. Risk jobs that analyze\n the same table but compute a different privacy metric,\n or use different sets of quasi-identifiers, cannot store\n their results in the same table.'\n x-dcl-conflicts:\n - dlpStorage\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID\n of the project containing the table. If omitted,\n project ID is inferred from the API call.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n inspectConfig:\n type: object\n x-dcl-go-name: InspectConfig\n x-dcl-go-type: JobTriggerInspectJobInspectConfig\n description: How and what to scan for.\n properties:\n customInfoTypes:\n type: array\n x-dcl-go-name: CustomInfoTypes\n description: CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes\n to learn more.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypes\n properties:\n detectionRules:\n type: array\n x-dcl-go-name: DetectionRules\n description: Set of detection rules to apply to all findings\n of this CustomInfoType. Rules are applied in order that\n they are specified. Not supported for the `surrogate_type`\n CustomInfoType.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRules\n properties:\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRule\n description: Hotword-based detection rule.\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining\n what qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all\n matching findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding\n to a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY,\n VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the\n detection rule and `relative_likelihood` is\n 1, then it is upgraded to `LIKELY`, while\n a value of -1 would downgrade it to `UNLIKELY`.\n Likelihood may never drop below `VERY_UNLIKELY`\n or exceed `VERY_LIKELY`, so applying an adjustment\n of 1 followed by an adjustment of -1 when\n base likelihood is `VERY_LIKELY` will result\n in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDetectionRulesHotwordRuleProximity\n description: Proximity of the finding within which\n the entire hotword must reside. The total length\n of the window cannot exceed 1000 characters. Note\n that the finding itself will be included in the\n window, so that hotwords may be used to match\n substrings of the finding itself. For example,\n the certainty of a phone number regex \"(d{3})\n d{3}-d{4}\" could be adjusted upwards if the area\n code is known to be the local area code of a company\n office using the hotword regex \"(xxx)\", where\n \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the\n finding to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the\n finding to consider.\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionary\n description: A list of phrases to detect as a CustomInfoType.\n x-dcl-conflicts:\n - regex\n - surrogateType\n - storedType\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud\n Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no\n wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesDictionaryWordList\n description: List of words or phrases to search for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary.\n The dictionary must contain at least one phrase\n and every phrase must contain at least 2 characters\n that are letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusionType:\n type: string\n x-dcl-go-name: ExclusionType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesExclusionTypeEnum\n description: 'If set to EXCLUSION_TYPE_EXCLUDE this infoType\n will not cause a finding to be returned. It still can be\n used for rules matching. Possible values: EXCLUSION_TYPE_UNSPECIFIED,\n EXCLUSION_TYPE_EXCLUDE'\n enum:\n - EXCLUSION_TYPE_UNSPECIFIED\n - EXCLUSION_TYPE_EXCLUDE\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesInfoType\n description: CustomInfoType can either be a new infoType,\n or an extension of built-in infoType, when the name matches\n one of existing infoTypes and that infoType is specified\n in `InspectContent.info_types` field. Specifying the latter\n adds findings to the one detected by the system. If built-in\n info type is not specified in `InspectContent.info_types`\n list then the name is treated as a custom info type.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name\n of your choosing when creating a CustomInfoType, or\n one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should conform\n to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n likelihood:\n type: string\n x-dcl-go-name: Likelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesLikelihoodEnum\n description: 'Likelihood to return for this CustomInfoType.\n This base value can be altered by a detection rule if the\n finding meets the criteria specified by the rule. Defaults\n to `VERY_LIKELY` if not specified. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesRegex\n description: Regular expression based CustomInfoType.\n x-dcl-conflicts:\n - dictionary\n - surrogateType\n - storedType\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings.\n When not specified, the entire match is returned. No\n more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on GitHub.\n storedType:\n type: object\n x-dcl-go-name: StoredType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesStoredType\n description: Load an existing `StoredInfoType` resource for\n use in `InspectDataSource`. Not currently supported in `InspectContent`.\n x-dcl-conflicts:\n - dictionary\n - regex\n - surrogateType\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Timestamp indicating when the version of\n the `StoredInfoType` used for inspection was created.\n Output-only field, populated by the system.\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name of the requested `StoredInfoType`,\n for example `organizations/433245324/storedInfoTypes/432452342`\n or `projects/project-id/storedInfoTypes/432452342`.\n surrogateType:\n type: object\n x-dcl-go-name: SurrogateType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigCustomInfoTypesSurrogateType\n description: Message for detecting output from deidentification\n transformations that support reversing.\n x-dcl-conflicts:\n - dictionary\n - regex\n - storedType\n x-dcl-send-empty: true\n excludeInfoTypes:\n type: boolean\n x-dcl-go-name: ExcludeInfoTypes\n description: When true, excludes type information of the findings.\n This is not used for data profiling.\n includeQuote:\n type: boolean\n x-dcl-go-name: IncludeQuote\n description: When true, a contextual quote from the data that triggered\n a finding is included in the response; see Finding.quote. This\n is not used for data profiling.\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: Restricts what info_types to look for. The values must\n correspond to InfoType values returned by ListInfoTypes or listed\n at https://cloud.google.com/dlp/docs/infotypes-reference. When\n no InfoTypes or CustomInfoTypes are specified in a request, the\n system may automatically choose what detectors to run. By default\n this may be all types, but may change over time as detectors are\n updated. If you need precise control and predictability as to\n what detectors are run you should specify specific InfoTypes listed\n in the reference, otherwise a default list will be used, which\n may change over time.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a name of\n your choosing when creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud DLP\n results to Data Catalog, infoType names should conform to\n the pattern `[A-Za-z0-9$-_]{1,64}`.\n limits:\n type: object\n x-dcl-go-name: Limits\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimits\n description: Configuration to control the number of findings returned.\n This is not used for data profiling.\n properties:\n maxFindingsPerInfoType:\n type: array\n x-dcl-go-name: MaxFindingsPerInfoType\n description: Configuration of findings limit given for specified\n infoTypes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoType\n properties:\n infoType:\n type: object\n x-dcl-go-name: InfoType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoType\n description: Type of information the findings limit applies\n to. Only one limit per info_type should be provided.\n If InfoTypeLimit does not have an info_type, the DLP\n API applies the limit against all info_types that are\n found but not specified in another InfoTypeLimit.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either\n a name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n maxFindings:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindings\n description: Max findings limit for the given infoType.\n maxFindingsPerItem:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerItem\n description: Max number of findings that will be returned for\n each item scanned. When set within `InspectJobConfig`, the\n maximum returned is 2000 regardless if this is set higher.\n When set within `InspectContentRequest`, this field is ignored.\n maxFindingsPerRequest:\n type: integer\n format: int64\n x-dcl-go-name: MaxFindingsPerRequest\n description: Max number of findings that will be returned per\n request/job. When set within `InspectContentRequest`, the\n maximum returned is 2000 regardless if this is set higher.\n minLikelihood:\n type: string\n x-dcl-go-name: MinLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigMinLikelihoodEnum\n description: 'Only returns findings equal or above this threshold.\n The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood\n to learn more. Possible values: LIKELIHOOD_UNSPECIFIED, VERY_UNLIKELY,\n UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY'\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n ruleSet:\n type: array\n x-dcl-go-name: RuleSet\n description: Set of rules to apply to the findings for this InspectConfig.\n Exclusion rules, contained in the set are executed in the end,\n other rules are executed in the order they are specified for each\n info type.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSet\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: List of infoTypes this rule set is applied to.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type. Either a\n name of your choosing when creating a CustomInfoType,\n or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When sending Cloud\n DLP results to Data Catalog, infoType names should\n conform to the pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for this InfoType.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Set of rules to be applied to infoTypes. The\n rules are applied in order.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRules\n properties:\n exclusionRule:\n type: object\n x-dcl-go-name: ExclusionRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRule\n description: Exclusion rule.\n x-dcl-conflicts:\n - hotwordRule\n properties:\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionary\n description: Dictionary which defines the rule.\n x-dcl-conflicts:\n - regex\n - excludeInfoTypes\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionaryCloudStoragePath\n description: Newline-delimited file of words\n in Cloud Storage. Only a single file is accepted.\n x-dcl-conflicts:\n - wordList\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file\n or path (no wildcards) in Cloud Storage.\n Example: gs://[BUCKET_NAME]/dictionary.txt'\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleDictionaryWordList\n description: List of words or phrases to search\n for.\n x-dcl-conflicts:\n - cloudStoragePath\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the\n dictionary. The dictionary must contain\n at least one phrase and every phrase must\n contain at least 2 characters that are\n letters or digits. [required]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludeInfoTypes:\n type: object\n x-dcl-go-name: ExcludeInfoTypes\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes\n description: Set of infoTypes for which findings\n would affect this rule.\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n infoTypes:\n type: array\n x-dcl-go-name: InfoTypes\n description: InfoType list in ExclusionRule\n rule drops a finding when it overlaps or contained\n within with a finding of an infoType from\n this list. For example, for `InspectionRuleSet.info_types`\n containing \"PHONE_NUMBER\"` and `exclusion_rule`\n containing `exclude_info_types.info_types`\n with \"EMAIL_ADDRESS\" the phone number findings\n are dropped if they overlap with EMAIL_ADDRESS\n finding. That leads to \"555-222-2222@example.org\"\n to generate only a single finding, namely\n email address.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypesInfoTypes\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the information type.\n Either a name of your choosing when\n creating a CustomInfoType, or one of\n the names listed at https://cloud.google.com/dlp/docs/infotypes-reference\n when specifying a built-in type. When\n sending Cloud DLP results to Data Catalog,\n infoType names should conform to the\n pattern `[A-Za-z0-9$-_]{1,64}`.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional version name for\n this InfoType.\n matchingType:\n type: string\n x-dcl-go-name: MatchingType\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleMatchingTypeEnum\n description: 'How the rule is applied, see MatchingType\n documentation for details. Possible values: MATCHING_TYPE_UNSPECIFIED,\n MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH,\n MATCHING_TYPE_INVERSE_MATCH'\n enum:\n - MATCHING_TYPE_UNSPECIFIED\n - MATCHING_TYPE_FULL_MATCH\n - MATCHING_TYPE_PARTIAL_MATCH\n - MATCHING_TYPE_INVERSE_MATCH\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesExclusionRuleRegex\n description: Regular expression which defines the\n rule.\n x-dcl-conflicts:\n - dictionary\n - excludeInfoTypes\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n hotwordRule:\n type: object\n x-dcl-go-name: HotwordRule\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRule\n x-dcl-conflicts:\n - exclusionRule\n properties:\n hotwordRegex:\n type: object\n x-dcl-go-name: HotwordRegex\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleHotwordRegex\n description: Regular expression pattern defining\n what qualifies as a hotword.\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract\n as findings. When not specified, the entire\n match is returned. No more than 3 may be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression.\n Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository\n on GitHub.\n likelihoodAdjustment:\n type: object\n x-dcl-go-name: LikelihoodAdjustment\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustment\n description: Likelihood adjustment to apply to all\n matching findings.\n properties:\n fixedLikelihood:\n type: string\n x-dcl-go-name: FixedLikelihood\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleLikelihoodAdjustmentFixedLikelihoodEnum\n description: 'Set the likelihood of a finding\n to a fixed value. Possible values: LIKELIHOOD_UNSPECIFIED,\n VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY,\n VERY_LIKELY'\n x-dcl-conflicts:\n - relativeLikelihood\n enum:\n - LIKELIHOOD_UNSPECIFIED\n - VERY_UNLIKELY\n - UNLIKELY\n - POSSIBLE\n - LIKELY\n - VERY_LIKELY\n relativeLikelihood:\n type: integer\n format: int64\n x-dcl-go-name: RelativeLikelihood\n description: Increase or decrease the likelihood\n by the specified number of levels. For example,\n if a finding would be `POSSIBLE` without the\n detection rule and `relative_likelihood` is\n 1, then it is upgraded to `LIKELY`, while\n a value of -1 would downgrade it to `UNLIKELY`.\n Likelihood may never drop below `VERY_UNLIKELY`\n or exceed `VERY_LIKELY`, so applying an adjustment\n of 1 followed by an adjustment of -1 when\n base likelihood is `VERY_LIKELY` will result\n in a final likelihood of `LIKELY`.\n x-dcl-conflicts:\n - fixedLikelihood\n proximity:\n type: object\n x-dcl-go-name: Proximity\n x-dcl-go-type: JobTriggerInspectJobInspectConfigRuleSetRulesHotwordRuleProximity\n description: Proximity of the finding within which\n the entire hotword must reside. The total length\n of the window cannot exceed 1000 characters. Note\n that the finding itself will be included in the\n window, so that hotwords may be used to match\n substrings of the finding itself. For example,\n the certainty of a phone number regex \"(d{3})\n d{3}-d{4}\" could be adjusted upwards if the area\n code is known to be the local area code of a company\n office using the hotword regex \"(xxx)\", where\n \"xxx\" is the area code in question.\n properties:\n windowAfter:\n type: integer\n format: int64\n x-dcl-go-name: WindowAfter\n description: Number of characters after the\n finding to consider.\n windowBefore:\n type: integer\n format: int64\n x-dcl-go-name: WindowBefore\n description: Number of characters before the\n finding to consider.\n inspectTemplateName:\n type: string\n x-dcl-go-name: InspectTemplateName\n description: If provided, will be used as the default for all values\n in InspectConfig. `inspect_config` will be merged into the values\n persisted as part of the template.\n storageConfig:\n type: object\n x-dcl-go-name: StorageConfig\n x-dcl-go-type: JobTriggerInspectJobStorageConfig\n description: The data to scan.\n properties:\n bigQueryOptions:\n type: object\n x-dcl-go-name: BigQueryOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptions\n description: BigQuery options.\n x-dcl-conflicts:\n - datastoreOptions\n - cloudStorageOptions\n - hybridOptions\n required:\n - tableReference\n properties:\n excludedFields:\n type: array\n x-dcl-go-name: ExcludedFields\n description: References to fields excluded from scanning. This\n allows you to skip inspection of entire columns which you\n know have no findings.\n x-dcl-conflicts:\n - includedFields\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsExcludedFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n identifyingFields:\n type: array\n x-dcl-go-name: IdentifyingFields\n description: Table fields that may uniquely identify a row within\n the table. When `actions.saveFindings.outputConfig.table`\n is specified, the values of columns specified here are available\n in the output table under `location.content_locations.record_location.record_key.id_values`.\n Nested fields such as `person.birthdate.year` are allowed.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n includedFields:\n type: array\n x-dcl-go-name: IncludedFields\n description: Limit scanning only to these fields.\n x-dcl-conflicts:\n - excludedFields\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsIncludedFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n rowsLimit:\n type: integer\n format: int64\n x-dcl-go-name: RowsLimit\n description: Max number of rows to scan. If the table has more\n rows than this value, the rest of the rows are omitted. If\n not set, or if set to 0, all rows will be scanned. Only one\n of rows_limit and rows_limit_percent can be specified. Cannot\n be used in conjunction with TimespanConfig.\n x-dcl-conflicts:\n - rowsLimitPercent\n rowsLimitPercent:\n type: integer\n format: int64\n x-dcl-go-name: RowsLimitPercent\n description: Max percentage of rows to scan. The rest are omitted.\n The number of rows scanned is rounded down. Must be between\n 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults\n to 0. Only one of rows_limit and rows_limit_percent can be\n specified. Cannot be used in conjunction with TimespanConfig.\n x-dcl-conflicts:\n - rowsLimit\n sampleMethod:\n type: string\n x-dcl-go-name: SampleMethod\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsSampleMethodEnum\n description: ' Possible values: SAMPLE_METHOD_UNSPECIFIED, TOP,\n RANDOM_START'\n enum:\n - SAMPLE_METHOD_UNSPECIFIED\n - TOP\n - RANDOM_START\n tableReference:\n type: object\n x-dcl-go-name: TableReference\n x-dcl-go-type: JobTriggerInspectJobStorageConfigBigQueryOptionsTableReference\n description: Complete BigQuery table reference.\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID of the\n project containing the table. If omitted, project ID is\n inferred from the API call.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n cloudStorageOptions:\n type: object\n x-dcl-go-name: CloudStorageOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptions\n description: Google Cloud Storage options.\n x-dcl-conflicts:\n - datastoreOptions\n - bigQueryOptions\n - hybridOptions\n properties:\n bytesLimitPerFile:\n type: integer\n format: int64\n x-dcl-go-name: BytesLimitPerFile\n description: Max number of bytes to scan from a file. If a scanned\n file's size is bigger than this value then the rest of the\n bytes are omitted. Only one of bytes_limit_per_file and bytes_limit_per_file_percent\n can be specified. Cannot be set if de-identification is requested.\n x-dcl-conflicts:\n - bytesLimitPerFilePercent\n bytesLimitPerFilePercent:\n type: integer\n format: int64\n x-dcl-go-name: BytesLimitPerFilePercent\n description: Max percentage of bytes to scan from a file. The\n rest are omitted. The number of bytes scanned is rounded down.\n Must be between 0 and 100, inclusively. Both 0 and 100 means\n no limit. Defaults to 0. Only one of bytes_limit_per_file\n and bytes_limit_per_file_percent can be specified. Cannot\n be set if de-identification is requested.\n x-dcl-conflicts:\n - bytesLimitPerFile\n fileSet:\n type: object\n x-dcl-go-name: FileSet\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileSet\n description: The set of one or more files to scan.\n properties:\n regexFileSet:\n type: object\n x-dcl-go-name: RegexFileSet\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetRegexFileSet\n description: The regex-filtered set of files to scan. Exactly\n one of `url` or `regex_file_set` must be set.\n x-dcl-conflicts:\n - url\n required:\n - bucketName\n properties:\n bucketName:\n type: string\n x-dcl-go-name: BucketName\n description: The name of a Cloud Storage bucket. Required.\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n excludeRegex:\n type: array\n x-dcl-go-name: ExcludeRegex\n description: A list of regular expressions matching\n file paths to exclude. All files in the bucket that\n match at least one of these regular expressions will\n be excluded from the scan. Regular expressions use\n RE2 [syntax](https://github.com/google/re2/wiki/Syntax);\n a guide can be found under the google/re2 repository\n on GitHub.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includeRegex:\n type: array\n x-dcl-go-name: IncludeRegex\n description: A list of regular expressions matching\n file paths to include. All files in the bucket that\n match at least one of these regular expressions will\n be included in the set of files, except for those\n that also match an item in `exclude_regex`. Leaving\n this field empty will match all files by default (this\n is equivalent to including `.*` in the list). Regular\n expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax);\n a guide can be found under the google/re2 repository\n on GitHub.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n url:\n type: string\n x-dcl-go-name: Url\n description: The Cloud Storage url of the file(s) to scan,\n in the format `gs:///`. Trailing wildcard in the path\n is allowed. If the url ends in a trailing slash, the bucket\n or directory represented by the url will be scanned non-recursively\n (content in sub-directories will not be scanned). This\n means that `gs://mybucket/` is equivalent to `gs://mybucket/*`,\n and `gs://mybucket/directory/` is equivalent to `gs://mybucket/directory/*`.\n Exactly one of `url` or `regex_file_set` must be set.\n x-dcl-conflicts:\n - regexFileSet\n fileTypes:\n type: array\n x-dcl-go-name: FileTypes\n description: List of file type groups to include in the scan.\n If empty, all files are scanned and available data format\n processors are applied. In addition, the binary content of\n the selected files is always scanned as well. Images are scanned\n only as binary if the specified region does not support image\n inspection and no file_types were specified. Image inspection\n is restricted to 'global', 'us', 'asia', and 'europe'.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsFileTypesEnum\n enum:\n - FILE_TYPE_UNSPECIFIED\n - BINARY_FILE\n - TEXT_FILE\n - IMAGE\n - WORD\n - PDF\n - AVRO\n - CSV\n - TSV\n filesLimitPercent:\n type: integer\n format: int64\n x-dcl-go-name: FilesLimitPercent\n description: Limits the number of files to scan to this percentage\n of the input FileSet. Number of files scanned is rounded down.\n Must be between 0 and 100, inclusively. Both 0 and 100 means\n no limit. Defaults to 0.\n sampleMethod:\n type: string\n x-dcl-go-name: SampleMethod\n x-dcl-go-type: JobTriggerInspectJobStorageConfigCloudStorageOptionsSampleMethodEnum\n description: ' Possible values: SAMPLE_METHOD_UNSPECIFIED, TOP,\n RANDOM_START'\n enum:\n - SAMPLE_METHOD_UNSPECIFIED\n - TOP\n - RANDOM_START\n datastoreOptions:\n type: object\n x-dcl-go-name: DatastoreOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptions\n description: Google Cloud Datastore options.\n x-dcl-conflicts:\n - cloudStorageOptions\n - bigQueryOptions\n - hybridOptions\n properties:\n kind:\n type: object\n x-dcl-go-name: Kind\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptionsKind\n description: The kind to process.\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the kind.\n partitionId:\n type: object\n x-dcl-go-name: PartitionId\n x-dcl-go-type: JobTriggerInspectJobStorageConfigDatastoreOptionsPartitionId\n description: A partition ID identifies a grouping of entities.\n The grouping is always by project namespace ID may be empty.\n properties:\n namespaceId:\n type: string\n x-dcl-go-name: NamespaceId\n description: If not empty, the ID of the namespace to which\n the entities belong.\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The ID of the project to which the entities\n belong.\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n hybridOptions:\n type: object\n x-dcl-go-name: HybridOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptions\n description: Hybrid inspection options.\n x-dcl-conflicts:\n - datastoreOptions\n - cloudStorageOptions\n - bigQueryOptions\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A short description of where the data is coming\n from. Will be stored once in the job. 256 max length.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'To organize findings, these labels will be added\n to each finding. Label keys must be between 1 and 63 characters\n long and must conform to the following regular expression:\n `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between\n 0 and 63 characters long and must conform to the regular expression\n `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can\n be associated with a given finding. Examples: * `\"environment\"\n : \"production\"` * `\"pipeline\" : \"etl\"`'\n requiredFindingLabelKeys:\n type: array\n x-dcl-go-name: RequiredFindingLabelKeys\n description: 'These are labels that each inspection request\n must include within their ''finding_labels'' map. Request\n may contain others, but any missing one of these will be rejected.\n Label keys must be between 1 and 63 characters long and must\n conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.\n No more than 10 keys can be required.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tableOptions:\n type: object\n x-dcl-go-name: TableOptions\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptionsTableOptions\n description: If the container is a table, additional information\n to make findings meaningful such as the columns that are primary\n keys.\n properties:\n identifyingFields:\n type: array\n x-dcl-go-name: IdentifyingFields\n description: The columns that are the primary keys for table\n objects included in ContentItem. A copy of this cell's\n value will stored alongside alongside each finding so\n that the finding can be traced to the specific row it\n came from. No more than 3 may be provided.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFields\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n timespanConfig:\n type: object\n x-dcl-go-name: TimespanConfig\n x-dcl-go-type: JobTriggerInspectJobStorageConfigTimespanConfig\n properties:\n enableAutoPopulationOfTimespanConfig:\n type: boolean\n x-dcl-go-name: EnableAutoPopulationOfTimespanConfig\n description: When the job is started by a JobTrigger we will\n automatically figure out a valid start_time to avoid scanning\n files that have not been modified since the last time the\n JobTrigger executed. This will be based on the time of the\n execution of the last run of the JobTrigger.\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Exclude files, tables, or rows newer than this\n value. If not set, no upper time limit is applied.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Exclude files, tables, or rows older than this\n value. If not set, no lower time limit is applied.\n timestampField:\n type: object\n x-dcl-go-name: TimestampField\n x-dcl-go-type: JobTriggerInspectJobStorageConfigTimespanConfigTimestampField\n description: 'Specification of the field containing the timestamp\n of scanned items. Used for data sources like Datastore and\n BigQuery. For BigQuery: If this value is not specified and\n the table was modified between the given start and end times,\n the entire table will be scanned. If this value is specified,\n then rows are filtered based on the given start and end times.\n Rows with a `NULL` value in the provided BigQuery column are\n skipped. Valid data types of the provided BigQuery column\n are: `INTEGER`, `DATE`, `TIMESTAMP`, and `DATETIME`. For Datastore:\n If this value is specified, then entities are filtered based\n on the given start and end times. If an entity does not contain\n the provided timestamp property or contains empty or invalid\n values, then it is included. Valid data types of the provided\n timestamp property are: `TIMESTAMP`.'\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n readOnly: true\n description: Output only. The timestamp of the last time this trigger executed.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n locationId:\n type: string\n x-dcl-go-name: LocationId\n readOnly: true\n description: Output only. The geographic location where this resource is\n stored.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Unique resource name for the triggeredJob, assigned by the\n service when the triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/53234423`.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: string\n x-dcl-go-name: Status\n x-dcl-go-type: JobTriggerStatusEnum\n description: 'Required. A status for this trigger. Possible values: STATUS_UNSPECIFIED,\n HEALTHY, PAUSED, CANCELLED'\n x-kubernetes-immutable: true\n enum:\n - STATUS_UNSPECIFIED\n - HEALTHY\n - PAUSED\n - CANCELLED\n triggers:\n type: array\n x-dcl-go-name: Triggers\n description: A list of triggers which will be OR'ed together. Only one in\n the list needs to trigger for a job to be started. The list may contain\n only a single Schedule trigger and must have at least one object.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTriggerTriggers\n properties:\n manual:\n type: object\n x-dcl-go-name: Manual\n x-dcl-go-type: JobTriggerTriggersManual\n description: For use with hybrid jobs. Jobs must be manually created\n and finished.\n x-dcl-conflicts:\n - schedule\n x-dcl-send-empty: true\n schedule:\n type: object\n x-dcl-go-name: Schedule\n x-dcl-go-type: JobTriggerTriggersSchedule\n description: Create a job on a repeating basis based on the elapse\n of time.\n x-dcl-conflicts:\n - manual\n properties:\n recurrencePeriodDuration:\n type: string\n x-dcl-go-name: RecurrencePeriodDuration\n description: 'With this option a job is started a regular periodic\n basis. For example: every day (86400 seconds). A scheduled start\n time will be skipped if the previous execution has not ended\n when its scheduled time occurs. This value must be set to a\n time duration greater than or equal to 1 day and can be no longer\n than 60 days.'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of a triggeredJob.\n x-kubernetes-immutable: true\n") -// 88750 bytes -// MD5: e19cbe70aa838f1e99e6c8f6090d5453 +// 88775 bytes +// MD5: 88ca71cf1fe845c1fff987c92e895bba diff --git a/services/google/dlp/stored_info_type.yaml b/services/google/dlp/stored_info_type.yaml index 11800a5708..c0e2882fb3 100755 --- a/services/google/dlp/stored_info_type.yaml +++ b/services/google/dlp/stored_info_type.yaml @@ -15,6 +15,7 @@ info: title: Dlp/StoredInfoType description: The Dlp StoredInfoType resource x-dcl-struct-name: StoredInfoType + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/dlp/stored_info_type_schema.go b/services/google/dlp/stored_info_type_schema.go index dc68e9345e..9636f6b782 100755 --- a/services/google/dlp/stored_info_type_schema.go +++ b/services/google/dlp/stored_info_type_schema.go @@ -23,6 +23,7 @@ func DCLStoredInfoTypeSchema() *dcl.Schema { Title: "Dlp/StoredInfoType", Description: "The Dlp StoredInfoType resource", StructName: "StoredInfoType", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/dlp/stored_info_type_yaml_embed.go b/services/google/dlp/stored_info_type_yaml_embed.go index 2d20022428..eade75dee4 100755 --- a/services/google/dlp/stored_info_type_yaml_embed.go +++ b/services/google/dlp/stored_info_type_yaml_embed.go @@ -17,7 +17,7 @@ package dlp // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dlp/stored_info_type.yaml -var YAML_stored_info_type = []byte("info:\n title: Dlp/StoredInfoType\n description: The Dlp StoredInfoType resource\n x-dcl-struct-name: StoredInfoType\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n apply:\n description: The function used to apply information about a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n delete:\n description: The function used to delete a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n deleteAll:\n description: The function used to delete all StoredInfoType\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many StoredInfoType\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n StoredInfoType:\n title: StoredInfoType\n x-dcl-id: '{{parent}}/storedInfoTypes/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the StoredInfoType (max 256 characters).\n x-kubernetes-immutable: true\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: StoredInfoTypeDictionary\n description: Store dictionary-based CustomInfoType.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - largeCustomDictionary\n - regex\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: StoredInfoTypeDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud Storage. Only\n a single file is accepted.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - wordList\n required:\n - path\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards) in\n Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n x-kubernetes-immutable: true\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: StoredInfoTypeDictionaryWordList\n description: List of words or phrases to search for.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudStoragePath\n required:\n - words\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary. The dictionary\n must contain at least one phrase and every phrase must contain\n at least 2 characters that are letters or digits. [required]\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the StoredInfoType (max 256 characters).\n x-kubernetes-immutable: true\n largeCustomDictionary:\n type: object\n x-dcl-go-name: LargeCustomDictionary\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionary\n description: StoredInfoType where findings are defined by a dictionary of\n phrases.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n bigQueryField:\n type: object\n x-dcl-go-name: BigQueryField\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryField\n description: Field in a BigQuery table where each cell represents a\n dictionary phrase.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudStorageFileSet\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryFieldField\n description: Designated field in the BigQuery table.\n x-kubernetes-immutable: true\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n x-kubernetes-immutable: true\n table:\n type: object\n x-dcl-go-name: Table\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryFieldTable\n description: Source table of the field.\n x-kubernetes-immutable: true\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID of the project\n containing the table. If omitted, project ID is inferred from\n the API call.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n cloudStorageFileSet:\n type: object\n x-dcl-go-name: CloudStorageFileSet\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryCloudStorageFileSet\n description: Set of files containing newline-delimited lists of dictionary\n phrases.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - bigQueryField\n required:\n - url\n properties:\n url:\n type: string\n x-dcl-go-name: Url\n description: The url, in the format `gs:///`. Trailing wildcard\n in the path is allowed.\n x-kubernetes-immutable: true\n outputPath:\n type: object\n x-dcl-go-name: OutputPath\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryOutputPath\n description: Location to store dictionary artifacts in Google Cloud\n Storage. These files will only be accessible by project owners and\n the DLP API. If any of these artifacts are modified, the dictionary\n is considered invalid and can no longer be used.\n x-kubernetes-immutable: true\n required:\n - path\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards) in\n Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: StoredInfoTypeRegex\n description: Store regular expression-based StoredInfoType.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - largeCustomDictionary\n - dictionary\n required:\n - pattern\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings. When\n not specified, the entire match is returned. No more than 3 may be\n included.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on GitHub.\n x-kubernetes-immutable: true\n") +var YAML_stored_info_type = []byte("info:\n title: Dlp/StoredInfoType\n description: The Dlp StoredInfoType resource\n x-dcl-struct-name: StoredInfoType\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n apply:\n description: The function used to apply information about a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n delete:\n description: The function used to delete a StoredInfoType\n parameters:\n - name: StoredInfoType\n required: true\n description: A full instance of a StoredInfoType\n deleteAll:\n description: The function used to delete all StoredInfoType\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many StoredInfoType\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n StoredInfoType:\n title: StoredInfoType\n x-dcl-id: '{{parent}}/storedInfoTypes/{{name}}'\n x-dcl-locations:\n - region\n x-dcl-has-iam: false\n type: object\n required:\n - parent\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the StoredInfoType (max 256 characters).\n x-kubernetes-immutable: true\n dictionary:\n type: object\n x-dcl-go-name: Dictionary\n x-dcl-go-type: StoredInfoTypeDictionary\n description: Store dictionary-based CustomInfoType.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - largeCustomDictionary\n - regex\n properties:\n cloudStoragePath:\n type: object\n x-dcl-go-name: CloudStoragePath\n x-dcl-go-type: StoredInfoTypeDictionaryCloudStoragePath\n description: Newline-delimited file of words in Cloud Storage. Only\n a single file is accepted.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - wordList\n required:\n - path\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards) in\n Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n x-kubernetes-immutable: true\n wordList:\n type: object\n x-dcl-go-name: WordList\n x-dcl-go-type: StoredInfoTypeDictionaryWordList\n description: List of words or phrases to search for.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudStoragePath\n required:\n - words\n properties:\n words:\n type: array\n x-dcl-go-name: Words\n description: Words or phrases defining the dictionary. The dictionary\n must contain at least one phrase and every phrase must contain\n at least 2 characters that are letters or digits. [required]\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the StoredInfoType (max 256 characters).\n x-kubernetes-immutable: true\n largeCustomDictionary:\n type: object\n x-dcl-go-name: LargeCustomDictionary\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionary\n description: StoredInfoType where findings are defined by a dictionary of\n phrases.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - dictionary\n - regex\n properties:\n bigQueryField:\n type: object\n x-dcl-go-name: BigQueryField\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryField\n description: Field in a BigQuery table where each cell represents a\n dictionary phrase.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudStorageFileSet\n properties:\n field:\n type: object\n x-dcl-go-name: Field\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryFieldField\n description: Designated field in the BigQuery table.\n x-kubernetes-immutable: true\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Name describing the field.\n x-kubernetes-immutable: true\n table:\n type: object\n x-dcl-go-name: Table\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryBigQueryFieldTable\n description: Source table of the field.\n x-kubernetes-immutable: true\n properties:\n datasetId:\n type: string\n x-dcl-go-name: DatasetId\n description: Dataset ID of the table.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigquery/Dataset\n field: name\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: The Google Cloud Platform project ID of the project\n containing the table. If omitted, project ID is inferred from\n the API call.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n tableId:\n type: string\n x-dcl-go-name: TableId\n description: Name of the table.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Bigquery/Table\n field: name\n cloudStorageFileSet:\n type: object\n x-dcl-go-name: CloudStorageFileSet\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryCloudStorageFileSet\n description: Set of files containing newline-delimited lists of dictionary\n phrases.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - bigQueryField\n required:\n - url\n properties:\n url:\n type: string\n x-dcl-go-name: Url\n description: The url, in the format `gs:///`. Trailing wildcard\n in the path is allowed.\n x-kubernetes-immutable: true\n outputPath:\n type: object\n x-dcl-go-name: OutputPath\n x-dcl-go-type: StoredInfoTypeLargeCustomDictionaryOutputPath\n description: Location to store dictionary artifacts in Google Cloud\n Storage. These files will only be accessible by project owners and\n the DLP API. If any of these artifacts are modified, the dictionary\n is considered invalid and can no longer be used.\n x-kubernetes-immutable: true\n required:\n - path\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'A url representing a file or path (no wildcards) in\n Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt'\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n regex:\n type: object\n x-dcl-go-name: Regex\n x-dcl-go-type: StoredInfoTypeRegex\n description: Store regular expression-based StoredInfoType.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - largeCustomDictionary\n - dictionary\n required:\n - pattern\n properties:\n groupIndexes:\n type: array\n x-dcl-go-name: GroupIndexes\n description: The index of the submatch to extract as findings. When\n not specified, the entire match is returned. No more than 3 may be\n included.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n pattern:\n type: string\n x-dcl-go-name: Pattern\n description: Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax)\n can be found under the google/re2 repository on GitHub.\n x-kubernetes-immutable: true\n") -// 10507 bytes -// MD5: dd0b1d1d3cf77469038fca8a0942707b +// 10532 bytes +// MD5: 6df8dd68b97d16140f3cdf1db4fe856e diff --git a/services/google/eventarc/alpha/trigger.yaml b/services/google/eventarc/alpha/trigger.yaml index 9c5dad2f06..c432bb1961 100755 --- a/services/google/eventarc/alpha/trigger.yaml +++ b/services/google/eventarc/alpha/trigger.yaml @@ -15,6 +15,7 @@ info: title: Eventarc/Trigger description: The Eventarc Trigger resource x-dcl-struct-name: Trigger + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/eventarc/alpha/trigger_alpha_yaml_embed.go b/services/google/eventarc/alpha/trigger_alpha_yaml_embed.go index dac791179b..c5410de796 100755 --- a/services/google/eventarc/alpha/trigger_alpha_yaml_embed.go +++ b/services/google/eventarc/alpha/trigger_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/eventarc/alpha/trigger.yaml -var YAML_trigger = []byte("info:\n title: Eventarc/Trigger\n description: The Eventarc Trigger resource\n x-dcl-struct-name: Trigger\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n apply:\n description: The function used to apply information about a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n delete:\n description: The function used to delete a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n deleteAll:\n description: The function used to delete all Trigger\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Trigger\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Trigger:\n title: Trigger\n x-dcl-id: projects/{{project}}/locations/{{location}}/triggers/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - matchingCriteria\n - destination\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n destination:\n type: object\n x-dcl-go-name: Destination\n x-dcl-go-type: TriggerDestination\n description: Required. Destination specifies where the events should be\n sent to.\n properties:\n cloudFunction:\n type: string\n x-dcl-go-name: CloudFunction\n description: '[WARNING] Configuring a Cloud Function in Trigger is not\n supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}'\n x-dcl-conflicts:\n - cloudRunService\n - gke\n - workflow\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: name\n cloudRunService:\n type: object\n x-dcl-go-name: CloudRunService\n x-dcl-go-type: TriggerDestinationCloudRunService\n description: Cloud Run fully-managed service that receives the events.\n The service should be running in the same project of the trigger.\n x-dcl-conflicts:\n - cloudFunction\n - gke\n - workflow\n required:\n - service\n - region\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'Optional. The relative path on the Cloud Run service\n the events should be sent to. The value must conform to the definition\n of URI path segment (section 3.3 of RFC2396). Examples: \"/route\",\n \"route\", \"route/subroute\".'\n region:\n type: string\n x-dcl-go-name: Region\n description: Required. The region the Cloud Run service is deployed\n in.\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. The name of the Cloud Run service being addressed.\n See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services.\n Only services located in the same project of the trigger object\n can be addressed.\n x-dcl-references:\n - resource: Run/Service\n field: name\n gke:\n type: object\n x-dcl-go-name: Gke\n x-dcl-go-type: TriggerDestinationGke\n description: A GKE service capable of receiving events. The service\n should be running in the same project as the trigger.\n x-dcl-conflicts:\n - cloudRunService\n - cloudFunction\n - workflow\n required:\n - cluster\n - location\n - namespace\n - service\n properties:\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: Required. The name of the cluster the GKE service is\n running in. The cluster must be running in the same project as\n the trigger being created.\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: Required. The name of the Google Compute Engine in\n which the cluster resides, which can either be compute zone (for\n example, us-central1-a) for the zonal clusters or region (for\n example, us-central1) for regional clusters.\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: Required. The namespace the GKE service is running\n in.\n path:\n type: string\n x-dcl-go-name: Path\n description: 'Optional. The relative path on the GKE service the\n events should be sent to. The value must conform to the definition\n of a URI path segment (section 3.3 of RFC2396). Examples: \"/route\",\n \"route\", \"route/subroute\".'\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. Name of the GKE service.\n workflow:\n type: string\n x-dcl-go-name: Workflow\n description: 'The resource name of the Workflow whose Executions are\n triggered by the events. The Workflow resource should be deployed\n in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`'\n x-dcl-conflicts:\n - cloudRunService\n - cloudFunction\n - gke\n x-dcl-references:\n - resource: Workflows/Workflow\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. This checksum is computed by the server based\n on the value of other fields, and may be sent only on create requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User labels attached to the triggers that can be\n used to group resources.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n matchingCriteria:\n type: array\n x-dcl-go-name: MatchingCriteria\n description: Required. null The list of filters that applies to event attributes.\n Only events that match all the provided filters will be sent to the destination.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: TriggerMatchingCriteria\n required:\n - attribute\n - value\n properties:\n attribute:\n type: string\n x-dcl-go-name: Attribute\n description: Required. The name of a CloudEvents attribute. Currently,\n only a subset of attributes are supported for filtering. All triggers\n MUST provide a filter for the 'type' attribute.\n operator:\n type: string\n x-dcl-go-name: Operator\n description: Optional. The operator used for matching the events with\n the value of the filter. If not specified, only events that have\n an exact key-value pair specified in the filter are matched. The\n only allowed value is `match-path-pattern`.\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud\n for available values.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The resource name of the trigger. Must be unique\n within the location on the project.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The IAM service account email associated with the\n trigger. The service account represents the identity of the trigger. The\n principal who calls this API must have `iam.serviceAccounts.actAs` permission\n in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common\n for more information. For Cloud Run destinations, this service account\n is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account\n for information on how to invoke authenticated Cloud Run services. In\n order to create Audit Log triggers, the service account should also have\n `roles/eventarc.eventReceiver` IAM role.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n transport:\n type: object\n x-dcl-go-name: Transport\n x-dcl-go-type: TriggerTransport\n description: Optional. In order to deliver messages, Eventarc may use other\n GCP products as transport intermediary. This field contains a reference\n to that transport intermediary. This information can be used for debugging\n purposes.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n pubsub:\n type: object\n x-dcl-go-name: Pubsub\n x-dcl-go-type: TriggerTransportPubsub\n description: The Pub/Sub topic and subscription used by Eventarc as\n delivery intermediary.\n x-kubernetes-immutable: true\n properties:\n subscription:\n type: string\n x-dcl-go-name: Subscription\n readOnly: true\n description: 'Output only. The name of the Pub/Sub subscription\n created and managed by Eventarc system as a transport for the\n event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Pubsub/Subscription\n field: name\n topic:\n type: string\n x-dcl-go-name: Topic\n description: 'Optional. The name of the Pub/Sub topic created and\n managed by Eventarc system as a transport for the event delivery.\n Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set\n an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished`\n only. The topic you provide here will not be deleted by Eventarc\n at trigger deletion.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the trigger.\n The value is a UUID4 string and guaranteed to remain unchanged until the\n resource is deleted.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") +var YAML_trigger = []byte("info:\n title: Eventarc/Trigger\n description: The Eventarc Trigger resource\n x-dcl-struct-name: Trigger\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n apply:\n description: The function used to apply information about a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n delete:\n description: The function used to delete a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n deleteAll:\n description: The function used to delete all Trigger\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Trigger\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Trigger:\n title: Trigger\n x-dcl-id: projects/{{project}}/locations/{{location}}/triggers/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - matchingCriteria\n - destination\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n destination:\n type: object\n x-dcl-go-name: Destination\n x-dcl-go-type: TriggerDestination\n description: Required. Destination specifies where the events should be\n sent to.\n properties:\n cloudFunction:\n type: string\n x-dcl-go-name: CloudFunction\n description: '[WARNING] Configuring a Cloud Function in Trigger is not\n supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}'\n x-dcl-conflicts:\n - cloudRunService\n - gke\n - workflow\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: name\n cloudRunService:\n type: object\n x-dcl-go-name: CloudRunService\n x-dcl-go-type: TriggerDestinationCloudRunService\n description: Cloud Run fully-managed service that receives the events.\n The service should be running in the same project of the trigger.\n x-dcl-conflicts:\n - cloudFunction\n - gke\n - workflow\n required:\n - service\n - region\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'Optional. The relative path on the Cloud Run service\n the events should be sent to. The value must conform to the definition\n of URI path segment (section 3.3 of RFC2396). Examples: \"/route\",\n \"route\", \"route/subroute\".'\n region:\n type: string\n x-dcl-go-name: Region\n description: Required. The region the Cloud Run service is deployed\n in.\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. The name of the Cloud Run service being addressed.\n See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services.\n Only services located in the same project of the trigger object\n can be addressed.\n x-dcl-references:\n - resource: Run/Service\n field: name\n gke:\n type: object\n x-dcl-go-name: Gke\n x-dcl-go-type: TriggerDestinationGke\n description: A GKE service capable of receiving events. The service\n should be running in the same project as the trigger.\n x-dcl-conflicts:\n - cloudRunService\n - cloudFunction\n - workflow\n required:\n - cluster\n - location\n - namespace\n - service\n properties:\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: Required. The name of the cluster the GKE service is\n running in. The cluster must be running in the same project as\n the trigger being created.\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: Required. The name of the Google Compute Engine in\n which the cluster resides, which can either be compute zone (for\n example, us-central1-a) for the zonal clusters or region (for\n example, us-central1) for regional clusters.\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: Required. The namespace the GKE service is running\n in.\n path:\n type: string\n x-dcl-go-name: Path\n description: 'Optional. The relative path on the GKE service the\n events should be sent to. The value must conform to the definition\n of a URI path segment (section 3.3 of RFC2396). Examples: \"/route\",\n \"route\", \"route/subroute\".'\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. Name of the GKE service.\n workflow:\n type: string\n x-dcl-go-name: Workflow\n description: 'The resource name of the Workflow whose Executions are\n triggered by the events. The Workflow resource should be deployed\n in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`'\n x-dcl-conflicts:\n - cloudRunService\n - cloudFunction\n - gke\n x-dcl-references:\n - resource: Workflows/Workflow\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. This checksum is computed by the server based\n on the value of other fields, and may be sent only on create requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User labels attached to the triggers that can be\n used to group resources.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n matchingCriteria:\n type: array\n x-dcl-go-name: MatchingCriteria\n description: Required. null The list of filters that applies to event attributes.\n Only events that match all the provided filters will be sent to the destination.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: TriggerMatchingCriteria\n required:\n - attribute\n - value\n properties:\n attribute:\n type: string\n x-dcl-go-name: Attribute\n description: Required. The name of a CloudEvents attribute. Currently,\n only a subset of attributes are supported for filtering. All triggers\n MUST provide a filter for the 'type' attribute.\n operator:\n type: string\n x-dcl-go-name: Operator\n description: Optional. The operator used for matching the events with\n the value of the filter. If not specified, only events that have\n an exact key-value pair specified in the filter are matched. The\n only allowed value is `match-path-pattern`.\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud\n for available values.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The resource name of the trigger. Must be unique\n within the location on the project.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The IAM service account email associated with the\n trigger. The service account represents the identity of the trigger. The\n principal who calls this API must have `iam.serviceAccounts.actAs` permission\n in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common\n for more information. For Cloud Run destinations, this service account\n is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account\n for information on how to invoke authenticated Cloud Run services. In\n order to create Audit Log triggers, the service account should also have\n `roles/eventarc.eventReceiver` IAM role.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n transport:\n type: object\n x-dcl-go-name: Transport\n x-dcl-go-type: TriggerTransport\n description: Optional. In order to deliver messages, Eventarc may use other\n GCP products as transport intermediary. This field contains a reference\n to that transport intermediary. This information can be used for debugging\n purposes.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n pubsub:\n type: object\n x-dcl-go-name: Pubsub\n x-dcl-go-type: TriggerTransportPubsub\n description: The Pub/Sub topic and subscription used by Eventarc as\n delivery intermediary.\n x-kubernetes-immutable: true\n properties:\n subscription:\n type: string\n x-dcl-go-name: Subscription\n readOnly: true\n description: 'Output only. The name of the Pub/Sub subscription\n created and managed by Eventarc system as a transport for the\n event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Pubsub/Subscription\n field: name\n topic:\n type: string\n x-dcl-go-name: Topic\n description: 'Optional. The name of the Pub/Sub topic created and\n managed by Eventarc system as a transport for the event delivery.\n Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set\n an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished`\n only. The topic you provide here will not be deleted by Eventarc\n at trigger deletion.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the trigger.\n The value is a UUID4 string and guaranteed to remain unchanged until the\n resource is deleted.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") -// 13530 bytes -// MD5: c2ef6f6bbb541bdc5d73cd8d4c544647 +// 13555 bytes +// MD5: 83e16d805c20bd0b1874c04af3cff419 diff --git a/services/google/eventarc/alpha/trigger_schema.go b/services/google/eventarc/alpha/trigger_schema.go index 4bff824011..bd4915f6b4 100755 --- a/services/google/eventarc/alpha/trigger_schema.go +++ b/services/google/eventarc/alpha/trigger_schema.go @@ -23,6 +23,7 @@ func DCLTriggerSchema() *dcl.Schema { Title: "Eventarc/Trigger", Description: "The Eventarc Trigger resource", StructName: "Trigger", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/eventarc/beta/trigger.yaml b/services/google/eventarc/beta/trigger.yaml index 9c5dad2f06..c432bb1961 100755 --- a/services/google/eventarc/beta/trigger.yaml +++ b/services/google/eventarc/beta/trigger.yaml @@ -15,6 +15,7 @@ info: title: Eventarc/Trigger description: The Eventarc Trigger resource x-dcl-struct-name: Trigger + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/eventarc/beta/trigger_beta_yaml_embed.go b/services/google/eventarc/beta/trigger_beta_yaml_embed.go index 0f587b7421..a5ece00993 100755 --- a/services/google/eventarc/beta/trigger_beta_yaml_embed.go +++ b/services/google/eventarc/beta/trigger_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/eventarc/beta/trigger.yaml -var YAML_trigger = []byte("info:\n title: Eventarc/Trigger\n description: The Eventarc Trigger resource\n x-dcl-struct-name: Trigger\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n apply:\n description: The function used to apply information about a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n delete:\n description: The function used to delete a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n deleteAll:\n description: The function used to delete all Trigger\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Trigger\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Trigger:\n title: Trigger\n x-dcl-id: projects/{{project}}/locations/{{location}}/triggers/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - matchingCriteria\n - destination\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n destination:\n type: object\n x-dcl-go-name: Destination\n x-dcl-go-type: TriggerDestination\n description: Required. Destination specifies where the events should be\n sent to.\n properties:\n cloudFunction:\n type: string\n x-dcl-go-name: CloudFunction\n description: '[WARNING] Configuring a Cloud Function in Trigger is not\n supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}'\n x-dcl-conflicts:\n - cloudRunService\n - gke\n - workflow\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: name\n cloudRunService:\n type: object\n x-dcl-go-name: CloudRunService\n x-dcl-go-type: TriggerDestinationCloudRunService\n description: Cloud Run fully-managed service that receives the events.\n The service should be running in the same project of the trigger.\n x-dcl-conflicts:\n - cloudFunction\n - gke\n - workflow\n required:\n - service\n - region\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'Optional. The relative path on the Cloud Run service\n the events should be sent to. The value must conform to the definition\n of URI path segment (section 3.3 of RFC2396). Examples: \"/route\",\n \"route\", \"route/subroute\".'\n region:\n type: string\n x-dcl-go-name: Region\n description: Required. The region the Cloud Run service is deployed\n in.\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. The name of the Cloud Run service being addressed.\n See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services.\n Only services located in the same project of the trigger object\n can be addressed.\n x-dcl-references:\n - resource: Run/Service\n field: name\n gke:\n type: object\n x-dcl-go-name: Gke\n x-dcl-go-type: TriggerDestinationGke\n description: A GKE service capable of receiving events. The service\n should be running in the same project as the trigger.\n x-dcl-conflicts:\n - cloudRunService\n - cloudFunction\n - workflow\n required:\n - cluster\n - location\n - namespace\n - service\n properties:\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: Required. The name of the cluster the GKE service is\n running in. The cluster must be running in the same project as\n the trigger being created.\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: Required. The name of the Google Compute Engine in\n which the cluster resides, which can either be compute zone (for\n example, us-central1-a) for the zonal clusters or region (for\n example, us-central1) for regional clusters.\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: Required. The namespace the GKE service is running\n in.\n path:\n type: string\n x-dcl-go-name: Path\n description: 'Optional. The relative path on the GKE service the\n events should be sent to. The value must conform to the definition\n of a URI path segment (section 3.3 of RFC2396). Examples: \"/route\",\n \"route\", \"route/subroute\".'\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. Name of the GKE service.\n workflow:\n type: string\n x-dcl-go-name: Workflow\n description: 'The resource name of the Workflow whose Executions are\n triggered by the events. The Workflow resource should be deployed\n in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`'\n x-dcl-conflicts:\n - cloudRunService\n - cloudFunction\n - gke\n x-dcl-references:\n - resource: Workflows/Workflow\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. This checksum is computed by the server based\n on the value of other fields, and may be sent only on create requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User labels attached to the triggers that can be\n used to group resources.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n matchingCriteria:\n type: array\n x-dcl-go-name: MatchingCriteria\n description: Required. null The list of filters that applies to event attributes.\n Only events that match all the provided filters will be sent to the destination.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: TriggerMatchingCriteria\n required:\n - attribute\n - value\n properties:\n attribute:\n type: string\n x-dcl-go-name: Attribute\n description: Required. The name of a CloudEvents attribute. Currently,\n only a subset of attributes are supported for filtering. All triggers\n MUST provide a filter for the 'type' attribute.\n operator:\n type: string\n x-dcl-go-name: Operator\n description: Optional. The operator used for matching the events with\n the value of the filter. If not specified, only events that have\n an exact key-value pair specified in the filter are matched. The\n only allowed value is `match-path-pattern`.\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud\n for available values.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The resource name of the trigger. Must be unique\n within the location on the project.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The IAM service account email associated with the\n trigger. The service account represents the identity of the trigger. The\n principal who calls this API must have `iam.serviceAccounts.actAs` permission\n in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common\n for more information. For Cloud Run destinations, this service account\n is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account\n for information on how to invoke authenticated Cloud Run services. In\n order to create Audit Log triggers, the service account should also have\n `roles/eventarc.eventReceiver` IAM role.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n transport:\n type: object\n x-dcl-go-name: Transport\n x-dcl-go-type: TriggerTransport\n description: Optional. In order to deliver messages, Eventarc may use other\n GCP products as transport intermediary. This field contains a reference\n to that transport intermediary. This information can be used for debugging\n purposes.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n pubsub:\n type: object\n x-dcl-go-name: Pubsub\n x-dcl-go-type: TriggerTransportPubsub\n description: The Pub/Sub topic and subscription used by Eventarc as\n delivery intermediary.\n x-kubernetes-immutable: true\n properties:\n subscription:\n type: string\n x-dcl-go-name: Subscription\n readOnly: true\n description: 'Output only. The name of the Pub/Sub subscription\n created and managed by Eventarc system as a transport for the\n event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Pubsub/Subscription\n field: name\n topic:\n type: string\n x-dcl-go-name: Topic\n description: 'Optional. The name of the Pub/Sub topic created and\n managed by Eventarc system as a transport for the event delivery.\n Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set\n an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished`\n only. The topic you provide here will not be deleted by Eventarc\n at trigger deletion.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the trigger.\n The value is a UUID4 string and guaranteed to remain unchanged until the\n resource is deleted.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") +var YAML_trigger = []byte("info:\n title: Eventarc/Trigger\n description: The Eventarc Trigger resource\n x-dcl-struct-name: Trigger\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n apply:\n description: The function used to apply information about a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n delete:\n description: The function used to delete a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n deleteAll:\n description: The function used to delete all Trigger\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Trigger\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Trigger:\n title: Trigger\n x-dcl-id: projects/{{project}}/locations/{{location}}/triggers/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - matchingCriteria\n - destination\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n destination:\n type: object\n x-dcl-go-name: Destination\n x-dcl-go-type: TriggerDestination\n description: Required. Destination specifies where the events should be\n sent to.\n properties:\n cloudFunction:\n type: string\n x-dcl-go-name: CloudFunction\n description: '[WARNING] Configuring a Cloud Function in Trigger is not\n supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}'\n x-dcl-conflicts:\n - cloudRunService\n - gke\n - workflow\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: name\n cloudRunService:\n type: object\n x-dcl-go-name: CloudRunService\n x-dcl-go-type: TriggerDestinationCloudRunService\n description: Cloud Run fully-managed service that receives the events.\n The service should be running in the same project of the trigger.\n x-dcl-conflicts:\n - cloudFunction\n - gke\n - workflow\n required:\n - service\n - region\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'Optional. The relative path on the Cloud Run service\n the events should be sent to. The value must conform to the definition\n of URI path segment (section 3.3 of RFC2396). Examples: \"/route\",\n \"route\", \"route/subroute\".'\n region:\n type: string\n x-dcl-go-name: Region\n description: Required. The region the Cloud Run service is deployed\n in.\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. The name of the Cloud Run service being addressed.\n See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services.\n Only services located in the same project of the trigger object\n can be addressed.\n x-dcl-references:\n - resource: Run/Service\n field: name\n gke:\n type: object\n x-dcl-go-name: Gke\n x-dcl-go-type: TriggerDestinationGke\n description: A GKE service capable of receiving events. The service\n should be running in the same project as the trigger.\n x-dcl-conflicts:\n - cloudRunService\n - cloudFunction\n - workflow\n required:\n - cluster\n - location\n - namespace\n - service\n properties:\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: Required. The name of the cluster the GKE service is\n running in. The cluster must be running in the same project as\n the trigger being created.\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: Required. The name of the Google Compute Engine in\n which the cluster resides, which can either be compute zone (for\n example, us-central1-a) for the zonal clusters or region (for\n example, us-central1) for regional clusters.\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: Required. The namespace the GKE service is running\n in.\n path:\n type: string\n x-dcl-go-name: Path\n description: 'Optional. The relative path on the GKE service the\n events should be sent to. The value must conform to the definition\n of a URI path segment (section 3.3 of RFC2396). Examples: \"/route\",\n \"route\", \"route/subroute\".'\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. Name of the GKE service.\n workflow:\n type: string\n x-dcl-go-name: Workflow\n description: 'The resource name of the Workflow whose Executions are\n triggered by the events. The Workflow resource should be deployed\n in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`'\n x-dcl-conflicts:\n - cloudRunService\n - cloudFunction\n - gke\n x-dcl-references:\n - resource: Workflows/Workflow\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. This checksum is computed by the server based\n on the value of other fields, and may be sent only on create requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User labels attached to the triggers that can be\n used to group resources.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n matchingCriteria:\n type: array\n x-dcl-go-name: MatchingCriteria\n description: Required. null The list of filters that applies to event attributes.\n Only events that match all the provided filters will be sent to the destination.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: TriggerMatchingCriteria\n required:\n - attribute\n - value\n properties:\n attribute:\n type: string\n x-dcl-go-name: Attribute\n description: Required. The name of a CloudEvents attribute. Currently,\n only a subset of attributes are supported for filtering. All triggers\n MUST provide a filter for the 'type' attribute.\n operator:\n type: string\n x-dcl-go-name: Operator\n description: Optional. The operator used for matching the events with\n the value of the filter. If not specified, only events that have\n an exact key-value pair specified in the filter are matched. The\n only allowed value is `match-path-pattern`.\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud\n for available values.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The resource name of the trigger. Must be unique\n within the location on the project.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The IAM service account email associated with the\n trigger. The service account represents the identity of the trigger. The\n principal who calls this API must have `iam.serviceAccounts.actAs` permission\n in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common\n for more information. For Cloud Run destinations, this service account\n is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account\n for information on how to invoke authenticated Cloud Run services. In\n order to create Audit Log triggers, the service account should also have\n `roles/eventarc.eventReceiver` IAM role.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n transport:\n type: object\n x-dcl-go-name: Transport\n x-dcl-go-type: TriggerTransport\n description: Optional. In order to deliver messages, Eventarc may use other\n GCP products as transport intermediary. This field contains a reference\n to that transport intermediary. This information can be used for debugging\n purposes.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n pubsub:\n type: object\n x-dcl-go-name: Pubsub\n x-dcl-go-type: TriggerTransportPubsub\n description: The Pub/Sub topic and subscription used by Eventarc as\n delivery intermediary.\n x-kubernetes-immutable: true\n properties:\n subscription:\n type: string\n x-dcl-go-name: Subscription\n readOnly: true\n description: 'Output only. The name of the Pub/Sub subscription\n created and managed by Eventarc system as a transport for the\n event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Pubsub/Subscription\n field: name\n topic:\n type: string\n x-dcl-go-name: Topic\n description: 'Optional. The name of the Pub/Sub topic created and\n managed by Eventarc system as a transport for the event delivery.\n Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set\n an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished`\n only. The topic you provide here will not be deleted by Eventarc\n at trigger deletion.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the trigger.\n The value is a UUID4 string and guaranteed to remain unchanged until the\n resource is deleted.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") -// 13530 bytes -// MD5: c2ef6f6bbb541bdc5d73cd8d4c544647 +// 13555 bytes +// MD5: 83e16d805c20bd0b1874c04af3cff419 diff --git a/services/google/eventarc/beta/trigger_schema.go b/services/google/eventarc/beta/trigger_schema.go index c184756f83..90d7dab350 100755 --- a/services/google/eventarc/beta/trigger_schema.go +++ b/services/google/eventarc/beta/trigger_schema.go @@ -23,6 +23,7 @@ func DCLTriggerSchema() *dcl.Schema { Title: "Eventarc/Trigger", Description: "The Eventarc Trigger resource", StructName: "Trigger", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/eventarc/trigger.yaml b/services/google/eventarc/trigger.yaml index 9c5dad2f06..c432bb1961 100755 --- a/services/google/eventarc/trigger.yaml +++ b/services/google/eventarc/trigger.yaml @@ -15,6 +15,7 @@ info: title: Eventarc/Trigger description: The Eventarc Trigger resource x-dcl-struct-name: Trigger + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/eventarc/trigger_schema.go b/services/google/eventarc/trigger_schema.go index 54d9c5caae..c7bf45c170 100755 --- a/services/google/eventarc/trigger_schema.go +++ b/services/google/eventarc/trigger_schema.go @@ -23,6 +23,7 @@ func DCLTriggerSchema() *dcl.Schema { Title: "Eventarc/Trigger", Description: "The Eventarc Trigger resource", StructName: "Trigger", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/eventarc/trigger_yaml_embed.go b/services/google/eventarc/trigger_yaml_embed.go index eeafcce813..fc74d1ca49 100755 --- a/services/google/eventarc/trigger_yaml_embed.go +++ b/services/google/eventarc/trigger_yaml_embed.go @@ -17,7 +17,7 @@ package eventarc // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/eventarc/trigger.yaml -var YAML_trigger = []byte("info:\n title: Eventarc/Trigger\n description: The Eventarc Trigger resource\n x-dcl-struct-name: Trigger\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n apply:\n description: The function used to apply information about a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n delete:\n description: The function used to delete a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n deleteAll:\n description: The function used to delete all Trigger\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Trigger\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Trigger:\n title: Trigger\n x-dcl-id: projects/{{project}}/locations/{{location}}/triggers/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - matchingCriteria\n - destination\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n destination:\n type: object\n x-dcl-go-name: Destination\n x-dcl-go-type: TriggerDestination\n description: Required. Destination specifies where the events should be\n sent to.\n properties:\n cloudFunction:\n type: string\n x-dcl-go-name: CloudFunction\n description: '[WARNING] Configuring a Cloud Function in Trigger is not\n supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}'\n x-dcl-conflicts:\n - cloudRunService\n - gke\n - workflow\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: name\n cloudRunService:\n type: object\n x-dcl-go-name: CloudRunService\n x-dcl-go-type: TriggerDestinationCloudRunService\n description: Cloud Run fully-managed service that receives the events.\n The service should be running in the same project of the trigger.\n x-dcl-conflicts:\n - cloudFunction\n - gke\n - workflow\n required:\n - service\n - region\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'Optional. The relative path on the Cloud Run service\n the events should be sent to. The value must conform to the definition\n of URI path segment (section 3.3 of RFC2396). Examples: \"/route\",\n \"route\", \"route/subroute\".'\n region:\n type: string\n x-dcl-go-name: Region\n description: Required. The region the Cloud Run service is deployed\n in.\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. The name of the Cloud Run service being addressed.\n See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services.\n Only services located in the same project of the trigger object\n can be addressed.\n x-dcl-references:\n - resource: Run/Service\n field: name\n gke:\n type: object\n x-dcl-go-name: Gke\n x-dcl-go-type: TriggerDestinationGke\n description: A GKE service capable of receiving events. The service\n should be running in the same project as the trigger.\n x-dcl-conflicts:\n - cloudRunService\n - cloudFunction\n - workflow\n required:\n - cluster\n - location\n - namespace\n - service\n properties:\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: Required. The name of the cluster the GKE service is\n running in. The cluster must be running in the same project as\n the trigger being created.\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: Required. The name of the Google Compute Engine in\n which the cluster resides, which can either be compute zone (for\n example, us-central1-a) for the zonal clusters or region (for\n example, us-central1) for regional clusters.\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: Required. The namespace the GKE service is running\n in.\n path:\n type: string\n x-dcl-go-name: Path\n description: 'Optional. The relative path on the GKE service the\n events should be sent to. The value must conform to the definition\n of a URI path segment (section 3.3 of RFC2396). Examples: \"/route\",\n \"route\", \"route/subroute\".'\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. Name of the GKE service.\n workflow:\n type: string\n x-dcl-go-name: Workflow\n description: 'The resource name of the Workflow whose Executions are\n triggered by the events. The Workflow resource should be deployed\n in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`'\n x-dcl-conflicts:\n - cloudRunService\n - cloudFunction\n - gke\n x-dcl-references:\n - resource: Workflows/Workflow\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. This checksum is computed by the server based\n on the value of other fields, and may be sent only on create requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User labels attached to the triggers that can be\n used to group resources.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n matchingCriteria:\n type: array\n x-dcl-go-name: MatchingCriteria\n description: Required. null The list of filters that applies to event attributes.\n Only events that match all the provided filters will be sent to the destination.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: TriggerMatchingCriteria\n required:\n - attribute\n - value\n properties:\n attribute:\n type: string\n x-dcl-go-name: Attribute\n description: Required. The name of a CloudEvents attribute. Currently,\n only a subset of attributes are supported for filtering. All triggers\n MUST provide a filter for the 'type' attribute.\n operator:\n type: string\n x-dcl-go-name: Operator\n description: Optional. The operator used for matching the events with\n the value of the filter. If not specified, only events that have\n an exact key-value pair specified in the filter are matched. The\n only allowed value is `match-path-pattern`.\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud\n for available values.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The resource name of the trigger. Must be unique\n within the location on the project.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The IAM service account email associated with the\n trigger. The service account represents the identity of the trigger. The\n principal who calls this API must have `iam.serviceAccounts.actAs` permission\n in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common\n for more information. For Cloud Run destinations, this service account\n is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account\n for information on how to invoke authenticated Cloud Run services. In\n order to create Audit Log triggers, the service account should also have\n `roles/eventarc.eventReceiver` IAM role.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n transport:\n type: object\n x-dcl-go-name: Transport\n x-dcl-go-type: TriggerTransport\n description: Optional. In order to deliver messages, Eventarc may use other\n GCP products as transport intermediary. This field contains a reference\n to that transport intermediary. This information can be used for debugging\n purposes.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n pubsub:\n type: object\n x-dcl-go-name: Pubsub\n x-dcl-go-type: TriggerTransportPubsub\n description: The Pub/Sub topic and subscription used by Eventarc as\n delivery intermediary.\n x-kubernetes-immutable: true\n properties:\n subscription:\n type: string\n x-dcl-go-name: Subscription\n readOnly: true\n description: 'Output only. The name of the Pub/Sub subscription\n created and managed by Eventarc system as a transport for the\n event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Pubsub/Subscription\n field: name\n topic:\n type: string\n x-dcl-go-name: Topic\n description: 'Optional. The name of the Pub/Sub topic created and\n managed by Eventarc system as a transport for the event delivery.\n Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set\n an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished`\n only. The topic you provide here will not be deleted by Eventarc\n at trigger deletion.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the trigger.\n The value is a UUID4 string and guaranteed to remain unchanged until the\n resource is deleted.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") +var YAML_trigger = []byte("info:\n title: Eventarc/Trigger\n description: The Eventarc Trigger resource\n x-dcl-struct-name: Trigger\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n apply:\n description: The function used to apply information about a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n delete:\n description: The function used to delete a Trigger\n parameters:\n - name: Trigger\n required: true\n description: A full instance of a Trigger\n deleteAll:\n description: The function used to delete all Trigger\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Trigger\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Trigger:\n title: Trigger\n x-dcl-id: projects/{{project}}/locations/{{location}}/triggers/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - matchingCriteria\n - destination\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n destination:\n type: object\n x-dcl-go-name: Destination\n x-dcl-go-type: TriggerDestination\n description: Required. Destination specifies where the events should be\n sent to.\n properties:\n cloudFunction:\n type: string\n x-dcl-go-name: CloudFunction\n description: '[WARNING] Configuring a Cloud Function in Trigger is not\n supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}'\n x-dcl-conflicts:\n - cloudRunService\n - gke\n - workflow\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: name\n cloudRunService:\n type: object\n x-dcl-go-name: CloudRunService\n x-dcl-go-type: TriggerDestinationCloudRunService\n description: Cloud Run fully-managed service that receives the events.\n The service should be running in the same project of the trigger.\n x-dcl-conflicts:\n - cloudFunction\n - gke\n - workflow\n required:\n - service\n - region\n properties:\n path:\n type: string\n x-dcl-go-name: Path\n description: 'Optional. The relative path on the Cloud Run service\n the events should be sent to. The value must conform to the definition\n of URI path segment (section 3.3 of RFC2396). Examples: \"/route\",\n \"route\", \"route/subroute\".'\n region:\n type: string\n x-dcl-go-name: Region\n description: Required. The region the Cloud Run service is deployed\n in.\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. The name of the Cloud Run service being addressed.\n See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services.\n Only services located in the same project of the trigger object\n can be addressed.\n x-dcl-references:\n - resource: Run/Service\n field: name\n gke:\n type: object\n x-dcl-go-name: Gke\n x-dcl-go-type: TriggerDestinationGke\n description: A GKE service capable of receiving events. The service\n should be running in the same project as the trigger.\n x-dcl-conflicts:\n - cloudRunService\n - cloudFunction\n - workflow\n required:\n - cluster\n - location\n - namespace\n - service\n properties:\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: Required. The name of the cluster the GKE service is\n running in. The cluster must be running in the same project as\n the trigger being created.\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: Required. The name of the Google Compute Engine in\n which the cluster resides, which can either be compute zone (for\n example, us-central1-a) for the zonal clusters or region (for\n example, us-central1) for regional clusters.\n namespace:\n type: string\n x-dcl-go-name: Namespace\n description: Required. The namespace the GKE service is running\n in.\n path:\n type: string\n x-dcl-go-name: Path\n description: 'Optional. The relative path on the GKE service the\n events should be sent to. The value must conform to the definition\n of a URI path segment (section 3.3 of RFC2396). Examples: \"/route\",\n \"route\", \"route/subroute\".'\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. Name of the GKE service.\n workflow:\n type: string\n x-dcl-go-name: Workflow\n description: 'The resource name of the Workflow whose Executions are\n triggered by the events. The Workflow resource should be deployed\n in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`'\n x-dcl-conflicts:\n - cloudRunService\n - cloudFunction\n - gke\n x-dcl-references:\n - resource: Workflows/Workflow\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. This checksum is computed by the server based\n on the value of other fields, and may be sent only on create requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User labels attached to the triggers that can be\n used to group resources.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n matchingCriteria:\n type: array\n x-dcl-go-name: MatchingCriteria\n description: Required. null The list of filters that applies to event attributes.\n Only events that match all the provided filters will be sent to the destination.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: TriggerMatchingCriteria\n required:\n - attribute\n - value\n properties:\n attribute:\n type: string\n x-dcl-go-name: Attribute\n description: Required. The name of a CloudEvents attribute. Currently,\n only a subset of attributes are supported for filtering. All triggers\n MUST provide a filter for the 'type' attribute.\n operator:\n type: string\n x-dcl-go-name: Operator\n description: Optional. The operator used for matching the events with\n the value of the filter. If not specified, only events that have\n an exact key-value pair specified in the filter are matched. The\n only allowed value is `match-path-pattern`.\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud\n for available values.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The resource name of the trigger. Must be unique\n within the location on the project.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The IAM service account email associated with the\n trigger. The service account represents the identity of the trigger. The\n principal who calls this API must have `iam.serviceAccounts.actAs` permission\n in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common\n for more information. For Cloud Run destinations, this service account\n is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account\n for information on how to invoke authenticated Cloud Run services. In\n order to create Audit Log triggers, the service account should also have\n `roles/eventarc.eventReceiver` IAM role.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n transport:\n type: object\n x-dcl-go-name: Transport\n x-dcl-go-type: TriggerTransport\n description: Optional. In order to deliver messages, Eventarc may use other\n GCP products as transport intermediary. This field contains a reference\n to that transport intermediary. This information can be used for debugging\n purposes.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n pubsub:\n type: object\n x-dcl-go-name: Pubsub\n x-dcl-go-type: TriggerTransportPubsub\n description: The Pub/Sub topic and subscription used by Eventarc as\n delivery intermediary.\n x-kubernetes-immutable: true\n properties:\n subscription:\n type: string\n x-dcl-go-name: Subscription\n readOnly: true\n description: 'Output only. The name of the Pub/Sub subscription\n created and managed by Eventarc system as a transport for the\n event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Pubsub/Subscription\n field: name\n topic:\n type: string\n x-dcl-go-name: Topic\n description: 'Optional. The name of the Pub/Sub topic created and\n managed by Eventarc system as a transport for the event delivery.\n Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set\n an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished`\n only. The topic you provide here will not be deleted by Eventarc\n at trigger deletion.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Pubsub/Topic\n field: name\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the trigger.\n The value is a UUID4 string and guaranteed to remain unchanged until the\n resource is deleted.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") -// 13530 bytes -// MD5: c2ef6f6bbb541bdc5d73cd8d4c544647 +// 13555 bytes +// MD5: 83e16d805c20bd0b1874c04af3cff419 diff --git a/services/google/filestore/alpha/backup.yaml b/services/google/filestore/alpha/backup.yaml index dbcca0954f..2f38bccee4 100755 --- a/services/google/filestore/alpha/backup.yaml +++ b/services/google/filestore/alpha/backup.yaml @@ -15,6 +15,7 @@ info: title: Filestore/Backup description: The Filestore Backup resource x-dcl-struct-name: Backup + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/filestore/alpha/backup_alpha_yaml_embed.go b/services/google/filestore/alpha/backup_alpha_yaml_embed.go index 1dc2494cb3..837db08426 100755 --- a/services/google/filestore/alpha/backup_alpha_yaml_embed.go +++ b/services/google/filestore/alpha/backup_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/filestore/alpha/backup.yaml -var YAML_backup = []byte("info:\n title: Filestore/Backup\n description: The Filestore Backup resource\n x-dcl-struct-name: Backup\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Backup\n parameters:\n - name: Backup\n required: true\n description: A full instance of a Backup\n apply:\n description: The function used to apply information about a Backup\n parameters:\n - name: Backup\n required: true\n description: A full instance of a Backup\n delete:\n description: The function used to delete a Backup\n parameters:\n - name: Backup\n required: true\n description: A full instance of a Backup\n deleteAll:\n description: The function used to delete all Backup\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Backup\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Backup:\n title: Backup\n x-dcl-id: projects/{{project}}/locations/{{location}}/backups/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - sourceInstance\n - sourceFileShare\n - project\n - location\n properties:\n capacityGb:\n type: integer\n format: int64\n x-dcl-go-name: CapacityGb\n readOnly: true\n description: Output only. Capacity of the source file share when the backup\n was created.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the backup was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of the backup with 2048 characters or less. Requests\n with longer descriptions will be rejected.\n downloadBytes:\n type: integer\n format: int64\n x-dcl-go-name: DownloadBytes\n readOnly: true\n description: Output only. Amount of bytes that will be downloaded if the\n backup is restored. This may be different than storage bytes, since sequential\n backups of the same disk will share storage.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Resource labels to represent user provided metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the backup.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n sourceFileShare:\n type: string\n x-dcl-go-name: SourceFileShare\n description: Name of the file share in the source Cloud Filestore instance\n that the backup is created from.\n x-kubernetes-immutable: true\n sourceInstance:\n type: string\n x-dcl-go-name: SourceInstance\n description: The resource name of the source Cloud Filestore instance, in\n the format projects/{project_number}/locations/{location_id}/instances/{instance_id},\n used to create this backup.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Filestore/Instance\n field: name\n sourceInstanceTier:\n type: string\n x-dcl-go-name: SourceInstanceTier\n x-dcl-go-type: BackupSourceInstanceTierEnum\n readOnly: true\n description: 'Output only. The service tier of the source Cloud Filestore\n instance that this backup is created from. Possible values: TIER_UNSPECIFIED,\n STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - STANDARD\n - PREMIUM\n - BASIC_HDD\n - BASIC_SSD\n - HIGH_SCALE_SSD\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: BackupStateEnum\n readOnly: true\n description: 'Output only. The backup state. Possible values: STATE_UNSPECIFIED,\n CREATING, READY, REPAIRING, DELETING, ERROR, RESTORING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - READY\n - REPAIRING\n - DELETING\n - ERROR\n - RESTORING\n storageBytes:\n type: integer\n format: int64\n x-dcl-go-name: StorageBytes\n readOnly: true\n description: Output only. The size of the storage used by the backup. As\n backups share storage, this number is expected to change with backup creation/deletion.\n x-kubernetes-immutable: true\n") +var YAML_backup = []byte("info:\n title: Filestore/Backup\n description: The Filestore Backup resource\n x-dcl-struct-name: Backup\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Backup\n parameters:\n - name: Backup\n required: true\n description: A full instance of a Backup\n apply:\n description: The function used to apply information about a Backup\n parameters:\n - name: Backup\n required: true\n description: A full instance of a Backup\n delete:\n description: The function used to delete a Backup\n parameters:\n - name: Backup\n required: true\n description: A full instance of a Backup\n deleteAll:\n description: The function used to delete all Backup\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Backup\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Backup:\n title: Backup\n x-dcl-id: projects/{{project}}/locations/{{location}}/backups/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - sourceInstance\n - sourceFileShare\n - project\n - location\n properties:\n capacityGb:\n type: integer\n format: int64\n x-dcl-go-name: CapacityGb\n readOnly: true\n description: Output only. Capacity of the source file share when the backup\n was created.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the backup was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of the backup with 2048 characters or less. Requests\n with longer descriptions will be rejected.\n downloadBytes:\n type: integer\n format: int64\n x-dcl-go-name: DownloadBytes\n readOnly: true\n description: Output only. Amount of bytes that will be downloaded if the\n backup is restored. This may be different than storage bytes, since sequential\n backups of the same disk will share storage.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Resource labels to represent user provided metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the backup.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n sourceFileShare:\n type: string\n x-dcl-go-name: SourceFileShare\n description: Name of the file share in the source Cloud Filestore instance\n that the backup is created from.\n x-kubernetes-immutable: true\n sourceInstance:\n type: string\n x-dcl-go-name: SourceInstance\n description: The resource name of the source Cloud Filestore instance, in\n the format projects/{project_number}/locations/{location_id}/instances/{instance_id},\n used to create this backup.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Filestore/Instance\n field: name\n sourceInstanceTier:\n type: string\n x-dcl-go-name: SourceInstanceTier\n x-dcl-go-type: BackupSourceInstanceTierEnum\n readOnly: true\n description: 'Output only. The service tier of the source Cloud Filestore\n instance that this backup is created from. Possible values: TIER_UNSPECIFIED,\n STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - STANDARD\n - PREMIUM\n - BASIC_HDD\n - BASIC_SSD\n - HIGH_SCALE_SSD\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: BackupStateEnum\n readOnly: true\n description: 'Output only. The backup state. Possible values: STATE_UNSPECIFIED,\n CREATING, READY, REPAIRING, DELETING, ERROR, RESTORING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - READY\n - REPAIRING\n - DELETING\n - ERROR\n - RESTORING\n storageBytes:\n type: integer\n format: int64\n x-dcl-go-name: StorageBytes\n readOnly: true\n description: Output only. The size of the storage used by the backup. As\n backups share storage, this number is expected to change with backup creation/deletion.\n x-kubernetes-immutable: true\n") -// 5670 bytes -// MD5: 8ef6ea116c546343ca5daad8ec13e6c8 +// 5695 bytes +// MD5: 9190f4431879b7d390066741271aeb17 diff --git a/services/google/filestore/alpha/backup_schema.go b/services/google/filestore/alpha/backup_schema.go index 5681633b06..0884335d80 100755 --- a/services/google/filestore/alpha/backup_schema.go +++ b/services/google/filestore/alpha/backup_schema.go @@ -23,6 +23,7 @@ func DCLBackupSchema() *dcl.Schema { Title: "Filestore/Backup", Description: "The Filestore Backup resource", StructName: "Backup", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/filestore/alpha/instance.yaml b/services/google/filestore/alpha/instance.yaml index fa15daf22f..6154447990 100755 --- a/services/google/filestore/alpha/instance.yaml +++ b/services/google/filestore/alpha/instance.yaml @@ -15,6 +15,7 @@ info: title: Filestore/Instance description: The Filestore Instance resource x-dcl-struct-name: Instance + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/filestore/alpha/instance_alpha_yaml_embed.go b/services/google/filestore/alpha/instance_alpha_yaml_embed.go index 67a9dda29b..df67a90283 100755 --- a/services/google/filestore/alpha/instance_alpha_yaml_embed.go +++ b/services/google/filestore/alpha/instance_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/filestore/alpha/instance.yaml -var YAML_instance = []byte("info:\n title: Filestore/Instance\n description: The Filestore Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/locations/{{location}}/instances/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the instance was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the instance (2048 characters or less).\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Server-specified ETag for the instance resource to prevent\n simultaneous updates from overwriting each other.\n x-kubernetes-immutable: true\n fileShares:\n type: array\n x-dcl-go-name: FileShares\n description: File system shares on the instance. For this version, only\n a single file share is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceFileShares\n properties:\n capacityGb:\n type: integer\n format: int64\n x-dcl-go-name: CapacityGb\n description: File share capacity in gigabytes (GB). Cloud Filestore\n defines 1 GB as 1024^3 bytes.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the file share (must be 16 characters or\n less).\n nfsExportOptions:\n type: array\n x-dcl-go-name: NfsExportOptions\n description: Nfs Export Options. There is a limit of 10 export options\n per file share.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceFileSharesNfsExportOptions\n properties:\n accessMode:\n type: string\n x-dcl-go-name: AccessMode\n x-dcl-go-type: InstanceFileSharesNfsExportOptionsAccessModeEnum\n description: 'Either READ_ONLY, for allowing only read requests\n on the exported directory, or READ_WRITE, for allowing both\n read and write requests. The default is READ_WRITE. Possible\n values: ACCESS_MODE_UNSPECIFIED, READ_ONLY, READ_WRITE'\n x-dcl-server-default: true\n enum:\n - ACCESS_MODE_UNSPECIFIED\n - READ_ONLY\n - READ_WRITE\n anonGid:\n type: integer\n format: int64\n x-dcl-go-name: AnonGid\n description: An integer representing the anonymous group id\n with a default value of 65534. Anon_gid may only be set with\n squash_mode of ROOT_SQUASH. An error will be returned if this\n field is specified for other squash_mode settings.\n anonUid:\n type: integer\n format: int64\n x-dcl-go-name: AnonUid\n description: An integer representing the anonymous user id with\n a default value of 65534. Anon_uid may only be set with squash_mode\n of ROOT_SQUASH. An error will be returned if this field is\n specified for other squash_mode settings.\n ipRanges:\n type: array\n x-dcl-go-name: IPRanges\n description: List of either an IPv4 addresses in the format\n `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the\n format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which\n may mount the file share. Overlapping IP ranges are not allowed,\n both within and across NfsExportOptions. An error will be\n returned. The limit is 64 IP ranges/addresses for each FileShareConfig\n among all NfsExportOptions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n squashMode:\n type: string\n x-dcl-go-name: SquashMode\n x-dcl-go-type: InstanceFileSharesNfsExportOptionsSquashModeEnum\n description: 'Either NO_ROOT_SQUASH, for allowing root access\n on the exported directory, or ROOT_SQUASH, for not allowing\n root access. The default is NO_ROOT_SQUASH. Possible values:\n SQUASH_MODE_UNSPECIFIED, NO_ROOT_SQUASH, ROOT_SQUASH'\n x-dcl-server-default: true\n enum:\n - SQUASH_MODE_UNSPECIFIED\n - NO_ROOT_SQUASH\n - ROOT_SQUASH\n sourceBackup:\n type: string\n x-dcl-go-name: SourceBackup\n description: The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`,\n that this file share has been restored from.\n x-dcl-references:\n - resource: Filestore/Backup\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Resource labels to represent user provided metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the instance, in the format\n `projects/{project}/locations/{location}/instances/{instance}`.\n x-kubernetes-immutable: true\n networks:\n type: array\n x-dcl-go-name: Networks\n description: VPC networks to which the instance is connected. For this version,\n only a single network is supported.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworks\n properties:\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n readOnly: true\n description: Output only. IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}`\n or IPv6 addresses in the format `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n modes:\n type: array\n x-dcl-go-name: Modes\n description: Internet protocol versions for which the instance has\n IP addresses assigned. For this version, only MODE_IPV4 is supported.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: InstanceNetworksModesEnum\n enum:\n - ADDRESS_MODE_UNSPECIFIED\n - MODE_IPV4\n network:\n type: string\n x-dcl-go-name: Network\n description: The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc)\n to which the instance is connected.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n reservedIPRange:\n type: string\n x-dcl-go-name: ReservedIPRange\n description: A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/)\n that identifies the range of IP addresses reserved for this instance.\n For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify\n can't overlap with either existing subnets or assigned IP address\n ranges for other Cloud Filestore instances in the selected VPC network.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. The instance state. Possible values: STATE_UNSPECIFIED,\n CREATING, READY, REPAIRING, DELETING, ERROR'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - READY\n - REPAIRING\n - DELETING\n - ERROR\n statusMessage:\n type: string\n x-dcl-go-name: StatusMessage\n readOnly: true\n description: Output only. Additional information about the instance state,\n if available.\n x-kubernetes-immutable: true\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: InstanceTierEnum\n description: 'The service tier of the instance. Possible values: TIER_UNSPECIFIED,\n STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ENTERPRISE'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - STANDARD\n - PREMIUM\n - BASIC_HDD\n - BASIC_SSD\n - HIGH_SCALE_SSD\n - ENTERPRISE\n") +var YAML_instance = []byte("info:\n title: Filestore/Instance\n description: The Filestore Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/locations/{{location}}/instances/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the instance was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the instance (2048 characters or less).\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Server-specified ETag for the instance resource to prevent\n simultaneous updates from overwriting each other.\n x-kubernetes-immutable: true\n fileShares:\n type: array\n x-dcl-go-name: FileShares\n description: File system shares on the instance. For this version, only\n a single file share is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceFileShares\n properties:\n capacityGb:\n type: integer\n format: int64\n x-dcl-go-name: CapacityGb\n description: File share capacity in gigabytes (GB). Cloud Filestore\n defines 1 GB as 1024^3 bytes.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the file share (must be 16 characters or\n less).\n nfsExportOptions:\n type: array\n x-dcl-go-name: NfsExportOptions\n description: Nfs Export Options. There is a limit of 10 export options\n per file share.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceFileSharesNfsExportOptions\n properties:\n accessMode:\n type: string\n x-dcl-go-name: AccessMode\n x-dcl-go-type: InstanceFileSharesNfsExportOptionsAccessModeEnum\n description: 'Either READ_ONLY, for allowing only read requests\n on the exported directory, or READ_WRITE, for allowing both\n read and write requests. The default is READ_WRITE. Possible\n values: ACCESS_MODE_UNSPECIFIED, READ_ONLY, READ_WRITE'\n x-dcl-server-default: true\n enum:\n - ACCESS_MODE_UNSPECIFIED\n - READ_ONLY\n - READ_WRITE\n anonGid:\n type: integer\n format: int64\n x-dcl-go-name: AnonGid\n description: An integer representing the anonymous group id\n with a default value of 65534. Anon_gid may only be set with\n squash_mode of ROOT_SQUASH. An error will be returned if this\n field is specified for other squash_mode settings.\n anonUid:\n type: integer\n format: int64\n x-dcl-go-name: AnonUid\n description: An integer representing the anonymous user id with\n a default value of 65534. Anon_uid may only be set with squash_mode\n of ROOT_SQUASH. An error will be returned if this field is\n specified for other squash_mode settings.\n ipRanges:\n type: array\n x-dcl-go-name: IPRanges\n description: List of either an IPv4 addresses in the format\n `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the\n format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which\n may mount the file share. Overlapping IP ranges are not allowed,\n both within and across NfsExportOptions. An error will be\n returned. The limit is 64 IP ranges/addresses for each FileShareConfig\n among all NfsExportOptions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n squashMode:\n type: string\n x-dcl-go-name: SquashMode\n x-dcl-go-type: InstanceFileSharesNfsExportOptionsSquashModeEnum\n description: 'Either NO_ROOT_SQUASH, for allowing root access\n on the exported directory, or ROOT_SQUASH, for not allowing\n root access. The default is NO_ROOT_SQUASH. Possible values:\n SQUASH_MODE_UNSPECIFIED, NO_ROOT_SQUASH, ROOT_SQUASH'\n x-dcl-server-default: true\n enum:\n - SQUASH_MODE_UNSPECIFIED\n - NO_ROOT_SQUASH\n - ROOT_SQUASH\n sourceBackup:\n type: string\n x-dcl-go-name: SourceBackup\n description: The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`,\n that this file share has been restored from.\n x-dcl-references:\n - resource: Filestore/Backup\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Resource labels to represent user provided metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the instance, in the format\n `projects/{project}/locations/{location}/instances/{instance}`.\n x-kubernetes-immutable: true\n networks:\n type: array\n x-dcl-go-name: Networks\n description: VPC networks to which the instance is connected. For this version,\n only a single network is supported.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworks\n properties:\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n readOnly: true\n description: Output only. IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}`\n or IPv6 addresses in the format `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n modes:\n type: array\n x-dcl-go-name: Modes\n description: Internet protocol versions for which the instance has\n IP addresses assigned. For this version, only MODE_IPV4 is supported.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: InstanceNetworksModesEnum\n enum:\n - ADDRESS_MODE_UNSPECIFIED\n - MODE_IPV4\n network:\n type: string\n x-dcl-go-name: Network\n description: The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc)\n to which the instance is connected.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n reservedIPRange:\n type: string\n x-dcl-go-name: ReservedIPRange\n description: A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/)\n that identifies the range of IP addresses reserved for this instance.\n For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify\n can't overlap with either existing subnets or assigned IP address\n ranges for other Cloud Filestore instances in the selected VPC network.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. The instance state. Possible values: STATE_UNSPECIFIED,\n CREATING, READY, REPAIRING, DELETING, ERROR'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - READY\n - REPAIRING\n - DELETING\n - ERROR\n statusMessage:\n type: string\n x-dcl-go-name: StatusMessage\n readOnly: true\n description: Output only. Additional information about the instance state,\n if available.\n x-kubernetes-immutable: true\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: InstanceTierEnum\n description: 'The service tier of the instance. Possible values: TIER_UNSPECIFIED,\n STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ENTERPRISE'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - STANDARD\n - PREMIUM\n - BASIC_HDD\n - BASIC_SSD\n - HIGH_SCALE_SSD\n - ENTERPRISE\n") -// 12081 bytes -// MD5: c95f69d441b0ab3a0919270bcd25ac71 +// 12106 bytes +// MD5: 698ae783d0dbe2b610a2a24f43d69af6 diff --git a/services/google/filestore/alpha/instance_schema.go b/services/google/filestore/alpha/instance_schema.go index 835a8ec459..2764afec7a 100755 --- a/services/google/filestore/alpha/instance_schema.go +++ b/services/google/filestore/alpha/instance_schema.go @@ -23,6 +23,7 @@ func DCLInstanceSchema() *dcl.Schema { Title: "Filestore/Instance", Description: "The Filestore Instance resource", StructName: "Instance", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/filestore/beta/backup.yaml b/services/google/filestore/beta/backup.yaml index dbcca0954f..2f38bccee4 100755 --- a/services/google/filestore/beta/backup.yaml +++ b/services/google/filestore/beta/backup.yaml @@ -15,6 +15,7 @@ info: title: Filestore/Backup description: The Filestore Backup resource x-dcl-struct-name: Backup + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/filestore/beta/backup_beta_yaml_embed.go b/services/google/filestore/beta/backup_beta_yaml_embed.go index aa01da90f8..de4cd9700a 100755 --- a/services/google/filestore/beta/backup_beta_yaml_embed.go +++ b/services/google/filestore/beta/backup_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/filestore/beta/backup.yaml -var YAML_backup = []byte("info:\n title: Filestore/Backup\n description: The Filestore Backup resource\n x-dcl-struct-name: Backup\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Backup\n parameters:\n - name: Backup\n required: true\n description: A full instance of a Backup\n apply:\n description: The function used to apply information about a Backup\n parameters:\n - name: Backup\n required: true\n description: A full instance of a Backup\n delete:\n description: The function used to delete a Backup\n parameters:\n - name: Backup\n required: true\n description: A full instance of a Backup\n deleteAll:\n description: The function used to delete all Backup\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Backup\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Backup:\n title: Backup\n x-dcl-id: projects/{{project}}/locations/{{location}}/backups/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - sourceInstance\n - sourceFileShare\n - project\n - location\n properties:\n capacityGb:\n type: integer\n format: int64\n x-dcl-go-name: CapacityGb\n readOnly: true\n description: Output only. Capacity of the source file share when the backup\n was created.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the backup was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of the backup with 2048 characters or less. Requests\n with longer descriptions will be rejected.\n downloadBytes:\n type: integer\n format: int64\n x-dcl-go-name: DownloadBytes\n readOnly: true\n description: Output only. Amount of bytes that will be downloaded if the\n backup is restored. This may be different than storage bytes, since sequential\n backups of the same disk will share storage.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Resource labels to represent user provided metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the backup.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n sourceFileShare:\n type: string\n x-dcl-go-name: SourceFileShare\n description: Name of the file share in the source Cloud Filestore instance\n that the backup is created from.\n x-kubernetes-immutable: true\n sourceInstance:\n type: string\n x-dcl-go-name: SourceInstance\n description: The resource name of the source Cloud Filestore instance, in\n the format projects/{project_number}/locations/{location_id}/instances/{instance_id},\n used to create this backup.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Filestore/Instance\n field: name\n sourceInstanceTier:\n type: string\n x-dcl-go-name: SourceInstanceTier\n x-dcl-go-type: BackupSourceInstanceTierEnum\n readOnly: true\n description: 'Output only. The service tier of the source Cloud Filestore\n instance that this backup is created from. Possible values: TIER_UNSPECIFIED,\n STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - STANDARD\n - PREMIUM\n - BASIC_HDD\n - BASIC_SSD\n - HIGH_SCALE_SSD\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: BackupStateEnum\n readOnly: true\n description: 'Output only. The backup state. Possible values: STATE_UNSPECIFIED,\n CREATING, READY, REPAIRING, DELETING, ERROR, RESTORING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - READY\n - REPAIRING\n - DELETING\n - ERROR\n - RESTORING\n storageBytes:\n type: integer\n format: int64\n x-dcl-go-name: StorageBytes\n readOnly: true\n description: Output only. The size of the storage used by the backup. As\n backups share storage, this number is expected to change with backup creation/deletion.\n x-kubernetes-immutable: true\n") +var YAML_backup = []byte("info:\n title: Filestore/Backup\n description: The Filestore Backup resource\n x-dcl-struct-name: Backup\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Backup\n parameters:\n - name: Backup\n required: true\n description: A full instance of a Backup\n apply:\n description: The function used to apply information about a Backup\n parameters:\n - name: Backup\n required: true\n description: A full instance of a Backup\n delete:\n description: The function used to delete a Backup\n parameters:\n - name: Backup\n required: true\n description: A full instance of a Backup\n deleteAll:\n description: The function used to delete all Backup\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Backup\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Backup:\n title: Backup\n x-dcl-id: projects/{{project}}/locations/{{location}}/backups/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - sourceInstance\n - sourceFileShare\n - project\n - location\n properties:\n capacityGb:\n type: integer\n format: int64\n x-dcl-go-name: CapacityGb\n readOnly: true\n description: Output only. Capacity of the source file share when the backup\n was created.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the backup was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of the backup with 2048 characters or less. Requests\n with longer descriptions will be rejected.\n downloadBytes:\n type: integer\n format: int64\n x-dcl-go-name: DownloadBytes\n readOnly: true\n description: Output only. Amount of bytes that will be downloaded if the\n backup is restored. This may be different than storage bytes, since sequential\n backups of the same disk will share storage.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Resource labels to represent user provided metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the backup.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n sourceFileShare:\n type: string\n x-dcl-go-name: SourceFileShare\n description: Name of the file share in the source Cloud Filestore instance\n that the backup is created from.\n x-kubernetes-immutable: true\n sourceInstance:\n type: string\n x-dcl-go-name: SourceInstance\n description: The resource name of the source Cloud Filestore instance, in\n the format projects/{project_number}/locations/{location_id}/instances/{instance_id},\n used to create this backup.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Filestore/Instance\n field: name\n sourceInstanceTier:\n type: string\n x-dcl-go-name: SourceInstanceTier\n x-dcl-go-type: BackupSourceInstanceTierEnum\n readOnly: true\n description: 'Output only. The service tier of the source Cloud Filestore\n instance that this backup is created from. Possible values: TIER_UNSPECIFIED,\n STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - STANDARD\n - PREMIUM\n - BASIC_HDD\n - BASIC_SSD\n - HIGH_SCALE_SSD\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: BackupStateEnum\n readOnly: true\n description: 'Output only. The backup state. Possible values: STATE_UNSPECIFIED,\n CREATING, READY, REPAIRING, DELETING, ERROR, RESTORING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - READY\n - REPAIRING\n - DELETING\n - ERROR\n - RESTORING\n storageBytes:\n type: integer\n format: int64\n x-dcl-go-name: StorageBytes\n readOnly: true\n description: Output only. The size of the storage used by the backup. As\n backups share storage, this number is expected to change with backup creation/deletion.\n x-kubernetes-immutable: true\n") -// 5670 bytes -// MD5: 8ef6ea116c546343ca5daad8ec13e6c8 +// 5695 bytes +// MD5: 9190f4431879b7d390066741271aeb17 diff --git a/services/google/filestore/beta/backup_schema.go b/services/google/filestore/beta/backup_schema.go index 85eb4def7b..37ef04a465 100755 --- a/services/google/filestore/beta/backup_schema.go +++ b/services/google/filestore/beta/backup_schema.go @@ -23,6 +23,7 @@ func DCLBackupSchema() *dcl.Schema { Title: "Filestore/Backup", Description: "The Filestore Backup resource", StructName: "Backup", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/filestore/beta/instance.yaml b/services/google/filestore/beta/instance.yaml index fa15daf22f..6154447990 100755 --- a/services/google/filestore/beta/instance.yaml +++ b/services/google/filestore/beta/instance.yaml @@ -15,6 +15,7 @@ info: title: Filestore/Instance description: The Filestore Instance resource x-dcl-struct-name: Instance + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/filestore/beta/instance_beta_yaml_embed.go b/services/google/filestore/beta/instance_beta_yaml_embed.go index b64fab541c..13910edfc2 100755 --- a/services/google/filestore/beta/instance_beta_yaml_embed.go +++ b/services/google/filestore/beta/instance_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/filestore/beta/instance.yaml -var YAML_instance = []byte("info:\n title: Filestore/Instance\n description: The Filestore Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/locations/{{location}}/instances/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the instance was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the instance (2048 characters or less).\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Server-specified ETag for the instance resource to prevent\n simultaneous updates from overwriting each other.\n x-kubernetes-immutable: true\n fileShares:\n type: array\n x-dcl-go-name: FileShares\n description: File system shares on the instance. For this version, only\n a single file share is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceFileShares\n properties:\n capacityGb:\n type: integer\n format: int64\n x-dcl-go-name: CapacityGb\n description: File share capacity in gigabytes (GB). Cloud Filestore\n defines 1 GB as 1024^3 bytes.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the file share (must be 16 characters or\n less).\n nfsExportOptions:\n type: array\n x-dcl-go-name: NfsExportOptions\n description: Nfs Export Options. There is a limit of 10 export options\n per file share.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceFileSharesNfsExportOptions\n properties:\n accessMode:\n type: string\n x-dcl-go-name: AccessMode\n x-dcl-go-type: InstanceFileSharesNfsExportOptionsAccessModeEnum\n description: 'Either READ_ONLY, for allowing only read requests\n on the exported directory, or READ_WRITE, for allowing both\n read and write requests. The default is READ_WRITE. Possible\n values: ACCESS_MODE_UNSPECIFIED, READ_ONLY, READ_WRITE'\n x-dcl-server-default: true\n enum:\n - ACCESS_MODE_UNSPECIFIED\n - READ_ONLY\n - READ_WRITE\n anonGid:\n type: integer\n format: int64\n x-dcl-go-name: AnonGid\n description: An integer representing the anonymous group id\n with a default value of 65534. Anon_gid may only be set with\n squash_mode of ROOT_SQUASH. An error will be returned if this\n field is specified for other squash_mode settings.\n anonUid:\n type: integer\n format: int64\n x-dcl-go-name: AnonUid\n description: An integer representing the anonymous user id with\n a default value of 65534. Anon_uid may only be set with squash_mode\n of ROOT_SQUASH. An error will be returned if this field is\n specified for other squash_mode settings.\n ipRanges:\n type: array\n x-dcl-go-name: IPRanges\n description: List of either an IPv4 addresses in the format\n `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the\n format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which\n may mount the file share. Overlapping IP ranges are not allowed,\n both within and across NfsExportOptions. An error will be\n returned. The limit is 64 IP ranges/addresses for each FileShareConfig\n among all NfsExportOptions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n squashMode:\n type: string\n x-dcl-go-name: SquashMode\n x-dcl-go-type: InstanceFileSharesNfsExportOptionsSquashModeEnum\n description: 'Either NO_ROOT_SQUASH, for allowing root access\n on the exported directory, or ROOT_SQUASH, for not allowing\n root access. The default is NO_ROOT_SQUASH. Possible values:\n SQUASH_MODE_UNSPECIFIED, NO_ROOT_SQUASH, ROOT_SQUASH'\n x-dcl-server-default: true\n enum:\n - SQUASH_MODE_UNSPECIFIED\n - NO_ROOT_SQUASH\n - ROOT_SQUASH\n sourceBackup:\n type: string\n x-dcl-go-name: SourceBackup\n description: The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`,\n that this file share has been restored from.\n x-dcl-references:\n - resource: Filestore/Backup\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Resource labels to represent user provided metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the instance, in the format\n `projects/{project}/locations/{location}/instances/{instance}`.\n x-kubernetes-immutable: true\n networks:\n type: array\n x-dcl-go-name: Networks\n description: VPC networks to which the instance is connected. For this version,\n only a single network is supported.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworks\n properties:\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n readOnly: true\n description: Output only. IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}`\n or IPv6 addresses in the format `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n modes:\n type: array\n x-dcl-go-name: Modes\n description: Internet protocol versions for which the instance has\n IP addresses assigned. For this version, only MODE_IPV4 is supported.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: InstanceNetworksModesEnum\n enum:\n - ADDRESS_MODE_UNSPECIFIED\n - MODE_IPV4\n network:\n type: string\n x-dcl-go-name: Network\n description: The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc)\n to which the instance is connected.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n reservedIPRange:\n type: string\n x-dcl-go-name: ReservedIPRange\n description: A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/)\n that identifies the range of IP addresses reserved for this instance.\n For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify\n can't overlap with either existing subnets or assigned IP address\n ranges for other Cloud Filestore instances in the selected VPC network.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. The instance state. Possible values: STATE_UNSPECIFIED,\n CREATING, READY, REPAIRING, DELETING, ERROR'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - READY\n - REPAIRING\n - DELETING\n - ERROR\n statusMessage:\n type: string\n x-dcl-go-name: StatusMessage\n readOnly: true\n description: Output only. Additional information about the instance state,\n if available.\n x-kubernetes-immutable: true\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: InstanceTierEnum\n description: 'The service tier of the instance. Possible values: TIER_UNSPECIFIED,\n STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ENTERPRISE'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - STANDARD\n - PREMIUM\n - BASIC_HDD\n - BASIC_SSD\n - HIGH_SCALE_SSD\n - ENTERPRISE\n") +var YAML_instance = []byte("info:\n title: Filestore/Instance\n description: The Filestore Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/locations/{{location}}/instances/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the instance was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the instance (2048 characters or less).\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Server-specified ETag for the instance resource to prevent\n simultaneous updates from overwriting each other.\n x-kubernetes-immutable: true\n fileShares:\n type: array\n x-dcl-go-name: FileShares\n description: File system shares on the instance. For this version, only\n a single file share is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceFileShares\n properties:\n capacityGb:\n type: integer\n format: int64\n x-dcl-go-name: CapacityGb\n description: File share capacity in gigabytes (GB). Cloud Filestore\n defines 1 GB as 1024^3 bytes.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the file share (must be 16 characters or\n less).\n nfsExportOptions:\n type: array\n x-dcl-go-name: NfsExportOptions\n description: Nfs Export Options. There is a limit of 10 export options\n per file share.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceFileSharesNfsExportOptions\n properties:\n accessMode:\n type: string\n x-dcl-go-name: AccessMode\n x-dcl-go-type: InstanceFileSharesNfsExportOptionsAccessModeEnum\n description: 'Either READ_ONLY, for allowing only read requests\n on the exported directory, or READ_WRITE, for allowing both\n read and write requests. The default is READ_WRITE. Possible\n values: ACCESS_MODE_UNSPECIFIED, READ_ONLY, READ_WRITE'\n x-dcl-server-default: true\n enum:\n - ACCESS_MODE_UNSPECIFIED\n - READ_ONLY\n - READ_WRITE\n anonGid:\n type: integer\n format: int64\n x-dcl-go-name: AnonGid\n description: An integer representing the anonymous group id\n with a default value of 65534. Anon_gid may only be set with\n squash_mode of ROOT_SQUASH. An error will be returned if this\n field is specified for other squash_mode settings.\n anonUid:\n type: integer\n format: int64\n x-dcl-go-name: AnonUid\n description: An integer representing the anonymous user id with\n a default value of 65534. Anon_uid may only be set with squash_mode\n of ROOT_SQUASH. An error will be returned if this field is\n specified for other squash_mode settings.\n ipRanges:\n type: array\n x-dcl-go-name: IPRanges\n description: List of either an IPv4 addresses in the format\n `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the\n format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which\n may mount the file share. Overlapping IP ranges are not allowed,\n both within and across NfsExportOptions. An error will be\n returned. The limit is 64 IP ranges/addresses for each FileShareConfig\n among all NfsExportOptions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n squashMode:\n type: string\n x-dcl-go-name: SquashMode\n x-dcl-go-type: InstanceFileSharesNfsExportOptionsSquashModeEnum\n description: 'Either NO_ROOT_SQUASH, for allowing root access\n on the exported directory, or ROOT_SQUASH, for not allowing\n root access. The default is NO_ROOT_SQUASH. Possible values:\n SQUASH_MODE_UNSPECIFIED, NO_ROOT_SQUASH, ROOT_SQUASH'\n x-dcl-server-default: true\n enum:\n - SQUASH_MODE_UNSPECIFIED\n - NO_ROOT_SQUASH\n - ROOT_SQUASH\n sourceBackup:\n type: string\n x-dcl-go-name: SourceBackup\n description: The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`,\n that this file share has been restored from.\n x-dcl-references:\n - resource: Filestore/Backup\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Resource labels to represent user provided metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the instance, in the format\n `projects/{project}/locations/{location}/instances/{instance}`.\n x-kubernetes-immutable: true\n networks:\n type: array\n x-dcl-go-name: Networks\n description: VPC networks to which the instance is connected. For this version,\n only a single network is supported.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworks\n properties:\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n readOnly: true\n description: Output only. IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}`\n or IPv6 addresses in the format `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n modes:\n type: array\n x-dcl-go-name: Modes\n description: Internet protocol versions for which the instance has\n IP addresses assigned. For this version, only MODE_IPV4 is supported.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: InstanceNetworksModesEnum\n enum:\n - ADDRESS_MODE_UNSPECIFIED\n - MODE_IPV4\n network:\n type: string\n x-dcl-go-name: Network\n description: The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc)\n to which the instance is connected.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n reservedIPRange:\n type: string\n x-dcl-go-name: ReservedIPRange\n description: A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/)\n that identifies the range of IP addresses reserved for this instance.\n For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify\n can't overlap with either existing subnets or assigned IP address\n ranges for other Cloud Filestore instances in the selected VPC network.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. The instance state. Possible values: STATE_UNSPECIFIED,\n CREATING, READY, REPAIRING, DELETING, ERROR'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - READY\n - REPAIRING\n - DELETING\n - ERROR\n statusMessage:\n type: string\n x-dcl-go-name: StatusMessage\n readOnly: true\n description: Output only. Additional information about the instance state,\n if available.\n x-kubernetes-immutable: true\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: InstanceTierEnum\n description: 'The service tier of the instance. Possible values: TIER_UNSPECIFIED,\n STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ENTERPRISE'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - STANDARD\n - PREMIUM\n - BASIC_HDD\n - BASIC_SSD\n - HIGH_SCALE_SSD\n - ENTERPRISE\n") -// 12081 bytes -// MD5: c95f69d441b0ab3a0919270bcd25ac71 +// 12106 bytes +// MD5: 698ae783d0dbe2b610a2a24f43d69af6 diff --git a/services/google/filestore/beta/instance_schema.go b/services/google/filestore/beta/instance_schema.go index af0b29bd62..9e93df9c62 100755 --- a/services/google/filestore/beta/instance_schema.go +++ b/services/google/filestore/beta/instance_schema.go @@ -23,6 +23,7 @@ func DCLInstanceSchema() *dcl.Schema { Title: "Filestore/Instance", Description: "The Filestore Instance resource", StructName: "Instance", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/filestore/instance.yaml b/services/google/filestore/instance.yaml index fa15daf22f..6154447990 100755 --- a/services/google/filestore/instance.yaml +++ b/services/google/filestore/instance.yaml @@ -15,6 +15,7 @@ info: title: Filestore/Instance description: The Filestore Instance resource x-dcl-struct-name: Instance + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/filestore/instance_schema.go b/services/google/filestore/instance_schema.go index 648ef55735..8e560b2cf6 100755 --- a/services/google/filestore/instance_schema.go +++ b/services/google/filestore/instance_schema.go @@ -23,6 +23,7 @@ func DCLInstanceSchema() *dcl.Schema { Title: "Filestore/Instance", Description: "The Filestore Instance resource", StructName: "Instance", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/filestore/instance_yaml_embed.go b/services/google/filestore/instance_yaml_embed.go index b1878ab1f3..bca017be3d 100755 --- a/services/google/filestore/instance_yaml_embed.go +++ b/services/google/filestore/instance_yaml_embed.go @@ -17,7 +17,7 @@ package filestore // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/filestore/instance.yaml -var YAML_instance = []byte("info:\n title: Filestore/Instance\n description: The Filestore Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/locations/{{location}}/instances/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the instance was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the instance (2048 characters or less).\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Server-specified ETag for the instance resource to prevent\n simultaneous updates from overwriting each other.\n x-kubernetes-immutable: true\n fileShares:\n type: array\n x-dcl-go-name: FileShares\n description: File system shares on the instance. For this version, only\n a single file share is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceFileShares\n properties:\n capacityGb:\n type: integer\n format: int64\n x-dcl-go-name: CapacityGb\n description: File share capacity in gigabytes (GB). Cloud Filestore\n defines 1 GB as 1024^3 bytes.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the file share (must be 16 characters or\n less).\n nfsExportOptions:\n type: array\n x-dcl-go-name: NfsExportOptions\n description: Nfs Export Options. There is a limit of 10 export options\n per file share.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceFileSharesNfsExportOptions\n properties:\n accessMode:\n type: string\n x-dcl-go-name: AccessMode\n x-dcl-go-type: InstanceFileSharesNfsExportOptionsAccessModeEnum\n description: 'Either READ_ONLY, for allowing only read requests\n on the exported directory, or READ_WRITE, for allowing both\n read and write requests. The default is READ_WRITE. Possible\n values: ACCESS_MODE_UNSPECIFIED, READ_ONLY, READ_WRITE'\n x-dcl-server-default: true\n enum:\n - ACCESS_MODE_UNSPECIFIED\n - READ_ONLY\n - READ_WRITE\n anonGid:\n type: integer\n format: int64\n x-dcl-go-name: AnonGid\n description: An integer representing the anonymous group id\n with a default value of 65534. Anon_gid may only be set with\n squash_mode of ROOT_SQUASH. An error will be returned if this\n field is specified for other squash_mode settings.\n anonUid:\n type: integer\n format: int64\n x-dcl-go-name: AnonUid\n description: An integer representing the anonymous user id with\n a default value of 65534. Anon_uid may only be set with squash_mode\n of ROOT_SQUASH. An error will be returned if this field is\n specified for other squash_mode settings.\n ipRanges:\n type: array\n x-dcl-go-name: IPRanges\n description: List of either an IPv4 addresses in the format\n `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the\n format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which\n may mount the file share. Overlapping IP ranges are not allowed,\n both within and across NfsExportOptions. An error will be\n returned. The limit is 64 IP ranges/addresses for each FileShareConfig\n among all NfsExportOptions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n squashMode:\n type: string\n x-dcl-go-name: SquashMode\n x-dcl-go-type: InstanceFileSharesNfsExportOptionsSquashModeEnum\n description: 'Either NO_ROOT_SQUASH, for allowing root access\n on the exported directory, or ROOT_SQUASH, for not allowing\n root access. The default is NO_ROOT_SQUASH. Possible values:\n SQUASH_MODE_UNSPECIFIED, NO_ROOT_SQUASH, ROOT_SQUASH'\n x-dcl-server-default: true\n enum:\n - SQUASH_MODE_UNSPECIFIED\n - NO_ROOT_SQUASH\n - ROOT_SQUASH\n sourceBackup:\n type: string\n x-dcl-go-name: SourceBackup\n description: The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`,\n that this file share has been restored from.\n x-dcl-references:\n - resource: Filestore/Backup\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Resource labels to represent user provided metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the instance, in the format\n `projects/{project}/locations/{location}/instances/{instance}`.\n x-kubernetes-immutable: true\n networks:\n type: array\n x-dcl-go-name: Networks\n description: VPC networks to which the instance is connected. For this version,\n only a single network is supported.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworks\n properties:\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n readOnly: true\n description: Output only. IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}`\n or IPv6 addresses in the format `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n modes:\n type: array\n x-dcl-go-name: Modes\n description: Internet protocol versions for which the instance has\n IP addresses assigned. For this version, only MODE_IPV4 is supported.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: InstanceNetworksModesEnum\n enum:\n - ADDRESS_MODE_UNSPECIFIED\n - MODE_IPV4\n network:\n type: string\n x-dcl-go-name: Network\n description: The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc)\n to which the instance is connected.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n reservedIPRange:\n type: string\n x-dcl-go-name: ReservedIPRange\n description: A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/)\n that identifies the range of IP addresses reserved for this instance.\n For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify\n can't overlap with either existing subnets or assigned IP address\n ranges for other Cloud Filestore instances in the selected VPC network.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. The instance state. Possible values: STATE_UNSPECIFIED,\n CREATING, READY, REPAIRING, DELETING, ERROR'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - READY\n - REPAIRING\n - DELETING\n - ERROR\n statusMessage:\n type: string\n x-dcl-go-name: StatusMessage\n readOnly: true\n description: Output only. Additional information about the instance state,\n if available.\n x-kubernetes-immutable: true\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: InstanceTierEnum\n description: 'The service tier of the instance. Possible values: TIER_UNSPECIFIED,\n STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ENTERPRISE'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - STANDARD\n - PREMIUM\n - BASIC_HDD\n - BASIC_SSD\n - HIGH_SCALE_SSD\n - ENTERPRISE\n") +var YAML_instance = []byte("info:\n title: Filestore/Instance\n description: The Filestore Instance resource\n x-dcl-struct-name: Instance\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n apply:\n description: The function used to apply information about a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n delete:\n description: The function used to delete a Instance\n parameters:\n - name: Instance\n required: true\n description: A full instance of a Instance\n deleteAll:\n description: The function used to delete all Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Instance\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Instance:\n title: Instance\n x-dcl-id: projects/{{project}}/locations/{{location}}/instances/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the instance was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the instance (2048 characters or less).\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Server-specified ETag for the instance resource to prevent\n simultaneous updates from overwriting each other.\n x-kubernetes-immutable: true\n fileShares:\n type: array\n x-dcl-go-name: FileShares\n description: File system shares on the instance. For this version, only\n a single file share is supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceFileShares\n properties:\n capacityGb:\n type: integer\n format: int64\n x-dcl-go-name: CapacityGb\n description: File share capacity in gigabytes (GB). Cloud Filestore\n defines 1 GB as 1024^3 bytes.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the file share (must be 16 characters or\n less).\n nfsExportOptions:\n type: array\n x-dcl-go-name: NfsExportOptions\n description: Nfs Export Options. There is a limit of 10 export options\n per file share.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceFileSharesNfsExportOptions\n properties:\n accessMode:\n type: string\n x-dcl-go-name: AccessMode\n x-dcl-go-type: InstanceFileSharesNfsExportOptionsAccessModeEnum\n description: 'Either READ_ONLY, for allowing only read requests\n on the exported directory, or READ_WRITE, for allowing both\n read and write requests. The default is READ_WRITE. Possible\n values: ACCESS_MODE_UNSPECIFIED, READ_ONLY, READ_WRITE'\n x-dcl-server-default: true\n enum:\n - ACCESS_MODE_UNSPECIFIED\n - READ_ONLY\n - READ_WRITE\n anonGid:\n type: integer\n format: int64\n x-dcl-go-name: AnonGid\n description: An integer representing the anonymous group id\n with a default value of 65534. Anon_gid may only be set with\n squash_mode of ROOT_SQUASH. An error will be returned if this\n field is specified for other squash_mode settings.\n anonUid:\n type: integer\n format: int64\n x-dcl-go-name: AnonUid\n description: An integer representing the anonymous user id with\n a default value of 65534. Anon_uid may only be set with squash_mode\n of ROOT_SQUASH. An error will be returned if this field is\n specified for other squash_mode settings.\n ipRanges:\n type: array\n x-dcl-go-name: IPRanges\n description: List of either an IPv4 addresses in the format\n `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the\n format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which\n may mount the file share. Overlapping IP ranges are not allowed,\n both within and across NfsExportOptions. An error will be\n returned. The limit is 64 IP ranges/addresses for each FileShareConfig\n among all NfsExportOptions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n squashMode:\n type: string\n x-dcl-go-name: SquashMode\n x-dcl-go-type: InstanceFileSharesNfsExportOptionsSquashModeEnum\n description: 'Either NO_ROOT_SQUASH, for allowing root access\n on the exported directory, or ROOT_SQUASH, for not allowing\n root access. The default is NO_ROOT_SQUASH. Possible values:\n SQUASH_MODE_UNSPECIFIED, NO_ROOT_SQUASH, ROOT_SQUASH'\n x-dcl-server-default: true\n enum:\n - SQUASH_MODE_UNSPECIFIED\n - NO_ROOT_SQUASH\n - ROOT_SQUASH\n sourceBackup:\n type: string\n x-dcl-go-name: SourceBackup\n description: The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`,\n that this file share has been restored from.\n x-dcl-references:\n - resource: Filestore/Backup\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Resource labels to represent user provided metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the instance, in the format\n `projects/{project}/locations/{location}/instances/{instance}`.\n x-kubernetes-immutable: true\n networks:\n type: array\n x-dcl-go-name: Networks\n description: VPC networks to which the instance is connected. For this version,\n only a single network is supported.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: InstanceNetworks\n properties:\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n readOnly: true\n description: Output only. IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}`\n or IPv6 addresses in the format `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n modes:\n type: array\n x-dcl-go-name: Modes\n description: Internet protocol versions for which the instance has\n IP addresses assigned. For this version, only MODE_IPV4 is supported.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: InstanceNetworksModesEnum\n enum:\n - ADDRESS_MODE_UNSPECIFIED\n - MODE_IPV4\n network:\n type: string\n x-dcl-go-name: Network\n description: The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc)\n to which the instance is connected.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n reservedIPRange:\n type: string\n x-dcl-go-name: ReservedIPRange\n description: A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/)\n that identifies the range of IP addresses reserved for this instance.\n For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify\n can't overlap with either existing subnets or assigned IP address\n ranges for other Cloud Filestore instances in the selected VPC network.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: InstanceStateEnum\n readOnly: true\n description: 'Output only. The instance state. Possible values: STATE_UNSPECIFIED,\n CREATING, READY, REPAIRING, DELETING, ERROR'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - READY\n - REPAIRING\n - DELETING\n - ERROR\n statusMessage:\n type: string\n x-dcl-go-name: StatusMessage\n readOnly: true\n description: Output only. Additional information about the instance state,\n if available.\n x-kubernetes-immutable: true\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: InstanceTierEnum\n description: 'The service tier of the instance. Possible values: TIER_UNSPECIFIED,\n STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ENTERPRISE'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - STANDARD\n - PREMIUM\n - BASIC_HDD\n - BASIC_SSD\n - HIGH_SCALE_SSD\n - ENTERPRISE\n") -// 12081 bytes -// MD5: c95f69d441b0ab3a0919270bcd25ac71 +// 12106 bytes +// MD5: 698ae783d0dbe2b610a2a24f43d69af6 diff --git a/services/google/firebaserules/alpha/release.yaml b/services/google/firebaserules/alpha/release.yaml index fd9bb921f1..800eeecf72 100755 --- a/services/google/firebaserules/alpha/release.yaml +++ b/services/google/firebaserules/alpha/release.yaml @@ -15,6 +15,7 @@ info: title: Firebaserules/Release description: The Firebaserules Release resource x-dcl-struct-name: Release + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/firebaserules/alpha/release_alpha_yaml_embed.go b/services/google/firebaserules/alpha/release_alpha_yaml_embed.go index 9bdd570611..8cefaea409 100755 --- a/services/google/firebaserules/alpha/release_alpha_yaml_embed.go +++ b/services/google/firebaserules/alpha/release_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/firebaserules/alpha/release.yaml -var YAML_release = []byte("info:\n title: Firebaserules/Release\n description: The Firebaserules Release resource\n x-dcl-struct-name: Release\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n apply:\n description: The function used to apply information about a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n delete:\n description: The function used to delete a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n deleteAll:\n description: The function used to delete all Release\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Release\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Release:\n title: Release\n x-dcl-id: projects/{{project}}/releases/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rulesetName\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the release was created.\n x-kubernetes-immutable: true\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n readOnly: true\n description: Disable the release to keep it from being served. The response\n code of NOT_FOUND will be given for executables generated from this Release.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Format: `projects/{project_id}/releases/{release_id}`'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rulesetName:\n type: string\n x-dcl-go-name: RulesetName\n description: Name of the `Ruleset` referred to by this `Release`. The `Ruleset`\n must exist the `Release` to be created.\n x-dcl-references:\n - resource: Firebaserules/Ruleset\n field: name\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the release was updated.\n x-kubernetes-immutable: true\n") +var YAML_release = []byte("info:\n title: Firebaserules/Release\n description: The Firebaserules Release resource\n x-dcl-struct-name: Release\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n apply:\n description: The function used to apply information about a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n delete:\n description: The function used to delete a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n deleteAll:\n description: The function used to delete all Release\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Release\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Release:\n title: Release\n x-dcl-id: projects/{{project}}/releases/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rulesetName\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the release was created.\n x-kubernetes-immutable: true\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n readOnly: true\n description: Disable the release to keep it from being served. The response\n code of NOT_FOUND will be given for executables generated from this Release.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Format: `projects/{project_id}/releases/{release_id}`'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rulesetName:\n type: string\n x-dcl-go-name: RulesetName\n description: Name of the `Ruleset` referred to by this `Release`. The `Ruleset`\n must exist the `Release` to be created.\n x-dcl-references:\n - resource: Firebaserules/Ruleset\n field: name\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the release was updated.\n x-kubernetes-immutable: true\n") -// 2928 bytes -// MD5: 5be6d8ed0685817be2d33816a94e9d59 +// 2953 bytes +// MD5: 27c1c09a6a7295a493bcba48a7ef9fff diff --git a/services/google/firebaserules/alpha/release_schema.go b/services/google/firebaserules/alpha/release_schema.go index dea5290eb0..8b9a2632b0 100755 --- a/services/google/firebaserules/alpha/release_schema.go +++ b/services/google/firebaserules/alpha/release_schema.go @@ -23,6 +23,7 @@ func DCLReleaseSchema() *dcl.Schema { Title: "Firebaserules/Release", Description: "The Firebaserules Release resource", StructName: "Release", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/firebaserules/alpha/ruleset.yaml b/services/google/firebaserules/alpha/ruleset.yaml index 9f2fc00485..504ee6c4ca 100755 --- a/services/google/firebaserules/alpha/ruleset.yaml +++ b/services/google/firebaserules/alpha/ruleset.yaml @@ -15,6 +15,7 @@ info: title: Firebaserules/Ruleset description: The Firebaserules Ruleset resource x-dcl-struct-name: Ruleset + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/firebaserules/alpha/ruleset_alpha_yaml_embed.go b/services/google/firebaserules/alpha/ruleset_alpha_yaml_embed.go index 94337e5455..47b833f03b 100755 --- a/services/google/firebaserules/alpha/ruleset_alpha_yaml_embed.go +++ b/services/google/firebaserules/alpha/ruleset_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/firebaserules/alpha/ruleset.yaml -var YAML_ruleset = []byte("info:\n title: Firebaserules/Ruleset\n description: The Firebaserules Ruleset resource\n x-dcl-struct-name: Ruleset\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n apply:\n description: The function used to apply information about a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n delete:\n description: The function used to delete a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n deleteAll:\n description: The function used to delete all Ruleset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Ruleset\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Ruleset:\n title: Ruleset\n x-dcl-id: projects/{{project}}/rulesets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - source\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the `Ruleset` was created.\n x-kubernetes-immutable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: RulesetMetadata\n readOnly: true\n description: Output only. The metadata for this ruleset.\n x-kubernetes-immutable: true\n properties:\n services:\n type: array\n x-dcl-go-name: Services\n description: Services that this ruleset has declarations for (e.g.,\n \"cloud.firestore\"). There may be 0+ of these.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Name of the `Ruleset`. The ruleset_id is auto\n generated by the service. Format: `projects/{project_id}/rulesets/{ruleset_id}`'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: RulesetSource\n description: '`Source` for the `Ruleset`.'\n x-kubernetes-immutable: true\n required:\n - files\n properties:\n files:\n type: array\n x-dcl-go-name: Files\n description: '`File` set constituting the `Source` bundle.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RulesetSourceFiles\n required:\n - content\n - name\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: Textual Content.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n description: Fingerprint (e.g. github sha) associated with the\n `File`.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: File name.\n x-kubernetes-immutable: true\n language:\n type: string\n x-dcl-go-name: Language\n x-dcl-go-type: RulesetSourceLanguageEnum\n description: '`Language` of the `Source` bundle. If unspecified, the\n language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED,\n FIREBASE_RULES, EVENT_FLOW_TRIGGERS'\n x-kubernetes-immutable: true\n enum:\n - LANGUAGE_UNSPECIFIED\n - FIREBASE_RULES\n - EVENT_FLOW_TRIGGERS\n") +var YAML_ruleset = []byte("info:\n title: Firebaserules/Ruleset\n description: The Firebaserules Ruleset resource\n x-dcl-struct-name: Ruleset\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n apply:\n description: The function used to apply information about a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n delete:\n description: The function used to delete a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n deleteAll:\n description: The function used to delete all Ruleset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Ruleset\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Ruleset:\n title: Ruleset\n x-dcl-id: projects/{{project}}/rulesets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - source\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the `Ruleset` was created.\n x-kubernetes-immutable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: RulesetMetadata\n readOnly: true\n description: Output only. The metadata for this ruleset.\n x-kubernetes-immutable: true\n properties:\n services:\n type: array\n x-dcl-go-name: Services\n description: Services that this ruleset has declarations for (e.g.,\n \"cloud.firestore\"). There may be 0+ of these.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Name of the `Ruleset`. The ruleset_id is auto\n generated by the service. Format: `projects/{project_id}/rulesets/{ruleset_id}`'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: RulesetSource\n description: '`Source` for the `Ruleset`.'\n x-kubernetes-immutable: true\n required:\n - files\n properties:\n files:\n type: array\n x-dcl-go-name: Files\n description: '`File` set constituting the `Source` bundle.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RulesetSourceFiles\n required:\n - content\n - name\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: Textual Content.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n description: Fingerprint (e.g. github sha) associated with the\n `File`.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: File name.\n x-kubernetes-immutable: true\n language:\n type: string\n x-dcl-go-name: Language\n x-dcl-go-type: RulesetSourceLanguageEnum\n description: '`Language` of the `Source` bundle. If unspecified, the\n language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED,\n FIREBASE_RULES, EVENT_FLOW_TRIGGERS'\n x-kubernetes-immutable: true\n enum:\n - LANGUAGE_UNSPECIFIED\n - FIREBASE_RULES\n - EVENT_FLOW_TRIGGERS\n") -// 4789 bytes -// MD5: 272c64436cd4f7ee58221bfec59b15ea +// 4814 bytes +// MD5: 4ee5b96dcc73d53273b84a0e3a425219 diff --git a/services/google/firebaserules/alpha/ruleset_schema.go b/services/google/firebaserules/alpha/ruleset_schema.go index 0c229b3c99..edc25f5e10 100755 --- a/services/google/firebaserules/alpha/ruleset_schema.go +++ b/services/google/firebaserules/alpha/ruleset_schema.go @@ -23,6 +23,7 @@ func DCLRulesetSchema() *dcl.Schema { Title: "Firebaserules/Ruleset", Description: "The Firebaserules Ruleset resource", StructName: "Ruleset", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/firebaserules/beta/release.yaml b/services/google/firebaserules/beta/release.yaml index fd9bb921f1..800eeecf72 100755 --- a/services/google/firebaserules/beta/release.yaml +++ b/services/google/firebaserules/beta/release.yaml @@ -15,6 +15,7 @@ info: title: Firebaserules/Release description: The Firebaserules Release resource x-dcl-struct-name: Release + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/firebaserules/beta/release_beta_yaml_embed.go b/services/google/firebaserules/beta/release_beta_yaml_embed.go index 98041da08a..fd7fe2d6b5 100755 --- a/services/google/firebaserules/beta/release_beta_yaml_embed.go +++ b/services/google/firebaserules/beta/release_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/firebaserules/beta/release.yaml -var YAML_release = []byte("info:\n title: Firebaserules/Release\n description: The Firebaserules Release resource\n x-dcl-struct-name: Release\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n apply:\n description: The function used to apply information about a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n delete:\n description: The function used to delete a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n deleteAll:\n description: The function used to delete all Release\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Release\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Release:\n title: Release\n x-dcl-id: projects/{{project}}/releases/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rulesetName\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the release was created.\n x-kubernetes-immutable: true\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n readOnly: true\n description: Disable the release to keep it from being served. The response\n code of NOT_FOUND will be given for executables generated from this Release.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Format: `projects/{project_id}/releases/{release_id}`'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rulesetName:\n type: string\n x-dcl-go-name: RulesetName\n description: Name of the `Ruleset` referred to by this `Release`. The `Ruleset`\n must exist the `Release` to be created.\n x-dcl-references:\n - resource: Firebaserules/Ruleset\n field: name\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the release was updated.\n x-kubernetes-immutable: true\n") +var YAML_release = []byte("info:\n title: Firebaserules/Release\n description: The Firebaserules Release resource\n x-dcl-struct-name: Release\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n apply:\n description: The function used to apply information about a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n delete:\n description: The function used to delete a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n deleteAll:\n description: The function used to delete all Release\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Release\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Release:\n title: Release\n x-dcl-id: projects/{{project}}/releases/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rulesetName\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the release was created.\n x-kubernetes-immutable: true\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n readOnly: true\n description: Disable the release to keep it from being served. The response\n code of NOT_FOUND will be given for executables generated from this Release.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Format: `projects/{project_id}/releases/{release_id}`'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rulesetName:\n type: string\n x-dcl-go-name: RulesetName\n description: Name of the `Ruleset` referred to by this `Release`. The `Ruleset`\n must exist the `Release` to be created.\n x-dcl-references:\n - resource: Firebaserules/Ruleset\n field: name\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the release was updated.\n x-kubernetes-immutable: true\n") -// 2928 bytes -// MD5: 5be6d8ed0685817be2d33816a94e9d59 +// 2953 bytes +// MD5: 27c1c09a6a7295a493bcba48a7ef9fff diff --git a/services/google/firebaserules/beta/release_schema.go b/services/google/firebaserules/beta/release_schema.go index 44adf38691..c252e99b3b 100755 --- a/services/google/firebaserules/beta/release_schema.go +++ b/services/google/firebaserules/beta/release_schema.go @@ -23,6 +23,7 @@ func DCLReleaseSchema() *dcl.Schema { Title: "Firebaserules/Release", Description: "The Firebaserules Release resource", StructName: "Release", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/firebaserules/beta/ruleset.yaml b/services/google/firebaserules/beta/ruleset.yaml index 9f2fc00485..504ee6c4ca 100755 --- a/services/google/firebaserules/beta/ruleset.yaml +++ b/services/google/firebaserules/beta/ruleset.yaml @@ -15,6 +15,7 @@ info: title: Firebaserules/Ruleset description: The Firebaserules Ruleset resource x-dcl-struct-name: Ruleset + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/firebaserules/beta/ruleset_beta_yaml_embed.go b/services/google/firebaserules/beta/ruleset_beta_yaml_embed.go index 9d7d91222e..e5d574a27f 100755 --- a/services/google/firebaserules/beta/ruleset_beta_yaml_embed.go +++ b/services/google/firebaserules/beta/ruleset_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/firebaserules/beta/ruleset.yaml -var YAML_ruleset = []byte("info:\n title: Firebaserules/Ruleset\n description: The Firebaserules Ruleset resource\n x-dcl-struct-name: Ruleset\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n apply:\n description: The function used to apply information about a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n delete:\n description: The function used to delete a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n deleteAll:\n description: The function used to delete all Ruleset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Ruleset\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Ruleset:\n title: Ruleset\n x-dcl-id: projects/{{project}}/rulesets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - source\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the `Ruleset` was created.\n x-kubernetes-immutable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: RulesetMetadata\n readOnly: true\n description: Output only. The metadata for this ruleset.\n x-kubernetes-immutable: true\n properties:\n services:\n type: array\n x-dcl-go-name: Services\n description: Services that this ruleset has declarations for (e.g.,\n \"cloud.firestore\"). There may be 0+ of these.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Name of the `Ruleset`. The ruleset_id is auto\n generated by the service. Format: `projects/{project_id}/rulesets/{ruleset_id}`'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: RulesetSource\n description: '`Source` for the `Ruleset`.'\n x-kubernetes-immutable: true\n required:\n - files\n properties:\n files:\n type: array\n x-dcl-go-name: Files\n description: '`File` set constituting the `Source` bundle.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RulesetSourceFiles\n required:\n - content\n - name\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: Textual Content.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n description: Fingerprint (e.g. github sha) associated with the\n `File`.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: File name.\n x-kubernetes-immutable: true\n language:\n type: string\n x-dcl-go-name: Language\n x-dcl-go-type: RulesetSourceLanguageEnum\n description: '`Language` of the `Source` bundle. If unspecified, the\n language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED,\n FIREBASE_RULES, EVENT_FLOW_TRIGGERS'\n x-kubernetes-immutable: true\n enum:\n - LANGUAGE_UNSPECIFIED\n - FIREBASE_RULES\n - EVENT_FLOW_TRIGGERS\n") +var YAML_ruleset = []byte("info:\n title: Firebaserules/Ruleset\n description: The Firebaserules Ruleset resource\n x-dcl-struct-name: Ruleset\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n apply:\n description: The function used to apply information about a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n delete:\n description: The function used to delete a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n deleteAll:\n description: The function used to delete all Ruleset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Ruleset\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Ruleset:\n title: Ruleset\n x-dcl-id: projects/{{project}}/rulesets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - source\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the `Ruleset` was created.\n x-kubernetes-immutable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: RulesetMetadata\n readOnly: true\n description: Output only. The metadata for this ruleset.\n x-kubernetes-immutable: true\n properties:\n services:\n type: array\n x-dcl-go-name: Services\n description: Services that this ruleset has declarations for (e.g.,\n \"cloud.firestore\"). There may be 0+ of these.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Name of the `Ruleset`. The ruleset_id is auto\n generated by the service. Format: `projects/{project_id}/rulesets/{ruleset_id}`'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: RulesetSource\n description: '`Source` for the `Ruleset`.'\n x-kubernetes-immutable: true\n required:\n - files\n properties:\n files:\n type: array\n x-dcl-go-name: Files\n description: '`File` set constituting the `Source` bundle.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RulesetSourceFiles\n required:\n - content\n - name\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: Textual Content.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n description: Fingerprint (e.g. github sha) associated with the\n `File`.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: File name.\n x-kubernetes-immutable: true\n language:\n type: string\n x-dcl-go-name: Language\n x-dcl-go-type: RulesetSourceLanguageEnum\n description: '`Language` of the `Source` bundle. If unspecified, the\n language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED,\n FIREBASE_RULES, EVENT_FLOW_TRIGGERS'\n x-kubernetes-immutable: true\n enum:\n - LANGUAGE_UNSPECIFIED\n - FIREBASE_RULES\n - EVENT_FLOW_TRIGGERS\n") -// 4789 bytes -// MD5: 272c64436cd4f7ee58221bfec59b15ea +// 4814 bytes +// MD5: 4ee5b96dcc73d53273b84a0e3a425219 diff --git a/services/google/firebaserules/beta/ruleset_schema.go b/services/google/firebaserules/beta/ruleset_schema.go index 7227500ea6..766a1febcb 100755 --- a/services/google/firebaserules/beta/ruleset_schema.go +++ b/services/google/firebaserules/beta/ruleset_schema.go @@ -23,6 +23,7 @@ func DCLRulesetSchema() *dcl.Schema { Title: "Firebaserules/Ruleset", Description: "The Firebaserules Ruleset resource", StructName: "Ruleset", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/firebaserules/release.yaml b/services/google/firebaserules/release.yaml index fd9bb921f1..800eeecf72 100755 --- a/services/google/firebaserules/release.yaml +++ b/services/google/firebaserules/release.yaml @@ -15,6 +15,7 @@ info: title: Firebaserules/Release description: The Firebaserules Release resource x-dcl-struct-name: Release + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/firebaserules/release_schema.go b/services/google/firebaserules/release_schema.go index 3df9adfc90..97cf672215 100755 --- a/services/google/firebaserules/release_schema.go +++ b/services/google/firebaserules/release_schema.go @@ -23,6 +23,7 @@ func DCLReleaseSchema() *dcl.Schema { Title: "Firebaserules/Release", Description: "The Firebaserules Release resource", StructName: "Release", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/firebaserules/release_yaml_embed.go b/services/google/firebaserules/release_yaml_embed.go index 6af76814b2..fbc757aba4 100755 --- a/services/google/firebaserules/release_yaml_embed.go +++ b/services/google/firebaserules/release_yaml_embed.go @@ -17,7 +17,7 @@ package firebaserules // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/firebaserules/release.yaml -var YAML_release = []byte("info:\n title: Firebaserules/Release\n description: The Firebaserules Release resource\n x-dcl-struct-name: Release\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n apply:\n description: The function used to apply information about a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n delete:\n description: The function used to delete a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n deleteAll:\n description: The function used to delete all Release\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Release\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Release:\n title: Release\n x-dcl-id: projects/{{project}}/releases/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rulesetName\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the release was created.\n x-kubernetes-immutable: true\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n readOnly: true\n description: Disable the release to keep it from being served. The response\n code of NOT_FOUND will be given for executables generated from this Release.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Format: `projects/{project_id}/releases/{release_id}`'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rulesetName:\n type: string\n x-dcl-go-name: RulesetName\n description: Name of the `Ruleset` referred to by this `Release`. The `Ruleset`\n must exist the `Release` to be created.\n x-dcl-references:\n - resource: Firebaserules/Ruleset\n field: name\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the release was updated.\n x-kubernetes-immutable: true\n") +var YAML_release = []byte("info:\n title: Firebaserules/Release\n description: The Firebaserules Release resource\n x-dcl-struct-name: Release\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n apply:\n description: The function used to apply information about a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n delete:\n description: The function used to delete a Release\n parameters:\n - name: Release\n required: true\n description: A full instance of a Release\n deleteAll:\n description: The function used to delete all Release\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Release\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Release:\n title: Release\n x-dcl-id: projects/{{project}}/releases/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rulesetName\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the release was created.\n x-kubernetes-immutable: true\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n readOnly: true\n description: Disable the release to keep it from being served. The response\n code of NOT_FOUND will be given for executables generated from this Release.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Format: `projects/{project_id}/releases/{release_id}`'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rulesetName:\n type: string\n x-dcl-go-name: RulesetName\n description: Name of the `Ruleset` referred to by this `Release`. The `Ruleset`\n must exist the `Release` to be created.\n x-dcl-references:\n - resource: Firebaserules/Ruleset\n field: name\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the release was updated.\n x-kubernetes-immutable: true\n") -// 2928 bytes -// MD5: 5be6d8ed0685817be2d33816a94e9d59 +// 2953 bytes +// MD5: 27c1c09a6a7295a493bcba48a7ef9fff diff --git a/services/google/firebaserules/ruleset.yaml b/services/google/firebaserules/ruleset.yaml index 9f2fc00485..504ee6c4ca 100755 --- a/services/google/firebaserules/ruleset.yaml +++ b/services/google/firebaserules/ruleset.yaml @@ -15,6 +15,7 @@ info: title: Firebaserules/Ruleset description: The Firebaserules Ruleset resource x-dcl-struct-name: Ruleset + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/firebaserules/ruleset_schema.go b/services/google/firebaserules/ruleset_schema.go index b54c2a1413..87fed949bd 100755 --- a/services/google/firebaserules/ruleset_schema.go +++ b/services/google/firebaserules/ruleset_schema.go @@ -23,6 +23,7 @@ func DCLRulesetSchema() *dcl.Schema { Title: "Firebaserules/Ruleset", Description: "The Firebaserules Ruleset resource", StructName: "Ruleset", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/firebaserules/ruleset_yaml_embed.go b/services/google/firebaserules/ruleset_yaml_embed.go index e663cbb696..b889c40b19 100755 --- a/services/google/firebaserules/ruleset_yaml_embed.go +++ b/services/google/firebaserules/ruleset_yaml_embed.go @@ -17,7 +17,7 @@ package firebaserules // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/firebaserules/ruleset.yaml -var YAML_ruleset = []byte("info:\n title: Firebaserules/Ruleset\n description: The Firebaserules Ruleset resource\n x-dcl-struct-name: Ruleset\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n apply:\n description: The function used to apply information about a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n delete:\n description: The function used to delete a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n deleteAll:\n description: The function used to delete all Ruleset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Ruleset\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Ruleset:\n title: Ruleset\n x-dcl-id: projects/{{project}}/rulesets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - source\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the `Ruleset` was created.\n x-kubernetes-immutable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: RulesetMetadata\n readOnly: true\n description: Output only. The metadata for this ruleset.\n x-kubernetes-immutable: true\n properties:\n services:\n type: array\n x-dcl-go-name: Services\n description: Services that this ruleset has declarations for (e.g.,\n \"cloud.firestore\"). There may be 0+ of these.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Name of the `Ruleset`. The ruleset_id is auto\n generated by the service. Format: `projects/{project_id}/rulesets/{ruleset_id}`'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: RulesetSource\n description: '`Source` for the `Ruleset`.'\n x-kubernetes-immutable: true\n required:\n - files\n properties:\n files:\n type: array\n x-dcl-go-name: Files\n description: '`File` set constituting the `Source` bundle.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RulesetSourceFiles\n required:\n - content\n - name\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: Textual Content.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n description: Fingerprint (e.g. github sha) associated with the\n `File`.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: File name.\n x-kubernetes-immutable: true\n language:\n type: string\n x-dcl-go-name: Language\n x-dcl-go-type: RulesetSourceLanguageEnum\n description: '`Language` of the `Source` bundle. If unspecified, the\n language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED,\n FIREBASE_RULES, EVENT_FLOW_TRIGGERS'\n x-kubernetes-immutable: true\n enum:\n - LANGUAGE_UNSPECIFIED\n - FIREBASE_RULES\n - EVENT_FLOW_TRIGGERS\n") +var YAML_ruleset = []byte("info:\n title: Firebaserules/Ruleset\n description: The Firebaserules Ruleset resource\n x-dcl-struct-name: Ruleset\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n apply:\n description: The function used to apply information about a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n delete:\n description: The function used to delete a Ruleset\n parameters:\n - name: Ruleset\n required: true\n description: A full instance of a Ruleset\n deleteAll:\n description: The function used to delete all Ruleset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Ruleset\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Ruleset:\n title: Ruleset\n x-dcl-id: projects/{{project}}/rulesets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - source\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the `Ruleset` was created.\n x-kubernetes-immutable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: RulesetMetadata\n readOnly: true\n description: Output only. The metadata for this ruleset.\n x-kubernetes-immutable: true\n properties:\n services:\n type: array\n x-dcl-go-name: Services\n description: Services that this ruleset has declarations for (e.g.,\n \"cloud.firestore\"). There may be 0+ of these.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Name of the `Ruleset`. The ruleset_id is auto\n generated by the service. Format: `projects/{project_id}/rulesets/{ruleset_id}`'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: RulesetSource\n description: '`Source` for the `Ruleset`.'\n x-kubernetes-immutable: true\n required:\n - files\n properties:\n files:\n type: array\n x-dcl-go-name: Files\n description: '`File` set constituting the `Source` bundle.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: RulesetSourceFiles\n required:\n - content\n - name\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: Textual Content.\n x-kubernetes-immutable: true\n fingerprint:\n type: string\n x-dcl-go-name: Fingerprint\n description: Fingerprint (e.g. github sha) associated with the\n `File`.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: File name.\n x-kubernetes-immutable: true\n language:\n type: string\n x-dcl-go-name: Language\n x-dcl-go-type: RulesetSourceLanguageEnum\n description: '`Language` of the `Source` bundle. If unspecified, the\n language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED,\n FIREBASE_RULES, EVENT_FLOW_TRIGGERS'\n x-kubernetes-immutable: true\n enum:\n - LANGUAGE_UNSPECIFIED\n - FIREBASE_RULES\n - EVENT_FLOW_TRIGGERS\n") -// 4789 bytes -// MD5: 272c64436cd4f7ee58221bfec59b15ea +// 4814 bytes +// MD5: 4ee5b96dcc73d53273b84a0e3a425219 diff --git a/services/google/gameservices/alpha/realm.yaml b/services/google/gameservices/alpha/realm.yaml index bce7fb1f5a..748563b8be 100755 --- a/services/google/gameservices/alpha/realm.yaml +++ b/services/google/gameservices/alpha/realm.yaml @@ -15,6 +15,7 @@ info: title: GameServices/Realm description: The GameServices Realm resource x-dcl-struct-name: Realm + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/gameservices/alpha/realm_alpha_yaml_embed.go b/services/google/gameservices/alpha/realm_alpha_yaml_embed.go index 594a454bfc..09d13ad375 100755 --- a/services/google/gameservices/alpha/realm_alpha_yaml_embed.go +++ b/services/google/gameservices/alpha/realm_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gameservices/alpha/realm.yaml -var YAML_realm = []byte("info:\n title: GameServices/Realm\n description: The GameServices Realm resource\n x-dcl-struct-name: Realm\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n apply:\n description: The function used to apply information about a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n delete:\n description: The function used to delete a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n deleteAll:\n description: The function used to delete all Realm\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Realm\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Realm:\n title: Realm\n x-dcl-id: projects/{{project}}/locations/{{location}}/realms/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - timeZone\n - location\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Human readable description of the realm.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels associated with this realm. Each label is a key-value\n pair.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for this realm.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the realm.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this realm.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n timeZone:\n type: string\n x-dcl-go-name: TimeZone\n description: 'Required. Time zone where all policies targeting this realm\n are evaluated. The value of this field must be from the IANA time zone\n database: https://www.iana.org/time-zones.'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") +var YAML_realm = []byte("info:\n title: GameServices/Realm\n description: The GameServices Realm resource\n x-dcl-struct-name: Realm\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n apply:\n description: The function used to apply information about a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n delete:\n description: The function used to delete a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n deleteAll:\n description: The function used to delete all Realm\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Realm\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Realm:\n title: Realm\n x-dcl-id: projects/{{project}}/locations/{{location}}/realms/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - timeZone\n - location\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Human readable description of the realm.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels associated with this realm. Each label is a key-value\n pair.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for this realm.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the realm.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this realm.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n timeZone:\n type: string\n x-dcl-go-name: TimeZone\n description: 'Required. Time zone where all policies targeting this realm\n are evaluated. The value of this field must be from the IANA time zone\n database: https://www.iana.org/time-zones.'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") -// 3220 bytes -// MD5: 111c18b1383a50cdaac567ce12b5a2c5 +// 3245 bytes +// MD5: a8e360fd08eab99b0201e419be4ae6ac diff --git a/services/google/gameservices/alpha/realm_schema.go b/services/google/gameservices/alpha/realm_schema.go index 8c4668d7d4..c6ca93761a 100755 --- a/services/google/gameservices/alpha/realm_schema.go +++ b/services/google/gameservices/alpha/realm_schema.go @@ -23,6 +23,7 @@ func DCLRealmSchema() *dcl.Schema { Title: "GameServices/Realm", Description: "The GameServices Realm resource", StructName: "Realm", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/gameservices/beta/realm.yaml b/services/google/gameservices/beta/realm.yaml index bce7fb1f5a..748563b8be 100755 --- a/services/google/gameservices/beta/realm.yaml +++ b/services/google/gameservices/beta/realm.yaml @@ -15,6 +15,7 @@ info: title: GameServices/Realm description: The GameServices Realm resource x-dcl-struct-name: Realm + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/gameservices/beta/realm_beta_yaml_embed.go b/services/google/gameservices/beta/realm_beta_yaml_embed.go index 72834dc8a7..2aae0209be 100755 --- a/services/google/gameservices/beta/realm_beta_yaml_embed.go +++ b/services/google/gameservices/beta/realm_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gameservices/beta/realm.yaml -var YAML_realm = []byte("info:\n title: GameServices/Realm\n description: The GameServices Realm resource\n x-dcl-struct-name: Realm\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n apply:\n description: The function used to apply information about a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n delete:\n description: The function used to delete a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n deleteAll:\n description: The function used to delete all Realm\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Realm\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Realm:\n title: Realm\n x-dcl-id: projects/{{project}}/locations/{{location}}/realms/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - timeZone\n - location\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Human readable description of the realm.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels associated with this realm. Each label is a key-value\n pair.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for this realm.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the realm.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this realm.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n timeZone:\n type: string\n x-dcl-go-name: TimeZone\n description: 'Required. Time zone where all policies targeting this realm\n are evaluated. The value of this field must be from the IANA time zone\n database: https://www.iana.org/time-zones.'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") +var YAML_realm = []byte("info:\n title: GameServices/Realm\n description: The GameServices Realm resource\n x-dcl-struct-name: Realm\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n apply:\n description: The function used to apply information about a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n delete:\n description: The function used to delete a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n deleteAll:\n description: The function used to delete all Realm\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Realm\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Realm:\n title: Realm\n x-dcl-id: projects/{{project}}/locations/{{location}}/realms/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - timeZone\n - location\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Human readable description of the realm.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels associated with this realm. Each label is a key-value\n pair.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for this realm.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the realm.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this realm.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n timeZone:\n type: string\n x-dcl-go-name: TimeZone\n description: 'Required. Time zone where all policies targeting this realm\n are evaluated. The value of this field must be from the IANA time zone\n database: https://www.iana.org/time-zones.'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") -// 3220 bytes -// MD5: 111c18b1383a50cdaac567ce12b5a2c5 +// 3245 bytes +// MD5: a8e360fd08eab99b0201e419be4ae6ac diff --git a/services/google/gameservices/beta/realm_schema.go b/services/google/gameservices/beta/realm_schema.go index 098ef6f4ff..717f2c462e 100755 --- a/services/google/gameservices/beta/realm_schema.go +++ b/services/google/gameservices/beta/realm_schema.go @@ -23,6 +23,7 @@ func DCLRealmSchema() *dcl.Schema { Title: "GameServices/Realm", Description: "The GameServices Realm resource", StructName: "Realm", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/gameservices/realm.yaml b/services/google/gameservices/realm.yaml index bce7fb1f5a..748563b8be 100755 --- a/services/google/gameservices/realm.yaml +++ b/services/google/gameservices/realm.yaml @@ -15,6 +15,7 @@ info: title: GameServices/Realm description: The GameServices Realm resource x-dcl-struct-name: Realm + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/gameservices/realm_schema.go b/services/google/gameservices/realm_schema.go index 7d69a95381..1ed9ddf8ea 100755 --- a/services/google/gameservices/realm_schema.go +++ b/services/google/gameservices/realm_schema.go @@ -23,6 +23,7 @@ func DCLRealmSchema() *dcl.Schema { Title: "GameServices/Realm", Description: "The GameServices Realm resource", StructName: "Realm", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/gameservices/realm_yaml_embed.go b/services/google/gameservices/realm_yaml_embed.go index 02c41e12a7..e0787c5f63 100755 --- a/services/google/gameservices/realm_yaml_embed.go +++ b/services/google/gameservices/realm_yaml_embed.go @@ -17,7 +17,7 @@ package gameservices // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gameservices/realm.yaml -var YAML_realm = []byte("info:\n title: GameServices/Realm\n description: The GameServices Realm resource\n x-dcl-struct-name: Realm\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n apply:\n description: The function used to apply information about a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n delete:\n description: The function used to delete a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n deleteAll:\n description: The function used to delete all Realm\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Realm\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Realm:\n title: Realm\n x-dcl-id: projects/{{project}}/locations/{{location}}/realms/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - timeZone\n - location\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Human readable description of the realm.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels associated with this realm. Each label is a key-value\n pair.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for this realm.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the realm.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this realm.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n timeZone:\n type: string\n x-dcl-go-name: TimeZone\n description: 'Required. Time zone where all policies targeting this realm\n are evaluated. The value of this field must be from the IANA time zone\n database: https://www.iana.org/time-zones.'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") +var YAML_realm = []byte("info:\n title: GameServices/Realm\n description: The GameServices Realm resource\n x-dcl-struct-name: Realm\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n apply:\n description: The function used to apply information about a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n delete:\n description: The function used to delete a Realm\n parameters:\n - name: Realm\n required: true\n description: A full instance of a Realm\n deleteAll:\n description: The function used to delete all Realm\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Realm\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Realm:\n title: Realm\n x-dcl-id: projects/{{project}}/locations/{{location}}/realms/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - timeZone\n - location\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Human readable description of the realm.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels associated with this realm. Each label is a key-value\n pair.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for this realm.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the realm.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this realm.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n timeZone:\n type: string\n x-dcl-go-name: TimeZone\n description: 'Required. Time zone where all policies targeting this realm\n are evaluated. The value of this field must be from the IANA time zone\n database: https://www.iana.org/time-zones.'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") -// 3220 bytes -// MD5: 111c18b1383a50cdaac567ce12b5a2c5 +// 3245 bytes +// MD5: a8e360fd08eab99b0201e419be4ae6ac diff --git a/services/google/gkehub/alpha/feature.yaml b/services/google/gkehub/alpha/feature.yaml index 8b62b1403c..bb4a439623 100755 --- a/services/google/gkehub/alpha/feature.yaml +++ b/services/google/gkehub/alpha/feature.yaml @@ -15,6 +15,7 @@ info: title: GkeHub/Feature description: The GkeHub Feature resource x-dcl-struct-name: Feature + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-mutex: '{{project}}/{{location}}/{{feature}}' paths: diff --git a/services/google/gkehub/alpha/feature_alpha_yaml_embed.go b/services/google/gkehub/alpha/feature_alpha_yaml_embed.go index 15a0d45863..79c1df7b31 100755 --- a/services/google/gkehub/alpha/feature_alpha_yaml_embed.go +++ b/services/google/gkehub/alpha/feature_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/alpha/feature.yaml -var YAML_feature = []byte("info:\n title: GkeHub/Feature\n description: The GkeHub Feature resource\n x-dcl-struct-name: Feature\n x-dcl-has-iam: false\n x-dcl-mutex: '{{project}}/{{location}}/{{feature}}'\npaths:\n get:\n description: The function used to get information about a Feature\n parameters:\n - name: Feature\n required: true\n description: A full instance of a Feature\n apply:\n description: The function used to apply information about a Feature\n parameters:\n - name: Feature\n required: true\n description: A full instance of a Feature\n delete:\n description: The function used to delete a Feature\n parameters:\n - name: Feature\n required: true\n description: A full instance of a Feature\n deleteAll:\n description: The function used to delete all Feature\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Feature\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Feature:\n title: Feature\n x-dcl-id: projects/{{project}}/locations/{{location}}/features/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Feature resource was created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. When the Feature resource was deleted.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: GCP labels for this Feature.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The full, unique name of this Feature resource\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceState:\n type: object\n x-dcl-go-name: ResourceState\n x-dcl-go-type: FeatureResourceState\n readOnly: true\n description: State of the Feature resource itself.\n x-kubernetes-immutable: true\n properties:\n hasResources:\n type: boolean\n x-dcl-go-name: HasResources\n readOnly: true\n description: Whether this Feature has outstanding resources that need\n to be cleaned up before it can be disabled.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: FeatureResourceStateStateEnum\n readOnly: true\n description: 'The current state of the Feature resource in the Hub API.\n Possible values: STATE_UNSPECIFIED, ENABLING, ACTIVE, DISABLING, UPDATING,\n SERVICE_UPDATING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLING\n - ACTIVE\n - DISABLING\n - UPDATING\n - SERVICE_UPDATING\n spec:\n type: object\n x-dcl-go-name: Spec\n x-dcl-go-type: FeatureSpec\n description: Optional. Hub-wide Feature configuration. If this Feature does\n not support any Hub-wide configuration, this field may be unused.\n properties:\n cloudauditlogging:\n type: object\n x-dcl-go-name: Cloudauditlogging\n x-dcl-go-type: FeatureSpecCloudauditlogging\n description: Cloud Audit Logging-specific spec.\n properties:\n allowlistedServiceAccounts:\n type: array\n x-dcl-go-name: AllowlistedServiceAccounts\n description: Service account that should be allowlisted to send\n the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com.\n These accounts must already exist, but do not need to have any\n permissions granted to them. The customer's entitlements will\n be checked prior to allowlisting (i.e. the customer must be an\n Anthos customer.)\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n multiclusteringress:\n type: object\n x-dcl-go-name: Multiclusteringress\n x-dcl-go-type: FeatureSpecMulticlusteringress\n description: Multicluster Ingress-specific spec.\n required:\n - configMembership\n properties:\n configMembership:\n type: string\n x-dcl-go-name: ConfigMembership\n description: 'Fully-qualified Membership name which hosts the MultiClusterIngress\n CRD. Example: `projects/foo-proj/locations/global/memberships/bar`'\n x-dcl-references:\n - resource: Gkehub/Membership\n field: name\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: FeatureState\n readOnly: true\n description: Output only. The Hub-wide Feature state\n x-kubernetes-immutable: true\n properties:\n servicemesh:\n type: object\n x-dcl-go-name: Servicemesh\n x-dcl-go-type: FeatureStateServicemesh\n readOnly: true\n description: Service Mesh-specific state.\n x-kubernetes-immutable: true\n properties:\n analysisMessages:\n type: array\n x-dcl-go-name: AnalysisMessages\n readOnly: true\n description: Output only. Results of running Service Mesh analyzers.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: FeatureStateServicemeshAnalysisMessages\n properties:\n args:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Args\n readOnly: true\n description: A UI can combine these args with a template (based\n on messageBase.type) to produce an internationalized message.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A human readable description of what the error\n means. It is suitable for non-internationalize display purposes.\n x-kubernetes-immutable: true\n messageBase:\n type: object\n x-dcl-go-name: MessageBase\n x-dcl-go-type: FeatureStateServicemeshAnalysisMessagesMessageBase\n readOnly: true\n description: Details common to all types of Istio and ServiceMesh\n analysis messages.\n x-kubernetes-immutable: true\n properties:\n documentationUrl:\n type: string\n x-dcl-go-name: DocumentationUrl\n readOnly: true\n description: A url pointing to the Service Mesh or Istio\n documentation for this specific error type.\n x-kubernetes-immutable: true\n level:\n type: string\n x-dcl-go-name: Level\n x-dcl-go-type: FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnum\n readOnly: true\n description: 'Represents how severe a message is. Possible\n values: LEVEL_UNSPECIFIED, ERROR, WARNING, INFO'\n x-kubernetes-immutable: true\n enum:\n - LEVEL_UNSPECIFIED\n - ERROR\n - WARNING\n - INFO\n type:\n type: object\n x-dcl-go-name: Type\n x-dcl-go-type: FeatureStateServicemeshAnalysisMessagesMessageBaseType\n readOnly: true\n description: Represents the specific type of a message.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n readOnly: true\n description: A 7 character code matching ^IST[0-9]{4}$\n or ^ASM[0-9]{4}$, intended to uniquely identify\n the message type. (e.g. \"IST0001\" is mapped to the\n \"InternalError\" message type.)\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n readOnly: true\n description: A human-readable name for the message\n type. e.g. \"InternalError\", \"PodMissingProxy\". This\n should be the same for all messages of the same\n type. (This corresponds to the name field in open-source\n Istio.)\n x-kubernetes-immutable: true\n resourcePaths:\n type: array\n x-dcl-go-name: ResourcePaths\n readOnly: true\n description: 'A list of strings specifying the resource identifiers\n that were the cause of message generation. A \"path\" here\n may be: * MEMBERSHIP_ID if the cause is a specific member\n cluster * MEMBERSHIP_ID/(NAMESPACE/)?RESOURCETYPE/NAME if\n the cause is a resource in a cluster'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: FeatureStateState\n readOnly: true\n description: Output only. The \"running state\" of the Feature in this\n Hub.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: FeatureStateStateCodeEnum\n readOnly: true\n description: 'The high-level, machine-readable status of this Feature.\n Possible values: CODE_UNSPECIFIED, OK, WARNING, ERROR'\n x-kubernetes-immutable: true\n enum:\n - CODE_UNSPECIFIED\n - OK\n - WARNING\n - ERROR\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A human-readable description of the current status.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: 'The time this status and any related Feature-specific\n details were updated. A timestamp in RFC3339 UTC \"Zulu\" format,\n with nanosecond resolution and up to nine fractional digits. Examples:\n \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\"'\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Feature resource was last updated.\n x-kubernetes-immutable: true\n") +var YAML_feature = []byte("info:\n title: GkeHub/Feature\n description: The GkeHub Feature resource\n x-dcl-struct-name: Feature\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-mutex: '{{project}}/{{location}}/{{feature}}'\npaths:\n get:\n description: The function used to get information about a Feature\n parameters:\n - name: Feature\n required: true\n description: A full instance of a Feature\n apply:\n description: The function used to apply information about a Feature\n parameters:\n - name: Feature\n required: true\n description: A full instance of a Feature\n delete:\n description: The function used to delete a Feature\n parameters:\n - name: Feature\n required: true\n description: A full instance of a Feature\n deleteAll:\n description: The function used to delete all Feature\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Feature\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Feature:\n title: Feature\n x-dcl-id: projects/{{project}}/locations/{{location}}/features/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Feature resource was created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. When the Feature resource was deleted.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: GCP labels for this Feature.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The full, unique name of this Feature resource\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceState:\n type: object\n x-dcl-go-name: ResourceState\n x-dcl-go-type: FeatureResourceState\n readOnly: true\n description: State of the Feature resource itself.\n x-kubernetes-immutable: true\n properties:\n hasResources:\n type: boolean\n x-dcl-go-name: HasResources\n readOnly: true\n description: Whether this Feature has outstanding resources that need\n to be cleaned up before it can be disabled.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: FeatureResourceStateStateEnum\n readOnly: true\n description: 'The current state of the Feature resource in the Hub API.\n Possible values: STATE_UNSPECIFIED, ENABLING, ACTIVE, DISABLING, UPDATING,\n SERVICE_UPDATING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLING\n - ACTIVE\n - DISABLING\n - UPDATING\n - SERVICE_UPDATING\n spec:\n type: object\n x-dcl-go-name: Spec\n x-dcl-go-type: FeatureSpec\n description: Optional. Hub-wide Feature configuration. If this Feature does\n not support any Hub-wide configuration, this field may be unused.\n properties:\n cloudauditlogging:\n type: object\n x-dcl-go-name: Cloudauditlogging\n x-dcl-go-type: FeatureSpecCloudauditlogging\n description: Cloud Audit Logging-specific spec.\n properties:\n allowlistedServiceAccounts:\n type: array\n x-dcl-go-name: AllowlistedServiceAccounts\n description: Service account that should be allowlisted to send\n the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com.\n These accounts must already exist, but do not need to have any\n permissions granted to them. The customer's entitlements will\n be checked prior to allowlisting (i.e. the customer must be an\n Anthos customer.)\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n multiclusteringress:\n type: object\n x-dcl-go-name: Multiclusteringress\n x-dcl-go-type: FeatureSpecMulticlusteringress\n description: Multicluster Ingress-specific spec.\n required:\n - configMembership\n properties:\n configMembership:\n type: string\n x-dcl-go-name: ConfigMembership\n description: 'Fully-qualified Membership name which hosts the MultiClusterIngress\n CRD. Example: `projects/foo-proj/locations/global/memberships/bar`'\n x-dcl-references:\n - resource: Gkehub/Membership\n field: name\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: FeatureState\n readOnly: true\n description: Output only. The Hub-wide Feature state\n x-kubernetes-immutable: true\n properties:\n servicemesh:\n type: object\n x-dcl-go-name: Servicemesh\n x-dcl-go-type: FeatureStateServicemesh\n readOnly: true\n description: Service Mesh-specific state.\n x-kubernetes-immutable: true\n properties:\n analysisMessages:\n type: array\n x-dcl-go-name: AnalysisMessages\n readOnly: true\n description: Output only. Results of running Service Mesh analyzers.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: FeatureStateServicemeshAnalysisMessages\n properties:\n args:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Args\n readOnly: true\n description: A UI can combine these args with a template (based\n on messageBase.type) to produce an internationalized message.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A human readable description of what the error\n means. It is suitable for non-internationalize display purposes.\n x-kubernetes-immutable: true\n messageBase:\n type: object\n x-dcl-go-name: MessageBase\n x-dcl-go-type: FeatureStateServicemeshAnalysisMessagesMessageBase\n readOnly: true\n description: Details common to all types of Istio and ServiceMesh\n analysis messages.\n x-kubernetes-immutable: true\n properties:\n documentationUrl:\n type: string\n x-dcl-go-name: DocumentationUrl\n readOnly: true\n description: A url pointing to the Service Mesh or Istio\n documentation for this specific error type.\n x-kubernetes-immutable: true\n level:\n type: string\n x-dcl-go-name: Level\n x-dcl-go-type: FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnum\n readOnly: true\n description: 'Represents how severe a message is. Possible\n values: LEVEL_UNSPECIFIED, ERROR, WARNING, INFO'\n x-kubernetes-immutable: true\n enum:\n - LEVEL_UNSPECIFIED\n - ERROR\n - WARNING\n - INFO\n type:\n type: object\n x-dcl-go-name: Type\n x-dcl-go-type: FeatureStateServicemeshAnalysisMessagesMessageBaseType\n readOnly: true\n description: Represents the specific type of a message.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n readOnly: true\n description: A 7 character code matching ^IST[0-9]{4}$\n or ^ASM[0-9]{4}$, intended to uniquely identify\n the message type. (e.g. \"IST0001\" is mapped to the\n \"InternalError\" message type.)\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n readOnly: true\n description: A human-readable name for the message\n type. e.g. \"InternalError\", \"PodMissingProxy\". This\n should be the same for all messages of the same\n type. (This corresponds to the name field in open-source\n Istio.)\n x-kubernetes-immutable: true\n resourcePaths:\n type: array\n x-dcl-go-name: ResourcePaths\n readOnly: true\n description: 'A list of strings specifying the resource identifiers\n that were the cause of message generation. A \"path\" here\n may be: * MEMBERSHIP_ID if the cause is a specific member\n cluster * MEMBERSHIP_ID/(NAMESPACE/)?RESOURCETYPE/NAME if\n the cause is a resource in a cluster'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: FeatureStateState\n readOnly: true\n description: Output only. The \"running state\" of the Feature in this\n Hub.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: FeatureStateStateCodeEnum\n readOnly: true\n description: 'The high-level, machine-readable status of this Feature.\n Possible values: CODE_UNSPECIFIED, OK, WARNING, ERROR'\n x-kubernetes-immutable: true\n enum:\n - CODE_UNSPECIFIED\n - OK\n - WARNING\n - ERROR\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A human-readable description of the current status.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: 'The time this status and any related Feature-specific\n details were updated. A timestamp in RFC3339 UTC \"Zulu\" format,\n with nanosecond resolution and up to nine fractional digits. Examples:\n \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\"'\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Feature resource was last updated.\n x-kubernetes-immutable: true\n") -// 13879 bytes -// MD5: fd8606c66e6bdf4d93448121a05a5ba3 +// 13904 bytes +// MD5: 9c6f491855476367c778a32e923afec1 diff --git a/services/google/gkehub/alpha/feature_membership.yaml b/services/google/gkehub/alpha/feature_membership.yaml index 772c3f2299..16fdd687ee 100755 --- a/services/google/gkehub/alpha/feature_membership.yaml +++ b/services/google/gkehub/alpha/feature_membership.yaml @@ -15,6 +15,7 @@ info: title: GkeHub/FeatureMembership description: The GkeHub FeatureMembership resource x-dcl-struct-name: FeatureMembership + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-mutex: '{{project}}/{{location}}/{{feature}}' paths: diff --git a/services/google/gkehub/alpha/feature_membership_alpha_yaml_embed.go b/services/google/gkehub/alpha/feature_membership_alpha_yaml_embed.go index bea4df382b..8dcf7357c9 100755 --- a/services/google/gkehub/alpha/feature_membership_alpha_yaml_embed.go +++ b/services/google/gkehub/alpha/feature_membership_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/alpha/feature_membership.yaml -var YAML_feature_membership = []byte("info:\n title: GkeHub/FeatureMembership\n description: The GkeHub FeatureMembership resource\n x-dcl-struct-name: FeatureMembership\n x-dcl-has-iam: false\n x-dcl-mutex: '{{project}}/{{location}}/{{feature}}'\npaths:\n get:\n description: The function used to get information about a FeatureMembership\n parameters:\n - name: FeatureMembership\n required: true\n description: A full instance of a FeatureMembership\n apply:\n description: The function used to apply information about a FeatureMembership\n parameters:\n - name: FeatureMembership\n required: true\n description: A full instance of a FeatureMembership\n delete:\n description: The function used to delete a FeatureMembership\n parameters:\n - name: FeatureMembership\n required: true\n description: A full instance of a FeatureMembership\n deleteAll:\n description: The function used to delete all FeatureMembership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: feature\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FeatureMembership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: feature\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FeatureMembership:\n title: FeatureMembership\n x-dcl-id: projects/{{project}}/locations/{{location}}/features/{{feature}}/memberships/{{membership}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - configmanagement\n - project\n - location\n - feature\n - membership\n properties:\n configmanagement:\n type: object\n x-dcl-go-name: Configmanagement\n x-dcl-go-type: FeatureMembershipConfigmanagement\n description: Config Management-specific spec.\n properties:\n binauthz:\n type: object\n x-dcl-go-name: Binauthz\n x-dcl-go-type: FeatureMembershipConfigmanagementBinauthz\n description: Binauthz configuration for the cluster.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether binauthz is enabled in this cluster.\n configSync:\n type: object\n x-dcl-go-name: ConfigSync\n x-dcl-go-type: FeatureMembershipConfigmanagementConfigSync\n description: Config Sync configuration for the cluster.\n x-dcl-send-empty: true\n properties:\n git:\n type: object\n x-dcl-go-name: Git\n x-dcl-go-type: FeatureMembershipConfigmanagementConfigSyncGit\n properties:\n gcpServiceAccountEmail:\n type: string\n x-dcl-go-name: GcpServiceAccountEmail\n description: The GCP Service Account Email used for auth when\n secretType is gcpServiceAccount.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n httpsProxy:\n type: string\n x-dcl-go-name: HttpsProxy\n description: URL for the HTTPS proxy to be used when communicating\n with the Git repo.\n policyDir:\n type: string\n x-dcl-go-name: PolicyDir\n description: 'The path within the Git repository that represents\n the top level of the repo to sync. Default: the root directory\n of the repository.'\n secretType:\n type: string\n x-dcl-go-name: SecretType\n description: Type of secret configured for access to the Git\n repo.\n syncBranch:\n type: string\n x-dcl-go-name: SyncBranch\n description: 'The branch of the repository to sync from. Default:\n master.'\n syncRepo:\n type: string\n x-dcl-go-name: SyncRepo\n description: The URL of the Git repository to use as the source\n of truth.\n syncRev:\n type: string\n x-dcl-go-name: SyncRev\n description: Git revision (tag or hash) to check out. Default\n HEAD.\n syncWaitSecs:\n type: string\n x-dcl-go-name: SyncWaitSecs\n description: 'Period in seconds between consecutive syncs. Default:\n 15.'\n preventDrift:\n type: boolean\n x-dcl-go-name: PreventDrift\n description: Set to true to enable the Config Sync admission webhook\n to prevent drifts. If set to `false`, disables the Config Sync\n admission webhook and does not prevent drifts.\n x-dcl-server-default: true\n sourceFormat:\n type: string\n x-dcl-go-name: SourceFormat\n description: Specifies whether the Config Sync Repo is in \"hierarchical\"\n or \"unstructured\" mode.\n hierarchyController:\n type: object\n x-dcl-go-name: HierarchyController\n x-dcl-go-type: FeatureMembershipConfigmanagementHierarchyController\n description: Hierarchy Controller configuration for the cluster.\n properties:\n enableHierarchicalResourceQuota:\n type: boolean\n x-dcl-go-name: EnableHierarchicalResourceQuota\n description: Whether hierarchical resource quota is enabled in this\n cluster.\n enablePodTreeLabels:\n type: boolean\n x-dcl-go-name: EnablePodTreeLabels\n description: Whether pod tree labels are enabled in this cluster.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether Hierarchy Controller is enabled in this cluster.\n policyController:\n type: object\n x-dcl-go-name: PolicyController\n x-dcl-go-type: FeatureMembershipConfigmanagementPolicyController\n description: Policy Controller configuration for the cluster.\n properties:\n auditIntervalSeconds:\n type: string\n x-dcl-go-name: AuditIntervalSeconds\n description: Sets the interval for Policy Controller Audit Scans\n (in seconds). When set to 0, this disables audit functionality\n altogether.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Enables the installation of Policy Controller. If false,\n the rest of PolicyController fields take no effect.\n exemptableNamespaces:\n type: array\n x-dcl-go-name: ExemptableNamespaces\n description: The set of namespaces that are excluded from Policy\n Controller checks. Namespaces do not need to currently exist on\n the cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n logDeniesEnabled:\n type: boolean\n x-dcl-go-name: LogDeniesEnabled\n description: Logs all denies and dry run failures.\n referentialRulesEnabled:\n type: boolean\n x-dcl-go-name: ReferentialRulesEnabled\n description: Enables the ability to use Constraint Templates that\n reference to objects other than the object currently being evaluated.\n templateLibraryInstalled:\n type: boolean\n x-dcl-go-name: TemplateLibraryInstalled\n description: Installs the default template library along with Policy\n Controller.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional. Version of ACM to install. Defaults to the latest\n version.\n x-dcl-server-default: true\n feature:\n type: string\n x-dcl-go-name: Feature\n description: The name of the feature\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkehub/Feature\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the feature\n x-kubernetes-immutable: true\n membership:\n type: string\n x-dcl-go-name: Membership\n description: The name of the membership\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkehub/Membership\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the feature\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_feature_membership = []byte("info:\n title: GkeHub/FeatureMembership\n description: The GkeHub FeatureMembership resource\n x-dcl-struct-name: FeatureMembership\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-mutex: '{{project}}/{{location}}/{{feature}}'\npaths:\n get:\n description: The function used to get information about a FeatureMembership\n parameters:\n - name: FeatureMembership\n required: true\n description: A full instance of a FeatureMembership\n apply:\n description: The function used to apply information about a FeatureMembership\n parameters:\n - name: FeatureMembership\n required: true\n description: A full instance of a FeatureMembership\n delete:\n description: The function used to delete a FeatureMembership\n parameters:\n - name: FeatureMembership\n required: true\n description: A full instance of a FeatureMembership\n deleteAll:\n description: The function used to delete all FeatureMembership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: feature\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FeatureMembership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: feature\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FeatureMembership:\n title: FeatureMembership\n x-dcl-id: projects/{{project}}/locations/{{location}}/features/{{feature}}/memberships/{{membership}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - configmanagement\n - project\n - location\n - feature\n - membership\n properties:\n configmanagement:\n type: object\n x-dcl-go-name: Configmanagement\n x-dcl-go-type: FeatureMembershipConfigmanagement\n description: Config Management-specific spec.\n properties:\n binauthz:\n type: object\n x-dcl-go-name: Binauthz\n x-dcl-go-type: FeatureMembershipConfigmanagementBinauthz\n description: Binauthz configuration for the cluster.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether binauthz is enabled in this cluster.\n configSync:\n type: object\n x-dcl-go-name: ConfigSync\n x-dcl-go-type: FeatureMembershipConfigmanagementConfigSync\n description: Config Sync configuration for the cluster.\n x-dcl-send-empty: true\n properties:\n git:\n type: object\n x-dcl-go-name: Git\n x-dcl-go-type: FeatureMembershipConfigmanagementConfigSyncGit\n properties:\n gcpServiceAccountEmail:\n type: string\n x-dcl-go-name: GcpServiceAccountEmail\n description: The GCP Service Account Email used for auth when\n secretType is gcpServiceAccount.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n httpsProxy:\n type: string\n x-dcl-go-name: HttpsProxy\n description: URL for the HTTPS proxy to be used when communicating\n with the Git repo.\n policyDir:\n type: string\n x-dcl-go-name: PolicyDir\n description: 'The path within the Git repository that represents\n the top level of the repo to sync. Default: the root directory\n of the repository.'\n secretType:\n type: string\n x-dcl-go-name: SecretType\n description: Type of secret configured for access to the Git\n repo.\n syncBranch:\n type: string\n x-dcl-go-name: SyncBranch\n description: 'The branch of the repository to sync from. Default:\n master.'\n syncRepo:\n type: string\n x-dcl-go-name: SyncRepo\n description: The URL of the Git repository to use as the source\n of truth.\n syncRev:\n type: string\n x-dcl-go-name: SyncRev\n description: Git revision (tag or hash) to check out. Default\n HEAD.\n syncWaitSecs:\n type: string\n x-dcl-go-name: SyncWaitSecs\n description: 'Period in seconds between consecutive syncs. Default:\n 15.'\n preventDrift:\n type: boolean\n x-dcl-go-name: PreventDrift\n description: Set to true to enable the Config Sync admission webhook\n to prevent drifts. If set to `false`, disables the Config Sync\n admission webhook and does not prevent drifts.\n x-dcl-server-default: true\n sourceFormat:\n type: string\n x-dcl-go-name: SourceFormat\n description: Specifies whether the Config Sync Repo is in \"hierarchical\"\n or \"unstructured\" mode.\n hierarchyController:\n type: object\n x-dcl-go-name: HierarchyController\n x-dcl-go-type: FeatureMembershipConfigmanagementHierarchyController\n description: Hierarchy Controller configuration for the cluster.\n properties:\n enableHierarchicalResourceQuota:\n type: boolean\n x-dcl-go-name: EnableHierarchicalResourceQuota\n description: Whether hierarchical resource quota is enabled in this\n cluster.\n enablePodTreeLabels:\n type: boolean\n x-dcl-go-name: EnablePodTreeLabels\n description: Whether pod tree labels are enabled in this cluster.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether Hierarchy Controller is enabled in this cluster.\n policyController:\n type: object\n x-dcl-go-name: PolicyController\n x-dcl-go-type: FeatureMembershipConfigmanagementPolicyController\n description: Policy Controller configuration for the cluster.\n properties:\n auditIntervalSeconds:\n type: string\n x-dcl-go-name: AuditIntervalSeconds\n description: Sets the interval for Policy Controller Audit Scans\n (in seconds). When set to 0, this disables audit functionality\n altogether.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Enables the installation of Policy Controller. If false,\n the rest of PolicyController fields take no effect.\n exemptableNamespaces:\n type: array\n x-dcl-go-name: ExemptableNamespaces\n description: The set of namespaces that are excluded from Policy\n Controller checks. Namespaces do not need to currently exist on\n the cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n logDeniesEnabled:\n type: boolean\n x-dcl-go-name: LogDeniesEnabled\n description: Logs all denies and dry run failures.\n referentialRulesEnabled:\n type: boolean\n x-dcl-go-name: ReferentialRulesEnabled\n description: Enables the ability to use Constraint Templates that\n reference to objects other than the object currently being evaluated.\n templateLibraryInstalled:\n type: boolean\n x-dcl-go-name: TemplateLibraryInstalled\n description: Installs the default template library along with Policy\n Controller.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional. Version of ACM to install. Defaults to the latest\n version.\n x-dcl-server-default: true\n feature:\n type: string\n x-dcl-go-name: Feature\n description: The name of the feature\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkehub/Feature\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the feature\n x-kubernetes-immutable: true\n membership:\n type: string\n x-dcl-go-name: Membership\n description: The name of the membership\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkehub/Membership\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the feature\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 10108 bytes -// MD5: 0adf9f8acf9c5a78cedeb21d066af05c +// 10133 bytes +// MD5: ca0b954b28849126b1c9cd17636b5b12 diff --git a/services/google/gkehub/alpha/feature_membership_schema.go b/services/google/gkehub/alpha/feature_membership_schema.go index 9a4107488b..0ec95fc398 100755 --- a/services/google/gkehub/alpha/feature_membership_schema.go +++ b/services/google/gkehub/alpha/feature_membership_schema.go @@ -23,6 +23,7 @@ func DCLFeatureMembershipSchema() *dcl.Schema { Title: "GkeHub/FeatureMembership", Description: "The GkeHub FeatureMembership resource", StructName: "FeatureMembership", + HasCreate: true, Mutex: "{{project}}/{{location}}/{{feature}}", }, Paths: &dcl.Paths{ diff --git a/services/google/gkehub/alpha/feature_schema.go b/services/google/gkehub/alpha/feature_schema.go index dbcaabed49..6e5c218e71 100755 --- a/services/google/gkehub/alpha/feature_schema.go +++ b/services/google/gkehub/alpha/feature_schema.go @@ -23,6 +23,7 @@ func DCLFeatureSchema() *dcl.Schema { Title: "GkeHub/Feature", Description: "The GkeHub Feature resource", StructName: "Feature", + HasCreate: true, Mutex: "{{project}}/{{location}}/{{feature}}", }, Paths: &dcl.Paths{ diff --git a/services/google/gkehub/alpha/fleet.yaml b/services/google/gkehub/alpha/fleet.yaml index caeaf858b2..6c7de852ec 100755 --- a/services/google/gkehub/alpha/fleet.yaml +++ b/services/google/gkehub/alpha/fleet.yaml @@ -15,6 +15,7 @@ info: title: GkeHub/Fleet description: The GkeHub Fleet resource x-dcl-struct-name: Fleet + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/gkehub/alpha/fleet_alpha_yaml_embed.go b/services/google/gkehub/alpha/fleet_alpha_yaml_embed.go index 48a1f498ae..660301476b 100755 --- a/services/google/gkehub/alpha/fleet_alpha_yaml_embed.go +++ b/services/google/gkehub/alpha/fleet_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/alpha/fleet.yaml -var YAML_fleet = []byte("info:\n title: GkeHub/Fleet\n description: The GkeHub Fleet resource\n x-dcl-struct-name: Fleet\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Fleet\n parameters:\n - name: Fleet\n required: true\n description: A full instance of a Fleet\n apply:\n description: The function used to apply information about a Fleet\n parameters:\n - name: Fleet\n required: true\n description: A full instance of a Fleet\n delete:\n description: The function used to delete a Fleet\n parameters:\n - name: Fleet\n required: true\n description: A full instance of a Fleet\ncomponents:\n schemas:\n Fleet:\n title: Fleet\n x-dcl-id: projects/{{project}}/locations/{{location}}/fleets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Fleet was created.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'Optional. A user-assigned display name of the Fleet. When\n present, it must be between 4 to 30 characters. Allowed characters are:\n lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote,\n space, and exclamation point. Example: `Production Fleet`'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n managedNamespaces:\n type: boolean\n x-dcl-go-name: ManagedNamespaces\n description: Optional. If true, namespaces must be explicitly declared in\n a `FleetNamespace` object in order to use Fleet Features.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The full, unique resource name of this fleet in\n the format of `projects/{project}/locations/{location}/fleets/{fleet}`.\n Each GCP project can have at most one fleet resource, named \"default\".\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Google-generated UUID for this resource. This\n is unique across all Fleet resources. If a Fleet resource is deleted and\n another resource with the same name is created, it gets a different uid.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Fleet was last updated.\n x-kubernetes-immutable: true\n") +var YAML_fleet = []byte("info:\n title: GkeHub/Fleet\n description: The GkeHub Fleet resource\n x-dcl-struct-name: Fleet\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Fleet\n parameters:\n - name: Fleet\n required: true\n description: A full instance of a Fleet\n apply:\n description: The function used to apply information about a Fleet\n parameters:\n - name: Fleet\n required: true\n description: A full instance of a Fleet\n delete:\n description: The function used to delete a Fleet\n parameters:\n - name: Fleet\n required: true\n description: A full instance of a Fleet\ncomponents:\n schemas:\n Fleet:\n title: Fleet\n x-dcl-id: projects/{{project}}/locations/{{location}}/fleets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Fleet was created.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'Optional. A user-assigned display name of the Fleet. When\n present, it must be between 4 to 30 characters. Allowed characters are:\n lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote,\n space, and exclamation point. Example: `Production Fleet`'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n managedNamespaces:\n type: boolean\n x-dcl-go-name: ManagedNamespaces\n description: Optional. If true, namespaces must be explicitly declared in\n a `FleetNamespace` object in order to use Fleet Features.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The full, unique resource name of this fleet in\n the format of `projects/{project}/locations/{location}/fleets/{fleet}`.\n Each GCP project can have at most one fleet resource, named \"default\".\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Google-generated UUID for this resource. This\n is unique across all Fleet resources. If a Fleet resource is deleted and\n another resource with the same name is created, it gets a different uid.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Fleet was last updated.\n x-kubernetes-immutable: true\n") -// 3303 bytes -// MD5: 1ef510e6855f74808c4bfd408192f3f3 +// 3328 bytes +// MD5: acf9b780d89dbce565fb6e0b224e95b6 diff --git a/services/google/gkehub/alpha/fleet_schema.go b/services/google/gkehub/alpha/fleet_schema.go index c501eb1816..26e7b7e021 100755 --- a/services/google/gkehub/alpha/fleet_schema.go +++ b/services/google/gkehub/alpha/fleet_schema.go @@ -23,6 +23,7 @@ func DCLFleetSchema() *dcl.Schema { Title: "GkeHub/Fleet", Description: "The GkeHub Fleet resource", StructName: "Fleet", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/gkehub/alpha/membership.yaml b/services/google/gkehub/alpha/membership.yaml index c9045bdc2f..4d9317f0f4 100755 --- a/services/google/gkehub/alpha/membership.yaml +++ b/services/google/gkehub/alpha/membership.yaml @@ -15,6 +15,7 @@ info: title: GkeHub/Membership description: The GkeHub Membership resource x-dcl-struct-name: Membership + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/gkehub/alpha/membership_alpha_yaml_embed.go b/services/google/gkehub/alpha/membership_alpha_yaml_embed.go index 7396c33b1f..a0b0cde4e7 100755 --- a/services/google/gkehub/alpha/membership_alpha_yaml_embed.go +++ b/services/google/gkehub/alpha/membership_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/alpha/membership.yaml -var YAML_membership = []byte("info:\n title: GkeHub/Membership\n description: The GkeHub Membership resource\n x-dcl-struct-name: Membership\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n apply:\n description: The function used to apply information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n delete:\n description: The function used to delete a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n deleteAll:\n description: The function used to delete all Membership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Membership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Membership:\n title: Membership\n x-dcl-id: projects/{{project}}/locations/{{location}}/memberships/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n authority:\n type: object\n x-dcl-go-name: Authority\n x-dcl-go-type: MembershipAuthority\n description: 'Optional. How to identify workloads from this Membership.\n See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity'\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n readOnly: true\n description: Output only. An identity provider that reflects the `issuer`\n in the workload identity pool.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: Optional. A JSON Web Token (JWT) issuer URI. `issuer` must\n start with `https://` and be a valid URL with length <2000 characters.\n If set, then Google will allow valid OIDC tokens from this issuer\n to authenticate within the workload_identity_pool. OIDC discovery\n will be performed on this URI to validate tokens from the issuer.\n Clearing `issuer` disables Workload Identity. `issuer` cannot be directly\n modified; it must be cleared (and Workload Identity disabled) before\n using a new issuer (and re-enabling Workload Identity).\n workloadIdentityPool:\n type: string\n x-dcl-go-name: WorkloadIdentityPool\n readOnly: true\n description: 'Output only. The name of the workload identity pool in\n which `issuer` will be recognized. There is a single Workload Identity\n Pool per Hub that is shared between all Memberships that belong to\n that Hub. For a Hub hosted in: {PROJECT_ID}, the workload pool format\n is `{PROJECT_ID}.hub.id.goog`, although this is subject to change\n in newer versions of this API.'\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Membership was created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. When the Membership was deleted.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'Description of this membership, limited to 63 characters.\n Must match the regex: `*` This field is present for legacy purposes.'\n endpoint:\n type: object\n x-dcl-go-name: Endpoint\n x-dcl-go-type: MembershipEndpoint\n description: Optional. Endpoint information to reach this member.\n properties:\n gkeCluster:\n type: object\n x-dcl-go-name: GkeCluster\n x-dcl-go-type: MembershipEndpointGkeCluster\n description: Optional. GKE-specific information. Only present if this\n Membership is a GKE cluster.\n properties:\n resourceLink:\n type: string\n x-dcl-go-name: ResourceLink\n description: 'Immutable. Self-link of the GCP resource for the GKE\n cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster\n Zonal clusters are also supported.'\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n kubernetesMetadata:\n type: object\n x-dcl-go-name: KubernetesMetadata\n x-dcl-go-type: MembershipEndpointKubernetesMetadata\n readOnly: true\n description: Output only. Useful Kubernetes-specific metadata.\n properties:\n kubernetesApiServerVersion:\n type: string\n x-dcl-go-name: KubernetesApiServerVersion\n readOnly: true\n description: Output only. Kubernetes API server version string as\n reported by `/version`.\n memoryMb:\n type: integer\n format: int64\n x-dcl-go-name: MemoryMb\n readOnly: true\n description: Output only. The total memory capacity as reported\n by the sum of all Kubernetes nodes resources, defined in MB.\n nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n readOnly: true\n description: Output only. Node count as reported by Kubernetes nodes\n resources.\n nodeProviderId:\n type: string\n x-dcl-go-name: NodeProviderId\n readOnly: true\n description: Output only. Node providerID as reported by the first\n node in the list of nodes on the Kubernetes endpoint. On Kubernetes\n platforms that support zero-node clusters (like GKE-on-GCP), the\n node_count will be zero and the node_provider_id will be empty.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which these details were last\n updated. This update_time is different from the Membership-level\n update_time since EndpointDetails are updated internally for API\n consumers.\n vcpuCount:\n type: integer\n format: int64\n x-dcl-go-name: VcpuCount\n readOnly: true\n description: Output only. vCPU count as reported by Kubernetes nodes\n resources.\n kubernetesResource:\n type: object\n x-dcl-go-name: KubernetesResource\n x-dcl-go-type: MembershipEndpointKubernetesResource\n description: 'Optional. The in-cluster Kubernetes Resources that should\n be applied for a correctly registered cluster, in the steady state.\n These resources: * Ensure that the cluster is exclusively registered\n to one and only one Hub Membership. * Propagate Workload Pool Information\n available in the Membership Authority field. * Ensure proper initial\n configuration of default Hub Features.'\n properties:\n connectResources:\n type: array\n x-dcl-go-name: ConnectResources\n readOnly: true\n description: Output only. The Kubernetes resources for installing\n the GKE Connect agent This field is only populated in the Membership\n returned from a successful long-running operation from CreateMembership\n or UpdateMembership. It is not populated during normal GetMembership\n or ListMemberships requests. To get the resource manifest after\n the initial registration, the caller should make a UpdateMembership\n call with an empty field mask.\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MembershipEndpointKubernetesResourceConnectResources\n properties:\n clusterScoped:\n type: boolean\n x-dcl-go-name: ClusterScoped\n description: Whether the resource provided in the manifest\n is `cluster_scoped`. If unset, the manifest is assumed to\n be namespace scoped. This field is used for REST mapping\n when applying the resource in a cluster.\n manifest:\n type: string\n x-dcl-go-name: Manifest\n description: YAML manifest of the resource.\n membershipCrManifest:\n type: string\n x-dcl-go-name: MembershipCrManifest\n description: Input only. The YAML representation of the Membership\n CR. This field is ignored for GKE clusters where Hub can read\n the CR directly. Callers should provide the CR that is currently\n present in the cluster during CreateMembership or UpdateMembership,\n or leave this field empty if none exists. The CR manifest is used\n to validate the cluster has not been registered with another Membership.\n x-dcl-mutable-unreadable: true\n membershipResources:\n type: array\n x-dcl-go-name: MembershipResources\n readOnly: true\n description: Output only. Additional Kubernetes resources that need\n to be applied to the cluster after Membership creation, and after\n every update. This field is only populated in the Membership returned\n from a successful long-running operation from CreateMembership\n or UpdateMembership. It is not populated during normal GetMembership\n or ListMemberships requests. To get the resource manifest after\n the initial registration, the caller should make a UpdateMembership\n call with an empty field mask.\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MembershipEndpointKubernetesResourceMembershipResources\n properties:\n clusterScoped:\n type: boolean\n x-dcl-go-name: ClusterScoped\n description: Whether the resource provided in the manifest\n is `cluster_scoped`. If unset, the manifest is assumed to\n be namespace scoped. This field is used for REST mapping\n when applying the resource in a cluster.\n manifest:\n type: string\n x-dcl-go-name: Manifest\n description: YAML manifest of the resource.\n resourceOptions:\n type: object\n x-dcl-go-name: ResourceOptions\n x-dcl-go-type: MembershipEndpointKubernetesResourceResourceOptions\n description: Optional. Options for Kubernetes resource generation.\n properties:\n connectVersion:\n type: string\n x-dcl-go-name: ConnectVersion\n description: Optional. The Connect agent version to use for\n connect_resources. Defaults to the latest GKE Connect version.\n The version must be a currently supported version, obsolete\n versions will be rejected.\n v1beta1Crd:\n type: boolean\n x-dcl-go-name: V1Beta1Crd\n description: Optional. Use `apiextensions/v1beta1` instead of\n `apiextensions/v1` for CustomResourceDefinition resources.\n This option should be set for clusters with Kubernetes apiserver\n versions <1.16.\n externalId:\n type: string\n x-dcl-go-name: ExternalId\n description: 'Optional. An externally-generated and managed ID for this\n Membership. This ID may be modified after creation, but this is not recommended.\n The ID must match the regex: `*` If this Membership represents a Kubernetes\n cluster, this value should be set to the UID of the `kube-system` namespace\n object.'\n infrastructureType:\n type: string\n x-dcl-go-name: InfrastructureType\n x-dcl-go-type: MembershipInfrastructureTypeEnum\n description: 'Optional. The infrastructure type this Membership is running\n on. Possible values: INFRASTRUCTURE_TYPE_UNSPECIFIED, ON_PREM, MULTI_CLOUD'\n enum:\n - INFRASTRUCTURE_TYPE_UNSPECIFIED\n - ON_PREM\n - MULTI_CLOUD\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. GCP labels for this membership.\n lastConnectionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastConnectionTime\n readOnly: true\n description: Output only. For clusters using Connect, the timestamp of the\n most recent connection established with Google Cloud. This time is updated\n every several minutes, not continuously. For clusters that do not use\n GKE Connect, or that have never connected successfully, this field will\n be unset.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The full, unique name of this Membership resource\n in the format `projects/*/locations/*/memberships/{membership_id}`, set\n during creation. `membership_id` must be a valid RFC 1123 compliant DNS\n label: 1. At most 63 characters in length 2. It must consist of lower\n case alphanumeric characters or `-` 3. It must start and end with an alphanumeric\n character Which can be expressed as the regex: `)?`, with a maximum length\n of 63 characters.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: MembershipState\n readOnly: true\n description: Output only. State of the Membership resource.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: MembershipStateCodeEnum\n readOnly: true\n description: 'Output only. The current state of the Membership resource.\n Possible values: CODE_UNSPECIFIED, CREATING, READY, DELETING, UPDATING,\n SERVICE_UPDATING'\n x-kubernetes-immutable: true\n enum:\n - CODE_UNSPECIFIED\n - CREATING\n - READY\n - DELETING\n - UPDATING\n - SERVICE_UPDATING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. Google-generated UUID for this resource. This\n is unique across all Membership resources. If a Membership resource is\n deleted and another resource with the same name is created, it gets a\n different unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Membership was last updated.\n x-kubernetes-immutable: true\n") +var YAML_membership = []byte("info:\n title: GkeHub/Membership\n description: The GkeHub Membership resource\n x-dcl-struct-name: Membership\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n apply:\n description: The function used to apply information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n delete:\n description: The function used to delete a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n deleteAll:\n description: The function used to delete all Membership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Membership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Membership:\n title: Membership\n x-dcl-id: projects/{{project}}/locations/{{location}}/memberships/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n authority:\n type: object\n x-dcl-go-name: Authority\n x-dcl-go-type: MembershipAuthority\n description: 'Optional. How to identify workloads from this Membership.\n See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity'\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n readOnly: true\n description: Output only. An identity provider that reflects the `issuer`\n in the workload identity pool.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: Optional. A JSON Web Token (JWT) issuer URI. `issuer` must\n start with `https://` and be a valid URL with length <2000 characters.\n If set, then Google will allow valid OIDC tokens from this issuer\n to authenticate within the workload_identity_pool. OIDC discovery\n will be performed on this URI to validate tokens from the issuer.\n Clearing `issuer` disables Workload Identity. `issuer` cannot be directly\n modified; it must be cleared (and Workload Identity disabled) before\n using a new issuer (and re-enabling Workload Identity).\n workloadIdentityPool:\n type: string\n x-dcl-go-name: WorkloadIdentityPool\n readOnly: true\n description: 'Output only. The name of the workload identity pool in\n which `issuer` will be recognized. There is a single Workload Identity\n Pool per Hub that is shared between all Memberships that belong to\n that Hub. For a Hub hosted in: {PROJECT_ID}, the workload pool format\n is `{PROJECT_ID}.hub.id.goog`, although this is subject to change\n in newer versions of this API.'\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Membership was created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. When the Membership was deleted.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'Description of this membership, limited to 63 characters.\n Must match the regex: `*` This field is present for legacy purposes.'\n endpoint:\n type: object\n x-dcl-go-name: Endpoint\n x-dcl-go-type: MembershipEndpoint\n description: Optional. Endpoint information to reach this member.\n properties:\n gkeCluster:\n type: object\n x-dcl-go-name: GkeCluster\n x-dcl-go-type: MembershipEndpointGkeCluster\n description: Optional. GKE-specific information. Only present if this\n Membership is a GKE cluster.\n properties:\n resourceLink:\n type: string\n x-dcl-go-name: ResourceLink\n description: 'Immutable. Self-link of the GCP resource for the GKE\n cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster\n Zonal clusters are also supported.'\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n kubernetesMetadata:\n type: object\n x-dcl-go-name: KubernetesMetadata\n x-dcl-go-type: MembershipEndpointKubernetesMetadata\n readOnly: true\n description: Output only. Useful Kubernetes-specific metadata.\n properties:\n kubernetesApiServerVersion:\n type: string\n x-dcl-go-name: KubernetesApiServerVersion\n readOnly: true\n description: Output only. Kubernetes API server version string as\n reported by `/version`.\n memoryMb:\n type: integer\n format: int64\n x-dcl-go-name: MemoryMb\n readOnly: true\n description: Output only. The total memory capacity as reported\n by the sum of all Kubernetes nodes resources, defined in MB.\n nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n readOnly: true\n description: Output only. Node count as reported by Kubernetes nodes\n resources.\n nodeProviderId:\n type: string\n x-dcl-go-name: NodeProviderId\n readOnly: true\n description: Output only. Node providerID as reported by the first\n node in the list of nodes on the Kubernetes endpoint. On Kubernetes\n platforms that support zero-node clusters (like GKE-on-GCP), the\n node_count will be zero and the node_provider_id will be empty.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which these details were last\n updated. This update_time is different from the Membership-level\n update_time since EndpointDetails are updated internally for API\n consumers.\n vcpuCount:\n type: integer\n format: int64\n x-dcl-go-name: VcpuCount\n readOnly: true\n description: Output only. vCPU count as reported by Kubernetes nodes\n resources.\n kubernetesResource:\n type: object\n x-dcl-go-name: KubernetesResource\n x-dcl-go-type: MembershipEndpointKubernetesResource\n description: 'Optional. The in-cluster Kubernetes Resources that should\n be applied for a correctly registered cluster, in the steady state.\n These resources: * Ensure that the cluster is exclusively registered\n to one and only one Hub Membership. * Propagate Workload Pool Information\n available in the Membership Authority field. * Ensure proper initial\n configuration of default Hub Features.'\n properties:\n connectResources:\n type: array\n x-dcl-go-name: ConnectResources\n readOnly: true\n description: Output only. The Kubernetes resources for installing\n the GKE Connect agent This field is only populated in the Membership\n returned from a successful long-running operation from CreateMembership\n or UpdateMembership. It is not populated during normal GetMembership\n or ListMemberships requests. To get the resource manifest after\n the initial registration, the caller should make a UpdateMembership\n call with an empty field mask.\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MembershipEndpointKubernetesResourceConnectResources\n properties:\n clusterScoped:\n type: boolean\n x-dcl-go-name: ClusterScoped\n description: Whether the resource provided in the manifest\n is `cluster_scoped`. If unset, the manifest is assumed to\n be namespace scoped. This field is used for REST mapping\n when applying the resource in a cluster.\n manifest:\n type: string\n x-dcl-go-name: Manifest\n description: YAML manifest of the resource.\n membershipCrManifest:\n type: string\n x-dcl-go-name: MembershipCrManifest\n description: Input only. The YAML representation of the Membership\n CR. This field is ignored for GKE clusters where Hub can read\n the CR directly. Callers should provide the CR that is currently\n present in the cluster during CreateMembership or UpdateMembership,\n or leave this field empty if none exists. The CR manifest is used\n to validate the cluster has not been registered with another Membership.\n x-dcl-mutable-unreadable: true\n membershipResources:\n type: array\n x-dcl-go-name: MembershipResources\n readOnly: true\n description: Output only. Additional Kubernetes resources that need\n to be applied to the cluster after Membership creation, and after\n every update. This field is only populated in the Membership returned\n from a successful long-running operation from CreateMembership\n or UpdateMembership. It is not populated during normal GetMembership\n or ListMemberships requests. To get the resource manifest after\n the initial registration, the caller should make a UpdateMembership\n call with an empty field mask.\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MembershipEndpointKubernetesResourceMembershipResources\n properties:\n clusterScoped:\n type: boolean\n x-dcl-go-name: ClusterScoped\n description: Whether the resource provided in the manifest\n is `cluster_scoped`. If unset, the manifest is assumed to\n be namespace scoped. This field is used for REST mapping\n when applying the resource in a cluster.\n manifest:\n type: string\n x-dcl-go-name: Manifest\n description: YAML manifest of the resource.\n resourceOptions:\n type: object\n x-dcl-go-name: ResourceOptions\n x-dcl-go-type: MembershipEndpointKubernetesResourceResourceOptions\n description: Optional. Options for Kubernetes resource generation.\n properties:\n connectVersion:\n type: string\n x-dcl-go-name: ConnectVersion\n description: Optional. The Connect agent version to use for\n connect_resources. Defaults to the latest GKE Connect version.\n The version must be a currently supported version, obsolete\n versions will be rejected.\n v1beta1Crd:\n type: boolean\n x-dcl-go-name: V1Beta1Crd\n description: Optional. Use `apiextensions/v1beta1` instead of\n `apiextensions/v1` for CustomResourceDefinition resources.\n This option should be set for clusters with Kubernetes apiserver\n versions <1.16.\n externalId:\n type: string\n x-dcl-go-name: ExternalId\n description: 'Optional. An externally-generated and managed ID for this\n Membership. This ID may be modified after creation, but this is not recommended.\n The ID must match the regex: `*` If this Membership represents a Kubernetes\n cluster, this value should be set to the UID of the `kube-system` namespace\n object.'\n infrastructureType:\n type: string\n x-dcl-go-name: InfrastructureType\n x-dcl-go-type: MembershipInfrastructureTypeEnum\n description: 'Optional. The infrastructure type this Membership is running\n on. Possible values: INFRASTRUCTURE_TYPE_UNSPECIFIED, ON_PREM, MULTI_CLOUD'\n enum:\n - INFRASTRUCTURE_TYPE_UNSPECIFIED\n - ON_PREM\n - MULTI_CLOUD\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. GCP labels for this membership.\n lastConnectionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastConnectionTime\n readOnly: true\n description: Output only. For clusters using Connect, the timestamp of the\n most recent connection established with Google Cloud. This time is updated\n every several minutes, not continuously. For clusters that do not use\n GKE Connect, or that have never connected successfully, this field will\n be unset.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The full, unique name of this Membership resource\n in the format `projects/*/locations/*/memberships/{membership_id}`, set\n during creation. `membership_id` must be a valid RFC 1123 compliant DNS\n label: 1. At most 63 characters in length 2. It must consist of lower\n case alphanumeric characters or `-` 3. It must start and end with an alphanumeric\n character Which can be expressed as the regex: `)?`, with a maximum length\n of 63 characters.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: MembershipState\n readOnly: true\n description: Output only. State of the Membership resource.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: MembershipStateCodeEnum\n readOnly: true\n description: 'Output only. The current state of the Membership resource.\n Possible values: CODE_UNSPECIFIED, CREATING, READY, DELETING, UPDATING,\n SERVICE_UPDATING'\n x-kubernetes-immutable: true\n enum:\n - CODE_UNSPECIFIED\n - CREATING\n - READY\n - DELETING\n - UPDATING\n - SERVICE_UPDATING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. Google-generated UUID for this resource. This\n is unique across all Membership resources. If a Membership resource is\n deleted and another resource with the same name is created, it gets a\n different unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Membership was last updated.\n x-kubernetes-immutable: true\n") -// 17779 bytes -// MD5: cd20383517ac1eae70e4312abd241e48 +// 17804 bytes +// MD5: ea1d3a0ee12c016d2fc490f7b8c850fa diff --git a/services/google/gkehub/alpha/membership_schema.go b/services/google/gkehub/alpha/membership_schema.go index ff0c5fccfe..0eda875d10 100755 --- a/services/google/gkehub/alpha/membership_schema.go +++ b/services/google/gkehub/alpha/membership_schema.go @@ -23,6 +23,7 @@ func DCLMembershipSchema() *dcl.Schema { Title: "GkeHub/Membership", Description: "The GkeHub Membership resource", StructName: "Membership", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/gkehub/beta/feature.yaml b/services/google/gkehub/beta/feature.yaml index 894ea15998..378c4ed106 100755 --- a/services/google/gkehub/beta/feature.yaml +++ b/services/google/gkehub/beta/feature.yaml @@ -15,6 +15,7 @@ info: title: GkeHub/Feature description: The GkeHub Feature resource x-dcl-struct-name: Feature + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-mutex: '{{project}}/{{location}}/{{feature}}' paths: diff --git a/services/google/gkehub/beta/feature_beta_yaml_embed.go b/services/google/gkehub/beta/feature_beta_yaml_embed.go index e28588373c..9f2b14a5c4 100755 --- a/services/google/gkehub/beta/feature_beta_yaml_embed.go +++ b/services/google/gkehub/beta/feature_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/beta/feature.yaml -var YAML_feature = []byte("info:\n title: GkeHub/Feature\n description: The GkeHub Feature resource\n x-dcl-struct-name: Feature\n x-dcl-has-iam: false\n x-dcl-mutex: '{{project}}/{{location}}/{{feature}}'\npaths:\n get:\n description: The function used to get information about a Feature\n parameters:\n - name: Feature\n required: true\n description: A full instance of a Feature\n apply:\n description: The function used to apply information about a Feature\n parameters:\n - name: Feature\n required: true\n description: A full instance of a Feature\n delete:\n description: The function used to delete a Feature\n parameters:\n - name: Feature\n required: true\n description: A full instance of a Feature\n deleteAll:\n description: The function used to delete all Feature\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Feature\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Feature:\n title: Feature\n x-dcl-id: projects/{{project}}/locations/{{location}}/features/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Feature resource was created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. When the Feature resource was deleted.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: GCP labels for this Feature.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The full, unique name of this Feature resource\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceState:\n type: object\n x-dcl-go-name: ResourceState\n x-dcl-go-type: FeatureResourceState\n readOnly: true\n description: State of the Feature resource itself.\n x-kubernetes-immutable: true\n properties:\n hasResources:\n type: boolean\n x-dcl-go-name: HasResources\n readOnly: true\n description: Whether this Feature has outstanding resources that need\n to be cleaned up before it can be disabled.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: FeatureResourceStateStateEnum\n readOnly: true\n description: 'The current state of the Feature resource in the Hub API.\n Possible values: STATE_UNSPECIFIED, ENABLING, ACTIVE, DISABLING, UPDATING,\n SERVICE_UPDATING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLING\n - ACTIVE\n - DISABLING\n - UPDATING\n - SERVICE_UPDATING\n spec:\n type: object\n x-dcl-go-name: Spec\n x-dcl-go-type: FeatureSpec\n description: Optional. Hub-wide Feature configuration. If this Feature does\n not support any Hub-wide configuration, this field may be unused.\n properties:\n multiclusteringress:\n type: object\n x-dcl-go-name: Multiclusteringress\n x-dcl-go-type: FeatureSpecMulticlusteringress\n description: Multicluster Ingress-specific spec.\n required:\n - configMembership\n properties:\n configMembership:\n type: string\n x-dcl-go-name: ConfigMembership\n description: 'Fully-qualified Membership name which hosts the MultiClusterIngress\n CRD. Example: `projects/foo-proj/locations/global/memberships/bar`'\n x-dcl-references:\n - resource: Gkehub/Membership\n field: name\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: FeatureState\n readOnly: true\n description: Output only. The Hub-wide Feature state\n x-kubernetes-immutable: true\n properties:\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: FeatureStateState\n readOnly: true\n description: Output only. The \"running state\" of the Feature in this\n Hub.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: FeatureStateStateCodeEnum\n readOnly: true\n description: 'The high-level, machine-readable status of this Feature.\n Possible values: CODE_UNSPECIFIED, OK, WARNING, ERROR'\n x-kubernetes-immutable: true\n enum:\n - CODE_UNSPECIFIED\n - OK\n - WARNING\n - ERROR\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A human-readable description of the current status.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: 'The time this status and any related Feature-specific\n details were updated. A timestamp in RFC3339 UTC \"Zulu\" format,\n with nanosecond resolution and up to nine fractional digits. Examples:\n \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\"'\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Feature resource was last updated.\n x-kubernetes-immutable: true\n") +var YAML_feature = []byte("info:\n title: GkeHub/Feature\n description: The GkeHub Feature resource\n x-dcl-struct-name: Feature\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-mutex: '{{project}}/{{location}}/{{feature}}'\npaths:\n get:\n description: The function used to get information about a Feature\n parameters:\n - name: Feature\n required: true\n description: A full instance of a Feature\n apply:\n description: The function used to apply information about a Feature\n parameters:\n - name: Feature\n required: true\n description: A full instance of a Feature\n delete:\n description: The function used to delete a Feature\n parameters:\n - name: Feature\n required: true\n description: A full instance of a Feature\n deleteAll:\n description: The function used to delete all Feature\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Feature\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Feature:\n title: Feature\n x-dcl-id: projects/{{project}}/locations/{{location}}/features/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Feature resource was created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. When the Feature resource was deleted.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: GCP labels for this Feature.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The full, unique name of this Feature resource\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceState:\n type: object\n x-dcl-go-name: ResourceState\n x-dcl-go-type: FeatureResourceState\n readOnly: true\n description: State of the Feature resource itself.\n x-kubernetes-immutable: true\n properties:\n hasResources:\n type: boolean\n x-dcl-go-name: HasResources\n readOnly: true\n description: Whether this Feature has outstanding resources that need\n to be cleaned up before it can be disabled.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: FeatureResourceStateStateEnum\n readOnly: true\n description: 'The current state of the Feature resource in the Hub API.\n Possible values: STATE_UNSPECIFIED, ENABLING, ACTIVE, DISABLING, UPDATING,\n SERVICE_UPDATING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLING\n - ACTIVE\n - DISABLING\n - UPDATING\n - SERVICE_UPDATING\n spec:\n type: object\n x-dcl-go-name: Spec\n x-dcl-go-type: FeatureSpec\n description: Optional. Hub-wide Feature configuration. If this Feature does\n not support any Hub-wide configuration, this field may be unused.\n properties:\n multiclusteringress:\n type: object\n x-dcl-go-name: Multiclusteringress\n x-dcl-go-type: FeatureSpecMulticlusteringress\n description: Multicluster Ingress-specific spec.\n required:\n - configMembership\n properties:\n configMembership:\n type: string\n x-dcl-go-name: ConfigMembership\n description: 'Fully-qualified Membership name which hosts the MultiClusterIngress\n CRD. Example: `projects/foo-proj/locations/global/memberships/bar`'\n x-dcl-references:\n - resource: Gkehub/Membership\n field: name\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: FeatureState\n readOnly: true\n description: Output only. The Hub-wide Feature state\n x-kubernetes-immutable: true\n properties:\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: FeatureStateState\n readOnly: true\n description: Output only. The \"running state\" of the Feature in this\n Hub.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: FeatureStateStateCodeEnum\n readOnly: true\n description: 'The high-level, machine-readable status of this Feature.\n Possible values: CODE_UNSPECIFIED, OK, WARNING, ERROR'\n x-kubernetes-immutable: true\n enum:\n - CODE_UNSPECIFIED\n - OK\n - WARNING\n - ERROR\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A human-readable description of the current status.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: 'The time this status and any related Feature-specific\n details were updated. A timestamp in RFC3339 UTC \"Zulu\" format,\n with nanosecond resolution and up to nine fractional digits. Examples:\n \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\"'\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Feature resource was last updated.\n x-kubernetes-immutable: true\n") -// 7219 bytes -// MD5: 848b2bebba9c262b9a7f7c049e0e0e52 +// 7244 bytes +// MD5: 30c170fb407be835d3caa63f6a1db396 diff --git a/services/google/gkehub/beta/feature_membership.yaml b/services/google/gkehub/beta/feature_membership.yaml index 772c3f2299..16fdd687ee 100755 --- a/services/google/gkehub/beta/feature_membership.yaml +++ b/services/google/gkehub/beta/feature_membership.yaml @@ -15,6 +15,7 @@ info: title: GkeHub/FeatureMembership description: The GkeHub FeatureMembership resource x-dcl-struct-name: FeatureMembership + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-mutex: '{{project}}/{{location}}/{{feature}}' paths: diff --git a/services/google/gkehub/beta/feature_membership_beta_yaml_embed.go b/services/google/gkehub/beta/feature_membership_beta_yaml_embed.go index 861903418f..4fc9c02e00 100755 --- a/services/google/gkehub/beta/feature_membership_beta_yaml_embed.go +++ b/services/google/gkehub/beta/feature_membership_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/beta/feature_membership.yaml -var YAML_feature_membership = []byte("info:\n title: GkeHub/FeatureMembership\n description: The GkeHub FeatureMembership resource\n x-dcl-struct-name: FeatureMembership\n x-dcl-has-iam: false\n x-dcl-mutex: '{{project}}/{{location}}/{{feature}}'\npaths:\n get:\n description: The function used to get information about a FeatureMembership\n parameters:\n - name: FeatureMembership\n required: true\n description: A full instance of a FeatureMembership\n apply:\n description: The function used to apply information about a FeatureMembership\n parameters:\n - name: FeatureMembership\n required: true\n description: A full instance of a FeatureMembership\n delete:\n description: The function used to delete a FeatureMembership\n parameters:\n - name: FeatureMembership\n required: true\n description: A full instance of a FeatureMembership\n deleteAll:\n description: The function used to delete all FeatureMembership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: feature\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FeatureMembership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: feature\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FeatureMembership:\n title: FeatureMembership\n x-dcl-id: projects/{{project}}/locations/{{location}}/features/{{feature}}/memberships/{{membership}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - configmanagement\n - project\n - location\n - feature\n - membership\n properties:\n configmanagement:\n type: object\n x-dcl-go-name: Configmanagement\n x-dcl-go-type: FeatureMembershipConfigmanagement\n description: Config Management-specific spec.\n properties:\n binauthz:\n type: object\n x-dcl-go-name: Binauthz\n x-dcl-go-type: FeatureMembershipConfigmanagementBinauthz\n description: Binauthz configuration for the cluster.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether binauthz is enabled in this cluster.\n configSync:\n type: object\n x-dcl-go-name: ConfigSync\n x-dcl-go-type: FeatureMembershipConfigmanagementConfigSync\n description: Config Sync configuration for the cluster.\n x-dcl-send-empty: true\n properties:\n git:\n type: object\n x-dcl-go-name: Git\n x-dcl-go-type: FeatureMembershipConfigmanagementConfigSyncGit\n properties:\n gcpServiceAccountEmail:\n type: string\n x-dcl-go-name: GcpServiceAccountEmail\n description: The GCP Service Account Email used for auth when\n secretType is gcpServiceAccount.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n httpsProxy:\n type: string\n x-dcl-go-name: HttpsProxy\n description: URL for the HTTPS proxy to be used when communicating\n with the Git repo.\n policyDir:\n type: string\n x-dcl-go-name: PolicyDir\n description: 'The path within the Git repository that represents\n the top level of the repo to sync. Default: the root directory\n of the repository.'\n secretType:\n type: string\n x-dcl-go-name: SecretType\n description: Type of secret configured for access to the Git\n repo.\n syncBranch:\n type: string\n x-dcl-go-name: SyncBranch\n description: 'The branch of the repository to sync from. Default:\n master.'\n syncRepo:\n type: string\n x-dcl-go-name: SyncRepo\n description: The URL of the Git repository to use as the source\n of truth.\n syncRev:\n type: string\n x-dcl-go-name: SyncRev\n description: Git revision (tag or hash) to check out. Default\n HEAD.\n syncWaitSecs:\n type: string\n x-dcl-go-name: SyncWaitSecs\n description: 'Period in seconds between consecutive syncs. Default:\n 15.'\n preventDrift:\n type: boolean\n x-dcl-go-name: PreventDrift\n description: Set to true to enable the Config Sync admission webhook\n to prevent drifts. If set to `false`, disables the Config Sync\n admission webhook and does not prevent drifts.\n x-dcl-server-default: true\n sourceFormat:\n type: string\n x-dcl-go-name: SourceFormat\n description: Specifies whether the Config Sync Repo is in \"hierarchical\"\n or \"unstructured\" mode.\n hierarchyController:\n type: object\n x-dcl-go-name: HierarchyController\n x-dcl-go-type: FeatureMembershipConfigmanagementHierarchyController\n description: Hierarchy Controller configuration for the cluster.\n properties:\n enableHierarchicalResourceQuota:\n type: boolean\n x-dcl-go-name: EnableHierarchicalResourceQuota\n description: Whether hierarchical resource quota is enabled in this\n cluster.\n enablePodTreeLabels:\n type: boolean\n x-dcl-go-name: EnablePodTreeLabels\n description: Whether pod tree labels are enabled in this cluster.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether Hierarchy Controller is enabled in this cluster.\n policyController:\n type: object\n x-dcl-go-name: PolicyController\n x-dcl-go-type: FeatureMembershipConfigmanagementPolicyController\n description: Policy Controller configuration for the cluster.\n properties:\n auditIntervalSeconds:\n type: string\n x-dcl-go-name: AuditIntervalSeconds\n description: Sets the interval for Policy Controller Audit Scans\n (in seconds). When set to 0, this disables audit functionality\n altogether.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Enables the installation of Policy Controller. If false,\n the rest of PolicyController fields take no effect.\n exemptableNamespaces:\n type: array\n x-dcl-go-name: ExemptableNamespaces\n description: The set of namespaces that are excluded from Policy\n Controller checks. Namespaces do not need to currently exist on\n the cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n logDeniesEnabled:\n type: boolean\n x-dcl-go-name: LogDeniesEnabled\n description: Logs all denies and dry run failures.\n referentialRulesEnabled:\n type: boolean\n x-dcl-go-name: ReferentialRulesEnabled\n description: Enables the ability to use Constraint Templates that\n reference to objects other than the object currently being evaluated.\n templateLibraryInstalled:\n type: boolean\n x-dcl-go-name: TemplateLibraryInstalled\n description: Installs the default template library along with Policy\n Controller.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional. Version of ACM to install. Defaults to the latest\n version.\n x-dcl-server-default: true\n feature:\n type: string\n x-dcl-go-name: Feature\n description: The name of the feature\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkehub/Feature\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the feature\n x-kubernetes-immutable: true\n membership:\n type: string\n x-dcl-go-name: Membership\n description: The name of the membership\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkehub/Membership\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the feature\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_feature_membership = []byte("info:\n title: GkeHub/FeatureMembership\n description: The GkeHub FeatureMembership resource\n x-dcl-struct-name: FeatureMembership\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-mutex: '{{project}}/{{location}}/{{feature}}'\npaths:\n get:\n description: The function used to get information about a FeatureMembership\n parameters:\n - name: FeatureMembership\n required: true\n description: A full instance of a FeatureMembership\n apply:\n description: The function used to apply information about a FeatureMembership\n parameters:\n - name: FeatureMembership\n required: true\n description: A full instance of a FeatureMembership\n delete:\n description: The function used to delete a FeatureMembership\n parameters:\n - name: FeatureMembership\n required: true\n description: A full instance of a FeatureMembership\n deleteAll:\n description: The function used to delete all FeatureMembership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: feature\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many FeatureMembership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: feature\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n FeatureMembership:\n title: FeatureMembership\n x-dcl-id: projects/{{project}}/locations/{{location}}/features/{{feature}}/memberships/{{membership}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - configmanagement\n - project\n - location\n - feature\n - membership\n properties:\n configmanagement:\n type: object\n x-dcl-go-name: Configmanagement\n x-dcl-go-type: FeatureMembershipConfigmanagement\n description: Config Management-specific spec.\n properties:\n binauthz:\n type: object\n x-dcl-go-name: Binauthz\n x-dcl-go-type: FeatureMembershipConfigmanagementBinauthz\n description: Binauthz configuration for the cluster.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether binauthz is enabled in this cluster.\n configSync:\n type: object\n x-dcl-go-name: ConfigSync\n x-dcl-go-type: FeatureMembershipConfigmanagementConfigSync\n description: Config Sync configuration for the cluster.\n x-dcl-send-empty: true\n properties:\n git:\n type: object\n x-dcl-go-name: Git\n x-dcl-go-type: FeatureMembershipConfigmanagementConfigSyncGit\n properties:\n gcpServiceAccountEmail:\n type: string\n x-dcl-go-name: GcpServiceAccountEmail\n description: The GCP Service Account Email used for auth when\n secretType is gcpServiceAccount.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n httpsProxy:\n type: string\n x-dcl-go-name: HttpsProxy\n description: URL for the HTTPS proxy to be used when communicating\n with the Git repo.\n policyDir:\n type: string\n x-dcl-go-name: PolicyDir\n description: 'The path within the Git repository that represents\n the top level of the repo to sync. Default: the root directory\n of the repository.'\n secretType:\n type: string\n x-dcl-go-name: SecretType\n description: Type of secret configured for access to the Git\n repo.\n syncBranch:\n type: string\n x-dcl-go-name: SyncBranch\n description: 'The branch of the repository to sync from. Default:\n master.'\n syncRepo:\n type: string\n x-dcl-go-name: SyncRepo\n description: The URL of the Git repository to use as the source\n of truth.\n syncRev:\n type: string\n x-dcl-go-name: SyncRev\n description: Git revision (tag or hash) to check out. Default\n HEAD.\n syncWaitSecs:\n type: string\n x-dcl-go-name: SyncWaitSecs\n description: 'Period in seconds between consecutive syncs. Default:\n 15.'\n preventDrift:\n type: boolean\n x-dcl-go-name: PreventDrift\n description: Set to true to enable the Config Sync admission webhook\n to prevent drifts. If set to `false`, disables the Config Sync\n admission webhook and does not prevent drifts.\n x-dcl-server-default: true\n sourceFormat:\n type: string\n x-dcl-go-name: SourceFormat\n description: Specifies whether the Config Sync Repo is in \"hierarchical\"\n or \"unstructured\" mode.\n hierarchyController:\n type: object\n x-dcl-go-name: HierarchyController\n x-dcl-go-type: FeatureMembershipConfigmanagementHierarchyController\n description: Hierarchy Controller configuration for the cluster.\n properties:\n enableHierarchicalResourceQuota:\n type: boolean\n x-dcl-go-name: EnableHierarchicalResourceQuota\n description: Whether hierarchical resource quota is enabled in this\n cluster.\n enablePodTreeLabels:\n type: boolean\n x-dcl-go-name: EnablePodTreeLabels\n description: Whether pod tree labels are enabled in this cluster.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether Hierarchy Controller is enabled in this cluster.\n policyController:\n type: object\n x-dcl-go-name: PolicyController\n x-dcl-go-type: FeatureMembershipConfigmanagementPolicyController\n description: Policy Controller configuration for the cluster.\n properties:\n auditIntervalSeconds:\n type: string\n x-dcl-go-name: AuditIntervalSeconds\n description: Sets the interval for Policy Controller Audit Scans\n (in seconds). When set to 0, this disables audit functionality\n altogether.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Enables the installation of Policy Controller. If false,\n the rest of PolicyController fields take no effect.\n exemptableNamespaces:\n type: array\n x-dcl-go-name: ExemptableNamespaces\n description: The set of namespaces that are excluded from Policy\n Controller checks. Namespaces do not need to currently exist on\n the cluster.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n logDeniesEnabled:\n type: boolean\n x-dcl-go-name: LogDeniesEnabled\n description: Logs all denies and dry run failures.\n referentialRulesEnabled:\n type: boolean\n x-dcl-go-name: ReferentialRulesEnabled\n description: Enables the ability to use Constraint Templates that\n reference to objects other than the object currently being evaluated.\n templateLibraryInstalled:\n type: boolean\n x-dcl-go-name: TemplateLibraryInstalled\n description: Installs the default template library along with Policy\n Controller.\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional. Version of ACM to install. Defaults to the latest\n version.\n x-dcl-server-default: true\n feature:\n type: string\n x-dcl-go-name: Feature\n description: The name of the feature\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkehub/Feature\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the feature\n x-kubernetes-immutable: true\n membership:\n type: string\n x-dcl-go-name: Membership\n description: The name of the membership\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkehub/Membership\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the feature\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 10108 bytes -// MD5: 0adf9f8acf9c5a78cedeb21d066af05c +// 10133 bytes +// MD5: ca0b954b28849126b1c9cd17636b5b12 diff --git a/services/google/gkehub/beta/feature_membership_schema.go b/services/google/gkehub/beta/feature_membership_schema.go index cf06f52b5b..61284694b2 100755 --- a/services/google/gkehub/beta/feature_membership_schema.go +++ b/services/google/gkehub/beta/feature_membership_schema.go @@ -23,6 +23,7 @@ func DCLFeatureMembershipSchema() *dcl.Schema { Title: "GkeHub/FeatureMembership", Description: "The GkeHub FeatureMembership resource", StructName: "FeatureMembership", + HasCreate: true, Mutex: "{{project}}/{{location}}/{{feature}}", }, Paths: &dcl.Paths{ diff --git a/services/google/gkehub/beta/feature_schema.go b/services/google/gkehub/beta/feature_schema.go index 485e35f820..dbe047a5fa 100755 --- a/services/google/gkehub/beta/feature_schema.go +++ b/services/google/gkehub/beta/feature_schema.go @@ -23,6 +23,7 @@ func DCLFeatureSchema() *dcl.Schema { Title: "GkeHub/Feature", Description: "The GkeHub Feature resource", StructName: "Feature", + HasCreate: true, Mutex: "{{project}}/{{location}}/{{feature}}", }, Paths: &dcl.Paths{ diff --git a/services/google/gkehub/beta/membership.yaml b/services/google/gkehub/beta/membership.yaml index c9045bdc2f..4d9317f0f4 100755 --- a/services/google/gkehub/beta/membership.yaml +++ b/services/google/gkehub/beta/membership.yaml @@ -15,6 +15,7 @@ info: title: GkeHub/Membership description: The GkeHub Membership resource x-dcl-struct-name: Membership + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/gkehub/beta/membership_beta_yaml_embed.go b/services/google/gkehub/beta/membership_beta_yaml_embed.go index 0c3e4d8bb4..ece4fab41d 100755 --- a/services/google/gkehub/beta/membership_beta_yaml_embed.go +++ b/services/google/gkehub/beta/membership_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/beta/membership.yaml -var YAML_membership = []byte("info:\n title: GkeHub/Membership\n description: The GkeHub Membership resource\n x-dcl-struct-name: Membership\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n apply:\n description: The function used to apply information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n delete:\n description: The function used to delete a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n deleteAll:\n description: The function used to delete all Membership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Membership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Membership:\n title: Membership\n x-dcl-id: projects/{{project}}/locations/{{location}}/memberships/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n authority:\n type: object\n x-dcl-go-name: Authority\n x-dcl-go-type: MembershipAuthority\n description: 'Optional. How to identify workloads from this Membership.\n See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity'\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n readOnly: true\n description: Output only. An identity provider that reflects the `issuer`\n in the workload identity pool.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: Optional. A JSON Web Token (JWT) issuer URI. `issuer` must\n start with `https://` and be a valid URL with length <2000 characters.\n If set, then Google will allow valid OIDC tokens from this issuer\n to authenticate within the workload_identity_pool. OIDC discovery\n will be performed on this URI to validate tokens from the issuer.\n Clearing `issuer` disables Workload Identity. `issuer` cannot be directly\n modified; it must be cleared (and Workload Identity disabled) before\n using a new issuer (and re-enabling Workload Identity).\n workloadIdentityPool:\n type: string\n x-dcl-go-name: WorkloadIdentityPool\n readOnly: true\n description: 'Output only. The name of the workload identity pool in\n which `issuer` will be recognized. There is a single Workload Identity\n Pool per Hub that is shared between all Memberships that belong to\n that Hub. For a Hub hosted in: {PROJECT_ID}, the workload pool format\n is `{PROJECT_ID}.hub.id.goog`, although this is subject to change\n in newer versions of this API.'\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Membership was created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. When the Membership was deleted.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'Description of this membership, limited to 63 characters.\n Must match the regex: `*` This field is present for legacy purposes.'\n endpoint:\n type: object\n x-dcl-go-name: Endpoint\n x-dcl-go-type: MembershipEndpoint\n description: Optional. Endpoint information to reach this member.\n properties:\n gkeCluster:\n type: object\n x-dcl-go-name: GkeCluster\n x-dcl-go-type: MembershipEndpointGkeCluster\n description: Optional. GKE-specific information. Only present if this\n Membership is a GKE cluster.\n properties:\n resourceLink:\n type: string\n x-dcl-go-name: ResourceLink\n description: 'Immutable. Self-link of the GCP resource for the GKE\n cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster\n Zonal clusters are also supported.'\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n kubernetesMetadata:\n type: object\n x-dcl-go-name: KubernetesMetadata\n x-dcl-go-type: MembershipEndpointKubernetesMetadata\n readOnly: true\n description: Output only. Useful Kubernetes-specific metadata.\n properties:\n kubernetesApiServerVersion:\n type: string\n x-dcl-go-name: KubernetesApiServerVersion\n readOnly: true\n description: Output only. Kubernetes API server version string as\n reported by `/version`.\n memoryMb:\n type: integer\n format: int64\n x-dcl-go-name: MemoryMb\n readOnly: true\n description: Output only. The total memory capacity as reported\n by the sum of all Kubernetes nodes resources, defined in MB.\n nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n readOnly: true\n description: Output only. Node count as reported by Kubernetes nodes\n resources.\n nodeProviderId:\n type: string\n x-dcl-go-name: NodeProviderId\n readOnly: true\n description: Output only. Node providerID as reported by the first\n node in the list of nodes on the Kubernetes endpoint. On Kubernetes\n platforms that support zero-node clusters (like GKE-on-GCP), the\n node_count will be zero and the node_provider_id will be empty.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which these details were last\n updated. This update_time is different from the Membership-level\n update_time since EndpointDetails are updated internally for API\n consumers.\n vcpuCount:\n type: integer\n format: int64\n x-dcl-go-name: VcpuCount\n readOnly: true\n description: Output only. vCPU count as reported by Kubernetes nodes\n resources.\n kubernetesResource:\n type: object\n x-dcl-go-name: KubernetesResource\n x-dcl-go-type: MembershipEndpointKubernetesResource\n description: 'Optional. The in-cluster Kubernetes Resources that should\n be applied for a correctly registered cluster, in the steady state.\n These resources: * Ensure that the cluster is exclusively registered\n to one and only one Hub Membership. * Propagate Workload Pool Information\n available in the Membership Authority field. * Ensure proper initial\n configuration of default Hub Features.'\n properties:\n connectResources:\n type: array\n x-dcl-go-name: ConnectResources\n readOnly: true\n description: Output only. The Kubernetes resources for installing\n the GKE Connect agent This field is only populated in the Membership\n returned from a successful long-running operation from CreateMembership\n or UpdateMembership. It is not populated during normal GetMembership\n or ListMemberships requests. To get the resource manifest after\n the initial registration, the caller should make a UpdateMembership\n call with an empty field mask.\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MembershipEndpointKubernetesResourceConnectResources\n properties:\n clusterScoped:\n type: boolean\n x-dcl-go-name: ClusterScoped\n description: Whether the resource provided in the manifest\n is `cluster_scoped`. If unset, the manifest is assumed to\n be namespace scoped. This field is used for REST mapping\n when applying the resource in a cluster.\n manifest:\n type: string\n x-dcl-go-name: Manifest\n description: YAML manifest of the resource.\n membershipCrManifest:\n type: string\n x-dcl-go-name: MembershipCrManifest\n description: Input only. The YAML representation of the Membership\n CR. This field is ignored for GKE clusters where Hub can read\n the CR directly. Callers should provide the CR that is currently\n present in the cluster during CreateMembership or UpdateMembership,\n or leave this field empty if none exists. The CR manifest is used\n to validate the cluster has not been registered with another Membership.\n x-dcl-mutable-unreadable: true\n membershipResources:\n type: array\n x-dcl-go-name: MembershipResources\n readOnly: true\n description: Output only. Additional Kubernetes resources that need\n to be applied to the cluster after Membership creation, and after\n every update. This field is only populated in the Membership returned\n from a successful long-running operation from CreateMembership\n or UpdateMembership. It is not populated during normal GetMembership\n or ListMemberships requests. To get the resource manifest after\n the initial registration, the caller should make a UpdateMembership\n call with an empty field mask.\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MembershipEndpointKubernetesResourceMembershipResources\n properties:\n clusterScoped:\n type: boolean\n x-dcl-go-name: ClusterScoped\n description: Whether the resource provided in the manifest\n is `cluster_scoped`. If unset, the manifest is assumed to\n be namespace scoped. This field is used for REST mapping\n when applying the resource in a cluster.\n manifest:\n type: string\n x-dcl-go-name: Manifest\n description: YAML manifest of the resource.\n resourceOptions:\n type: object\n x-dcl-go-name: ResourceOptions\n x-dcl-go-type: MembershipEndpointKubernetesResourceResourceOptions\n description: Optional. Options for Kubernetes resource generation.\n properties:\n connectVersion:\n type: string\n x-dcl-go-name: ConnectVersion\n description: Optional. The Connect agent version to use for\n connect_resources. Defaults to the latest GKE Connect version.\n The version must be a currently supported version, obsolete\n versions will be rejected.\n v1beta1Crd:\n type: boolean\n x-dcl-go-name: V1Beta1Crd\n description: Optional. Use `apiextensions/v1beta1` instead of\n `apiextensions/v1` for CustomResourceDefinition resources.\n This option should be set for clusters with Kubernetes apiserver\n versions <1.16.\n externalId:\n type: string\n x-dcl-go-name: ExternalId\n description: 'Optional. An externally-generated and managed ID for this\n Membership. This ID may be modified after creation, but this is not recommended.\n The ID must match the regex: `*` If this Membership represents a Kubernetes\n cluster, this value should be set to the UID of the `kube-system` namespace\n object.'\n infrastructureType:\n type: string\n x-dcl-go-name: InfrastructureType\n x-dcl-go-type: MembershipInfrastructureTypeEnum\n description: 'Optional. The infrastructure type this Membership is running\n on. Possible values: INFRASTRUCTURE_TYPE_UNSPECIFIED, ON_PREM, MULTI_CLOUD'\n enum:\n - INFRASTRUCTURE_TYPE_UNSPECIFIED\n - ON_PREM\n - MULTI_CLOUD\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. GCP labels for this membership.\n lastConnectionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastConnectionTime\n readOnly: true\n description: Output only. For clusters using Connect, the timestamp of the\n most recent connection established with Google Cloud. This time is updated\n every several minutes, not continuously. For clusters that do not use\n GKE Connect, or that have never connected successfully, this field will\n be unset.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The full, unique name of this Membership resource\n in the format `projects/*/locations/*/memberships/{membership_id}`, set\n during creation. `membership_id` must be a valid RFC 1123 compliant DNS\n label: 1. At most 63 characters in length 2. It must consist of lower\n case alphanumeric characters or `-` 3. It must start and end with an alphanumeric\n character Which can be expressed as the regex: `)?`, with a maximum length\n of 63 characters.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: MembershipState\n readOnly: true\n description: Output only. State of the Membership resource.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: MembershipStateCodeEnum\n readOnly: true\n description: 'Output only. The current state of the Membership resource.\n Possible values: CODE_UNSPECIFIED, CREATING, READY, DELETING, UPDATING,\n SERVICE_UPDATING'\n x-kubernetes-immutable: true\n enum:\n - CODE_UNSPECIFIED\n - CREATING\n - READY\n - DELETING\n - UPDATING\n - SERVICE_UPDATING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. Google-generated UUID for this resource. This\n is unique across all Membership resources. If a Membership resource is\n deleted and another resource with the same name is created, it gets a\n different unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Membership was last updated.\n x-kubernetes-immutable: true\n") +var YAML_membership = []byte("info:\n title: GkeHub/Membership\n description: The GkeHub Membership resource\n x-dcl-struct-name: Membership\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n apply:\n description: The function used to apply information about a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n delete:\n description: The function used to delete a Membership\n parameters:\n - name: Membership\n required: true\n description: A full instance of a Membership\n deleteAll:\n description: The function used to delete all Membership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Membership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Membership:\n title: Membership\n x-dcl-id: projects/{{project}}/locations/{{location}}/memberships/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n authority:\n type: object\n x-dcl-go-name: Authority\n x-dcl-go-type: MembershipAuthority\n description: 'Optional. How to identify workloads from this Membership.\n See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity'\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n readOnly: true\n description: Output only. An identity provider that reflects the `issuer`\n in the workload identity pool.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: Optional. A JSON Web Token (JWT) issuer URI. `issuer` must\n start with `https://` and be a valid URL with length <2000 characters.\n If set, then Google will allow valid OIDC tokens from this issuer\n to authenticate within the workload_identity_pool. OIDC discovery\n will be performed on this URI to validate tokens from the issuer.\n Clearing `issuer` disables Workload Identity. `issuer` cannot be directly\n modified; it must be cleared (and Workload Identity disabled) before\n using a new issuer (and re-enabling Workload Identity).\n workloadIdentityPool:\n type: string\n x-dcl-go-name: WorkloadIdentityPool\n readOnly: true\n description: 'Output only. The name of the workload identity pool in\n which `issuer` will be recognized. There is a single Workload Identity\n Pool per Hub that is shared between all Memberships that belong to\n that Hub. For a Hub hosted in: {PROJECT_ID}, the workload pool format\n is `{PROJECT_ID}.hub.id.goog`, although this is subject to change\n in newer versions of this API.'\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Membership was created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. When the Membership was deleted.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'Description of this membership, limited to 63 characters.\n Must match the regex: `*` This field is present for legacy purposes.'\n endpoint:\n type: object\n x-dcl-go-name: Endpoint\n x-dcl-go-type: MembershipEndpoint\n description: Optional. Endpoint information to reach this member.\n properties:\n gkeCluster:\n type: object\n x-dcl-go-name: GkeCluster\n x-dcl-go-type: MembershipEndpointGkeCluster\n description: Optional. GKE-specific information. Only present if this\n Membership is a GKE cluster.\n properties:\n resourceLink:\n type: string\n x-dcl-go-name: ResourceLink\n description: 'Immutable. Self-link of the GCP resource for the GKE\n cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster\n Zonal clusters are also supported.'\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n kubernetesMetadata:\n type: object\n x-dcl-go-name: KubernetesMetadata\n x-dcl-go-type: MembershipEndpointKubernetesMetadata\n readOnly: true\n description: Output only. Useful Kubernetes-specific metadata.\n properties:\n kubernetesApiServerVersion:\n type: string\n x-dcl-go-name: KubernetesApiServerVersion\n readOnly: true\n description: Output only. Kubernetes API server version string as\n reported by `/version`.\n memoryMb:\n type: integer\n format: int64\n x-dcl-go-name: MemoryMb\n readOnly: true\n description: Output only. The total memory capacity as reported\n by the sum of all Kubernetes nodes resources, defined in MB.\n nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n readOnly: true\n description: Output only. Node count as reported by Kubernetes nodes\n resources.\n nodeProviderId:\n type: string\n x-dcl-go-name: NodeProviderId\n readOnly: true\n description: Output only. Node providerID as reported by the first\n node in the list of nodes on the Kubernetes endpoint. On Kubernetes\n platforms that support zero-node clusters (like GKE-on-GCP), the\n node_count will be zero and the node_provider_id will be empty.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which these details were last\n updated. This update_time is different from the Membership-level\n update_time since EndpointDetails are updated internally for API\n consumers.\n vcpuCount:\n type: integer\n format: int64\n x-dcl-go-name: VcpuCount\n readOnly: true\n description: Output only. vCPU count as reported by Kubernetes nodes\n resources.\n kubernetesResource:\n type: object\n x-dcl-go-name: KubernetesResource\n x-dcl-go-type: MembershipEndpointKubernetesResource\n description: 'Optional. The in-cluster Kubernetes Resources that should\n be applied for a correctly registered cluster, in the steady state.\n These resources: * Ensure that the cluster is exclusively registered\n to one and only one Hub Membership. * Propagate Workload Pool Information\n available in the Membership Authority field. * Ensure proper initial\n configuration of default Hub Features.'\n properties:\n connectResources:\n type: array\n x-dcl-go-name: ConnectResources\n readOnly: true\n description: Output only. The Kubernetes resources for installing\n the GKE Connect agent This field is only populated in the Membership\n returned from a successful long-running operation from CreateMembership\n or UpdateMembership. It is not populated during normal GetMembership\n or ListMemberships requests. To get the resource manifest after\n the initial registration, the caller should make a UpdateMembership\n call with an empty field mask.\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MembershipEndpointKubernetesResourceConnectResources\n properties:\n clusterScoped:\n type: boolean\n x-dcl-go-name: ClusterScoped\n description: Whether the resource provided in the manifest\n is `cluster_scoped`. If unset, the manifest is assumed to\n be namespace scoped. This field is used for REST mapping\n when applying the resource in a cluster.\n manifest:\n type: string\n x-dcl-go-name: Manifest\n description: YAML manifest of the resource.\n membershipCrManifest:\n type: string\n x-dcl-go-name: MembershipCrManifest\n description: Input only. The YAML representation of the Membership\n CR. This field is ignored for GKE clusters where Hub can read\n the CR directly. Callers should provide the CR that is currently\n present in the cluster during CreateMembership or UpdateMembership,\n or leave this field empty if none exists. The CR manifest is used\n to validate the cluster has not been registered with another Membership.\n x-dcl-mutable-unreadable: true\n membershipResources:\n type: array\n x-dcl-go-name: MembershipResources\n readOnly: true\n description: Output only. Additional Kubernetes resources that need\n to be applied to the cluster after Membership creation, and after\n every update. This field is only populated in the Membership returned\n from a successful long-running operation from CreateMembership\n or UpdateMembership. It is not populated during normal GetMembership\n or ListMemberships requests. To get the resource manifest after\n the initial registration, the caller should make a UpdateMembership\n call with an empty field mask.\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MembershipEndpointKubernetesResourceMembershipResources\n properties:\n clusterScoped:\n type: boolean\n x-dcl-go-name: ClusterScoped\n description: Whether the resource provided in the manifest\n is `cluster_scoped`. If unset, the manifest is assumed to\n be namespace scoped. This field is used for REST mapping\n when applying the resource in a cluster.\n manifest:\n type: string\n x-dcl-go-name: Manifest\n description: YAML manifest of the resource.\n resourceOptions:\n type: object\n x-dcl-go-name: ResourceOptions\n x-dcl-go-type: MembershipEndpointKubernetesResourceResourceOptions\n description: Optional. Options for Kubernetes resource generation.\n properties:\n connectVersion:\n type: string\n x-dcl-go-name: ConnectVersion\n description: Optional. The Connect agent version to use for\n connect_resources. Defaults to the latest GKE Connect version.\n The version must be a currently supported version, obsolete\n versions will be rejected.\n v1beta1Crd:\n type: boolean\n x-dcl-go-name: V1Beta1Crd\n description: Optional. Use `apiextensions/v1beta1` instead of\n `apiextensions/v1` for CustomResourceDefinition resources.\n This option should be set for clusters with Kubernetes apiserver\n versions <1.16.\n externalId:\n type: string\n x-dcl-go-name: ExternalId\n description: 'Optional. An externally-generated and managed ID for this\n Membership. This ID may be modified after creation, but this is not recommended.\n The ID must match the regex: `*` If this Membership represents a Kubernetes\n cluster, this value should be set to the UID of the `kube-system` namespace\n object.'\n infrastructureType:\n type: string\n x-dcl-go-name: InfrastructureType\n x-dcl-go-type: MembershipInfrastructureTypeEnum\n description: 'Optional. The infrastructure type this Membership is running\n on. Possible values: INFRASTRUCTURE_TYPE_UNSPECIFIED, ON_PREM, MULTI_CLOUD'\n enum:\n - INFRASTRUCTURE_TYPE_UNSPECIFIED\n - ON_PREM\n - MULTI_CLOUD\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. GCP labels for this membership.\n lastConnectionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastConnectionTime\n readOnly: true\n description: Output only. For clusters using Connect, the timestamp of the\n most recent connection established with Google Cloud. This time is updated\n every several minutes, not continuously. For clusters that do not use\n GKE Connect, or that have never connected successfully, this field will\n be unset.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The full, unique name of this Membership resource\n in the format `projects/*/locations/*/memberships/{membership_id}`, set\n during creation. `membership_id` must be a valid RFC 1123 compliant DNS\n label: 1. At most 63 characters in length 2. It must consist of lower\n case alphanumeric characters or `-` 3. It must start and end with an alphanumeric\n character Which can be expressed as the regex: `)?`, with a maximum length\n of 63 characters.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: MembershipState\n readOnly: true\n description: Output only. State of the Membership resource.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: MembershipStateCodeEnum\n readOnly: true\n description: 'Output only. The current state of the Membership resource.\n Possible values: CODE_UNSPECIFIED, CREATING, READY, DELETING, UPDATING,\n SERVICE_UPDATING'\n x-kubernetes-immutable: true\n enum:\n - CODE_UNSPECIFIED\n - CREATING\n - READY\n - DELETING\n - UPDATING\n - SERVICE_UPDATING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. Google-generated UUID for this resource. This\n is unique across all Membership resources. If a Membership resource is\n deleted and another resource with the same name is created, it gets a\n different unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Membership was last updated.\n x-kubernetes-immutable: true\n") -// 17779 bytes -// MD5: cd20383517ac1eae70e4312abd241e48 +// 17804 bytes +// MD5: ea1d3a0ee12c016d2fc490f7b8c850fa diff --git a/services/google/gkehub/beta/membership_schema.go b/services/google/gkehub/beta/membership_schema.go index 81f90f42d1..4f05c8d7d6 100755 --- a/services/google/gkehub/beta/membership_schema.go +++ b/services/google/gkehub/beta/membership_schema.go @@ -23,6 +23,7 @@ func DCLMembershipSchema() *dcl.Schema { Title: "GkeHub/Membership", Description: "The GkeHub Membership resource", StructName: "Membership", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iam/alpha/role.yaml b/services/google/iam/alpha/role.yaml index 9f533f9d9a..5f681a1d45 100755 --- a/services/google/iam/alpha/role.yaml +++ b/services/google/iam/alpha/role.yaml @@ -15,6 +15,7 @@ info: title: Iam/Role description: The Iam Role resource x-dcl-struct-name: Role + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iam/alpha/role_alpha_yaml_embed.go b/services/google/iam/alpha/role_alpha_yaml_embed.go index 0d8a3c9e96..9253e50260 100755 --- a/services/google/iam/alpha/role_alpha_yaml_embed.go +++ b/services/google/iam/alpha/role_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iam/alpha/role.yaml -var YAML_role = []byte("info:\n title: Iam/Role\n description: The Iam Role resource\n x-dcl-struct-name: Role\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n apply:\n description: The function used to apply information about a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n delete:\n description: The function used to delete a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n deleteAll:\n description: The function used to delete all Role\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Role\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Role:\n title: Role\n x-dcl-id: '{{parent}}/roles/{{name}}'\n x-dcl-has-iam: false\n type: object\n properties:\n deleted:\n type: boolean\n x-dcl-go-name: Deleted\n description: The current deleted state of the role. This field is read only.\n It will be ignored in calls to CreateRole and UpdateRole.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human-readable description for the role.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n description: Used to perform a consistent read-modify-write.\n x-kubernetes-immutable: true\n groupName:\n type: string\n x-dcl-go-name: GroupName\n x-kubernetes-immutable: true\n groupTitle:\n type: string\n x-dcl-go-name: GroupTitle\n x-kubernetes-immutable: true\n includedPermissions:\n type: array\n x-dcl-go-name: IncludedPermissions\n description: The names of the permissions this role grants when bound in\n an IAM policy.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includedRoles:\n type: array\n x-dcl-go-name: IncludedRoles\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lifecyclePhase:\n type: string\n x-dcl-go-name: LifecyclePhase\n x-kubernetes-immutable: true\n localizedValues:\n type: object\n x-dcl-go-name: LocalizedValues\n x-dcl-go-type: RoleLocalizedValues\n x-kubernetes-immutable: true\n properties:\n localizedDescription:\n type: string\n x-dcl-go-name: LocalizedDescription\n description: Will be English by default or if an error occurred during\n translation.\n x-kubernetes-immutable: true\n localizedTitle:\n type: string\n x-dcl-go-name: LocalizedTitle\n description: Will be English by default or if an error occurred during\n translation.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the role. When Role is used in CreateRole, the\n role name must not be set. When Role is used in output and other input\n such as UpdateRole, the role name is the complete path, e.g., roles/logging.viewer\n for predefined roles and organizations/{ORGANIZATION_ID}/roles/logging.viewer\n for custom roles.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'The parent parameter''s value depends on the target resource\n for the request, namely projects or organizations. Each resource type''s\n parent value format is described below: projects.roles.create(): projects/{PROJECT_ID}.\n This method creates project-level custom roles. Example request URL: https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles\n organizations.roles.create(): organizations/{ORGANIZATION_ID}. This method\n creates organization-level custom roles. Example request URL: https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles\n Note: Wildcard (*) values are invalid; you must specify a complete project\n ID or organization ID. Authorization requires the following IAM permission\n on the specified resource parent: iam.roles.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n stage:\n type: string\n x-dcl-go-name: Stage\n x-dcl-go-type: RoleStageEnum\n description: The current launch stage of the role. If the `ALPHA` launch\n stage has been selected for a role, the `stage` field will not be included\n in the returned definition for the role.\n x-kubernetes-immutable: true\n enum:\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n - DISABLED\n - EAP\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. A human-readable title for the role. Typically this\n is limited to 100 UTF-8 bytes.\n x-kubernetes-immutable: true\n") +var YAML_role = []byte("info:\n title: Iam/Role\n description: The Iam Role resource\n x-dcl-struct-name: Role\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n apply:\n description: The function used to apply information about a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n delete:\n description: The function used to delete a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n deleteAll:\n description: The function used to delete all Role\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Role\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Role:\n title: Role\n x-dcl-id: '{{parent}}/roles/{{name}}'\n x-dcl-has-iam: false\n type: object\n properties:\n deleted:\n type: boolean\n x-dcl-go-name: Deleted\n description: The current deleted state of the role. This field is read only.\n It will be ignored in calls to CreateRole and UpdateRole.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human-readable description for the role.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n description: Used to perform a consistent read-modify-write.\n x-kubernetes-immutable: true\n groupName:\n type: string\n x-dcl-go-name: GroupName\n x-kubernetes-immutable: true\n groupTitle:\n type: string\n x-dcl-go-name: GroupTitle\n x-kubernetes-immutable: true\n includedPermissions:\n type: array\n x-dcl-go-name: IncludedPermissions\n description: The names of the permissions this role grants when bound in\n an IAM policy.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includedRoles:\n type: array\n x-dcl-go-name: IncludedRoles\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lifecyclePhase:\n type: string\n x-dcl-go-name: LifecyclePhase\n x-kubernetes-immutable: true\n localizedValues:\n type: object\n x-dcl-go-name: LocalizedValues\n x-dcl-go-type: RoleLocalizedValues\n x-kubernetes-immutable: true\n properties:\n localizedDescription:\n type: string\n x-dcl-go-name: LocalizedDescription\n description: Will be English by default or if an error occurred during\n translation.\n x-kubernetes-immutable: true\n localizedTitle:\n type: string\n x-dcl-go-name: LocalizedTitle\n description: Will be English by default or if an error occurred during\n translation.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the role. When Role is used in CreateRole, the\n role name must not be set. When Role is used in output and other input\n such as UpdateRole, the role name is the complete path, e.g., roles/logging.viewer\n for predefined roles and organizations/{ORGANIZATION_ID}/roles/logging.viewer\n for custom roles.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'The parent parameter''s value depends on the target resource\n for the request, namely projects or organizations. Each resource type''s\n parent value format is described below: projects.roles.create(): projects/{PROJECT_ID}.\n This method creates project-level custom roles. Example request URL: https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles\n organizations.roles.create(): organizations/{ORGANIZATION_ID}. This method\n creates organization-level custom roles. Example request URL: https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles\n Note: Wildcard (*) values are invalid; you must specify a complete project\n ID or organization ID. Authorization requires the following IAM permission\n on the specified resource parent: iam.roles.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n stage:\n type: string\n x-dcl-go-name: Stage\n x-dcl-go-type: RoleStageEnum\n description: The current launch stage of the role. If the `ALPHA` launch\n stage has been selected for a role, the `stage` field will not be included\n in the returned definition for the role.\n x-kubernetes-immutable: true\n enum:\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n - DISABLED\n - EAP\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. A human-readable title for the role. Typically this\n is limited to 100 UTF-8 bytes.\n x-kubernetes-immutable: true\n") -// 5968 bytes -// MD5: 6b6ae4c6c7a787028a83604ade8f6775 +// 5993 bytes +// MD5: cf46ed2451805d5dafda31307d8e1e88 diff --git a/services/google/iam/alpha/role_schema.go b/services/google/iam/alpha/role_schema.go index edd15f660b..56b4811c73 100755 --- a/services/google/iam/alpha/role_schema.go +++ b/services/google/iam/alpha/role_schema.go @@ -23,6 +23,7 @@ func DCLRoleSchema() *dcl.Schema { Title: "Iam/Role", Description: "The Iam Role resource", StructName: "Role", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iam/alpha/service_account.yaml b/services/google/iam/alpha/service_account.yaml index 366cf660d2..3788814dbf 100755 --- a/services/google/iam/alpha/service_account.yaml +++ b/services/google/iam/alpha/service_account.yaml @@ -15,6 +15,7 @@ info: title: Iam/ServiceAccount description: The Iam ServiceAccount resource x-dcl-struct-name: ServiceAccount + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/iam/alpha/service_account_alpha_yaml_embed.go b/services/google/iam/alpha/service_account_alpha_yaml_embed.go index 7fbb6fcfe8..3efbcbc704 100755 --- a/services/google/iam/alpha/service_account_alpha_yaml_embed.go +++ b/services/google/iam/alpha/service_account_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iam/alpha/service_account.yaml -var YAML_service_account = []byte("info:\n title: Iam/ServiceAccount\n description: The Iam ServiceAccount resource\n x-dcl-struct-name: ServiceAccount\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n apply:\n description: The function used to apply information about a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n delete:\n description: The function used to delete a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n deleteAll:\n description: The function used to delete all ServiceAccount\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceAccount\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceAccount:\n title: ServiceAccount\n x-dcl-id: projects/{{project}}/serviceAccounts/{{name}}@{{project}}.iam.gserviceaccount.com\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n properties:\n actasResources:\n type: object\n x-dcl-go-name: ActasResources\n x-dcl-go-type: ServiceAccountActasResources\n description: Optional.\n x-kubernetes-immutable: true\n properties:\n resources:\n type: array\n x-dcl-go-name: Resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAccountActasResourcesResources\n properties:\n fullResourceName:\n type: string\n x-dcl-go-name: FullResourceName\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A user-specified, human-readable description of the\n service account. The maximum length is 256 UTF-8 bytes.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n readOnly: true\n description: Output only. Whether the service account is disabled.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. A user-specified, human-readable name for the service\n account. The maximum length is 100 UTF-8 bytes.\n email:\n type: string\n x-dcl-go-name: Email\n readOnly: true\n description: Output only. The email address of the service account.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the service account. Use one of the following\n formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}`\n As an alternative, you can use the `-` wildcard character instead of the\n project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}`\n When possible, avoid using the `-` wildcard character, because it can\n cause response messages to contain misleading error codes. For example,\n if you try to get the service account `projects/-/serviceAccounts/fake@example.com`,\n which does not exist, the response contains an HTTP `403 Forbidden` error\n instead of a `404 Not Found` error.'\n x-kubernetes-immutable: true\n oauth2ClientId:\n type: string\n x-dcl-go-name: OAuth2ClientId\n readOnly: true\n description: Output only. The OAuth 2.0 client ID for the service account.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The ID of the project that owns the service account.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The unique, stable numeric ID for the service\n account. Each service account retains its unique ID even if you delete\n the service account. For example, if you delete a service account, then\n create a new service account with the same name, the new service account\n has a different unique ID than the deleted service account.\n x-kubernetes-immutable: true\n") +var YAML_service_account = []byte("info:\n title: Iam/ServiceAccount\n description: The Iam ServiceAccount resource\n x-dcl-struct-name: ServiceAccount\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n apply:\n description: The function used to apply information about a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n delete:\n description: The function used to delete a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n deleteAll:\n description: The function used to delete all ServiceAccount\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceAccount\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceAccount:\n title: ServiceAccount\n x-dcl-id: projects/{{project}}/serviceAccounts/{{name}}@{{project}}.iam.gserviceaccount.com\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n properties:\n actasResources:\n type: object\n x-dcl-go-name: ActasResources\n x-dcl-go-type: ServiceAccountActasResources\n description: Optional.\n x-kubernetes-immutable: true\n properties:\n resources:\n type: array\n x-dcl-go-name: Resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAccountActasResourcesResources\n properties:\n fullResourceName:\n type: string\n x-dcl-go-name: FullResourceName\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A user-specified, human-readable description of the\n service account. The maximum length is 256 UTF-8 bytes.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n readOnly: true\n description: Output only. Whether the service account is disabled.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. A user-specified, human-readable name for the service\n account. The maximum length is 100 UTF-8 bytes.\n email:\n type: string\n x-dcl-go-name: Email\n readOnly: true\n description: Output only. The email address of the service account.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the service account. Use one of the following\n formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}`\n As an alternative, you can use the `-` wildcard character instead of the\n project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}`\n When possible, avoid using the `-` wildcard character, because it can\n cause response messages to contain misleading error codes. For example,\n if you try to get the service account `projects/-/serviceAccounts/fake@example.com`,\n which does not exist, the response contains an HTTP `403 Forbidden` error\n instead of a `404 Not Found` error.'\n x-kubernetes-immutable: true\n oauth2ClientId:\n type: string\n x-dcl-go-name: OAuth2ClientId\n readOnly: true\n description: Output only. The OAuth 2.0 client ID for the service account.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The ID of the project that owns the service account.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The unique, stable numeric ID for the service\n account. Each service account retains its unique ID even if you delete\n the service account. For example, if you delete a service account, then\n create a new service account with the same name, the new service account\n has a different unique ID than the deleted service account.\n x-kubernetes-immutable: true\n") -// 5037 bytes -// MD5: 48a117a166d7ad9be0edc61532cd83bc +// 5062 bytes +// MD5: 27ecea3f5e01b0982644d7337d9dac58 diff --git a/services/google/iam/alpha/service_account_schema.go b/services/google/iam/alpha/service_account_schema.go index ffd35c609d..67a21f04d8 100755 --- a/services/google/iam/alpha/service_account_schema.go +++ b/services/google/iam/alpha/service_account_schema.go @@ -23,6 +23,7 @@ func DCLServiceAccountSchema() *dcl.Schema { Title: "Iam/ServiceAccount", Description: "The Iam ServiceAccount resource", StructName: "ServiceAccount", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/iam/alpha/workforce_pool.yaml b/services/google/iam/alpha/workforce_pool.yaml index 970d2c7514..603f95e3a8 100755 --- a/services/google/iam/alpha/workforce_pool.yaml +++ b/services/google/iam/alpha/workforce_pool.yaml @@ -15,6 +15,7 @@ info: title: Iam/WorkforcePool description: The Iam WorkforcePool resource x-dcl-struct-name: WorkforcePool + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/iam/alpha/workforce_pool_provider.yaml b/services/google/iam/alpha/workforce_pool_provider.yaml index a52599a74c..b115e81873 100755 --- a/services/google/iam/alpha/workforce_pool_provider.yaml +++ b/services/google/iam/alpha/workforce_pool_provider.yaml @@ -15,6 +15,7 @@ info: title: Iam/WorkforcePoolProvider description: The Iam WorkforcePoolProvider resource x-dcl-struct-name: WorkforcePoolProvider + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iam/alpha/workload_identity_pool.yaml b/services/google/iam/alpha/workload_identity_pool.yaml index d679d3996f..ba31826ec5 100755 --- a/services/google/iam/alpha/workload_identity_pool.yaml +++ b/services/google/iam/alpha/workload_identity_pool.yaml @@ -15,6 +15,7 @@ info: title: Iam/WorkloadIdentityPool description: The Iam WorkloadIdentityPool resource x-dcl-struct-name: WorkloadIdentityPool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iam/alpha/workload_identity_pool_alpha_yaml_embed.go b/services/google/iam/alpha/workload_identity_pool_alpha_yaml_embed.go index f9638e2e45..ce934278a4 100755 --- a/services/google/iam/alpha/workload_identity_pool_alpha_yaml_embed.go +++ b/services/google/iam/alpha/workload_identity_pool_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iam/alpha/workload_identity_pool.yaml -var YAML_workload_identity_pool = []byte("info:\n title: Iam/WorkloadIdentityPool\n description: The Iam WorkloadIdentityPool resource\n x-dcl-struct-name: WorkloadIdentityPool\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n apply:\n description: The function used to apply information about a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n delete:\n description: The function used to delete a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n deleteAll:\n description: The function used to delete all WorkloadIdentityPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkloadIdentityPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkloadIdentityPool:\n title: WorkloadIdentityPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/workloadIdentityPools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of the pool. Cannot exceed 256 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Whether the pool is disabled. You cannot use a disabled pool\n to exchange tokens, or use existing tokens to access resources. If the\n pool is re-enabled, existing tokens grant access again.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A display name for the pool. Cannot exceed 32 characters.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the pool.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkloadIdentityPoolStateEnum\n readOnly: true\n description: 'Output only. The state of the pool. Possible values: STATE_UNSPECIFIED,\n ACTIVE, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - DELETED\n") +var YAML_workload_identity_pool = []byte("info:\n title: Iam/WorkloadIdentityPool\n description: The Iam WorkloadIdentityPool resource\n x-dcl-struct-name: WorkloadIdentityPool\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n apply:\n description: The function used to apply information about a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n delete:\n description: The function used to delete a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n deleteAll:\n description: The function used to delete all WorkloadIdentityPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkloadIdentityPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkloadIdentityPool:\n title: WorkloadIdentityPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/workloadIdentityPools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of the pool. Cannot exceed 256 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Whether the pool is disabled. You cannot use a disabled pool\n to exchange tokens, or use existing tokens to access resources. If the\n pool is re-enabled, existing tokens grant access again.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A display name for the pool. Cannot exceed 32 characters.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the pool.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkloadIdentityPoolStateEnum\n readOnly: true\n description: 'Output only. The state of the pool. Possible values: STATE_UNSPECIFIED,\n ACTIVE, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - DELETED\n") -// 3338 bytes -// MD5: b70ce985db6d9b76c3445c44026974e9 +// 3363 bytes +// MD5: 01e2f919efef25b7adb089f3a59dc7b1 diff --git a/services/google/iam/alpha/workload_identity_pool_provider.yaml b/services/google/iam/alpha/workload_identity_pool_provider.yaml index e6f87012fd..abba772ebf 100755 --- a/services/google/iam/alpha/workload_identity_pool_provider.yaml +++ b/services/google/iam/alpha/workload_identity_pool_provider.yaml @@ -15,6 +15,7 @@ info: title: Iam/WorkloadIdentityPoolProvider description: The Iam WorkloadIdentityPoolProvider resource x-dcl-struct-name: WorkloadIdentityPoolProvider + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iam/alpha/workload_identity_pool_provider_alpha_yaml_embed.go b/services/google/iam/alpha/workload_identity_pool_provider_alpha_yaml_embed.go index fe3ff38307..031eb3302c 100755 --- a/services/google/iam/alpha/workload_identity_pool_provider_alpha_yaml_embed.go +++ b/services/google/iam/alpha/workload_identity_pool_provider_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iam/alpha/workload_identity_pool_provider.yaml -var YAML_workload_identity_pool_provider = []byte("info:\n title: Iam/WorkloadIdentityPoolProvider\n description: The Iam WorkloadIdentityPoolProvider resource\n x-dcl-struct-name: WorkloadIdentityPoolProvider\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n apply:\n description: The function used to apply information about a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n delete:\n description: The function used to delete a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n deleteAll:\n description: The function used to delete all WorkloadIdentityPoolProvider\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: workloadidentitypool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkloadIdentityPoolProvider\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: workloadidentitypool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkloadIdentityPoolProvider:\n title: WorkloadIdentityPoolProvider\n x-dcl-id: projects/{{project}}/locations/{{location}}/workloadIdentityPools/{{workload_identity_pool}}/providers/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n - workloadIdentityPool\n properties:\n attributeCondition:\n type: string\n x-dcl-go-name: AttributeCondition\n description: '[A Common Expression Language](https://opensource.google/projects/cel)\n expression, in plain text, to restrict what otherwise valid authentication\n credentials issued by the provider should not be accepted. The expression\n must output a boolean representing whether to allow the federation. The\n following keywords may be referenced in the expressions: * `assertion`:\n JSON representing the authentication credential issued by the provider.\n * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`.\n * `attribute`: The custom attributes mapped from the assertion in the\n `attribute_mappings`. The maximum length of the attribute condition expression\n is 4096 characters. If unspecified, all valid authentication credential\n are accepted. The following example shows how to only allow credentials\n with a mapped `google.groups` value of `admins`: ``` \"''admins'' in google.groups\"\n ```'\n attributeMapping:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: AttributeMapping\n description: 'Maps attributes from authentication credentials issued by\n an external identity provider to Google Cloud attributes, such as `subject`\n and `segment`. Each key must be a string specifying the Google Cloud IAM\n attribute to map to. The following keys are supported: * `google.subject`:\n The principal IAM is authenticating. You can reference this value in IAM\n bindings. This is also the subject that appears in Cloud Logging logs.\n Cannot exceed 127 characters. * `google.groups`: Groups the external identity\n belongs to. You can grant groups access to resources using an IAM `principalSet`\n binding; access applies to all members of the group. You can also provide\n custom attributes by specifying `attribute.{custom_attribute}`, where\n `{custom_attribute}` is the name of the custom attribute to be mapped.\n You can define a maximum of 50 custom attributes. The maximum length of\n a mapped attribute key is 100 characters, and the key may only contain\n the characters [a-z0-9_]. You can reference these attributes in IAM policies\n to define fine-grained access for a workload to Google Cloud resources.\n For example: * `google.subject`: `principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}`\n * `google.groups`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}`\n * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}`\n Each value must be a [Common Expression Language] (https://opensource.google/projects/cel)\n function that maps an identity provider credential to the normalized attribute\n specified by the corresponding map key. You can use the `assertion` keyword\n in the expression to access a JSON representation of the authentication\n credential issued by the provider. The maximum length of an attribute\n mapping expression is 2048 characters. When evaluated, the total size\n of all mapped attributes must not exceed 8KB. For AWS providers, if no\n attribute mapping is defined, the following default mapping applies: ```\n { \"google.subject\":\"assertion.arn\", \"attribute.aws_role\": \"assertion.arn.contains(''assumed-role'')\"\n \" ? assertion.arn.extract(''{account_arn}assumed-role/'')\" \" + ''assumed-role/''\"\n \" + assertion.arn.extract(''assumed-role/{role_name}/'')\" \" : assertion.arn\",\n } ``` If any custom attribute mappings are defined, they must include\n a mapping to the `google.subject` attribute. For OIDC providers, you must\n supply a custom mapping, which must include the `google.subject` attribute.\n For example, the following maps the `sub` claim of the incoming credential\n to the `subject` attribute on a Google token: ``` {\"google.subject\": \"assertion.sub\"}\n ```'\n aws:\n type: object\n x-dcl-go-name: Aws\n x-dcl-go-type: WorkloadIdentityPoolProviderAws\n description: An Amazon Web Services identity provider.\n x-dcl-conflicts:\n - oidc\n required:\n - accountId\n properties:\n accountId:\n type: string\n x-dcl-go-name: AccountId\n description: Required. The AWS account ID.\n stsUri:\n type: array\n x-dcl-go-name: StsUri\n description: A list of AWS STS URIs that can be used when exchanging\n credentials. If not provided, any valid AWS STS URI is allowed. URIs\n must use the form `https://sts.amazonaws.com` or `https://sts.{region}.amazonaws.com`,\n where {region} is a valid AWS region. You can specify a maximum of\n 25 URIs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-mutable-unreadable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: A description for the provider. Cannot exceed 256 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Whether the provider is disabled. You cannot use a disabled\n provider to exchange tokens. However, existing tokens still grant access.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A display name for the provider. Cannot exceed 32 characters.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the provider.\n x-kubernetes-immutable: true\n oidc:\n type: object\n x-dcl-go-name: Oidc\n x-dcl-go-type: WorkloadIdentityPoolProviderOidc\n description: An OpenId Connect 1.0 identity provider.\n x-dcl-conflicts:\n - aws\n required:\n - issuerUri\n properties:\n allowedAudiences:\n type: array\n x-dcl-go-name: AllowedAudiences\n description: 'Acceptable values for the `aud` field (audience) in the\n OIDC token. Token exchange requests are rejected if the token audience\n does not match one of the configured values. Each audience may be\n at most 256 characters. A maximum of 10 audiences may be configured.\n If this list is empty, the OIDC token audience must be equal to the\n full canonical resource name of the WorkloadIdentityPoolProvider,\n with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\n https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\n ```'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: Required. The OIDC issuer URL. Must be an HTTPS endpoint.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkloadIdentityPoolProviderStateEnum\n readOnly: true\n description: 'Output only. The state of the provider. Possible values: STATE_UNSPECIFIED,\n ACTIVE, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - DELETED\n workloadIdentityPool:\n type: string\n x-dcl-go-name: WorkloadIdentityPool\n description: The workloadIdentityPool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/WorkloadIdentityPool\n field: name\n parent: true\n") +var YAML_workload_identity_pool_provider = []byte("info:\n title: Iam/WorkloadIdentityPoolProvider\n description: The Iam WorkloadIdentityPoolProvider resource\n x-dcl-struct-name: WorkloadIdentityPoolProvider\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n apply:\n description: The function used to apply information about a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n delete:\n description: The function used to delete a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n deleteAll:\n description: The function used to delete all WorkloadIdentityPoolProvider\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: workloadidentitypool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkloadIdentityPoolProvider\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: workloadidentitypool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkloadIdentityPoolProvider:\n title: WorkloadIdentityPoolProvider\n x-dcl-id: projects/{{project}}/locations/{{location}}/workloadIdentityPools/{{workload_identity_pool}}/providers/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n - workloadIdentityPool\n properties:\n attributeCondition:\n type: string\n x-dcl-go-name: AttributeCondition\n description: '[A Common Expression Language](https://opensource.google/projects/cel)\n expression, in plain text, to restrict what otherwise valid authentication\n credentials issued by the provider should not be accepted. The expression\n must output a boolean representing whether to allow the federation. The\n following keywords may be referenced in the expressions: * `assertion`:\n JSON representing the authentication credential issued by the provider.\n * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`.\n * `attribute`: The custom attributes mapped from the assertion in the\n `attribute_mappings`. The maximum length of the attribute condition expression\n is 4096 characters. If unspecified, all valid authentication credential\n are accepted. The following example shows how to only allow credentials\n with a mapped `google.groups` value of `admins`: ``` \"''admins'' in google.groups\"\n ```'\n attributeMapping:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: AttributeMapping\n description: 'Maps attributes from authentication credentials issued by\n an external identity provider to Google Cloud attributes, such as `subject`\n and `segment`. Each key must be a string specifying the Google Cloud IAM\n attribute to map to. The following keys are supported: * `google.subject`:\n The principal IAM is authenticating. You can reference this value in IAM\n bindings. This is also the subject that appears in Cloud Logging logs.\n Cannot exceed 127 characters. * `google.groups`: Groups the external identity\n belongs to. You can grant groups access to resources using an IAM `principalSet`\n binding; access applies to all members of the group. You can also provide\n custom attributes by specifying `attribute.{custom_attribute}`, where\n `{custom_attribute}` is the name of the custom attribute to be mapped.\n You can define a maximum of 50 custom attributes. The maximum length of\n a mapped attribute key is 100 characters, and the key may only contain\n the characters [a-z0-9_]. You can reference these attributes in IAM policies\n to define fine-grained access for a workload to Google Cloud resources.\n For example: * `google.subject`: `principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}`\n * `google.groups`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}`\n * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}`\n Each value must be a [Common Expression Language] (https://opensource.google/projects/cel)\n function that maps an identity provider credential to the normalized attribute\n specified by the corresponding map key. You can use the `assertion` keyword\n in the expression to access a JSON representation of the authentication\n credential issued by the provider. The maximum length of an attribute\n mapping expression is 2048 characters. When evaluated, the total size\n of all mapped attributes must not exceed 8KB. For AWS providers, if no\n attribute mapping is defined, the following default mapping applies: ```\n { \"google.subject\":\"assertion.arn\", \"attribute.aws_role\": \"assertion.arn.contains(''assumed-role'')\"\n \" ? assertion.arn.extract(''{account_arn}assumed-role/'')\" \" + ''assumed-role/''\"\n \" + assertion.arn.extract(''assumed-role/{role_name}/'')\" \" : assertion.arn\",\n } ``` If any custom attribute mappings are defined, they must include\n a mapping to the `google.subject` attribute. For OIDC providers, you must\n supply a custom mapping, which must include the `google.subject` attribute.\n For example, the following maps the `sub` claim of the incoming credential\n to the `subject` attribute on a Google token: ``` {\"google.subject\": \"assertion.sub\"}\n ```'\n aws:\n type: object\n x-dcl-go-name: Aws\n x-dcl-go-type: WorkloadIdentityPoolProviderAws\n description: An Amazon Web Services identity provider.\n x-dcl-conflicts:\n - oidc\n required:\n - accountId\n properties:\n accountId:\n type: string\n x-dcl-go-name: AccountId\n description: Required. The AWS account ID.\n stsUri:\n type: array\n x-dcl-go-name: StsUri\n description: A list of AWS STS URIs that can be used when exchanging\n credentials. If not provided, any valid AWS STS URI is allowed. URIs\n must use the form `https://sts.amazonaws.com` or `https://sts.{region}.amazonaws.com`,\n where {region} is a valid AWS region. You can specify a maximum of\n 25 URIs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-mutable-unreadable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: A description for the provider. Cannot exceed 256 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Whether the provider is disabled. You cannot use a disabled\n provider to exchange tokens. However, existing tokens still grant access.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A display name for the provider. Cannot exceed 32 characters.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the provider.\n x-kubernetes-immutable: true\n oidc:\n type: object\n x-dcl-go-name: Oidc\n x-dcl-go-type: WorkloadIdentityPoolProviderOidc\n description: An OpenId Connect 1.0 identity provider.\n x-dcl-conflicts:\n - aws\n required:\n - issuerUri\n properties:\n allowedAudiences:\n type: array\n x-dcl-go-name: AllowedAudiences\n description: 'Acceptable values for the `aud` field (audience) in the\n OIDC token. Token exchange requests are rejected if the token audience\n does not match one of the configured values. Each audience may be\n at most 256 characters. A maximum of 10 audiences may be configured.\n If this list is empty, the OIDC token audience must be equal to the\n full canonical resource name of the WorkloadIdentityPoolProvider,\n with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\n https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\n ```'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: Required. The OIDC issuer URL. Must be an HTTPS endpoint.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkloadIdentityPoolProviderStateEnum\n readOnly: true\n description: 'Output only. The state of the provider. Possible values: STATE_UNSPECIFIED,\n ACTIVE, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - DELETED\n workloadIdentityPool:\n type: string\n x-dcl-go-name: WorkloadIdentityPool\n description: The workloadIdentityPool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/WorkloadIdentityPool\n field: name\n parent: true\n") -// 11192 bytes -// MD5: ef3afdbbd021412adb88f39cd91db8a2 +// 11217 bytes +// MD5: 7c812d9a6f64aefce1c466280162b7d0 diff --git a/services/google/iam/alpha/workload_identity_pool_provider_schema.go b/services/google/iam/alpha/workload_identity_pool_provider_schema.go index 52894f3df1..0162d0faa3 100755 --- a/services/google/iam/alpha/workload_identity_pool_provider_schema.go +++ b/services/google/iam/alpha/workload_identity_pool_provider_schema.go @@ -23,6 +23,7 @@ func DCLWorkloadIdentityPoolProviderSchema() *dcl.Schema { Title: "Iam/WorkloadIdentityPoolProvider", Description: "The Iam WorkloadIdentityPoolProvider resource", StructName: "WorkloadIdentityPoolProvider", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iam/alpha/workload_identity_pool_schema.go b/services/google/iam/alpha/workload_identity_pool_schema.go index 23dda180f6..d41bac0a6a 100755 --- a/services/google/iam/alpha/workload_identity_pool_schema.go +++ b/services/google/iam/alpha/workload_identity_pool_schema.go @@ -23,6 +23,7 @@ func DCLWorkloadIdentityPoolSchema() *dcl.Schema { Title: "Iam/WorkloadIdentityPool", Description: "The Iam WorkloadIdentityPool resource", StructName: "WorkloadIdentityPool", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iam/beta/role.yaml b/services/google/iam/beta/role.yaml index 9f533f9d9a..5f681a1d45 100755 --- a/services/google/iam/beta/role.yaml +++ b/services/google/iam/beta/role.yaml @@ -15,6 +15,7 @@ info: title: Iam/Role description: The Iam Role resource x-dcl-struct-name: Role + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iam/beta/role_beta_yaml_embed.go b/services/google/iam/beta/role_beta_yaml_embed.go index 25fcdc8269..7f035cd733 100755 --- a/services/google/iam/beta/role_beta_yaml_embed.go +++ b/services/google/iam/beta/role_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iam/beta/role.yaml -var YAML_role = []byte("info:\n title: Iam/Role\n description: The Iam Role resource\n x-dcl-struct-name: Role\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n apply:\n description: The function used to apply information about a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n delete:\n description: The function used to delete a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n deleteAll:\n description: The function used to delete all Role\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Role\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Role:\n title: Role\n x-dcl-id: '{{parent}}/roles/{{name}}'\n x-dcl-has-iam: false\n type: object\n properties:\n deleted:\n type: boolean\n x-dcl-go-name: Deleted\n description: The current deleted state of the role. This field is read only.\n It will be ignored in calls to CreateRole and UpdateRole.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human-readable description for the role.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n description: Used to perform a consistent read-modify-write.\n x-kubernetes-immutable: true\n groupName:\n type: string\n x-dcl-go-name: GroupName\n x-kubernetes-immutable: true\n groupTitle:\n type: string\n x-dcl-go-name: GroupTitle\n x-kubernetes-immutable: true\n includedPermissions:\n type: array\n x-dcl-go-name: IncludedPermissions\n description: The names of the permissions this role grants when bound in\n an IAM policy.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includedRoles:\n type: array\n x-dcl-go-name: IncludedRoles\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lifecyclePhase:\n type: string\n x-dcl-go-name: LifecyclePhase\n x-kubernetes-immutable: true\n localizedValues:\n type: object\n x-dcl-go-name: LocalizedValues\n x-dcl-go-type: RoleLocalizedValues\n x-kubernetes-immutable: true\n properties:\n localizedDescription:\n type: string\n x-dcl-go-name: LocalizedDescription\n description: Will be English by default or if an error occurred during\n translation.\n x-kubernetes-immutable: true\n localizedTitle:\n type: string\n x-dcl-go-name: LocalizedTitle\n description: Will be English by default or if an error occurred during\n translation.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the role. When Role is used in CreateRole, the\n role name must not be set. When Role is used in output and other input\n such as UpdateRole, the role name is the complete path, e.g., roles/logging.viewer\n for predefined roles and organizations/{ORGANIZATION_ID}/roles/logging.viewer\n for custom roles.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'The parent parameter''s value depends on the target resource\n for the request, namely projects or organizations. Each resource type''s\n parent value format is described below: projects.roles.create(): projects/{PROJECT_ID}.\n This method creates project-level custom roles. Example request URL: https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles\n organizations.roles.create(): organizations/{ORGANIZATION_ID}. This method\n creates organization-level custom roles. Example request URL: https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles\n Note: Wildcard (*) values are invalid; you must specify a complete project\n ID or organization ID. Authorization requires the following IAM permission\n on the specified resource parent: iam.roles.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n stage:\n type: string\n x-dcl-go-name: Stage\n x-dcl-go-type: RoleStageEnum\n description: The current launch stage of the role. If the `ALPHA` launch\n stage has been selected for a role, the `stage` field will not be included\n in the returned definition for the role.\n x-kubernetes-immutable: true\n enum:\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n - DISABLED\n - EAP\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. A human-readable title for the role. Typically this\n is limited to 100 UTF-8 bytes.\n x-kubernetes-immutable: true\n") +var YAML_role = []byte("info:\n title: Iam/Role\n description: The Iam Role resource\n x-dcl-struct-name: Role\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n apply:\n description: The function used to apply information about a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n delete:\n description: The function used to delete a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n deleteAll:\n description: The function used to delete all Role\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Role\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Role:\n title: Role\n x-dcl-id: '{{parent}}/roles/{{name}}'\n x-dcl-has-iam: false\n type: object\n properties:\n deleted:\n type: boolean\n x-dcl-go-name: Deleted\n description: The current deleted state of the role. This field is read only.\n It will be ignored in calls to CreateRole and UpdateRole.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human-readable description for the role.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n description: Used to perform a consistent read-modify-write.\n x-kubernetes-immutable: true\n groupName:\n type: string\n x-dcl-go-name: GroupName\n x-kubernetes-immutable: true\n groupTitle:\n type: string\n x-dcl-go-name: GroupTitle\n x-kubernetes-immutable: true\n includedPermissions:\n type: array\n x-dcl-go-name: IncludedPermissions\n description: The names of the permissions this role grants when bound in\n an IAM policy.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includedRoles:\n type: array\n x-dcl-go-name: IncludedRoles\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lifecyclePhase:\n type: string\n x-dcl-go-name: LifecyclePhase\n x-kubernetes-immutable: true\n localizedValues:\n type: object\n x-dcl-go-name: LocalizedValues\n x-dcl-go-type: RoleLocalizedValues\n x-kubernetes-immutable: true\n properties:\n localizedDescription:\n type: string\n x-dcl-go-name: LocalizedDescription\n description: Will be English by default or if an error occurred during\n translation.\n x-kubernetes-immutable: true\n localizedTitle:\n type: string\n x-dcl-go-name: LocalizedTitle\n description: Will be English by default or if an error occurred during\n translation.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the role. When Role is used in CreateRole, the\n role name must not be set. When Role is used in output and other input\n such as UpdateRole, the role name is the complete path, e.g., roles/logging.viewer\n for predefined roles and organizations/{ORGANIZATION_ID}/roles/logging.viewer\n for custom roles.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'The parent parameter''s value depends on the target resource\n for the request, namely projects or organizations. Each resource type''s\n parent value format is described below: projects.roles.create(): projects/{PROJECT_ID}.\n This method creates project-level custom roles. Example request URL: https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles\n organizations.roles.create(): organizations/{ORGANIZATION_ID}. This method\n creates organization-level custom roles. Example request URL: https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles\n Note: Wildcard (*) values are invalid; you must specify a complete project\n ID or organization ID. Authorization requires the following IAM permission\n on the specified resource parent: iam.roles.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n stage:\n type: string\n x-dcl-go-name: Stage\n x-dcl-go-type: RoleStageEnum\n description: The current launch stage of the role. If the `ALPHA` launch\n stage has been selected for a role, the `stage` field will not be included\n in the returned definition for the role.\n x-kubernetes-immutable: true\n enum:\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n - DISABLED\n - EAP\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. A human-readable title for the role. Typically this\n is limited to 100 UTF-8 bytes.\n x-kubernetes-immutable: true\n") -// 5968 bytes -// MD5: 6b6ae4c6c7a787028a83604ade8f6775 +// 5993 bytes +// MD5: cf46ed2451805d5dafda31307d8e1e88 diff --git a/services/google/iam/beta/role_schema.go b/services/google/iam/beta/role_schema.go index 2dedce786e..1836762bdf 100755 --- a/services/google/iam/beta/role_schema.go +++ b/services/google/iam/beta/role_schema.go @@ -23,6 +23,7 @@ func DCLRoleSchema() *dcl.Schema { Title: "Iam/Role", Description: "The Iam Role resource", StructName: "Role", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iam/beta/service_account.yaml b/services/google/iam/beta/service_account.yaml index 366cf660d2..3788814dbf 100755 --- a/services/google/iam/beta/service_account.yaml +++ b/services/google/iam/beta/service_account.yaml @@ -15,6 +15,7 @@ info: title: Iam/ServiceAccount description: The Iam ServiceAccount resource x-dcl-struct-name: ServiceAccount + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/iam/beta/service_account_beta_yaml_embed.go b/services/google/iam/beta/service_account_beta_yaml_embed.go index 0c35438bec..26bfb5a1e3 100755 --- a/services/google/iam/beta/service_account_beta_yaml_embed.go +++ b/services/google/iam/beta/service_account_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iam/beta/service_account.yaml -var YAML_service_account = []byte("info:\n title: Iam/ServiceAccount\n description: The Iam ServiceAccount resource\n x-dcl-struct-name: ServiceAccount\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n apply:\n description: The function used to apply information about a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n delete:\n description: The function used to delete a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n deleteAll:\n description: The function used to delete all ServiceAccount\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceAccount\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceAccount:\n title: ServiceAccount\n x-dcl-id: projects/{{project}}/serviceAccounts/{{name}}@{{project}}.iam.gserviceaccount.com\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n properties:\n actasResources:\n type: object\n x-dcl-go-name: ActasResources\n x-dcl-go-type: ServiceAccountActasResources\n description: Optional.\n x-kubernetes-immutable: true\n properties:\n resources:\n type: array\n x-dcl-go-name: Resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAccountActasResourcesResources\n properties:\n fullResourceName:\n type: string\n x-dcl-go-name: FullResourceName\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A user-specified, human-readable description of the\n service account. The maximum length is 256 UTF-8 bytes.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n readOnly: true\n description: Output only. Whether the service account is disabled.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. A user-specified, human-readable name for the service\n account. The maximum length is 100 UTF-8 bytes.\n email:\n type: string\n x-dcl-go-name: Email\n readOnly: true\n description: Output only. The email address of the service account.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the service account. Use one of the following\n formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}`\n As an alternative, you can use the `-` wildcard character instead of the\n project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}`\n When possible, avoid using the `-` wildcard character, because it can\n cause response messages to contain misleading error codes. For example,\n if you try to get the service account `projects/-/serviceAccounts/fake@example.com`,\n which does not exist, the response contains an HTTP `403 Forbidden` error\n instead of a `404 Not Found` error.'\n x-kubernetes-immutable: true\n oauth2ClientId:\n type: string\n x-dcl-go-name: OAuth2ClientId\n readOnly: true\n description: Output only. The OAuth 2.0 client ID for the service account.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The ID of the project that owns the service account.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The unique, stable numeric ID for the service\n account. Each service account retains its unique ID even if you delete\n the service account. For example, if you delete a service account, then\n create a new service account with the same name, the new service account\n has a different unique ID than the deleted service account.\n x-kubernetes-immutable: true\n") +var YAML_service_account = []byte("info:\n title: Iam/ServiceAccount\n description: The Iam ServiceAccount resource\n x-dcl-struct-name: ServiceAccount\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n apply:\n description: The function used to apply information about a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n delete:\n description: The function used to delete a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n deleteAll:\n description: The function used to delete all ServiceAccount\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceAccount\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceAccount:\n title: ServiceAccount\n x-dcl-id: projects/{{project}}/serviceAccounts/{{name}}@{{project}}.iam.gserviceaccount.com\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n properties:\n actasResources:\n type: object\n x-dcl-go-name: ActasResources\n x-dcl-go-type: ServiceAccountActasResources\n description: Optional.\n x-kubernetes-immutable: true\n properties:\n resources:\n type: array\n x-dcl-go-name: Resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAccountActasResourcesResources\n properties:\n fullResourceName:\n type: string\n x-dcl-go-name: FullResourceName\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A user-specified, human-readable description of the\n service account. The maximum length is 256 UTF-8 bytes.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n readOnly: true\n description: Output only. Whether the service account is disabled.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. A user-specified, human-readable name for the service\n account. The maximum length is 100 UTF-8 bytes.\n email:\n type: string\n x-dcl-go-name: Email\n readOnly: true\n description: Output only. The email address of the service account.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the service account. Use one of the following\n formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}`\n As an alternative, you can use the `-` wildcard character instead of the\n project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}`\n When possible, avoid using the `-` wildcard character, because it can\n cause response messages to contain misleading error codes. For example,\n if you try to get the service account `projects/-/serviceAccounts/fake@example.com`,\n which does not exist, the response contains an HTTP `403 Forbidden` error\n instead of a `404 Not Found` error.'\n x-kubernetes-immutable: true\n oauth2ClientId:\n type: string\n x-dcl-go-name: OAuth2ClientId\n readOnly: true\n description: Output only. The OAuth 2.0 client ID for the service account.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The ID of the project that owns the service account.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The unique, stable numeric ID for the service\n account. Each service account retains its unique ID even if you delete\n the service account. For example, if you delete a service account, then\n create a new service account with the same name, the new service account\n has a different unique ID than the deleted service account.\n x-kubernetes-immutable: true\n") -// 5037 bytes -// MD5: 48a117a166d7ad9be0edc61532cd83bc +// 5062 bytes +// MD5: 27ecea3f5e01b0982644d7337d9dac58 diff --git a/services/google/iam/beta/service_account_schema.go b/services/google/iam/beta/service_account_schema.go index f8335ce8e6..c2991e7a15 100755 --- a/services/google/iam/beta/service_account_schema.go +++ b/services/google/iam/beta/service_account_schema.go @@ -23,6 +23,7 @@ func DCLServiceAccountSchema() *dcl.Schema { Title: "Iam/ServiceAccount", Description: "The Iam ServiceAccount resource", StructName: "ServiceAccount", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/iam/beta/workforce_pool.yaml b/services/google/iam/beta/workforce_pool.yaml index 970d2c7514..603f95e3a8 100755 --- a/services/google/iam/beta/workforce_pool.yaml +++ b/services/google/iam/beta/workforce_pool.yaml @@ -15,6 +15,7 @@ info: title: Iam/WorkforcePool description: The Iam WorkforcePool resource x-dcl-struct-name: WorkforcePool + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/iam/beta/workforce_pool_provider.yaml b/services/google/iam/beta/workforce_pool_provider.yaml index a52599a74c..b115e81873 100755 --- a/services/google/iam/beta/workforce_pool_provider.yaml +++ b/services/google/iam/beta/workforce_pool_provider.yaml @@ -15,6 +15,7 @@ info: title: Iam/WorkforcePoolProvider description: The Iam WorkforcePoolProvider resource x-dcl-struct-name: WorkforcePoolProvider + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iam/beta/workload_identity_pool.yaml b/services/google/iam/beta/workload_identity_pool.yaml index d679d3996f..ba31826ec5 100755 --- a/services/google/iam/beta/workload_identity_pool.yaml +++ b/services/google/iam/beta/workload_identity_pool.yaml @@ -15,6 +15,7 @@ info: title: Iam/WorkloadIdentityPool description: The Iam WorkloadIdentityPool resource x-dcl-struct-name: WorkloadIdentityPool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iam/beta/workload_identity_pool_beta_yaml_embed.go b/services/google/iam/beta/workload_identity_pool_beta_yaml_embed.go index cf59556e3f..a8a04cbe41 100755 --- a/services/google/iam/beta/workload_identity_pool_beta_yaml_embed.go +++ b/services/google/iam/beta/workload_identity_pool_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iam/beta/workload_identity_pool.yaml -var YAML_workload_identity_pool = []byte("info:\n title: Iam/WorkloadIdentityPool\n description: The Iam WorkloadIdentityPool resource\n x-dcl-struct-name: WorkloadIdentityPool\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n apply:\n description: The function used to apply information about a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n delete:\n description: The function used to delete a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n deleteAll:\n description: The function used to delete all WorkloadIdentityPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkloadIdentityPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkloadIdentityPool:\n title: WorkloadIdentityPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/workloadIdentityPools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of the pool. Cannot exceed 256 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Whether the pool is disabled. You cannot use a disabled pool\n to exchange tokens, or use existing tokens to access resources. If the\n pool is re-enabled, existing tokens grant access again.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A display name for the pool. Cannot exceed 32 characters.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the pool.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkloadIdentityPoolStateEnum\n readOnly: true\n description: 'Output only. The state of the pool. Possible values: STATE_UNSPECIFIED,\n ACTIVE, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - DELETED\n") +var YAML_workload_identity_pool = []byte("info:\n title: Iam/WorkloadIdentityPool\n description: The Iam WorkloadIdentityPool resource\n x-dcl-struct-name: WorkloadIdentityPool\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n apply:\n description: The function used to apply information about a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n delete:\n description: The function used to delete a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n deleteAll:\n description: The function used to delete all WorkloadIdentityPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkloadIdentityPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkloadIdentityPool:\n title: WorkloadIdentityPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/workloadIdentityPools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of the pool. Cannot exceed 256 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Whether the pool is disabled. You cannot use a disabled pool\n to exchange tokens, or use existing tokens to access resources. If the\n pool is re-enabled, existing tokens grant access again.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A display name for the pool. Cannot exceed 32 characters.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the pool.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkloadIdentityPoolStateEnum\n readOnly: true\n description: 'Output only. The state of the pool. Possible values: STATE_UNSPECIFIED,\n ACTIVE, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - DELETED\n") -// 3338 bytes -// MD5: b70ce985db6d9b76c3445c44026974e9 +// 3363 bytes +// MD5: 01e2f919efef25b7adb089f3a59dc7b1 diff --git a/services/google/iam/beta/workload_identity_pool_provider.yaml b/services/google/iam/beta/workload_identity_pool_provider.yaml index e6f87012fd..abba772ebf 100755 --- a/services/google/iam/beta/workload_identity_pool_provider.yaml +++ b/services/google/iam/beta/workload_identity_pool_provider.yaml @@ -15,6 +15,7 @@ info: title: Iam/WorkloadIdentityPoolProvider description: The Iam WorkloadIdentityPoolProvider resource x-dcl-struct-name: WorkloadIdentityPoolProvider + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iam/beta/workload_identity_pool_provider_beta_yaml_embed.go b/services/google/iam/beta/workload_identity_pool_provider_beta_yaml_embed.go index 8c3cedfb10..a1c4c6d32c 100755 --- a/services/google/iam/beta/workload_identity_pool_provider_beta_yaml_embed.go +++ b/services/google/iam/beta/workload_identity_pool_provider_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iam/beta/workload_identity_pool_provider.yaml -var YAML_workload_identity_pool_provider = []byte("info:\n title: Iam/WorkloadIdentityPoolProvider\n description: The Iam WorkloadIdentityPoolProvider resource\n x-dcl-struct-name: WorkloadIdentityPoolProvider\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n apply:\n description: The function used to apply information about a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n delete:\n description: The function used to delete a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n deleteAll:\n description: The function used to delete all WorkloadIdentityPoolProvider\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: workloadidentitypool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkloadIdentityPoolProvider\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: workloadidentitypool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkloadIdentityPoolProvider:\n title: WorkloadIdentityPoolProvider\n x-dcl-id: projects/{{project}}/locations/{{location}}/workloadIdentityPools/{{workload_identity_pool}}/providers/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n - workloadIdentityPool\n properties:\n attributeCondition:\n type: string\n x-dcl-go-name: AttributeCondition\n description: '[A Common Expression Language](https://opensource.google/projects/cel)\n expression, in plain text, to restrict what otherwise valid authentication\n credentials issued by the provider should not be accepted. The expression\n must output a boolean representing whether to allow the federation. The\n following keywords may be referenced in the expressions: * `assertion`:\n JSON representing the authentication credential issued by the provider.\n * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`.\n * `attribute`: The custom attributes mapped from the assertion in the\n `attribute_mappings`. The maximum length of the attribute condition expression\n is 4096 characters. If unspecified, all valid authentication credential\n are accepted. The following example shows how to only allow credentials\n with a mapped `google.groups` value of `admins`: ``` \"''admins'' in google.groups\"\n ```'\n attributeMapping:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: AttributeMapping\n description: 'Maps attributes from authentication credentials issued by\n an external identity provider to Google Cloud attributes, such as `subject`\n and `segment`. Each key must be a string specifying the Google Cloud IAM\n attribute to map to. The following keys are supported: * `google.subject`:\n The principal IAM is authenticating. You can reference this value in IAM\n bindings. This is also the subject that appears in Cloud Logging logs.\n Cannot exceed 127 characters. * `google.groups`: Groups the external identity\n belongs to. You can grant groups access to resources using an IAM `principalSet`\n binding; access applies to all members of the group. You can also provide\n custom attributes by specifying `attribute.{custom_attribute}`, where\n `{custom_attribute}` is the name of the custom attribute to be mapped.\n You can define a maximum of 50 custom attributes. The maximum length of\n a mapped attribute key is 100 characters, and the key may only contain\n the characters [a-z0-9_]. You can reference these attributes in IAM policies\n to define fine-grained access for a workload to Google Cloud resources.\n For example: * `google.subject`: `principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}`\n * `google.groups`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}`\n * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}`\n Each value must be a [Common Expression Language] (https://opensource.google/projects/cel)\n function that maps an identity provider credential to the normalized attribute\n specified by the corresponding map key. You can use the `assertion` keyword\n in the expression to access a JSON representation of the authentication\n credential issued by the provider. The maximum length of an attribute\n mapping expression is 2048 characters. When evaluated, the total size\n of all mapped attributes must not exceed 8KB. For AWS providers, if no\n attribute mapping is defined, the following default mapping applies: ```\n { \"google.subject\":\"assertion.arn\", \"attribute.aws_role\": \"assertion.arn.contains(''assumed-role'')\"\n \" ? assertion.arn.extract(''{account_arn}assumed-role/'')\" \" + ''assumed-role/''\"\n \" + assertion.arn.extract(''assumed-role/{role_name}/'')\" \" : assertion.arn\",\n } ``` If any custom attribute mappings are defined, they must include\n a mapping to the `google.subject` attribute. For OIDC providers, you must\n supply a custom mapping, which must include the `google.subject` attribute.\n For example, the following maps the `sub` claim of the incoming credential\n to the `subject` attribute on a Google token: ``` {\"google.subject\": \"assertion.sub\"}\n ```'\n aws:\n type: object\n x-dcl-go-name: Aws\n x-dcl-go-type: WorkloadIdentityPoolProviderAws\n description: An Amazon Web Services identity provider.\n x-dcl-conflicts:\n - oidc\n required:\n - accountId\n properties:\n accountId:\n type: string\n x-dcl-go-name: AccountId\n description: Required. The AWS account ID.\n stsUri:\n type: array\n x-dcl-go-name: StsUri\n description: A list of AWS STS URIs that can be used when exchanging\n credentials. If not provided, any valid AWS STS URI is allowed. URIs\n must use the form `https://sts.amazonaws.com` or `https://sts.{region}.amazonaws.com`,\n where {region} is a valid AWS region. You can specify a maximum of\n 25 URIs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-mutable-unreadable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: A description for the provider. Cannot exceed 256 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Whether the provider is disabled. You cannot use a disabled\n provider to exchange tokens. However, existing tokens still grant access.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A display name for the provider. Cannot exceed 32 characters.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the provider.\n x-kubernetes-immutable: true\n oidc:\n type: object\n x-dcl-go-name: Oidc\n x-dcl-go-type: WorkloadIdentityPoolProviderOidc\n description: An OpenId Connect 1.0 identity provider.\n x-dcl-conflicts:\n - aws\n required:\n - issuerUri\n properties:\n allowedAudiences:\n type: array\n x-dcl-go-name: AllowedAudiences\n description: 'Acceptable values for the `aud` field (audience) in the\n OIDC token. Token exchange requests are rejected if the token audience\n does not match one of the configured values. Each audience may be\n at most 256 characters. A maximum of 10 audiences may be configured.\n If this list is empty, the OIDC token audience must be equal to the\n full canonical resource name of the WorkloadIdentityPoolProvider,\n with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\n https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\n ```'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: Required. The OIDC issuer URL. Must be an HTTPS endpoint.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkloadIdentityPoolProviderStateEnum\n readOnly: true\n description: 'Output only. The state of the provider. Possible values: STATE_UNSPECIFIED,\n ACTIVE, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - DELETED\n workloadIdentityPool:\n type: string\n x-dcl-go-name: WorkloadIdentityPool\n description: The workloadIdentityPool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/WorkloadIdentityPool\n field: name\n parent: true\n") +var YAML_workload_identity_pool_provider = []byte("info:\n title: Iam/WorkloadIdentityPoolProvider\n description: The Iam WorkloadIdentityPoolProvider resource\n x-dcl-struct-name: WorkloadIdentityPoolProvider\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n apply:\n description: The function used to apply information about a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n delete:\n description: The function used to delete a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n deleteAll:\n description: The function used to delete all WorkloadIdentityPoolProvider\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: workloadidentitypool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkloadIdentityPoolProvider\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: workloadidentitypool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkloadIdentityPoolProvider:\n title: WorkloadIdentityPoolProvider\n x-dcl-id: projects/{{project}}/locations/{{location}}/workloadIdentityPools/{{workload_identity_pool}}/providers/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n - workloadIdentityPool\n properties:\n attributeCondition:\n type: string\n x-dcl-go-name: AttributeCondition\n description: '[A Common Expression Language](https://opensource.google/projects/cel)\n expression, in plain text, to restrict what otherwise valid authentication\n credentials issued by the provider should not be accepted. The expression\n must output a boolean representing whether to allow the federation. The\n following keywords may be referenced in the expressions: * `assertion`:\n JSON representing the authentication credential issued by the provider.\n * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`.\n * `attribute`: The custom attributes mapped from the assertion in the\n `attribute_mappings`. The maximum length of the attribute condition expression\n is 4096 characters. If unspecified, all valid authentication credential\n are accepted. The following example shows how to only allow credentials\n with a mapped `google.groups` value of `admins`: ``` \"''admins'' in google.groups\"\n ```'\n attributeMapping:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: AttributeMapping\n description: 'Maps attributes from authentication credentials issued by\n an external identity provider to Google Cloud attributes, such as `subject`\n and `segment`. Each key must be a string specifying the Google Cloud IAM\n attribute to map to. The following keys are supported: * `google.subject`:\n The principal IAM is authenticating. You can reference this value in IAM\n bindings. This is also the subject that appears in Cloud Logging logs.\n Cannot exceed 127 characters. * `google.groups`: Groups the external identity\n belongs to. You can grant groups access to resources using an IAM `principalSet`\n binding; access applies to all members of the group. You can also provide\n custom attributes by specifying `attribute.{custom_attribute}`, where\n `{custom_attribute}` is the name of the custom attribute to be mapped.\n You can define a maximum of 50 custom attributes. The maximum length of\n a mapped attribute key is 100 characters, and the key may only contain\n the characters [a-z0-9_]. You can reference these attributes in IAM policies\n to define fine-grained access for a workload to Google Cloud resources.\n For example: * `google.subject`: `principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}`\n * `google.groups`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}`\n * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}`\n Each value must be a [Common Expression Language] (https://opensource.google/projects/cel)\n function that maps an identity provider credential to the normalized attribute\n specified by the corresponding map key. You can use the `assertion` keyword\n in the expression to access a JSON representation of the authentication\n credential issued by the provider. The maximum length of an attribute\n mapping expression is 2048 characters. When evaluated, the total size\n of all mapped attributes must not exceed 8KB. For AWS providers, if no\n attribute mapping is defined, the following default mapping applies: ```\n { \"google.subject\":\"assertion.arn\", \"attribute.aws_role\": \"assertion.arn.contains(''assumed-role'')\"\n \" ? assertion.arn.extract(''{account_arn}assumed-role/'')\" \" + ''assumed-role/''\"\n \" + assertion.arn.extract(''assumed-role/{role_name}/'')\" \" : assertion.arn\",\n } ``` If any custom attribute mappings are defined, they must include\n a mapping to the `google.subject` attribute. For OIDC providers, you must\n supply a custom mapping, which must include the `google.subject` attribute.\n For example, the following maps the `sub` claim of the incoming credential\n to the `subject` attribute on a Google token: ``` {\"google.subject\": \"assertion.sub\"}\n ```'\n aws:\n type: object\n x-dcl-go-name: Aws\n x-dcl-go-type: WorkloadIdentityPoolProviderAws\n description: An Amazon Web Services identity provider.\n x-dcl-conflicts:\n - oidc\n required:\n - accountId\n properties:\n accountId:\n type: string\n x-dcl-go-name: AccountId\n description: Required. The AWS account ID.\n stsUri:\n type: array\n x-dcl-go-name: StsUri\n description: A list of AWS STS URIs that can be used when exchanging\n credentials. If not provided, any valid AWS STS URI is allowed. URIs\n must use the form `https://sts.amazonaws.com` or `https://sts.{region}.amazonaws.com`,\n where {region} is a valid AWS region. You can specify a maximum of\n 25 URIs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-mutable-unreadable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: A description for the provider. Cannot exceed 256 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Whether the provider is disabled. You cannot use a disabled\n provider to exchange tokens. However, existing tokens still grant access.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A display name for the provider. Cannot exceed 32 characters.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the provider.\n x-kubernetes-immutable: true\n oidc:\n type: object\n x-dcl-go-name: Oidc\n x-dcl-go-type: WorkloadIdentityPoolProviderOidc\n description: An OpenId Connect 1.0 identity provider.\n x-dcl-conflicts:\n - aws\n required:\n - issuerUri\n properties:\n allowedAudiences:\n type: array\n x-dcl-go-name: AllowedAudiences\n description: 'Acceptable values for the `aud` field (audience) in the\n OIDC token. Token exchange requests are rejected if the token audience\n does not match one of the configured values. Each audience may be\n at most 256 characters. A maximum of 10 audiences may be configured.\n If this list is empty, the OIDC token audience must be equal to the\n full canonical resource name of the WorkloadIdentityPoolProvider,\n with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\n https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\n ```'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: Required. The OIDC issuer URL. Must be an HTTPS endpoint.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkloadIdentityPoolProviderStateEnum\n readOnly: true\n description: 'Output only. The state of the provider. Possible values: STATE_UNSPECIFIED,\n ACTIVE, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - DELETED\n workloadIdentityPool:\n type: string\n x-dcl-go-name: WorkloadIdentityPool\n description: The workloadIdentityPool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/WorkloadIdentityPool\n field: name\n parent: true\n") -// 11192 bytes -// MD5: ef3afdbbd021412adb88f39cd91db8a2 +// 11217 bytes +// MD5: 7c812d9a6f64aefce1c466280162b7d0 diff --git a/services/google/iam/beta/workload_identity_pool_provider_schema.go b/services/google/iam/beta/workload_identity_pool_provider_schema.go index b9b4b741cd..cd7fba1379 100755 --- a/services/google/iam/beta/workload_identity_pool_provider_schema.go +++ b/services/google/iam/beta/workload_identity_pool_provider_schema.go @@ -23,6 +23,7 @@ func DCLWorkloadIdentityPoolProviderSchema() *dcl.Schema { Title: "Iam/WorkloadIdentityPoolProvider", Description: "The Iam WorkloadIdentityPoolProvider resource", StructName: "WorkloadIdentityPoolProvider", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iam/beta/workload_identity_pool_schema.go b/services/google/iam/beta/workload_identity_pool_schema.go index b1eab5c3f8..ab5cba5cbb 100755 --- a/services/google/iam/beta/workload_identity_pool_schema.go +++ b/services/google/iam/beta/workload_identity_pool_schema.go @@ -23,6 +23,7 @@ func DCLWorkloadIdentityPoolSchema() *dcl.Schema { Title: "Iam/WorkloadIdentityPool", Description: "The Iam WorkloadIdentityPool resource", StructName: "WorkloadIdentityPool", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iam/role.yaml b/services/google/iam/role.yaml index 9f533f9d9a..5f681a1d45 100755 --- a/services/google/iam/role.yaml +++ b/services/google/iam/role.yaml @@ -15,6 +15,7 @@ info: title: Iam/Role description: The Iam Role resource x-dcl-struct-name: Role + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iam/role_schema.go b/services/google/iam/role_schema.go index 749814f256..82b8e18332 100755 --- a/services/google/iam/role_schema.go +++ b/services/google/iam/role_schema.go @@ -23,6 +23,7 @@ func DCLRoleSchema() *dcl.Schema { Title: "Iam/Role", Description: "The Iam Role resource", StructName: "Role", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iam/role_yaml_embed.go b/services/google/iam/role_yaml_embed.go index 7875fc8d27..b41e97300c 100755 --- a/services/google/iam/role_yaml_embed.go +++ b/services/google/iam/role_yaml_embed.go @@ -17,7 +17,7 @@ package iam // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iam/role.yaml -var YAML_role = []byte("info:\n title: Iam/Role\n description: The Iam Role resource\n x-dcl-struct-name: Role\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n apply:\n description: The function used to apply information about a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n delete:\n description: The function used to delete a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n deleteAll:\n description: The function used to delete all Role\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Role\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Role:\n title: Role\n x-dcl-id: '{{parent}}/roles/{{name}}'\n x-dcl-has-iam: false\n type: object\n properties:\n deleted:\n type: boolean\n x-dcl-go-name: Deleted\n description: The current deleted state of the role. This field is read only.\n It will be ignored in calls to CreateRole and UpdateRole.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human-readable description for the role.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n description: Used to perform a consistent read-modify-write.\n x-kubernetes-immutable: true\n groupName:\n type: string\n x-dcl-go-name: GroupName\n x-kubernetes-immutable: true\n groupTitle:\n type: string\n x-dcl-go-name: GroupTitle\n x-kubernetes-immutable: true\n includedPermissions:\n type: array\n x-dcl-go-name: IncludedPermissions\n description: The names of the permissions this role grants when bound in\n an IAM policy.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includedRoles:\n type: array\n x-dcl-go-name: IncludedRoles\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lifecyclePhase:\n type: string\n x-dcl-go-name: LifecyclePhase\n x-kubernetes-immutable: true\n localizedValues:\n type: object\n x-dcl-go-name: LocalizedValues\n x-dcl-go-type: RoleLocalizedValues\n x-kubernetes-immutable: true\n properties:\n localizedDescription:\n type: string\n x-dcl-go-name: LocalizedDescription\n description: Will be English by default or if an error occurred during\n translation.\n x-kubernetes-immutable: true\n localizedTitle:\n type: string\n x-dcl-go-name: LocalizedTitle\n description: Will be English by default or if an error occurred during\n translation.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the role. When Role is used in CreateRole, the\n role name must not be set. When Role is used in output and other input\n such as UpdateRole, the role name is the complete path, e.g., roles/logging.viewer\n for predefined roles and organizations/{ORGANIZATION_ID}/roles/logging.viewer\n for custom roles.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'The parent parameter''s value depends on the target resource\n for the request, namely projects or organizations. Each resource type''s\n parent value format is described below: projects.roles.create(): projects/{PROJECT_ID}.\n This method creates project-level custom roles. Example request URL: https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles\n organizations.roles.create(): organizations/{ORGANIZATION_ID}. This method\n creates organization-level custom roles. Example request URL: https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles\n Note: Wildcard (*) values are invalid; you must specify a complete project\n ID or organization ID. Authorization requires the following IAM permission\n on the specified resource parent: iam.roles.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n stage:\n type: string\n x-dcl-go-name: Stage\n x-dcl-go-type: RoleStageEnum\n description: The current launch stage of the role. If the `ALPHA` launch\n stage has been selected for a role, the `stage` field will not be included\n in the returned definition for the role.\n x-kubernetes-immutable: true\n enum:\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n - DISABLED\n - EAP\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. A human-readable title for the role. Typically this\n is limited to 100 UTF-8 bytes.\n x-kubernetes-immutable: true\n") +var YAML_role = []byte("info:\n title: Iam/Role\n description: The Iam Role resource\n x-dcl-struct-name: Role\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n apply:\n description: The function used to apply information about a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n delete:\n description: The function used to delete a Role\n parameters:\n - name: Role\n required: true\n description: A full instance of a Role\n deleteAll:\n description: The function used to delete all Role\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Role\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Role:\n title: Role\n x-dcl-id: '{{parent}}/roles/{{name}}'\n x-dcl-has-iam: false\n type: object\n properties:\n deleted:\n type: boolean\n x-dcl-go-name: Deleted\n description: The current deleted state of the role. This field is read only.\n It will be ignored in calls to CreateRole and UpdateRole.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human-readable description for the role.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n description: Used to perform a consistent read-modify-write.\n x-kubernetes-immutable: true\n groupName:\n type: string\n x-dcl-go-name: GroupName\n x-kubernetes-immutable: true\n groupTitle:\n type: string\n x-dcl-go-name: GroupTitle\n x-kubernetes-immutable: true\n includedPermissions:\n type: array\n x-dcl-go-name: IncludedPermissions\n description: The names of the permissions this role grants when bound in\n an IAM policy.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includedRoles:\n type: array\n x-dcl-go-name: IncludedRoles\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lifecyclePhase:\n type: string\n x-dcl-go-name: LifecyclePhase\n x-kubernetes-immutable: true\n localizedValues:\n type: object\n x-dcl-go-name: LocalizedValues\n x-dcl-go-type: RoleLocalizedValues\n x-kubernetes-immutable: true\n properties:\n localizedDescription:\n type: string\n x-dcl-go-name: LocalizedDescription\n description: Will be English by default or if an error occurred during\n translation.\n x-kubernetes-immutable: true\n localizedTitle:\n type: string\n x-dcl-go-name: LocalizedTitle\n description: Will be English by default or if an error occurred during\n translation.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the role. When Role is used in CreateRole, the\n role name must not be set. When Role is used in output and other input\n such as UpdateRole, the role name is the complete path, e.g., roles/logging.viewer\n for predefined roles and organizations/{ORGANIZATION_ID}/roles/logging.viewer\n for custom roles.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'The parent parameter''s value depends on the target resource\n for the request, namely projects or organizations. Each resource type''s\n parent value format is described below: projects.roles.create(): projects/{PROJECT_ID}.\n This method creates project-level custom roles. Example request URL: https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles\n organizations.roles.create(): organizations/{ORGANIZATION_ID}. This method\n creates organization-level custom roles. Example request URL: https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles\n Note: Wildcard (*) values are invalid; you must specify a complete project\n ID or organization ID. Authorization requires the following IAM permission\n on the specified resource parent: iam.roles.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n stage:\n type: string\n x-dcl-go-name: Stage\n x-dcl-go-type: RoleStageEnum\n description: The current launch stage of the role. If the `ALPHA` launch\n stage has been selected for a role, the `stage` field will not be included\n in the returned definition for the role.\n x-kubernetes-immutable: true\n enum:\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n - DISABLED\n - EAP\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. A human-readable title for the role. Typically this\n is limited to 100 UTF-8 bytes.\n x-kubernetes-immutable: true\n") -// 5968 bytes -// MD5: 6b6ae4c6c7a787028a83604ade8f6775 +// 5993 bytes +// MD5: cf46ed2451805d5dafda31307d8e1e88 diff --git a/services/google/iam/service_account.yaml b/services/google/iam/service_account.yaml index 366cf660d2..3788814dbf 100755 --- a/services/google/iam/service_account.yaml +++ b/services/google/iam/service_account.yaml @@ -15,6 +15,7 @@ info: title: Iam/ServiceAccount description: The Iam ServiceAccount resource x-dcl-struct-name: ServiceAccount + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/iam/service_account_schema.go b/services/google/iam/service_account_schema.go index 61104c46c8..666b55c9f4 100755 --- a/services/google/iam/service_account_schema.go +++ b/services/google/iam/service_account_schema.go @@ -23,6 +23,7 @@ func DCLServiceAccountSchema() *dcl.Schema { Title: "Iam/ServiceAccount", Description: "The Iam ServiceAccount resource", StructName: "ServiceAccount", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/iam/service_account_yaml_embed.go b/services/google/iam/service_account_yaml_embed.go index 8e522651c2..75af272779 100755 --- a/services/google/iam/service_account_yaml_embed.go +++ b/services/google/iam/service_account_yaml_embed.go @@ -17,7 +17,7 @@ package iam // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iam/service_account.yaml -var YAML_service_account = []byte("info:\n title: Iam/ServiceAccount\n description: The Iam ServiceAccount resource\n x-dcl-struct-name: ServiceAccount\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n apply:\n description: The function used to apply information about a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n delete:\n description: The function used to delete a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n deleteAll:\n description: The function used to delete all ServiceAccount\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceAccount\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceAccount:\n title: ServiceAccount\n x-dcl-id: projects/{{project}}/serviceAccounts/{{name}}@{{project}}.iam.gserviceaccount.com\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n properties:\n actasResources:\n type: object\n x-dcl-go-name: ActasResources\n x-dcl-go-type: ServiceAccountActasResources\n description: Optional.\n x-kubernetes-immutable: true\n properties:\n resources:\n type: array\n x-dcl-go-name: Resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAccountActasResourcesResources\n properties:\n fullResourceName:\n type: string\n x-dcl-go-name: FullResourceName\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A user-specified, human-readable description of the\n service account. The maximum length is 256 UTF-8 bytes.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n readOnly: true\n description: Output only. Whether the service account is disabled.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. A user-specified, human-readable name for the service\n account. The maximum length is 100 UTF-8 bytes.\n email:\n type: string\n x-dcl-go-name: Email\n readOnly: true\n description: Output only. The email address of the service account.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the service account. Use one of the following\n formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}`\n As an alternative, you can use the `-` wildcard character instead of the\n project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}`\n When possible, avoid using the `-` wildcard character, because it can\n cause response messages to contain misleading error codes. For example,\n if you try to get the service account `projects/-/serviceAccounts/fake@example.com`,\n which does not exist, the response contains an HTTP `403 Forbidden` error\n instead of a `404 Not Found` error.'\n x-kubernetes-immutable: true\n oauth2ClientId:\n type: string\n x-dcl-go-name: OAuth2ClientId\n readOnly: true\n description: Output only. The OAuth 2.0 client ID for the service account.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The ID of the project that owns the service account.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The unique, stable numeric ID for the service\n account. Each service account retains its unique ID even if you delete\n the service account. For example, if you delete a service account, then\n create a new service account with the same name, the new service account\n has a different unique ID than the deleted service account.\n x-kubernetes-immutable: true\n") +var YAML_service_account = []byte("info:\n title: Iam/ServiceAccount\n description: The Iam ServiceAccount resource\n x-dcl-struct-name: ServiceAccount\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n apply:\n description: The function used to apply information about a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n delete:\n description: The function used to delete a ServiceAccount\n parameters:\n - name: ServiceAccount\n required: true\n description: A full instance of a ServiceAccount\n deleteAll:\n description: The function used to delete all ServiceAccount\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceAccount\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceAccount:\n title: ServiceAccount\n x-dcl-id: projects/{{project}}/serviceAccounts/{{name}}@{{project}}.iam.gserviceaccount.com\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n properties:\n actasResources:\n type: object\n x-dcl-go-name: ActasResources\n x-dcl-go-type: ServiceAccountActasResources\n description: Optional.\n x-kubernetes-immutable: true\n properties:\n resources:\n type: array\n x-dcl-go-name: Resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceAccountActasResourcesResources\n properties:\n fullResourceName:\n type: string\n x-dcl-go-name: FullResourceName\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A user-specified, human-readable description of the\n service account. The maximum length is 256 UTF-8 bytes.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n readOnly: true\n description: Output only. Whether the service account is disabled.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. A user-specified, human-readable name for the service\n account. The maximum length is 100 UTF-8 bytes.\n email:\n type: string\n x-dcl-go-name: Email\n readOnly: true\n description: Output only. The email address of the service account.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the service account. Use one of the following\n formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}`\n As an alternative, you can use the `-` wildcard character instead of the\n project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}`\n When possible, avoid using the `-` wildcard character, because it can\n cause response messages to contain misleading error codes. For example,\n if you try to get the service account `projects/-/serviceAccounts/fake@example.com`,\n which does not exist, the response contains an HTTP `403 Forbidden` error\n instead of a `404 Not Found` error.'\n x-kubernetes-immutable: true\n oauth2ClientId:\n type: string\n x-dcl-go-name: OAuth2ClientId\n readOnly: true\n description: Output only. The OAuth 2.0 client ID for the service account.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The ID of the project that owns the service account.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The unique, stable numeric ID for the service\n account. Each service account retains its unique ID even if you delete\n the service account. For example, if you delete a service account, then\n create a new service account with the same name, the new service account\n has a different unique ID than the deleted service account.\n x-kubernetes-immutable: true\n") -// 5037 bytes -// MD5: 48a117a166d7ad9be0edc61532cd83bc +// 5062 bytes +// MD5: 27ecea3f5e01b0982644d7337d9dac58 diff --git a/services/google/iam/workforce_pool.yaml b/services/google/iam/workforce_pool.yaml index 970d2c7514..603f95e3a8 100755 --- a/services/google/iam/workforce_pool.yaml +++ b/services/google/iam/workforce_pool.yaml @@ -15,6 +15,7 @@ info: title: Iam/WorkforcePool description: The Iam WorkforcePool resource x-dcl-struct-name: WorkforcePool + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/iam/workforce_pool_provider.yaml b/services/google/iam/workforce_pool_provider.yaml index a52599a74c..b115e81873 100755 --- a/services/google/iam/workforce_pool_provider.yaml +++ b/services/google/iam/workforce_pool_provider.yaml @@ -15,6 +15,7 @@ info: title: Iam/WorkforcePoolProvider description: The Iam WorkforcePoolProvider resource x-dcl-struct-name: WorkforcePoolProvider + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iam/workload_identity_pool.yaml b/services/google/iam/workload_identity_pool.yaml index d679d3996f..ba31826ec5 100755 --- a/services/google/iam/workload_identity_pool.yaml +++ b/services/google/iam/workload_identity_pool.yaml @@ -15,6 +15,7 @@ info: title: Iam/WorkloadIdentityPool description: The Iam WorkloadIdentityPool resource x-dcl-struct-name: WorkloadIdentityPool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iam/workload_identity_pool_provider.yaml b/services/google/iam/workload_identity_pool_provider.yaml index e6f87012fd..abba772ebf 100755 --- a/services/google/iam/workload_identity_pool_provider.yaml +++ b/services/google/iam/workload_identity_pool_provider.yaml @@ -15,6 +15,7 @@ info: title: Iam/WorkloadIdentityPoolProvider description: The Iam WorkloadIdentityPoolProvider resource x-dcl-struct-name: WorkloadIdentityPoolProvider + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iam/workload_identity_pool_provider_schema.go b/services/google/iam/workload_identity_pool_provider_schema.go index 46f0d3a8f8..ec52cb94c4 100755 --- a/services/google/iam/workload_identity_pool_provider_schema.go +++ b/services/google/iam/workload_identity_pool_provider_schema.go @@ -23,6 +23,7 @@ func DCLWorkloadIdentityPoolProviderSchema() *dcl.Schema { Title: "Iam/WorkloadIdentityPoolProvider", Description: "The Iam WorkloadIdentityPoolProvider resource", StructName: "WorkloadIdentityPoolProvider", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iam/workload_identity_pool_provider_yaml_embed.go b/services/google/iam/workload_identity_pool_provider_yaml_embed.go index 0b13470196..f9380d487d 100755 --- a/services/google/iam/workload_identity_pool_provider_yaml_embed.go +++ b/services/google/iam/workload_identity_pool_provider_yaml_embed.go @@ -17,7 +17,7 @@ package iam // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iam/workload_identity_pool_provider.yaml -var YAML_workload_identity_pool_provider = []byte("info:\n title: Iam/WorkloadIdentityPoolProvider\n description: The Iam WorkloadIdentityPoolProvider resource\n x-dcl-struct-name: WorkloadIdentityPoolProvider\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n apply:\n description: The function used to apply information about a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n delete:\n description: The function used to delete a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n deleteAll:\n description: The function used to delete all WorkloadIdentityPoolProvider\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: workloadidentitypool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkloadIdentityPoolProvider\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: workloadidentitypool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkloadIdentityPoolProvider:\n title: WorkloadIdentityPoolProvider\n x-dcl-id: projects/{{project}}/locations/{{location}}/workloadIdentityPools/{{workload_identity_pool}}/providers/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n - workloadIdentityPool\n properties:\n attributeCondition:\n type: string\n x-dcl-go-name: AttributeCondition\n description: '[A Common Expression Language](https://opensource.google/projects/cel)\n expression, in plain text, to restrict what otherwise valid authentication\n credentials issued by the provider should not be accepted. The expression\n must output a boolean representing whether to allow the federation. The\n following keywords may be referenced in the expressions: * `assertion`:\n JSON representing the authentication credential issued by the provider.\n * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`.\n * `attribute`: The custom attributes mapped from the assertion in the\n `attribute_mappings`. The maximum length of the attribute condition expression\n is 4096 characters. If unspecified, all valid authentication credential\n are accepted. The following example shows how to only allow credentials\n with a mapped `google.groups` value of `admins`: ``` \"''admins'' in google.groups\"\n ```'\n attributeMapping:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: AttributeMapping\n description: 'Maps attributes from authentication credentials issued by\n an external identity provider to Google Cloud attributes, such as `subject`\n and `segment`. Each key must be a string specifying the Google Cloud IAM\n attribute to map to. The following keys are supported: * `google.subject`:\n The principal IAM is authenticating. You can reference this value in IAM\n bindings. This is also the subject that appears in Cloud Logging logs.\n Cannot exceed 127 characters. * `google.groups`: Groups the external identity\n belongs to. You can grant groups access to resources using an IAM `principalSet`\n binding; access applies to all members of the group. You can also provide\n custom attributes by specifying `attribute.{custom_attribute}`, where\n `{custom_attribute}` is the name of the custom attribute to be mapped.\n You can define a maximum of 50 custom attributes. The maximum length of\n a mapped attribute key is 100 characters, and the key may only contain\n the characters [a-z0-9_]. You can reference these attributes in IAM policies\n to define fine-grained access for a workload to Google Cloud resources.\n For example: * `google.subject`: `principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}`\n * `google.groups`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}`\n * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}`\n Each value must be a [Common Expression Language] (https://opensource.google/projects/cel)\n function that maps an identity provider credential to the normalized attribute\n specified by the corresponding map key. You can use the `assertion` keyword\n in the expression to access a JSON representation of the authentication\n credential issued by the provider. The maximum length of an attribute\n mapping expression is 2048 characters. When evaluated, the total size\n of all mapped attributes must not exceed 8KB. For AWS providers, if no\n attribute mapping is defined, the following default mapping applies: ```\n { \"google.subject\":\"assertion.arn\", \"attribute.aws_role\": \"assertion.arn.contains(''assumed-role'')\"\n \" ? assertion.arn.extract(''{account_arn}assumed-role/'')\" \" + ''assumed-role/''\"\n \" + assertion.arn.extract(''assumed-role/{role_name}/'')\" \" : assertion.arn\",\n } ``` If any custom attribute mappings are defined, they must include\n a mapping to the `google.subject` attribute. For OIDC providers, you must\n supply a custom mapping, which must include the `google.subject` attribute.\n For example, the following maps the `sub` claim of the incoming credential\n to the `subject` attribute on a Google token: ``` {\"google.subject\": \"assertion.sub\"}\n ```'\n aws:\n type: object\n x-dcl-go-name: Aws\n x-dcl-go-type: WorkloadIdentityPoolProviderAws\n description: An Amazon Web Services identity provider.\n x-dcl-conflicts:\n - oidc\n required:\n - accountId\n properties:\n accountId:\n type: string\n x-dcl-go-name: AccountId\n description: Required. The AWS account ID.\n stsUri:\n type: array\n x-dcl-go-name: StsUri\n description: A list of AWS STS URIs that can be used when exchanging\n credentials. If not provided, any valid AWS STS URI is allowed. URIs\n must use the form `https://sts.amazonaws.com` or `https://sts.{region}.amazonaws.com`,\n where {region} is a valid AWS region. You can specify a maximum of\n 25 URIs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-mutable-unreadable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: A description for the provider. Cannot exceed 256 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Whether the provider is disabled. You cannot use a disabled\n provider to exchange tokens. However, existing tokens still grant access.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A display name for the provider. Cannot exceed 32 characters.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the provider.\n x-kubernetes-immutable: true\n oidc:\n type: object\n x-dcl-go-name: Oidc\n x-dcl-go-type: WorkloadIdentityPoolProviderOidc\n description: An OpenId Connect 1.0 identity provider.\n x-dcl-conflicts:\n - aws\n required:\n - issuerUri\n properties:\n allowedAudiences:\n type: array\n x-dcl-go-name: AllowedAudiences\n description: 'Acceptable values for the `aud` field (audience) in the\n OIDC token. Token exchange requests are rejected if the token audience\n does not match one of the configured values. Each audience may be\n at most 256 characters. A maximum of 10 audiences may be configured.\n If this list is empty, the OIDC token audience must be equal to the\n full canonical resource name of the WorkloadIdentityPoolProvider,\n with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\n https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\n ```'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: Required. The OIDC issuer URL. Must be an HTTPS endpoint.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkloadIdentityPoolProviderStateEnum\n readOnly: true\n description: 'Output only. The state of the provider. Possible values: STATE_UNSPECIFIED,\n ACTIVE, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - DELETED\n workloadIdentityPool:\n type: string\n x-dcl-go-name: WorkloadIdentityPool\n description: The workloadIdentityPool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/WorkloadIdentityPool\n field: name\n parent: true\n") +var YAML_workload_identity_pool_provider = []byte("info:\n title: Iam/WorkloadIdentityPoolProvider\n description: The Iam WorkloadIdentityPoolProvider resource\n x-dcl-struct-name: WorkloadIdentityPoolProvider\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n apply:\n description: The function used to apply information about a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n delete:\n description: The function used to delete a WorkloadIdentityPoolProvider\n parameters:\n - name: WorkloadIdentityPoolProvider\n required: true\n description: A full instance of a WorkloadIdentityPoolProvider\n deleteAll:\n description: The function used to delete all WorkloadIdentityPoolProvider\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: workloadidentitypool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkloadIdentityPoolProvider\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: workloadidentitypool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkloadIdentityPoolProvider:\n title: WorkloadIdentityPoolProvider\n x-dcl-id: projects/{{project}}/locations/{{location}}/workloadIdentityPools/{{workload_identity_pool}}/providers/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n - workloadIdentityPool\n properties:\n attributeCondition:\n type: string\n x-dcl-go-name: AttributeCondition\n description: '[A Common Expression Language](https://opensource.google/projects/cel)\n expression, in plain text, to restrict what otherwise valid authentication\n credentials issued by the provider should not be accepted. The expression\n must output a boolean representing whether to allow the federation. The\n following keywords may be referenced in the expressions: * `assertion`:\n JSON representing the authentication credential issued by the provider.\n * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`.\n * `attribute`: The custom attributes mapped from the assertion in the\n `attribute_mappings`. The maximum length of the attribute condition expression\n is 4096 characters. If unspecified, all valid authentication credential\n are accepted. The following example shows how to only allow credentials\n with a mapped `google.groups` value of `admins`: ``` \"''admins'' in google.groups\"\n ```'\n attributeMapping:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: AttributeMapping\n description: 'Maps attributes from authentication credentials issued by\n an external identity provider to Google Cloud attributes, such as `subject`\n and `segment`. Each key must be a string specifying the Google Cloud IAM\n attribute to map to. The following keys are supported: * `google.subject`:\n The principal IAM is authenticating. You can reference this value in IAM\n bindings. This is also the subject that appears in Cloud Logging logs.\n Cannot exceed 127 characters. * `google.groups`: Groups the external identity\n belongs to. You can grant groups access to resources using an IAM `principalSet`\n binding; access applies to all members of the group. You can also provide\n custom attributes by specifying `attribute.{custom_attribute}`, where\n `{custom_attribute}` is the name of the custom attribute to be mapped.\n You can define a maximum of 50 custom attributes. The maximum length of\n a mapped attribute key is 100 characters, and the key may only contain\n the characters [a-z0-9_]. You can reference these attributes in IAM policies\n to define fine-grained access for a workload to Google Cloud resources.\n For example: * `google.subject`: `principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}`\n * `google.groups`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}`\n * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}`\n Each value must be a [Common Expression Language] (https://opensource.google/projects/cel)\n function that maps an identity provider credential to the normalized attribute\n specified by the corresponding map key. You can use the `assertion` keyword\n in the expression to access a JSON representation of the authentication\n credential issued by the provider. The maximum length of an attribute\n mapping expression is 2048 characters. When evaluated, the total size\n of all mapped attributes must not exceed 8KB. For AWS providers, if no\n attribute mapping is defined, the following default mapping applies: ```\n { \"google.subject\":\"assertion.arn\", \"attribute.aws_role\": \"assertion.arn.contains(''assumed-role'')\"\n \" ? assertion.arn.extract(''{account_arn}assumed-role/'')\" \" + ''assumed-role/''\"\n \" + assertion.arn.extract(''assumed-role/{role_name}/'')\" \" : assertion.arn\",\n } ``` If any custom attribute mappings are defined, they must include\n a mapping to the `google.subject` attribute. For OIDC providers, you must\n supply a custom mapping, which must include the `google.subject` attribute.\n For example, the following maps the `sub` claim of the incoming credential\n to the `subject` attribute on a Google token: ``` {\"google.subject\": \"assertion.sub\"}\n ```'\n aws:\n type: object\n x-dcl-go-name: Aws\n x-dcl-go-type: WorkloadIdentityPoolProviderAws\n description: An Amazon Web Services identity provider.\n x-dcl-conflicts:\n - oidc\n required:\n - accountId\n properties:\n accountId:\n type: string\n x-dcl-go-name: AccountId\n description: Required. The AWS account ID.\n stsUri:\n type: array\n x-dcl-go-name: StsUri\n description: A list of AWS STS URIs that can be used when exchanging\n credentials. If not provided, any valid AWS STS URI is allowed. URIs\n must use the form `https://sts.amazonaws.com` or `https://sts.{region}.amazonaws.com`,\n where {region} is a valid AWS region. You can specify a maximum of\n 25 URIs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-mutable-unreadable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: A description for the provider. Cannot exceed 256 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Whether the provider is disabled. You cannot use a disabled\n provider to exchange tokens. However, existing tokens still grant access.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A display name for the provider. Cannot exceed 32 characters.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the provider.\n x-kubernetes-immutable: true\n oidc:\n type: object\n x-dcl-go-name: Oidc\n x-dcl-go-type: WorkloadIdentityPoolProviderOidc\n description: An OpenId Connect 1.0 identity provider.\n x-dcl-conflicts:\n - aws\n required:\n - issuerUri\n properties:\n allowedAudiences:\n type: array\n x-dcl-go-name: AllowedAudiences\n description: 'Acceptable values for the `aud` field (audience) in the\n OIDC token. Token exchange requests are rejected if the token audience\n does not match one of the configured values. Each audience may be\n at most 256 characters. A maximum of 10 audiences may be configured.\n If this list is empty, the OIDC token audience must be equal to the\n full canonical resource name of the WorkloadIdentityPoolProvider,\n with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\n https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\n ```'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: Required. The OIDC issuer URL. Must be an HTTPS endpoint.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkloadIdentityPoolProviderStateEnum\n readOnly: true\n description: 'Output only. The state of the provider. Possible values: STATE_UNSPECIFIED,\n ACTIVE, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - DELETED\n workloadIdentityPool:\n type: string\n x-dcl-go-name: WorkloadIdentityPool\n description: The workloadIdentityPool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/WorkloadIdentityPool\n field: name\n parent: true\n") -// 11192 bytes -// MD5: ef3afdbbd021412adb88f39cd91db8a2 +// 11217 bytes +// MD5: 7c812d9a6f64aefce1c466280162b7d0 diff --git a/services/google/iam/workload_identity_pool_schema.go b/services/google/iam/workload_identity_pool_schema.go index 884dfeebc2..1506216a4d 100755 --- a/services/google/iam/workload_identity_pool_schema.go +++ b/services/google/iam/workload_identity_pool_schema.go @@ -23,6 +23,7 @@ func DCLWorkloadIdentityPoolSchema() *dcl.Schema { Title: "Iam/WorkloadIdentityPool", Description: "The Iam WorkloadIdentityPool resource", StructName: "WorkloadIdentityPool", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iam/workload_identity_pool_yaml_embed.go b/services/google/iam/workload_identity_pool_yaml_embed.go index f9aae2c338..287dffb00a 100755 --- a/services/google/iam/workload_identity_pool_yaml_embed.go +++ b/services/google/iam/workload_identity_pool_yaml_embed.go @@ -17,7 +17,7 @@ package iam // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iam/workload_identity_pool.yaml -var YAML_workload_identity_pool = []byte("info:\n title: Iam/WorkloadIdentityPool\n description: The Iam WorkloadIdentityPool resource\n x-dcl-struct-name: WorkloadIdentityPool\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n apply:\n description: The function used to apply information about a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n delete:\n description: The function used to delete a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n deleteAll:\n description: The function used to delete all WorkloadIdentityPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkloadIdentityPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkloadIdentityPool:\n title: WorkloadIdentityPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/workloadIdentityPools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of the pool. Cannot exceed 256 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Whether the pool is disabled. You cannot use a disabled pool\n to exchange tokens, or use existing tokens to access resources. If the\n pool is re-enabled, existing tokens grant access again.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A display name for the pool. Cannot exceed 32 characters.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the pool.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkloadIdentityPoolStateEnum\n readOnly: true\n description: 'Output only. The state of the pool. Possible values: STATE_UNSPECIFIED,\n ACTIVE, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - DELETED\n") +var YAML_workload_identity_pool = []byte("info:\n title: Iam/WorkloadIdentityPool\n description: The Iam WorkloadIdentityPool resource\n x-dcl-struct-name: WorkloadIdentityPool\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n apply:\n description: The function used to apply information about a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n delete:\n description: The function used to delete a WorkloadIdentityPool\n parameters:\n - name: WorkloadIdentityPool\n required: true\n description: A full instance of a WorkloadIdentityPool\n deleteAll:\n description: The function used to delete all WorkloadIdentityPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many WorkloadIdentityPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n WorkloadIdentityPool:\n title: WorkloadIdentityPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/workloadIdentityPools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A description of the pool. Cannot exceed 256 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Whether the pool is disabled. You cannot use a disabled pool\n to exchange tokens, or use existing tokens to access resources. If the\n pool is re-enabled, existing tokens grant access again.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A display name for the pool. Cannot exceed 32 characters.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the pool.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: WorkloadIdentityPoolStateEnum\n readOnly: true\n description: 'Output only. The state of the pool. Possible values: STATE_UNSPECIFIED,\n ACTIVE, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - DELETED\n") -// 3338 bytes -// MD5: b70ce985db6d9b76c3445c44026974e9 +// 3363 bytes +// MD5: 01e2f919efef25b7adb089f3a59dc7b1 diff --git a/services/google/iap/alpha/brand.yaml b/services/google/iap/alpha/brand.yaml index bf9c6c4723..73158d72ee 100755 --- a/services/google/iap/alpha/brand.yaml +++ b/services/google/iap/alpha/brand.yaml @@ -15,6 +15,7 @@ info: title: Iap/Brand description: The Iap Brand resource x-dcl-struct-name: Brand + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iap/alpha/brand_alpha_yaml_embed.go b/services/google/iap/alpha/brand_alpha_yaml_embed.go index 433549b32d..a6c7ae3c59 100755 --- a/services/google/iap/alpha/brand_alpha_yaml_embed.go +++ b/services/google/iap/alpha/brand_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iap/alpha/brand.yaml -var YAML_brand = []byte("info:\n title: Iap/Brand\n description: The Iap Brand resource\n x-dcl-struct-name: Brand\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Brand\n parameters:\n - name: Brand\n required: true\n description: A full instance of a Brand\n apply:\n description: The function used to apply information about a Brand\n parameters:\n - name: Brand\n required: true\n description: A full instance of a Brand\n list:\n description: The function used to list information about many Brand\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Brand:\n title: Brand\n x-dcl-id: projects/{{project}}/brands/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n properties:\n applicationTitle:\n type: string\n x-dcl-go-name: ApplicationTitle\n description: Application name displayed on OAuth consent screen.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Identifier of the brand. NOTE: GCP project number\n achieves the same brand identification purpose as only one brand per project\n can be created.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n orgInternalOnly:\n type: boolean\n x-dcl-go-name: OrgInternalOnly\n readOnly: true\n description: Output only. Whether the brand is only intended for usage inside\n the G Suite organization only.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: GCP Project id under which the brand is to be created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n supportEmail:\n type: string\n x-dcl-go-name: SupportEmail\n description: Support email displayed on the OAuth consent screen.\n x-kubernetes-immutable: true\n") +var YAML_brand = []byte("info:\n title: Iap/Brand\n description: The Iap Brand resource\n x-dcl-struct-name: Brand\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Brand\n parameters:\n - name: Brand\n required: true\n description: A full instance of a Brand\n apply:\n description: The function used to apply information about a Brand\n parameters:\n - name: Brand\n required: true\n description: A full instance of a Brand\n list:\n description: The function used to list information about many Brand\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Brand:\n title: Brand\n x-dcl-id: projects/{{project}}/brands/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n properties:\n applicationTitle:\n type: string\n x-dcl-go-name: ApplicationTitle\n description: Application name displayed on OAuth consent screen.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Identifier of the brand. NOTE: GCP project number\n achieves the same brand identification purpose as only one brand per project\n can be created.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n orgInternalOnly:\n type: boolean\n x-dcl-go-name: OrgInternalOnly\n readOnly: true\n description: Output only. Whether the brand is only intended for usage inside\n the G Suite organization only.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: GCP Project id under which the brand is to be created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n supportEmail:\n type: string\n x-dcl-go-name: SupportEmail\n description: Support email displayed on the OAuth consent screen.\n x-kubernetes-immutable: true\n") -// 2222 bytes -// MD5: 23e43defccaaebeb661269c569e1c240 +// 2247 bytes +// MD5: 34e4dd09ba815103c28a94975b4aea4f diff --git a/services/google/iap/alpha/brand_schema.go b/services/google/iap/alpha/brand_schema.go index f841d03a74..3c3e8e4be7 100755 --- a/services/google/iap/alpha/brand_schema.go +++ b/services/google/iap/alpha/brand_schema.go @@ -23,6 +23,7 @@ func DCLBrandSchema() *dcl.Schema { Title: "Iap/Brand", Description: "The Iap Brand resource", StructName: "Brand", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iap/alpha/identity_aware_proxy_client.yaml b/services/google/iap/alpha/identity_aware_proxy_client.yaml index aa8ffbe97f..8d62126ef9 100755 --- a/services/google/iap/alpha/identity_aware_proxy_client.yaml +++ b/services/google/iap/alpha/identity_aware_proxy_client.yaml @@ -15,6 +15,7 @@ info: title: Iap/IdentityAwareProxyClient description: The Iap IdentityAwareProxyClient resource x-dcl-struct-name: IdentityAwareProxyClient + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iap/alpha/identity_aware_proxy_client_alpha_yaml_embed.go b/services/google/iap/alpha/identity_aware_proxy_client_alpha_yaml_embed.go index 56e0978463..db3d759c5b 100755 --- a/services/google/iap/alpha/identity_aware_proxy_client_alpha_yaml_embed.go +++ b/services/google/iap/alpha/identity_aware_proxy_client_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iap/alpha/identity_aware_proxy_client.yaml -var YAML_identity_aware_proxy_client = []byte("info:\n title: Iap/IdentityAwareProxyClient\n description: The Iap IdentityAwareProxyClient resource\n x-dcl-struct-name: IdentityAwareProxyClient\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n apply:\n description: The function used to apply information about a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n delete:\n description: The function used to delete a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n deleteAll:\n description: The function used to delete all IdentityAwareProxyClient\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: brand\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many IdentityAwareProxyClient\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: brand\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n IdentityAwareProxyClient:\n title: IdentityAwareProxyClient\n x-dcl-id: projects/{{project}}/brands/{{brand}}/identityAwareProxyClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - brand\n properties:\n brand:\n type: string\n x-dcl-go-name: Brand\n description: The brand for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iap/Brand\n field: name\n parent: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-friendly name given to the OAuth client.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Unique identifier of the OAuth client.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n secret:\n type: string\n x-dcl-go-name: Secret\n readOnly: true\n description: Output only. Client secret of the OAuth client.\n x-kubernetes-immutable: true\n") +var YAML_identity_aware_proxy_client = []byte("info:\n title: Iap/IdentityAwareProxyClient\n description: The Iap IdentityAwareProxyClient resource\n x-dcl-struct-name: IdentityAwareProxyClient\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n apply:\n description: The function used to apply information about a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n delete:\n description: The function used to delete a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n deleteAll:\n description: The function used to delete all IdentityAwareProxyClient\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: brand\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many IdentityAwareProxyClient\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: brand\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n IdentityAwareProxyClient:\n title: IdentityAwareProxyClient\n x-dcl-id: projects/{{project}}/brands/{{brand}}/identityAwareProxyClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - brand\n properties:\n brand:\n type: string\n x-dcl-go-name: Brand\n description: The brand for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iap/Brand\n field: name\n parent: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-friendly name given to the OAuth client.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Unique identifier of the OAuth client.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n secret:\n type: string\n x-dcl-go-name: Secret\n readOnly: true\n description: Output only. Client secret of the OAuth client.\n x-kubernetes-immutable: true\n") -// 2899 bytes -// MD5: ef20bd7e7d49a1cac899e6181df579a9 +// 2924 bytes +// MD5: d2f8c44afd3e48ac891bbd10d1546fd9 diff --git a/services/google/iap/alpha/identity_aware_proxy_client_schema.go b/services/google/iap/alpha/identity_aware_proxy_client_schema.go index 9c69fd23dc..c29184d9b9 100755 --- a/services/google/iap/alpha/identity_aware_proxy_client_schema.go +++ b/services/google/iap/alpha/identity_aware_proxy_client_schema.go @@ -23,6 +23,7 @@ func DCLIdentityAwareProxyClientSchema() *dcl.Schema { Title: "Iap/IdentityAwareProxyClient", Description: "The Iap IdentityAwareProxyClient resource", StructName: "IdentityAwareProxyClient", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iap/beta/brand.yaml b/services/google/iap/beta/brand.yaml index bf9c6c4723..73158d72ee 100755 --- a/services/google/iap/beta/brand.yaml +++ b/services/google/iap/beta/brand.yaml @@ -15,6 +15,7 @@ info: title: Iap/Brand description: The Iap Brand resource x-dcl-struct-name: Brand + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iap/beta/brand_beta_yaml_embed.go b/services/google/iap/beta/brand_beta_yaml_embed.go index d291e76d0d..1a15a2b1b0 100755 --- a/services/google/iap/beta/brand_beta_yaml_embed.go +++ b/services/google/iap/beta/brand_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iap/beta/brand.yaml -var YAML_brand = []byte("info:\n title: Iap/Brand\n description: The Iap Brand resource\n x-dcl-struct-name: Brand\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Brand\n parameters:\n - name: Brand\n required: true\n description: A full instance of a Brand\n apply:\n description: The function used to apply information about a Brand\n parameters:\n - name: Brand\n required: true\n description: A full instance of a Brand\n list:\n description: The function used to list information about many Brand\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Brand:\n title: Brand\n x-dcl-id: projects/{{project}}/brands/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n properties:\n applicationTitle:\n type: string\n x-dcl-go-name: ApplicationTitle\n description: Application name displayed on OAuth consent screen.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Identifier of the brand. NOTE: GCP project number\n achieves the same brand identification purpose as only one brand per project\n can be created.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n orgInternalOnly:\n type: boolean\n x-dcl-go-name: OrgInternalOnly\n readOnly: true\n description: Output only. Whether the brand is only intended for usage inside\n the G Suite organization only.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: GCP Project id under which the brand is to be created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n supportEmail:\n type: string\n x-dcl-go-name: SupportEmail\n description: Support email displayed on the OAuth consent screen.\n x-kubernetes-immutable: true\n") +var YAML_brand = []byte("info:\n title: Iap/Brand\n description: The Iap Brand resource\n x-dcl-struct-name: Brand\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Brand\n parameters:\n - name: Brand\n required: true\n description: A full instance of a Brand\n apply:\n description: The function used to apply information about a Brand\n parameters:\n - name: Brand\n required: true\n description: A full instance of a Brand\n list:\n description: The function used to list information about many Brand\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Brand:\n title: Brand\n x-dcl-id: projects/{{project}}/brands/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n properties:\n applicationTitle:\n type: string\n x-dcl-go-name: ApplicationTitle\n description: Application name displayed on OAuth consent screen.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Identifier of the brand. NOTE: GCP project number\n achieves the same brand identification purpose as only one brand per project\n can be created.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n orgInternalOnly:\n type: boolean\n x-dcl-go-name: OrgInternalOnly\n readOnly: true\n description: Output only. Whether the brand is only intended for usage inside\n the G Suite organization only.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: GCP Project id under which the brand is to be created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n supportEmail:\n type: string\n x-dcl-go-name: SupportEmail\n description: Support email displayed on the OAuth consent screen.\n x-kubernetes-immutable: true\n") -// 2222 bytes -// MD5: 23e43defccaaebeb661269c569e1c240 +// 2247 bytes +// MD5: 34e4dd09ba815103c28a94975b4aea4f diff --git a/services/google/iap/beta/brand_schema.go b/services/google/iap/beta/brand_schema.go index aac9d92929..cae12488ac 100755 --- a/services/google/iap/beta/brand_schema.go +++ b/services/google/iap/beta/brand_schema.go @@ -23,6 +23,7 @@ func DCLBrandSchema() *dcl.Schema { Title: "Iap/Brand", Description: "The Iap Brand resource", StructName: "Brand", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iap/beta/identity_aware_proxy_client.yaml b/services/google/iap/beta/identity_aware_proxy_client.yaml index aa8ffbe97f..8d62126ef9 100755 --- a/services/google/iap/beta/identity_aware_proxy_client.yaml +++ b/services/google/iap/beta/identity_aware_proxy_client.yaml @@ -15,6 +15,7 @@ info: title: Iap/IdentityAwareProxyClient description: The Iap IdentityAwareProxyClient resource x-dcl-struct-name: IdentityAwareProxyClient + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iap/beta/identity_aware_proxy_client_beta_yaml_embed.go b/services/google/iap/beta/identity_aware_proxy_client_beta_yaml_embed.go index c22b6eca62..9bdb1bac6c 100755 --- a/services/google/iap/beta/identity_aware_proxy_client_beta_yaml_embed.go +++ b/services/google/iap/beta/identity_aware_proxy_client_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iap/beta/identity_aware_proxy_client.yaml -var YAML_identity_aware_proxy_client = []byte("info:\n title: Iap/IdentityAwareProxyClient\n description: The Iap IdentityAwareProxyClient resource\n x-dcl-struct-name: IdentityAwareProxyClient\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n apply:\n description: The function used to apply information about a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n delete:\n description: The function used to delete a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n deleteAll:\n description: The function used to delete all IdentityAwareProxyClient\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: brand\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many IdentityAwareProxyClient\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: brand\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n IdentityAwareProxyClient:\n title: IdentityAwareProxyClient\n x-dcl-id: projects/{{project}}/brands/{{brand}}/identityAwareProxyClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - brand\n properties:\n brand:\n type: string\n x-dcl-go-name: Brand\n description: The brand for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iap/Brand\n field: name\n parent: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-friendly name given to the OAuth client.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Unique identifier of the OAuth client.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n secret:\n type: string\n x-dcl-go-name: Secret\n readOnly: true\n description: Output only. Client secret of the OAuth client.\n x-kubernetes-immutable: true\n") +var YAML_identity_aware_proxy_client = []byte("info:\n title: Iap/IdentityAwareProxyClient\n description: The Iap IdentityAwareProxyClient resource\n x-dcl-struct-name: IdentityAwareProxyClient\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n apply:\n description: The function used to apply information about a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n delete:\n description: The function used to delete a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n deleteAll:\n description: The function used to delete all IdentityAwareProxyClient\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: brand\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many IdentityAwareProxyClient\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: brand\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n IdentityAwareProxyClient:\n title: IdentityAwareProxyClient\n x-dcl-id: projects/{{project}}/brands/{{brand}}/identityAwareProxyClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - brand\n properties:\n brand:\n type: string\n x-dcl-go-name: Brand\n description: The brand for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iap/Brand\n field: name\n parent: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-friendly name given to the OAuth client.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Unique identifier of the OAuth client.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n secret:\n type: string\n x-dcl-go-name: Secret\n readOnly: true\n description: Output only. Client secret of the OAuth client.\n x-kubernetes-immutable: true\n") -// 2899 bytes -// MD5: ef20bd7e7d49a1cac899e6181df579a9 +// 2924 bytes +// MD5: d2f8c44afd3e48ac891bbd10d1546fd9 diff --git a/services/google/iap/beta/identity_aware_proxy_client_schema.go b/services/google/iap/beta/identity_aware_proxy_client_schema.go index 1c3bf74aca..54e9ceeb60 100755 --- a/services/google/iap/beta/identity_aware_proxy_client_schema.go +++ b/services/google/iap/beta/identity_aware_proxy_client_schema.go @@ -23,6 +23,7 @@ func DCLIdentityAwareProxyClientSchema() *dcl.Schema { Title: "Iap/IdentityAwareProxyClient", Description: "The Iap IdentityAwareProxyClient resource", StructName: "IdentityAwareProxyClient", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iap/brand.yaml b/services/google/iap/brand.yaml index bf9c6c4723..73158d72ee 100755 --- a/services/google/iap/brand.yaml +++ b/services/google/iap/brand.yaml @@ -15,6 +15,7 @@ info: title: Iap/Brand description: The Iap Brand resource x-dcl-struct-name: Brand + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iap/brand_schema.go b/services/google/iap/brand_schema.go index a012ab0f4f..fc675afbac 100755 --- a/services/google/iap/brand_schema.go +++ b/services/google/iap/brand_schema.go @@ -23,6 +23,7 @@ func DCLBrandSchema() *dcl.Schema { Title: "Iap/Brand", Description: "The Iap Brand resource", StructName: "Brand", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iap/brand_yaml_embed.go b/services/google/iap/brand_yaml_embed.go index 6d1b2aca72..3ea3fb45ea 100755 --- a/services/google/iap/brand_yaml_embed.go +++ b/services/google/iap/brand_yaml_embed.go @@ -17,7 +17,7 @@ package iap // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iap/brand.yaml -var YAML_brand = []byte("info:\n title: Iap/Brand\n description: The Iap Brand resource\n x-dcl-struct-name: Brand\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Brand\n parameters:\n - name: Brand\n required: true\n description: A full instance of a Brand\n apply:\n description: The function used to apply information about a Brand\n parameters:\n - name: Brand\n required: true\n description: A full instance of a Brand\n list:\n description: The function used to list information about many Brand\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Brand:\n title: Brand\n x-dcl-id: projects/{{project}}/brands/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n properties:\n applicationTitle:\n type: string\n x-dcl-go-name: ApplicationTitle\n description: Application name displayed on OAuth consent screen.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Identifier of the brand. NOTE: GCP project number\n achieves the same brand identification purpose as only one brand per project\n can be created.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n orgInternalOnly:\n type: boolean\n x-dcl-go-name: OrgInternalOnly\n readOnly: true\n description: Output only. Whether the brand is only intended for usage inside\n the G Suite organization only.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: GCP Project id under which the brand is to be created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n supportEmail:\n type: string\n x-dcl-go-name: SupportEmail\n description: Support email displayed on the OAuth consent screen.\n x-kubernetes-immutable: true\n") +var YAML_brand = []byte("info:\n title: Iap/Brand\n description: The Iap Brand resource\n x-dcl-struct-name: Brand\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Brand\n parameters:\n - name: Brand\n required: true\n description: A full instance of a Brand\n apply:\n description: The function used to apply information about a Brand\n parameters:\n - name: Brand\n required: true\n description: A full instance of a Brand\n list:\n description: The function used to list information about many Brand\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Brand:\n title: Brand\n x-dcl-id: projects/{{project}}/brands/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n properties:\n applicationTitle:\n type: string\n x-dcl-go-name: ApplicationTitle\n description: Application name displayed on OAuth consent screen.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Identifier of the brand. NOTE: GCP project number\n achieves the same brand identification purpose as only one brand per project\n can be created.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n orgInternalOnly:\n type: boolean\n x-dcl-go-name: OrgInternalOnly\n readOnly: true\n description: Output only. Whether the brand is only intended for usage inside\n the G Suite organization only.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: GCP Project id under which the brand is to be created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n supportEmail:\n type: string\n x-dcl-go-name: SupportEmail\n description: Support email displayed on the OAuth consent screen.\n x-kubernetes-immutable: true\n") -// 2222 bytes -// MD5: 23e43defccaaebeb661269c569e1c240 +// 2247 bytes +// MD5: 34e4dd09ba815103c28a94975b4aea4f diff --git a/services/google/iap/identity_aware_proxy_client.yaml b/services/google/iap/identity_aware_proxy_client.yaml index aa8ffbe97f..8d62126ef9 100755 --- a/services/google/iap/identity_aware_proxy_client.yaml +++ b/services/google/iap/identity_aware_proxy_client.yaml @@ -15,6 +15,7 @@ info: title: Iap/IdentityAwareProxyClient description: The Iap IdentityAwareProxyClient resource x-dcl-struct-name: IdentityAwareProxyClient + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/iap/identity_aware_proxy_client_schema.go b/services/google/iap/identity_aware_proxy_client_schema.go index c1a116c7b1..487466c25c 100755 --- a/services/google/iap/identity_aware_proxy_client_schema.go +++ b/services/google/iap/identity_aware_proxy_client_schema.go @@ -23,6 +23,7 @@ func DCLIdentityAwareProxyClientSchema() *dcl.Schema { Title: "Iap/IdentityAwareProxyClient", Description: "The Iap IdentityAwareProxyClient resource", StructName: "IdentityAwareProxyClient", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/iap/identity_aware_proxy_client_yaml_embed.go b/services/google/iap/identity_aware_proxy_client_yaml_embed.go index b486a9816f..cc4293b4b3 100755 --- a/services/google/iap/identity_aware_proxy_client_yaml_embed.go +++ b/services/google/iap/identity_aware_proxy_client_yaml_embed.go @@ -17,7 +17,7 @@ package iap // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/iap/identity_aware_proxy_client.yaml -var YAML_identity_aware_proxy_client = []byte("info:\n title: Iap/IdentityAwareProxyClient\n description: The Iap IdentityAwareProxyClient resource\n x-dcl-struct-name: IdentityAwareProxyClient\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n apply:\n description: The function used to apply information about a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n delete:\n description: The function used to delete a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n deleteAll:\n description: The function used to delete all IdentityAwareProxyClient\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: brand\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many IdentityAwareProxyClient\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: brand\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n IdentityAwareProxyClient:\n title: IdentityAwareProxyClient\n x-dcl-id: projects/{{project}}/brands/{{brand}}/identityAwareProxyClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - brand\n properties:\n brand:\n type: string\n x-dcl-go-name: Brand\n description: The brand for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iap/Brand\n field: name\n parent: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-friendly name given to the OAuth client.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Unique identifier of the OAuth client.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n secret:\n type: string\n x-dcl-go-name: Secret\n readOnly: true\n description: Output only. Client secret of the OAuth client.\n x-kubernetes-immutable: true\n") +var YAML_identity_aware_proxy_client = []byte("info:\n title: Iap/IdentityAwareProxyClient\n description: The Iap IdentityAwareProxyClient resource\n x-dcl-struct-name: IdentityAwareProxyClient\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n apply:\n description: The function used to apply information about a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n delete:\n description: The function used to delete a IdentityAwareProxyClient\n parameters:\n - name: IdentityAwareProxyClient\n required: true\n description: A full instance of a IdentityAwareProxyClient\n deleteAll:\n description: The function used to delete all IdentityAwareProxyClient\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: brand\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many IdentityAwareProxyClient\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: brand\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n IdentityAwareProxyClient:\n title: IdentityAwareProxyClient\n x-dcl-id: projects/{{project}}/brands/{{brand}}/identityAwareProxyClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - brand\n properties:\n brand:\n type: string\n x-dcl-go-name: Brand\n description: The brand for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iap/Brand\n field: name\n parent: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-friendly name given to the OAuth client.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. Unique identifier of the OAuth client.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n secret:\n type: string\n x-dcl-go-name: Secret\n readOnly: true\n description: Output only. Client secret of the OAuth client.\n x-kubernetes-immutable: true\n") -// 2899 bytes -// MD5: ef20bd7e7d49a1cac899e6181df579a9 +// 2924 bytes +// MD5: d2f8c44afd3e48ac891bbd10d1546fd9 diff --git a/services/google/identitytoolkit/alpha/config.yaml b/services/google/identitytoolkit/alpha/config.yaml index 621e42e723..315e7993aa 100755 --- a/services/google/identitytoolkit/alpha/config.yaml +++ b/services/google/identitytoolkit/alpha/config.yaml @@ -15,6 +15,7 @@ info: title: IdentityToolkit/Config description: The IdentityToolkit Config resource x-dcl-struct-name: Config + x-dcl-has-create: false x-dcl-has-iam: false paths: get: diff --git a/services/google/identitytoolkit/alpha/config_alpha_yaml_embed.go b/services/google/identitytoolkit/alpha/config_alpha_yaml_embed.go index 388e719af6..024234423f 100755 --- a/services/google/identitytoolkit/alpha/config_alpha_yaml_embed.go +++ b/services/google/identitytoolkit/alpha/config_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/alpha/config.yaml -var YAML_config = []byte("info:\n title: IdentityToolkit/Config\n description: The IdentityToolkit Config resource\n x-dcl-struct-name: Config\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\n apply:\n description: The function used to apply information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\ncomponents:\n schemas:\n Config:\n title: Config\n x-dcl-id: projects/{{project}}/config\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n authorizedDomains:\n type: array\n x-dcl-go-name: AuthorizedDomains\n description: List of domains authorized for OAuth redirects\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n blockingFunctions:\n type: object\n x-dcl-go-name: BlockingFunctions\n x-dcl-go-type: ConfigBlockingFunctions\n description: Configuration related to blocking functions.\n properties:\n triggers:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: ConfigBlockingFunctionsTriggers\n properties:\n functionUri:\n type: string\n x-dcl-go-name: FunctionUri\n description: HTTP URI trigger for the Cloud Function.\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: httpsTrigger.url\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: When the trigger was changed.\n x-dcl-go-name: Triggers\n description: 'Map of Trigger to event type. Key should be one of the\n supported event types: \"beforeCreate\", \"beforeSignIn\"'\n client:\n type: object\n x-dcl-go-name: Client\n x-dcl-go-type: ConfigClient\n description: Options related to how clients making requests on behalf of\n a project should be configured.\n properties:\n apiKey:\n type: string\n x-dcl-go-name: ApiKey\n readOnly: true\n description: Output only. API key that can be used when making requests\n for this project.\n x-dcl-sensitive: true\n firebaseSubdomain:\n type: string\n x-dcl-go-name: FirebaseSubdomain\n readOnly: true\n description: Output only. Firebase subdomain.\n permissions:\n type: object\n x-dcl-go-name: Permissions\n x-dcl-go-type: ConfigClientPermissions\n description: Configuration related to restricting a user's ability to\n affect their account.\n properties:\n disabledUserDeletion:\n type: boolean\n x-dcl-go-name: DisabledUserDeletion\n description: When true, end users cannot delete their account on\n the associated project through any of our API methods\n disabledUserSignup:\n type: boolean\n x-dcl-go-name: DisabledUserSignup\n description: When true, end users cannot sign up for a new account\n on the associated project through any of our API methods\n mfa:\n type: object\n x-dcl-go-name: Mfa\n x-dcl-go-type: ConfigMfa\n description: Configuration for this project's multi-factor authentication,\n including whether it is active and what factors can be used for the second\n factor\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConfigMfaStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n monitoring:\n type: object\n x-dcl-go-name: Monitoring\n x-dcl-go-type: ConfigMonitoring\n description: Configuration related to monitoring project activity.\n properties:\n requestLogging:\n type: object\n x-dcl-go-name: RequestLogging\n x-dcl-go-type: ConfigMonitoringRequestLogging\n description: Configuration for logging requests made to this project\n to Stackdriver Logging\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether logging is enabled for this project or not.\n multiTenant:\n type: object\n x-dcl-go-name: MultiTenant\n x-dcl-go-type: ConfigMultiTenant\n description: Configuration related to multi-tenant functionality.\n properties:\n allowTenants:\n type: boolean\n x-dcl-go-name: AllowTenants\n description: Whether this project can have tenants or not.\n defaultTenantLocation:\n type: string\n x-dcl-go-name: DefaultTenantLocation\n description: The default cloud parent org or folder that the tenant\n project should be created under. The parent resource name should be\n in the format of \"/\", such as \"folders/123\" or \"organizations/456\".\n If the value is not set, the tenant will be created under the same\n organization or folder as the agent project.\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n notification:\n type: object\n x-dcl-go-name: Notification\n x-dcl-go-type: ConfigNotification\n description: Configuration related to sending notifications to users.\n properties:\n defaultLocale:\n type: string\n x-dcl-go-name: DefaultLocale\n description: Default locale used for email and SMS in IETF BCP 47 format.\n sendEmail:\n type: object\n x-dcl-go-name: SendEmail\n x-dcl-go-type: ConfigNotificationSendEmail\n description: Options for email sending.\n properties:\n callbackUri:\n type: string\n x-dcl-go-name: CallbackUri\n description: action url in email template.\n changeEmailTemplate:\n type: object\n x-dcl-go-name: ChangeEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplate\n description: Email template for change email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n dnsInfo:\n type: object\n x-dcl-go-name: DnsInfo\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfo\n description: Information of custom domain DNS verification.\n properties:\n customDomain:\n type: string\n x-dcl-go-name: CustomDomain\n readOnly: true\n description: Output only. The applied verified custom domain.\n x-kubernetes-immutable: true\n customDomainState:\n type: string\n x-dcl-go-name: CustomDomainState\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum\n readOnly: true\n description: 'Output only. The current verification state of\n the custom domain. The custom domain will only be used once\n the domain verification is successful. Possible values: VERIFICATION_STATE_UNSPECIFIED,\n NOT_STARTED, IN_PROGRESS, FAILED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATE_UNSPECIFIED\n - NOT_STARTED\n - IN_PROGRESS\n - FAILED\n - SUCCEEDED\n domainVerificationRequestTime:\n type: string\n format: date-time\n x-dcl-go-name: DomainVerificationRequestTime\n readOnly: true\n description: Output only. The timestamp of initial request for\n the current domain verification.\n x-kubernetes-immutable: true\n pendingCustomDomain:\n type: string\n x-dcl-go-name: PendingCustomDomain\n readOnly: true\n description: Output only. The custom domain that's to be verified.\n x-kubernetes-immutable: true\n useCustomDomain:\n type: boolean\n x-dcl-go-name: UseCustomDomain\n description: Whether to use custom domain.\n method:\n type: string\n x-dcl-go-name: Method\n x-dcl-go-type: ConfigNotificationSendEmailMethodEnum\n description: 'The method used for sending an email. Possible values:\n METHOD_UNSPECIFIED, DEFAULT, CUSTOM_SMTP'\n enum:\n - METHOD_UNSPECIFIED\n - DEFAULT\n - CUSTOM_SMTP\n resetPasswordTemplate:\n type: object\n x-dcl-go-name: ResetPasswordTemplate\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplate\n description: Email template for reset password\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n revertSecondFactorAdditionTemplate:\n type: object\n x-dcl-go-name: RevertSecondFactorAdditionTemplate\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate\n description: Email template for reverting second factor addition\n emails\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n smtp:\n type: object\n x-dcl-go-name: Smtp\n x-dcl-go-type: ConfigNotificationSendEmailSmtp\n description: Use a custom SMTP relay\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n description: SMTP relay host\n password:\n type: string\n x-dcl-go-name: Password\n description: SMTP relay password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: SMTP relay port\n securityMode:\n type: string\n x-dcl-go-name: SecurityMode\n x-dcl-go-type: ConfigNotificationSendEmailSmtpSecurityModeEnum\n description: 'SMTP security mode. Possible values: SECURITY_MODE_UNSPECIFIED,\n SSL, START_TLS'\n enum:\n - SECURITY_MODE_UNSPECIFIED\n - SSL\n - START_TLS\n senderEmail:\n type: string\n x-dcl-go-name: SenderEmail\n description: Sender email for the SMTP relay\n username:\n type: string\n x-dcl-go-name: Username\n description: SMTP relay username\n verifyEmailTemplate:\n type: object\n x-dcl-go-name: VerifyEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplate\n description: Email template for verify email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n sendSms:\n type: object\n x-dcl-go-name: SendSms\n x-dcl-go-type: ConfigNotificationSendSms\n description: Options for SMS sending.\n properties:\n smsTemplate:\n type: object\n x-dcl-go-name: SmsTemplate\n x-dcl-go-type: ConfigNotificationSendSmsSmsTemplate\n readOnly: true\n description: Output only. The template to use when sending an SMS.\n x-kubernetes-immutable: true\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: 'Output only. The SMS''s content. Can contain the\n following placeholders which will be replaced with the appropriate\n values: %APP_NAME% - For Android or iOS apps, the app''s display\n name. For web apps, the domain hosting the application. %LOGIN_CODE%\n - The OOB code being sent in the SMS.'\n x-kubernetes-immutable: true\n useDeviceLocale:\n type: boolean\n x-dcl-go-name: UseDeviceLocale\n description: Whether to use the accept_language header for SMS.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n quota:\n type: object\n x-dcl-go-name: Quota\n x-dcl-go-type: ConfigQuota\n description: Configuration related to quotas.\n properties:\n signUpQuotaConfig:\n type: object\n x-dcl-go-name: SignUpQuotaConfig\n x-dcl-go-type: ConfigQuotaSignUpQuotaConfig\n description: Quota for the Signup endpoint, if overwritten. Signup quota\n is measured in sign ups per project per hour per IP.\n properties:\n quota:\n type: integer\n format: int64\n x-dcl-go-name: Quota\n description: Corresponds to the 'refill_token_count' field in QuotaServer\n config\n quotaDuration:\n type: string\n x-dcl-go-name: QuotaDuration\n description: How long this quota will be active for\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: When this quota will take affect\n signIn:\n type: object\n x-dcl-go-name: SignIn\n x-dcl-go-type: ConfigSignIn\n description: Configuration related to local sign in methods.\n properties:\n allowDuplicateEmails:\n type: boolean\n x-dcl-go-name: AllowDuplicateEmails\n description: Whether to allow more than one account to have the same\n email.\n anonymous:\n type: object\n x-dcl-go-name: Anonymous\n x-dcl-go-type: ConfigSignInAnonymous\n description: Configuration options related to authenticating an anonymous\n user.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether anonymous user auth is enabled for the project\n or not.\n email:\n type: object\n x-dcl-go-name: Email\n x-dcl-go-type: ConfigSignInEmail\n description: Configuration options related to authenticating a user\n by their email address.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether email auth is enabled for the project or not.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInEmailHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInEmailHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms\n used in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5,\n HMAC_SHA512, SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512,\n STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n See https://tools.ietf.org/html/rfc7914 for explanation of\n field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n passwordRequired:\n type: boolean\n x-dcl-go-name: PasswordRequired\n description: Whether a password is required for email auth or not.\n If true, both an email and password must be provided to sign in.\n If false, a user may sign in via either email/password or email\n link.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms used\n in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5, HMAC_SHA512,\n SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512, STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation. Used\n by scrypt and other similar password derivation algorithms. See\n https://tools.ietf.org/html/rfc7914 for explanation of field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n phoneNumber:\n type: object\n x-dcl-go-name: PhoneNumber\n x-dcl-go-type: ConfigSignInPhoneNumber\n description: Configuration options related to authenticated a user by\n their phone number.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether phone number auth is enabled for the project\n or not.\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of that can be used for phone auth testing.\n subtype:\n type: string\n x-dcl-go-name: Subtype\n x-dcl-go-type: ConfigSubtypeEnum\n readOnly: true\n description: 'Output only. The subtype of this config. Possible values:\n SUBTYPE_UNSPECIFIED, IDENTITY_PLATFORM, FIREBASE_AUTH'\n x-kubernetes-immutable: true\n enum:\n - SUBTYPE_UNSPECIFIED\n - IDENTITY_PLATFORM\n - FIREBASE_AUTH\n") +var YAML_config = []byte("info:\n title: IdentityToolkit/Config\n description: The IdentityToolkit Config resource\n x-dcl-struct-name: Config\n x-dcl-has-create: false\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\n apply:\n description: The function used to apply information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\ncomponents:\n schemas:\n Config:\n title: Config\n x-dcl-id: projects/{{project}}/config\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n authorizedDomains:\n type: array\n x-dcl-go-name: AuthorizedDomains\n description: List of domains authorized for OAuth redirects\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n blockingFunctions:\n type: object\n x-dcl-go-name: BlockingFunctions\n x-dcl-go-type: ConfigBlockingFunctions\n description: Configuration related to blocking functions.\n properties:\n triggers:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: ConfigBlockingFunctionsTriggers\n properties:\n functionUri:\n type: string\n x-dcl-go-name: FunctionUri\n description: HTTP URI trigger for the Cloud Function.\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: httpsTrigger.url\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: When the trigger was changed.\n x-dcl-go-name: Triggers\n description: 'Map of Trigger to event type. Key should be one of the\n supported event types: \"beforeCreate\", \"beforeSignIn\"'\n client:\n type: object\n x-dcl-go-name: Client\n x-dcl-go-type: ConfigClient\n description: Options related to how clients making requests on behalf of\n a project should be configured.\n properties:\n apiKey:\n type: string\n x-dcl-go-name: ApiKey\n readOnly: true\n description: Output only. API key that can be used when making requests\n for this project.\n x-dcl-sensitive: true\n firebaseSubdomain:\n type: string\n x-dcl-go-name: FirebaseSubdomain\n readOnly: true\n description: Output only. Firebase subdomain.\n permissions:\n type: object\n x-dcl-go-name: Permissions\n x-dcl-go-type: ConfigClientPermissions\n description: Configuration related to restricting a user's ability to\n affect their account.\n properties:\n disabledUserDeletion:\n type: boolean\n x-dcl-go-name: DisabledUserDeletion\n description: When true, end users cannot delete their account on\n the associated project through any of our API methods\n disabledUserSignup:\n type: boolean\n x-dcl-go-name: DisabledUserSignup\n description: When true, end users cannot sign up for a new account\n on the associated project through any of our API methods\n mfa:\n type: object\n x-dcl-go-name: Mfa\n x-dcl-go-type: ConfigMfa\n description: Configuration for this project's multi-factor authentication,\n including whether it is active and what factors can be used for the second\n factor\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConfigMfaStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n monitoring:\n type: object\n x-dcl-go-name: Monitoring\n x-dcl-go-type: ConfigMonitoring\n description: Configuration related to monitoring project activity.\n properties:\n requestLogging:\n type: object\n x-dcl-go-name: RequestLogging\n x-dcl-go-type: ConfigMonitoringRequestLogging\n description: Configuration for logging requests made to this project\n to Stackdriver Logging\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether logging is enabled for this project or not.\n multiTenant:\n type: object\n x-dcl-go-name: MultiTenant\n x-dcl-go-type: ConfigMultiTenant\n description: Configuration related to multi-tenant functionality.\n properties:\n allowTenants:\n type: boolean\n x-dcl-go-name: AllowTenants\n description: Whether this project can have tenants or not.\n defaultTenantLocation:\n type: string\n x-dcl-go-name: DefaultTenantLocation\n description: The default cloud parent org or folder that the tenant\n project should be created under. The parent resource name should be\n in the format of \"/\", such as \"folders/123\" or \"organizations/456\".\n If the value is not set, the tenant will be created under the same\n organization or folder as the agent project.\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n notification:\n type: object\n x-dcl-go-name: Notification\n x-dcl-go-type: ConfigNotification\n description: Configuration related to sending notifications to users.\n properties:\n defaultLocale:\n type: string\n x-dcl-go-name: DefaultLocale\n description: Default locale used for email and SMS in IETF BCP 47 format.\n sendEmail:\n type: object\n x-dcl-go-name: SendEmail\n x-dcl-go-type: ConfigNotificationSendEmail\n description: Options for email sending.\n properties:\n callbackUri:\n type: string\n x-dcl-go-name: CallbackUri\n description: action url in email template.\n changeEmailTemplate:\n type: object\n x-dcl-go-name: ChangeEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplate\n description: Email template for change email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n dnsInfo:\n type: object\n x-dcl-go-name: DnsInfo\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfo\n description: Information of custom domain DNS verification.\n properties:\n customDomain:\n type: string\n x-dcl-go-name: CustomDomain\n readOnly: true\n description: Output only. The applied verified custom domain.\n x-kubernetes-immutable: true\n customDomainState:\n type: string\n x-dcl-go-name: CustomDomainState\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum\n readOnly: true\n description: 'Output only. The current verification state of\n the custom domain. The custom domain will only be used once\n the domain verification is successful. Possible values: VERIFICATION_STATE_UNSPECIFIED,\n NOT_STARTED, IN_PROGRESS, FAILED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATE_UNSPECIFIED\n - NOT_STARTED\n - IN_PROGRESS\n - FAILED\n - SUCCEEDED\n domainVerificationRequestTime:\n type: string\n format: date-time\n x-dcl-go-name: DomainVerificationRequestTime\n readOnly: true\n description: Output only. The timestamp of initial request for\n the current domain verification.\n x-kubernetes-immutable: true\n pendingCustomDomain:\n type: string\n x-dcl-go-name: PendingCustomDomain\n readOnly: true\n description: Output only. The custom domain that's to be verified.\n x-kubernetes-immutable: true\n useCustomDomain:\n type: boolean\n x-dcl-go-name: UseCustomDomain\n description: Whether to use custom domain.\n method:\n type: string\n x-dcl-go-name: Method\n x-dcl-go-type: ConfigNotificationSendEmailMethodEnum\n description: 'The method used for sending an email. Possible values:\n METHOD_UNSPECIFIED, DEFAULT, CUSTOM_SMTP'\n enum:\n - METHOD_UNSPECIFIED\n - DEFAULT\n - CUSTOM_SMTP\n resetPasswordTemplate:\n type: object\n x-dcl-go-name: ResetPasswordTemplate\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplate\n description: Email template for reset password\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n revertSecondFactorAdditionTemplate:\n type: object\n x-dcl-go-name: RevertSecondFactorAdditionTemplate\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate\n description: Email template for reverting second factor addition\n emails\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n smtp:\n type: object\n x-dcl-go-name: Smtp\n x-dcl-go-type: ConfigNotificationSendEmailSmtp\n description: Use a custom SMTP relay\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n description: SMTP relay host\n password:\n type: string\n x-dcl-go-name: Password\n description: SMTP relay password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: SMTP relay port\n securityMode:\n type: string\n x-dcl-go-name: SecurityMode\n x-dcl-go-type: ConfigNotificationSendEmailSmtpSecurityModeEnum\n description: 'SMTP security mode. Possible values: SECURITY_MODE_UNSPECIFIED,\n SSL, START_TLS'\n enum:\n - SECURITY_MODE_UNSPECIFIED\n - SSL\n - START_TLS\n senderEmail:\n type: string\n x-dcl-go-name: SenderEmail\n description: Sender email for the SMTP relay\n username:\n type: string\n x-dcl-go-name: Username\n description: SMTP relay username\n verifyEmailTemplate:\n type: object\n x-dcl-go-name: VerifyEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplate\n description: Email template for verify email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n sendSms:\n type: object\n x-dcl-go-name: SendSms\n x-dcl-go-type: ConfigNotificationSendSms\n description: Options for SMS sending.\n properties:\n smsTemplate:\n type: object\n x-dcl-go-name: SmsTemplate\n x-dcl-go-type: ConfigNotificationSendSmsSmsTemplate\n readOnly: true\n description: Output only. The template to use when sending an SMS.\n x-kubernetes-immutable: true\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: 'Output only. The SMS''s content. Can contain the\n following placeholders which will be replaced with the appropriate\n values: %APP_NAME% - For Android or iOS apps, the app''s display\n name. For web apps, the domain hosting the application. %LOGIN_CODE%\n - The OOB code being sent in the SMS.'\n x-kubernetes-immutable: true\n useDeviceLocale:\n type: boolean\n x-dcl-go-name: UseDeviceLocale\n description: Whether to use the accept_language header for SMS.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n quota:\n type: object\n x-dcl-go-name: Quota\n x-dcl-go-type: ConfigQuota\n description: Configuration related to quotas.\n properties:\n signUpQuotaConfig:\n type: object\n x-dcl-go-name: SignUpQuotaConfig\n x-dcl-go-type: ConfigQuotaSignUpQuotaConfig\n description: Quota for the Signup endpoint, if overwritten. Signup quota\n is measured in sign ups per project per hour per IP.\n properties:\n quota:\n type: integer\n format: int64\n x-dcl-go-name: Quota\n description: Corresponds to the 'refill_token_count' field in QuotaServer\n config\n quotaDuration:\n type: string\n x-dcl-go-name: QuotaDuration\n description: How long this quota will be active for\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: When this quota will take affect\n signIn:\n type: object\n x-dcl-go-name: SignIn\n x-dcl-go-type: ConfigSignIn\n description: Configuration related to local sign in methods.\n properties:\n allowDuplicateEmails:\n type: boolean\n x-dcl-go-name: AllowDuplicateEmails\n description: Whether to allow more than one account to have the same\n email.\n anonymous:\n type: object\n x-dcl-go-name: Anonymous\n x-dcl-go-type: ConfigSignInAnonymous\n description: Configuration options related to authenticating an anonymous\n user.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether anonymous user auth is enabled for the project\n or not.\n email:\n type: object\n x-dcl-go-name: Email\n x-dcl-go-type: ConfigSignInEmail\n description: Configuration options related to authenticating a user\n by their email address.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether email auth is enabled for the project or not.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInEmailHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInEmailHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms\n used in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5,\n HMAC_SHA512, SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512,\n STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n See https://tools.ietf.org/html/rfc7914 for explanation of\n field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n passwordRequired:\n type: boolean\n x-dcl-go-name: PasswordRequired\n description: Whether a password is required for email auth or not.\n If true, both an email and password must be provided to sign in.\n If false, a user may sign in via either email/password or email\n link.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms used\n in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5, HMAC_SHA512,\n SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512, STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation. Used\n by scrypt and other similar password derivation algorithms. See\n https://tools.ietf.org/html/rfc7914 for explanation of field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n phoneNumber:\n type: object\n x-dcl-go-name: PhoneNumber\n x-dcl-go-type: ConfigSignInPhoneNumber\n description: Configuration options related to authenticated a user by\n their phone number.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether phone number auth is enabled for the project\n or not.\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of that can be used for phone auth testing.\n subtype:\n type: string\n x-dcl-go-name: Subtype\n x-dcl-go-type: ConfigSubtypeEnum\n readOnly: true\n description: 'Output only. The subtype of this config. Possible values:\n SUBTYPE_UNSPECIFIED, IDENTITY_PLATFORM, FIREBASE_AUTH'\n x-kubernetes-immutable: true\n enum:\n - SUBTYPE_UNSPECIFIED\n - IDENTITY_PLATFORM\n - FIREBASE_AUTH\n") -// 31055 bytes -// MD5: a46988d1445f800603ad90ca670ce673 +// 31081 bytes +// MD5: f2c5becc538524edaa583c4fe762da02 diff --git a/services/google/identitytoolkit/alpha/oauth_idp_config.yaml b/services/google/identitytoolkit/alpha/oauth_idp_config.yaml index 6763f7a15a..9c5391d329 100755 --- a/services/google/identitytoolkit/alpha/oauth_idp_config.yaml +++ b/services/google/identitytoolkit/alpha/oauth_idp_config.yaml @@ -15,6 +15,7 @@ info: title: IdentityToolkit/OAuthIdpConfig description: The IdentityToolkit OAuthIdpConfig resource x-dcl-struct-name: OAuthIdpConfig + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/identitytoolkit/alpha/oauth_idp_config_alpha_yaml_embed.go b/services/google/identitytoolkit/alpha/oauth_idp_config_alpha_yaml_embed.go index 019e3f4018..b12574a813 100755 --- a/services/google/identitytoolkit/alpha/oauth_idp_config_alpha_yaml_embed.go +++ b/services/google/identitytoolkit/alpha/oauth_idp_config_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/alpha/oauth_idp_config.yaml -var YAML_oauth_idp_config = []byte("info:\n title: IdentityToolkit/OAuthIdpConfig\n description: The IdentityToolkit OAuthIdpConfig resource\n x-dcl-struct-name: OAuthIdpConfig\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n apply:\n description: The function used to apply information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n delete:\n description: The function used to delete a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n deleteAll:\n description: The function used to delete all OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OAuthIdpConfig:\n title: OAuthIdpConfig\n x-dcl-id: projects/{{project}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: OAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n") +var YAML_oauth_idp_config = []byte("info:\n title: IdentityToolkit/OAuthIdpConfig\n description: The IdentityToolkit OAuthIdpConfig resource\n x-dcl-struct-name: OAuthIdpConfig\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n apply:\n description: The function used to apply information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n delete:\n description: The function used to delete a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n deleteAll:\n description: The function used to delete all OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OAuthIdpConfig:\n title: OAuthIdpConfig\n x-dcl-id: projects/{{project}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: OAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n") -// 3524 bytes -// MD5: b6e61b0ae8f280e4d0ff3a84c3f78c42 +// 3549 bytes +// MD5: fd9ac84d00e1c666d3ec406fdcf941a7 diff --git a/services/google/identitytoolkit/alpha/oauth_idp_config_schema.go b/services/google/identitytoolkit/alpha/oauth_idp_config_schema.go index 2fa340d63a..73cf66ac05 100755 --- a/services/google/identitytoolkit/alpha/oauth_idp_config_schema.go +++ b/services/google/identitytoolkit/alpha/oauth_idp_config_schema.go @@ -23,6 +23,7 @@ func DCLOAuthIdpConfigSchema() *dcl.Schema { Title: "IdentityToolkit/OAuthIdpConfig", Description: "The IdentityToolkit OAuthIdpConfig resource", StructName: "OAuthIdpConfig", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/identitytoolkit/alpha/tenant.yaml b/services/google/identitytoolkit/alpha/tenant.yaml index 876e48366a..87146004d5 100755 --- a/services/google/identitytoolkit/alpha/tenant.yaml +++ b/services/google/identitytoolkit/alpha/tenant.yaml @@ -15,6 +15,7 @@ info: title: IdentityToolkit/Tenant description: The IdentityToolkit Tenant resource x-dcl-struct-name: Tenant + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/identitytoolkit/alpha/tenant_alpha_yaml_embed.go b/services/google/identitytoolkit/alpha/tenant_alpha_yaml_embed.go index 7ab8659d41..eb876b64ef 100755 --- a/services/google/identitytoolkit/alpha/tenant_alpha_yaml_embed.go +++ b/services/google/identitytoolkit/alpha/tenant_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/alpha/tenant.yaml -var YAML_tenant = []byte("info:\n title: IdentityToolkit/Tenant\n description: The IdentityToolkit Tenant resource\n x-dcl-struct-name: Tenant\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n apply:\n description: The function used to apply information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n delete:\n description: The function used to delete a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n deleteAll:\n description: The function used to delete all Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Tenant:\n title: Tenant\n x-dcl-id: projects/{{project}}/tenants/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n allowPasswordSignup:\n type: boolean\n x-dcl-go-name: AllowPasswordSignup\n description: Whether to allow email/password user authentication.\n disableAuth:\n type: boolean\n x-dcl-go-name: DisableAuth\n description: Whether authentication is disabled for the tenant. If true,\n the users under the disabled tenant are not allowed to sign-in. Admins\n of the disabled tenant are not able to manage its users.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the tenant.\n enableAnonymousUser:\n type: boolean\n x-dcl-go-name: EnableAnonymousUser\n description: Whether to enable anonymous user authentication.\n enableEmailLinkSignin:\n type: boolean\n x-dcl-go-name: EnableEmailLinkSignin\n description: Whether to enable email link user authentication.\n mfaConfig:\n type: object\n x-dcl-go-name: MfaConfig\n x-dcl-go-type: TenantMfaConfig\n description: The tenant-level configuration of MFA options.\n properties:\n enabledProviders:\n type: array\n x-dcl-go-name: EnabledProviders\n description: A list of usable second factors for this project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TenantMfaConfigEnabledProvidersEnum\n enum:\n - PROVIDER_UNSPECIFIED\n - PHONE_SMS\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: TenantMfaConfigStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Resource name of a tenant. For example: \"projects/{project-id}/tenants/{tenant-id}\"'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of pairs that can be used\n for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/)\n and a maximum of 10 pairs can be added (error will be thrown once exceeded).\n") +var YAML_tenant = []byte("info:\n title: IdentityToolkit/Tenant\n description: The IdentityToolkit Tenant resource\n x-dcl-struct-name: Tenant\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n apply:\n description: The function used to apply information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n delete:\n description: The function used to delete a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n deleteAll:\n description: The function used to delete all Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Tenant:\n title: Tenant\n x-dcl-id: projects/{{project}}/tenants/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n allowPasswordSignup:\n type: boolean\n x-dcl-go-name: AllowPasswordSignup\n description: Whether to allow email/password user authentication.\n disableAuth:\n type: boolean\n x-dcl-go-name: DisableAuth\n description: Whether authentication is disabled for the tenant. If true,\n the users under the disabled tenant are not allowed to sign-in. Admins\n of the disabled tenant are not able to manage its users.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the tenant.\n enableAnonymousUser:\n type: boolean\n x-dcl-go-name: EnableAnonymousUser\n description: Whether to enable anonymous user authentication.\n enableEmailLinkSignin:\n type: boolean\n x-dcl-go-name: EnableEmailLinkSignin\n description: Whether to enable email link user authentication.\n mfaConfig:\n type: object\n x-dcl-go-name: MfaConfig\n x-dcl-go-type: TenantMfaConfig\n description: The tenant-level configuration of MFA options.\n properties:\n enabledProviders:\n type: array\n x-dcl-go-name: EnabledProviders\n description: A list of usable second factors for this project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TenantMfaConfigEnabledProvidersEnum\n enum:\n - PROVIDER_UNSPECIFIED\n - PHONE_SMS\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: TenantMfaConfigStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Resource name of a tenant. For example: \"projects/{project-id}/tenants/{tenant-id}\"'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of pairs that can be used\n for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/)\n and a maximum of 10 pairs can be added (error will be thrown once exceeded).\n") -// 4344 bytes -// MD5: 136208021d1dbf4dda8b226de57686de +// 4369 bytes +// MD5: 653941a52f943fa7b471910572366458 diff --git a/services/google/identitytoolkit/alpha/tenant_oauth_idp_config.yaml b/services/google/identitytoolkit/alpha/tenant_oauth_idp_config.yaml index b9d508f9ba..2f0abe2b7d 100755 --- a/services/google/identitytoolkit/alpha/tenant_oauth_idp_config.yaml +++ b/services/google/identitytoolkit/alpha/tenant_oauth_idp_config.yaml @@ -15,6 +15,7 @@ info: title: IdentityToolkit/TenantOAuthIdpConfig description: The IdentityToolkit TenantOAuthIdpConfig resource x-dcl-struct-name: TenantOAuthIdpConfig + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/identitytoolkit/alpha/tenant_oauth_idp_config_alpha_yaml_embed.go b/services/google/identitytoolkit/alpha/tenant_oauth_idp_config_alpha_yaml_embed.go index df535e0043..41de23254f 100755 --- a/services/google/identitytoolkit/alpha/tenant_oauth_idp_config_alpha_yaml_embed.go +++ b/services/google/identitytoolkit/alpha/tenant_oauth_idp_config_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/alpha/tenant_oauth_idp_config.yaml -var YAML_tenant_oauth_idp_config = []byte("info:\n title: IdentityToolkit/TenantOAuthIdpConfig\n description: The IdentityToolkit TenantOAuthIdpConfig resource\n x-dcl-struct-name: TenantOAuthIdpConfig\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n apply:\n description: The function used to apply information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n delete:\n description: The function used to delete a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n deleteAll:\n description: The function used to delete all TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TenantOAuthIdpConfig:\n title: TenantOAuthIdpConfig\n x-dcl-id: projects/{{project}}/tenants/{{tenant}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - tenant\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: TenantOAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n tenant:\n type: string\n x-dcl-go-name: Tenant\n description: The tenant for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Identitytoolkit/Tenant\n field: name\n parent: true\n") +var YAML_tenant_oauth_idp_config = []byte("info:\n title: IdentityToolkit/TenantOAuthIdpConfig\n description: The IdentityToolkit TenantOAuthIdpConfig resource\n x-dcl-struct-name: TenantOAuthIdpConfig\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n apply:\n description: The function used to apply information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n delete:\n description: The function used to delete a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n deleteAll:\n description: The function used to delete all TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TenantOAuthIdpConfig:\n title: TenantOAuthIdpConfig\n x-dcl-id: projects/{{project}}/tenants/{{tenant}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - tenant\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: TenantOAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n tenant:\n type: string\n x-dcl-go-name: Tenant\n description: The tenant for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Identitytoolkit/Tenant\n field: name\n parent: true\n") -// 4093 bytes -// MD5: f11ef1bfebecf35071ffba43c7363d87 +// 4118 bytes +// MD5: 408d36d10da6660c0d72012534af6ed4 diff --git a/services/google/identitytoolkit/alpha/tenant_oauth_idp_config_schema.go b/services/google/identitytoolkit/alpha/tenant_oauth_idp_config_schema.go index 74bc07aafb..6a5696a192 100755 --- a/services/google/identitytoolkit/alpha/tenant_oauth_idp_config_schema.go +++ b/services/google/identitytoolkit/alpha/tenant_oauth_idp_config_schema.go @@ -23,6 +23,7 @@ func DCLTenantOAuthIdpConfigSchema() *dcl.Schema { Title: "IdentityToolkit/TenantOAuthIdpConfig", Description: "The IdentityToolkit TenantOAuthIdpConfig resource", StructName: "TenantOAuthIdpConfig", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/identitytoolkit/alpha/tenant_schema.go b/services/google/identitytoolkit/alpha/tenant_schema.go index 58d73b7c68..4055fc5cef 100755 --- a/services/google/identitytoolkit/alpha/tenant_schema.go +++ b/services/google/identitytoolkit/alpha/tenant_schema.go @@ -23,6 +23,7 @@ func DCLTenantSchema() *dcl.Schema { Title: "IdentityToolkit/Tenant", Description: "The IdentityToolkit Tenant resource", StructName: "Tenant", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/identitytoolkit/beta/config.yaml b/services/google/identitytoolkit/beta/config.yaml index 621e42e723..315e7993aa 100755 --- a/services/google/identitytoolkit/beta/config.yaml +++ b/services/google/identitytoolkit/beta/config.yaml @@ -15,6 +15,7 @@ info: title: IdentityToolkit/Config description: The IdentityToolkit Config resource x-dcl-struct-name: Config + x-dcl-has-create: false x-dcl-has-iam: false paths: get: diff --git a/services/google/identitytoolkit/beta/config_beta_yaml_embed.go b/services/google/identitytoolkit/beta/config_beta_yaml_embed.go index 09c1e6e48f..51e49926fb 100755 --- a/services/google/identitytoolkit/beta/config_beta_yaml_embed.go +++ b/services/google/identitytoolkit/beta/config_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/beta/config.yaml -var YAML_config = []byte("info:\n title: IdentityToolkit/Config\n description: The IdentityToolkit Config resource\n x-dcl-struct-name: Config\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\n apply:\n description: The function used to apply information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\ncomponents:\n schemas:\n Config:\n title: Config\n x-dcl-id: projects/{{project}}/config\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n authorizedDomains:\n type: array\n x-dcl-go-name: AuthorizedDomains\n description: List of domains authorized for OAuth redirects\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n blockingFunctions:\n type: object\n x-dcl-go-name: BlockingFunctions\n x-dcl-go-type: ConfigBlockingFunctions\n description: Configuration related to blocking functions.\n properties:\n triggers:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: ConfigBlockingFunctionsTriggers\n properties:\n functionUri:\n type: string\n x-dcl-go-name: FunctionUri\n description: HTTP URI trigger for the Cloud Function.\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: httpsTrigger.url\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: When the trigger was changed.\n x-dcl-go-name: Triggers\n description: 'Map of Trigger to event type. Key should be one of the\n supported event types: \"beforeCreate\", \"beforeSignIn\"'\n client:\n type: object\n x-dcl-go-name: Client\n x-dcl-go-type: ConfigClient\n description: Options related to how clients making requests on behalf of\n a project should be configured.\n properties:\n apiKey:\n type: string\n x-dcl-go-name: ApiKey\n readOnly: true\n description: Output only. API key that can be used when making requests\n for this project.\n x-dcl-sensitive: true\n firebaseSubdomain:\n type: string\n x-dcl-go-name: FirebaseSubdomain\n readOnly: true\n description: Output only. Firebase subdomain.\n permissions:\n type: object\n x-dcl-go-name: Permissions\n x-dcl-go-type: ConfigClientPermissions\n description: Configuration related to restricting a user's ability to\n affect their account.\n properties:\n disabledUserDeletion:\n type: boolean\n x-dcl-go-name: DisabledUserDeletion\n description: When true, end users cannot delete their account on\n the associated project through any of our API methods\n disabledUserSignup:\n type: boolean\n x-dcl-go-name: DisabledUserSignup\n description: When true, end users cannot sign up for a new account\n on the associated project through any of our API methods\n mfa:\n type: object\n x-dcl-go-name: Mfa\n x-dcl-go-type: ConfigMfa\n description: Configuration for this project's multi-factor authentication,\n including whether it is active and what factors can be used for the second\n factor\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConfigMfaStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n monitoring:\n type: object\n x-dcl-go-name: Monitoring\n x-dcl-go-type: ConfigMonitoring\n description: Configuration related to monitoring project activity.\n properties:\n requestLogging:\n type: object\n x-dcl-go-name: RequestLogging\n x-dcl-go-type: ConfigMonitoringRequestLogging\n description: Configuration for logging requests made to this project\n to Stackdriver Logging\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether logging is enabled for this project or not.\n multiTenant:\n type: object\n x-dcl-go-name: MultiTenant\n x-dcl-go-type: ConfigMultiTenant\n description: Configuration related to multi-tenant functionality.\n properties:\n allowTenants:\n type: boolean\n x-dcl-go-name: AllowTenants\n description: Whether this project can have tenants or not.\n defaultTenantLocation:\n type: string\n x-dcl-go-name: DefaultTenantLocation\n description: The default cloud parent org or folder that the tenant\n project should be created under. The parent resource name should be\n in the format of \"/\", such as \"folders/123\" or \"organizations/456\".\n If the value is not set, the tenant will be created under the same\n organization or folder as the agent project.\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n notification:\n type: object\n x-dcl-go-name: Notification\n x-dcl-go-type: ConfigNotification\n description: Configuration related to sending notifications to users.\n properties:\n defaultLocale:\n type: string\n x-dcl-go-name: DefaultLocale\n description: Default locale used for email and SMS in IETF BCP 47 format.\n sendEmail:\n type: object\n x-dcl-go-name: SendEmail\n x-dcl-go-type: ConfigNotificationSendEmail\n description: Options for email sending.\n properties:\n callbackUri:\n type: string\n x-dcl-go-name: CallbackUri\n description: action url in email template.\n changeEmailTemplate:\n type: object\n x-dcl-go-name: ChangeEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplate\n description: Email template for change email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n dnsInfo:\n type: object\n x-dcl-go-name: DnsInfo\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfo\n description: Information of custom domain DNS verification.\n properties:\n customDomain:\n type: string\n x-dcl-go-name: CustomDomain\n readOnly: true\n description: Output only. The applied verified custom domain.\n x-kubernetes-immutable: true\n customDomainState:\n type: string\n x-dcl-go-name: CustomDomainState\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum\n readOnly: true\n description: 'Output only. The current verification state of\n the custom domain. The custom domain will only be used once\n the domain verification is successful. Possible values: VERIFICATION_STATE_UNSPECIFIED,\n NOT_STARTED, IN_PROGRESS, FAILED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATE_UNSPECIFIED\n - NOT_STARTED\n - IN_PROGRESS\n - FAILED\n - SUCCEEDED\n domainVerificationRequestTime:\n type: string\n format: date-time\n x-dcl-go-name: DomainVerificationRequestTime\n readOnly: true\n description: Output only. The timestamp of initial request for\n the current domain verification.\n x-kubernetes-immutable: true\n pendingCustomDomain:\n type: string\n x-dcl-go-name: PendingCustomDomain\n readOnly: true\n description: Output only. The custom domain that's to be verified.\n x-kubernetes-immutable: true\n useCustomDomain:\n type: boolean\n x-dcl-go-name: UseCustomDomain\n description: Whether to use custom domain.\n method:\n type: string\n x-dcl-go-name: Method\n x-dcl-go-type: ConfigNotificationSendEmailMethodEnum\n description: 'The method used for sending an email. Possible values:\n METHOD_UNSPECIFIED, DEFAULT, CUSTOM_SMTP'\n enum:\n - METHOD_UNSPECIFIED\n - DEFAULT\n - CUSTOM_SMTP\n resetPasswordTemplate:\n type: object\n x-dcl-go-name: ResetPasswordTemplate\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplate\n description: Email template for reset password\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n revertSecondFactorAdditionTemplate:\n type: object\n x-dcl-go-name: RevertSecondFactorAdditionTemplate\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate\n description: Email template for reverting second factor addition\n emails\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n smtp:\n type: object\n x-dcl-go-name: Smtp\n x-dcl-go-type: ConfigNotificationSendEmailSmtp\n description: Use a custom SMTP relay\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n description: SMTP relay host\n password:\n type: string\n x-dcl-go-name: Password\n description: SMTP relay password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: SMTP relay port\n securityMode:\n type: string\n x-dcl-go-name: SecurityMode\n x-dcl-go-type: ConfigNotificationSendEmailSmtpSecurityModeEnum\n description: 'SMTP security mode. Possible values: SECURITY_MODE_UNSPECIFIED,\n SSL, START_TLS'\n enum:\n - SECURITY_MODE_UNSPECIFIED\n - SSL\n - START_TLS\n senderEmail:\n type: string\n x-dcl-go-name: SenderEmail\n description: Sender email for the SMTP relay\n username:\n type: string\n x-dcl-go-name: Username\n description: SMTP relay username\n verifyEmailTemplate:\n type: object\n x-dcl-go-name: VerifyEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplate\n description: Email template for verify email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n sendSms:\n type: object\n x-dcl-go-name: SendSms\n x-dcl-go-type: ConfigNotificationSendSms\n description: Options for SMS sending.\n properties:\n smsTemplate:\n type: object\n x-dcl-go-name: SmsTemplate\n x-dcl-go-type: ConfigNotificationSendSmsSmsTemplate\n readOnly: true\n description: Output only. The template to use when sending an SMS.\n x-kubernetes-immutable: true\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: 'Output only. The SMS''s content. Can contain the\n following placeholders which will be replaced with the appropriate\n values: %APP_NAME% - For Android or iOS apps, the app''s display\n name. For web apps, the domain hosting the application. %LOGIN_CODE%\n - The OOB code being sent in the SMS.'\n x-kubernetes-immutable: true\n useDeviceLocale:\n type: boolean\n x-dcl-go-name: UseDeviceLocale\n description: Whether to use the accept_language header for SMS.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n quota:\n type: object\n x-dcl-go-name: Quota\n x-dcl-go-type: ConfigQuota\n description: Configuration related to quotas.\n properties:\n signUpQuotaConfig:\n type: object\n x-dcl-go-name: SignUpQuotaConfig\n x-dcl-go-type: ConfigQuotaSignUpQuotaConfig\n description: Quota for the Signup endpoint, if overwritten. Signup quota\n is measured in sign ups per project per hour per IP.\n properties:\n quota:\n type: integer\n format: int64\n x-dcl-go-name: Quota\n description: Corresponds to the 'refill_token_count' field in QuotaServer\n config\n quotaDuration:\n type: string\n x-dcl-go-name: QuotaDuration\n description: How long this quota will be active for\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: When this quota will take affect\n signIn:\n type: object\n x-dcl-go-name: SignIn\n x-dcl-go-type: ConfigSignIn\n description: Configuration related to local sign in methods.\n properties:\n allowDuplicateEmails:\n type: boolean\n x-dcl-go-name: AllowDuplicateEmails\n description: Whether to allow more than one account to have the same\n email.\n anonymous:\n type: object\n x-dcl-go-name: Anonymous\n x-dcl-go-type: ConfigSignInAnonymous\n description: Configuration options related to authenticating an anonymous\n user.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether anonymous user auth is enabled for the project\n or not.\n email:\n type: object\n x-dcl-go-name: Email\n x-dcl-go-type: ConfigSignInEmail\n description: Configuration options related to authenticating a user\n by their email address.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether email auth is enabled for the project or not.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInEmailHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInEmailHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms\n used in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5,\n HMAC_SHA512, SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512,\n STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n See https://tools.ietf.org/html/rfc7914 for explanation of\n field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n passwordRequired:\n type: boolean\n x-dcl-go-name: PasswordRequired\n description: Whether a password is required for email auth or not.\n If true, both an email and password must be provided to sign in.\n If false, a user may sign in via either email/password or email\n link.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms used\n in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5, HMAC_SHA512,\n SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512, STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation. Used\n by scrypt and other similar password derivation algorithms. See\n https://tools.ietf.org/html/rfc7914 for explanation of field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n phoneNumber:\n type: object\n x-dcl-go-name: PhoneNumber\n x-dcl-go-type: ConfigSignInPhoneNumber\n description: Configuration options related to authenticated a user by\n their phone number.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether phone number auth is enabled for the project\n or not.\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of that can be used for phone auth testing.\n subtype:\n type: string\n x-dcl-go-name: Subtype\n x-dcl-go-type: ConfigSubtypeEnum\n readOnly: true\n description: 'Output only. The subtype of this config. Possible values:\n SUBTYPE_UNSPECIFIED, IDENTITY_PLATFORM, FIREBASE_AUTH'\n x-kubernetes-immutable: true\n enum:\n - SUBTYPE_UNSPECIFIED\n - IDENTITY_PLATFORM\n - FIREBASE_AUTH\n") +var YAML_config = []byte("info:\n title: IdentityToolkit/Config\n description: The IdentityToolkit Config resource\n x-dcl-struct-name: Config\n x-dcl-has-create: false\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\n apply:\n description: The function used to apply information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\ncomponents:\n schemas:\n Config:\n title: Config\n x-dcl-id: projects/{{project}}/config\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n authorizedDomains:\n type: array\n x-dcl-go-name: AuthorizedDomains\n description: List of domains authorized for OAuth redirects\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n blockingFunctions:\n type: object\n x-dcl-go-name: BlockingFunctions\n x-dcl-go-type: ConfigBlockingFunctions\n description: Configuration related to blocking functions.\n properties:\n triggers:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: ConfigBlockingFunctionsTriggers\n properties:\n functionUri:\n type: string\n x-dcl-go-name: FunctionUri\n description: HTTP URI trigger for the Cloud Function.\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: httpsTrigger.url\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: When the trigger was changed.\n x-dcl-go-name: Triggers\n description: 'Map of Trigger to event type. Key should be one of the\n supported event types: \"beforeCreate\", \"beforeSignIn\"'\n client:\n type: object\n x-dcl-go-name: Client\n x-dcl-go-type: ConfigClient\n description: Options related to how clients making requests on behalf of\n a project should be configured.\n properties:\n apiKey:\n type: string\n x-dcl-go-name: ApiKey\n readOnly: true\n description: Output only. API key that can be used when making requests\n for this project.\n x-dcl-sensitive: true\n firebaseSubdomain:\n type: string\n x-dcl-go-name: FirebaseSubdomain\n readOnly: true\n description: Output only. Firebase subdomain.\n permissions:\n type: object\n x-dcl-go-name: Permissions\n x-dcl-go-type: ConfigClientPermissions\n description: Configuration related to restricting a user's ability to\n affect their account.\n properties:\n disabledUserDeletion:\n type: boolean\n x-dcl-go-name: DisabledUserDeletion\n description: When true, end users cannot delete their account on\n the associated project through any of our API methods\n disabledUserSignup:\n type: boolean\n x-dcl-go-name: DisabledUserSignup\n description: When true, end users cannot sign up for a new account\n on the associated project through any of our API methods\n mfa:\n type: object\n x-dcl-go-name: Mfa\n x-dcl-go-type: ConfigMfa\n description: Configuration for this project's multi-factor authentication,\n including whether it is active and what factors can be used for the second\n factor\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConfigMfaStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n monitoring:\n type: object\n x-dcl-go-name: Monitoring\n x-dcl-go-type: ConfigMonitoring\n description: Configuration related to monitoring project activity.\n properties:\n requestLogging:\n type: object\n x-dcl-go-name: RequestLogging\n x-dcl-go-type: ConfigMonitoringRequestLogging\n description: Configuration for logging requests made to this project\n to Stackdriver Logging\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether logging is enabled for this project or not.\n multiTenant:\n type: object\n x-dcl-go-name: MultiTenant\n x-dcl-go-type: ConfigMultiTenant\n description: Configuration related to multi-tenant functionality.\n properties:\n allowTenants:\n type: boolean\n x-dcl-go-name: AllowTenants\n description: Whether this project can have tenants or not.\n defaultTenantLocation:\n type: string\n x-dcl-go-name: DefaultTenantLocation\n description: The default cloud parent org or folder that the tenant\n project should be created under. The parent resource name should be\n in the format of \"/\", such as \"folders/123\" or \"organizations/456\".\n If the value is not set, the tenant will be created under the same\n organization or folder as the agent project.\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n notification:\n type: object\n x-dcl-go-name: Notification\n x-dcl-go-type: ConfigNotification\n description: Configuration related to sending notifications to users.\n properties:\n defaultLocale:\n type: string\n x-dcl-go-name: DefaultLocale\n description: Default locale used for email and SMS in IETF BCP 47 format.\n sendEmail:\n type: object\n x-dcl-go-name: SendEmail\n x-dcl-go-type: ConfigNotificationSendEmail\n description: Options for email sending.\n properties:\n callbackUri:\n type: string\n x-dcl-go-name: CallbackUri\n description: action url in email template.\n changeEmailTemplate:\n type: object\n x-dcl-go-name: ChangeEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplate\n description: Email template for change email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n dnsInfo:\n type: object\n x-dcl-go-name: DnsInfo\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfo\n description: Information of custom domain DNS verification.\n properties:\n customDomain:\n type: string\n x-dcl-go-name: CustomDomain\n readOnly: true\n description: Output only. The applied verified custom domain.\n x-kubernetes-immutable: true\n customDomainState:\n type: string\n x-dcl-go-name: CustomDomainState\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum\n readOnly: true\n description: 'Output only. The current verification state of\n the custom domain. The custom domain will only be used once\n the domain verification is successful. Possible values: VERIFICATION_STATE_UNSPECIFIED,\n NOT_STARTED, IN_PROGRESS, FAILED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATE_UNSPECIFIED\n - NOT_STARTED\n - IN_PROGRESS\n - FAILED\n - SUCCEEDED\n domainVerificationRequestTime:\n type: string\n format: date-time\n x-dcl-go-name: DomainVerificationRequestTime\n readOnly: true\n description: Output only. The timestamp of initial request for\n the current domain verification.\n x-kubernetes-immutable: true\n pendingCustomDomain:\n type: string\n x-dcl-go-name: PendingCustomDomain\n readOnly: true\n description: Output only. The custom domain that's to be verified.\n x-kubernetes-immutable: true\n useCustomDomain:\n type: boolean\n x-dcl-go-name: UseCustomDomain\n description: Whether to use custom domain.\n method:\n type: string\n x-dcl-go-name: Method\n x-dcl-go-type: ConfigNotificationSendEmailMethodEnum\n description: 'The method used for sending an email. Possible values:\n METHOD_UNSPECIFIED, DEFAULT, CUSTOM_SMTP'\n enum:\n - METHOD_UNSPECIFIED\n - DEFAULT\n - CUSTOM_SMTP\n resetPasswordTemplate:\n type: object\n x-dcl-go-name: ResetPasswordTemplate\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplate\n description: Email template for reset password\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n revertSecondFactorAdditionTemplate:\n type: object\n x-dcl-go-name: RevertSecondFactorAdditionTemplate\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate\n description: Email template for reverting second factor addition\n emails\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n smtp:\n type: object\n x-dcl-go-name: Smtp\n x-dcl-go-type: ConfigNotificationSendEmailSmtp\n description: Use a custom SMTP relay\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n description: SMTP relay host\n password:\n type: string\n x-dcl-go-name: Password\n description: SMTP relay password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: SMTP relay port\n securityMode:\n type: string\n x-dcl-go-name: SecurityMode\n x-dcl-go-type: ConfigNotificationSendEmailSmtpSecurityModeEnum\n description: 'SMTP security mode. Possible values: SECURITY_MODE_UNSPECIFIED,\n SSL, START_TLS'\n enum:\n - SECURITY_MODE_UNSPECIFIED\n - SSL\n - START_TLS\n senderEmail:\n type: string\n x-dcl-go-name: SenderEmail\n description: Sender email for the SMTP relay\n username:\n type: string\n x-dcl-go-name: Username\n description: SMTP relay username\n verifyEmailTemplate:\n type: object\n x-dcl-go-name: VerifyEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplate\n description: Email template for verify email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n sendSms:\n type: object\n x-dcl-go-name: SendSms\n x-dcl-go-type: ConfigNotificationSendSms\n description: Options for SMS sending.\n properties:\n smsTemplate:\n type: object\n x-dcl-go-name: SmsTemplate\n x-dcl-go-type: ConfigNotificationSendSmsSmsTemplate\n readOnly: true\n description: Output only. The template to use when sending an SMS.\n x-kubernetes-immutable: true\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: 'Output only. The SMS''s content. Can contain the\n following placeholders which will be replaced with the appropriate\n values: %APP_NAME% - For Android or iOS apps, the app''s display\n name. For web apps, the domain hosting the application. %LOGIN_CODE%\n - The OOB code being sent in the SMS.'\n x-kubernetes-immutable: true\n useDeviceLocale:\n type: boolean\n x-dcl-go-name: UseDeviceLocale\n description: Whether to use the accept_language header for SMS.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n quota:\n type: object\n x-dcl-go-name: Quota\n x-dcl-go-type: ConfigQuota\n description: Configuration related to quotas.\n properties:\n signUpQuotaConfig:\n type: object\n x-dcl-go-name: SignUpQuotaConfig\n x-dcl-go-type: ConfigQuotaSignUpQuotaConfig\n description: Quota for the Signup endpoint, if overwritten. Signup quota\n is measured in sign ups per project per hour per IP.\n properties:\n quota:\n type: integer\n format: int64\n x-dcl-go-name: Quota\n description: Corresponds to the 'refill_token_count' field in QuotaServer\n config\n quotaDuration:\n type: string\n x-dcl-go-name: QuotaDuration\n description: How long this quota will be active for\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: When this quota will take affect\n signIn:\n type: object\n x-dcl-go-name: SignIn\n x-dcl-go-type: ConfigSignIn\n description: Configuration related to local sign in methods.\n properties:\n allowDuplicateEmails:\n type: boolean\n x-dcl-go-name: AllowDuplicateEmails\n description: Whether to allow more than one account to have the same\n email.\n anonymous:\n type: object\n x-dcl-go-name: Anonymous\n x-dcl-go-type: ConfigSignInAnonymous\n description: Configuration options related to authenticating an anonymous\n user.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether anonymous user auth is enabled for the project\n or not.\n email:\n type: object\n x-dcl-go-name: Email\n x-dcl-go-type: ConfigSignInEmail\n description: Configuration options related to authenticating a user\n by their email address.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether email auth is enabled for the project or not.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInEmailHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInEmailHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms\n used in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5,\n HMAC_SHA512, SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512,\n STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n See https://tools.ietf.org/html/rfc7914 for explanation of\n field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n passwordRequired:\n type: boolean\n x-dcl-go-name: PasswordRequired\n description: Whether a password is required for email auth or not.\n If true, both an email and password must be provided to sign in.\n If false, a user may sign in via either email/password or email\n link.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms used\n in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5, HMAC_SHA512,\n SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512, STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation. Used\n by scrypt and other similar password derivation algorithms. See\n https://tools.ietf.org/html/rfc7914 for explanation of field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n phoneNumber:\n type: object\n x-dcl-go-name: PhoneNumber\n x-dcl-go-type: ConfigSignInPhoneNumber\n description: Configuration options related to authenticated a user by\n their phone number.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether phone number auth is enabled for the project\n or not.\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of that can be used for phone auth testing.\n subtype:\n type: string\n x-dcl-go-name: Subtype\n x-dcl-go-type: ConfigSubtypeEnum\n readOnly: true\n description: 'Output only. The subtype of this config. Possible values:\n SUBTYPE_UNSPECIFIED, IDENTITY_PLATFORM, FIREBASE_AUTH'\n x-kubernetes-immutable: true\n enum:\n - SUBTYPE_UNSPECIFIED\n - IDENTITY_PLATFORM\n - FIREBASE_AUTH\n") -// 31055 bytes -// MD5: a46988d1445f800603ad90ca670ce673 +// 31081 bytes +// MD5: f2c5becc538524edaa583c4fe762da02 diff --git a/services/google/identitytoolkit/beta/oauth_idp_config.yaml b/services/google/identitytoolkit/beta/oauth_idp_config.yaml index 6763f7a15a..9c5391d329 100755 --- a/services/google/identitytoolkit/beta/oauth_idp_config.yaml +++ b/services/google/identitytoolkit/beta/oauth_idp_config.yaml @@ -15,6 +15,7 @@ info: title: IdentityToolkit/OAuthIdpConfig description: The IdentityToolkit OAuthIdpConfig resource x-dcl-struct-name: OAuthIdpConfig + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/identitytoolkit/beta/oauth_idp_config_beta_yaml_embed.go b/services/google/identitytoolkit/beta/oauth_idp_config_beta_yaml_embed.go index 6bd056f818..a514f34921 100755 --- a/services/google/identitytoolkit/beta/oauth_idp_config_beta_yaml_embed.go +++ b/services/google/identitytoolkit/beta/oauth_idp_config_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/beta/oauth_idp_config.yaml -var YAML_oauth_idp_config = []byte("info:\n title: IdentityToolkit/OAuthIdpConfig\n description: The IdentityToolkit OAuthIdpConfig resource\n x-dcl-struct-name: OAuthIdpConfig\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n apply:\n description: The function used to apply information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n delete:\n description: The function used to delete a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n deleteAll:\n description: The function used to delete all OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OAuthIdpConfig:\n title: OAuthIdpConfig\n x-dcl-id: projects/{{project}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: OAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n") +var YAML_oauth_idp_config = []byte("info:\n title: IdentityToolkit/OAuthIdpConfig\n description: The IdentityToolkit OAuthIdpConfig resource\n x-dcl-struct-name: OAuthIdpConfig\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n apply:\n description: The function used to apply information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n delete:\n description: The function used to delete a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n deleteAll:\n description: The function used to delete all OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OAuthIdpConfig:\n title: OAuthIdpConfig\n x-dcl-id: projects/{{project}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: OAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n") -// 3524 bytes -// MD5: b6e61b0ae8f280e4d0ff3a84c3f78c42 +// 3549 bytes +// MD5: fd9ac84d00e1c666d3ec406fdcf941a7 diff --git a/services/google/identitytoolkit/beta/oauth_idp_config_schema.go b/services/google/identitytoolkit/beta/oauth_idp_config_schema.go index db23005f38..53ea4fa6b1 100755 --- a/services/google/identitytoolkit/beta/oauth_idp_config_schema.go +++ b/services/google/identitytoolkit/beta/oauth_idp_config_schema.go @@ -23,6 +23,7 @@ func DCLOAuthIdpConfigSchema() *dcl.Schema { Title: "IdentityToolkit/OAuthIdpConfig", Description: "The IdentityToolkit OAuthIdpConfig resource", StructName: "OAuthIdpConfig", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/identitytoolkit/beta/tenant.yaml b/services/google/identitytoolkit/beta/tenant.yaml index 876e48366a..87146004d5 100755 --- a/services/google/identitytoolkit/beta/tenant.yaml +++ b/services/google/identitytoolkit/beta/tenant.yaml @@ -15,6 +15,7 @@ info: title: IdentityToolkit/Tenant description: The IdentityToolkit Tenant resource x-dcl-struct-name: Tenant + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/identitytoolkit/beta/tenant_beta_yaml_embed.go b/services/google/identitytoolkit/beta/tenant_beta_yaml_embed.go index ce1ac9ae75..91f7b19101 100755 --- a/services/google/identitytoolkit/beta/tenant_beta_yaml_embed.go +++ b/services/google/identitytoolkit/beta/tenant_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/beta/tenant.yaml -var YAML_tenant = []byte("info:\n title: IdentityToolkit/Tenant\n description: The IdentityToolkit Tenant resource\n x-dcl-struct-name: Tenant\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n apply:\n description: The function used to apply information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n delete:\n description: The function used to delete a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n deleteAll:\n description: The function used to delete all Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Tenant:\n title: Tenant\n x-dcl-id: projects/{{project}}/tenants/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n allowPasswordSignup:\n type: boolean\n x-dcl-go-name: AllowPasswordSignup\n description: Whether to allow email/password user authentication.\n disableAuth:\n type: boolean\n x-dcl-go-name: DisableAuth\n description: Whether authentication is disabled for the tenant. If true,\n the users under the disabled tenant are not allowed to sign-in. Admins\n of the disabled tenant are not able to manage its users.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the tenant.\n enableAnonymousUser:\n type: boolean\n x-dcl-go-name: EnableAnonymousUser\n description: Whether to enable anonymous user authentication.\n enableEmailLinkSignin:\n type: boolean\n x-dcl-go-name: EnableEmailLinkSignin\n description: Whether to enable email link user authentication.\n mfaConfig:\n type: object\n x-dcl-go-name: MfaConfig\n x-dcl-go-type: TenantMfaConfig\n description: The tenant-level configuration of MFA options.\n properties:\n enabledProviders:\n type: array\n x-dcl-go-name: EnabledProviders\n description: A list of usable second factors for this project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TenantMfaConfigEnabledProvidersEnum\n enum:\n - PROVIDER_UNSPECIFIED\n - PHONE_SMS\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: TenantMfaConfigStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Resource name of a tenant. For example: \"projects/{project-id}/tenants/{tenant-id}\"'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of pairs that can be used\n for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/)\n and a maximum of 10 pairs can be added (error will be thrown once exceeded).\n") +var YAML_tenant = []byte("info:\n title: IdentityToolkit/Tenant\n description: The IdentityToolkit Tenant resource\n x-dcl-struct-name: Tenant\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n apply:\n description: The function used to apply information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n delete:\n description: The function used to delete a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n deleteAll:\n description: The function used to delete all Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Tenant:\n title: Tenant\n x-dcl-id: projects/{{project}}/tenants/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n allowPasswordSignup:\n type: boolean\n x-dcl-go-name: AllowPasswordSignup\n description: Whether to allow email/password user authentication.\n disableAuth:\n type: boolean\n x-dcl-go-name: DisableAuth\n description: Whether authentication is disabled for the tenant. If true,\n the users under the disabled tenant are not allowed to sign-in. Admins\n of the disabled tenant are not able to manage its users.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the tenant.\n enableAnonymousUser:\n type: boolean\n x-dcl-go-name: EnableAnonymousUser\n description: Whether to enable anonymous user authentication.\n enableEmailLinkSignin:\n type: boolean\n x-dcl-go-name: EnableEmailLinkSignin\n description: Whether to enable email link user authentication.\n mfaConfig:\n type: object\n x-dcl-go-name: MfaConfig\n x-dcl-go-type: TenantMfaConfig\n description: The tenant-level configuration of MFA options.\n properties:\n enabledProviders:\n type: array\n x-dcl-go-name: EnabledProviders\n description: A list of usable second factors for this project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TenantMfaConfigEnabledProvidersEnum\n enum:\n - PROVIDER_UNSPECIFIED\n - PHONE_SMS\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: TenantMfaConfigStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Resource name of a tenant. For example: \"projects/{project-id}/tenants/{tenant-id}\"'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of pairs that can be used\n for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/)\n and a maximum of 10 pairs can be added (error will be thrown once exceeded).\n") -// 4344 bytes -// MD5: 136208021d1dbf4dda8b226de57686de +// 4369 bytes +// MD5: 653941a52f943fa7b471910572366458 diff --git a/services/google/identitytoolkit/beta/tenant_oauth_idp_config.yaml b/services/google/identitytoolkit/beta/tenant_oauth_idp_config.yaml index b9d508f9ba..2f0abe2b7d 100755 --- a/services/google/identitytoolkit/beta/tenant_oauth_idp_config.yaml +++ b/services/google/identitytoolkit/beta/tenant_oauth_idp_config.yaml @@ -15,6 +15,7 @@ info: title: IdentityToolkit/TenantOAuthIdpConfig description: The IdentityToolkit TenantOAuthIdpConfig resource x-dcl-struct-name: TenantOAuthIdpConfig + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/identitytoolkit/beta/tenant_oauth_idp_config_beta_yaml_embed.go b/services/google/identitytoolkit/beta/tenant_oauth_idp_config_beta_yaml_embed.go index db6b49c6bf..5abf022b05 100755 --- a/services/google/identitytoolkit/beta/tenant_oauth_idp_config_beta_yaml_embed.go +++ b/services/google/identitytoolkit/beta/tenant_oauth_idp_config_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/beta/tenant_oauth_idp_config.yaml -var YAML_tenant_oauth_idp_config = []byte("info:\n title: IdentityToolkit/TenantOAuthIdpConfig\n description: The IdentityToolkit TenantOAuthIdpConfig resource\n x-dcl-struct-name: TenantOAuthIdpConfig\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n apply:\n description: The function used to apply information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n delete:\n description: The function used to delete a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n deleteAll:\n description: The function used to delete all TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TenantOAuthIdpConfig:\n title: TenantOAuthIdpConfig\n x-dcl-id: projects/{{project}}/tenants/{{tenant}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - tenant\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: TenantOAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n tenant:\n type: string\n x-dcl-go-name: Tenant\n description: The tenant for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Identitytoolkit/Tenant\n field: name\n parent: true\n") +var YAML_tenant_oauth_idp_config = []byte("info:\n title: IdentityToolkit/TenantOAuthIdpConfig\n description: The IdentityToolkit TenantOAuthIdpConfig resource\n x-dcl-struct-name: TenantOAuthIdpConfig\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n apply:\n description: The function used to apply information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n delete:\n description: The function used to delete a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n deleteAll:\n description: The function used to delete all TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TenantOAuthIdpConfig:\n title: TenantOAuthIdpConfig\n x-dcl-id: projects/{{project}}/tenants/{{tenant}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - tenant\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: TenantOAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n tenant:\n type: string\n x-dcl-go-name: Tenant\n description: The tenant for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Identitytoolkit/Tenant\n field: name\n parent: true\n") -// 4093 bytes -// MD5: f11ef1bfebecf35071ffba43c7363d87 +// 4118 bytes +// MD5: 408d36d10da6660c0d72012534af6ed4 diff --git a/services/google/identitytoolkit/beta/tenant_oauth_idp_config_schema.go b/services/google/identitytoolkit/beta/tenant_oauth_idp_config_schema.go index 1117c0ff60..5db8a9965e 100755 --- a/services/google/identitytoolkit/beta/tenant_oauth_idp_config_schema.go +++ b/services/google/identitytoolkit/beta/tenant_oauth_idp_config_schema.go @@ -23,6 +23,7 @@ func DCLTenantOAuthIdpConfigSchema() *dcl.Schema { Title: "IdentityToolkit/TenantOAuthIdpConfig", Description: "The IdentityToolkit TenantOAuthIdpConfig resource", StructName: "TenantOAuthIdpConfig", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/identitytoolkit/beta/tenant_schema.go b/services/google/identitytoolkit/beta/tenant_schema.go index 3c04d7d636..8ae9f8d074 100755 --- a/services/google/identitytoolkit/beta/tenant_schema.go +++ b/services/google/identitytoolkit/beta/tenant_schema.go @@ -23,6 +23,7 @@ func DCLTenantSchema() *dcl.Schema { Title: "IdentityToolkit/Tenant", Description: "The IdentityToolkit Tenant resource", StructName: "Tenant", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/identitytoolkit/config.yaml b/services/google/identitytoolkit/config.yaml index 621e42e723..315e7993aa 100755 --- a/services/google/identitytoolkit/config.yaml +++ b/services/google/identitytoolkit/config.yaml @@ -15,6 +15,7 @@ info: title: IdentityToolkit/Config description: The IdentityToolkit Config resource x-dcl-struct-name: Config + x-dcl-has-create: false x-dcl-has-iam: false paths: get: diff --git a/services/google/identitytoolkit/config_yaml_embed.go b/services/google/identitytoolkit/config_yaml_embed.go index 6500499b2f..47cae37b4d 100755 --- a/services/google/identitytoolkit/config_yaml_embed.go +++ b/services/google/identitytoolkit/config_yaml_embed.go @@ -17,7 +17,7 @@ package identitytoolkit // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/config.yaml -var YAML_config = []byte("info:\n title: IdentityToolkit/Config\n description: The IdentityToolkit Config resource\n x-dcl-struct-name: Config\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\n apply:\n description: The function used to apply information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\ncomponents:\n schemas:\n Config:\n title: Config\n x-dcl-id: projects/{{project}}/config\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n authorizedDomains:\n type: array\n x-dcl-go-name: AuthorizedDomains\n description: List of domains authorized for OAuth redirects\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n blockingFunctions:\n type: object\n x-dcl-go-name: BlockingFunctions\n x-dcl-go-type: ConfigBlockingFunctions\n description: Configuration related to blocking functions.\n properties:\n triggers:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: ConfigBlockingFunctionsTriggers\n properties:\n functionUri:\n type: string\n x-dcl-go-name: FunctionUri\n description: HTTP URI trigger for the Cloud Function.\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: httpsTrigger.url\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: When the trigger was changed.\n x-dcl-go-name: Triggers\n description: 'Map of Trigger to event type. Key should be one of the\n supported event types: \"beforeCreate\", \"beforeSignIn\"'\n client:\n type: object\n x-dcl-go-name: Client\n x-dcl-go-type: ConfigClient\n description: Options related to how clients making requests on behalf of\n a project should be configured.\n properties:\n apiKey:\n type: string\n x-dcl-go-name: ApiKey\n readOnly: true\n description: Output only. API key that can be used when making requests\n for this project.\n x-dcl-sensitive: true\n firebaseSubdomain:\n type: string\n x-dcl-go-name: FirebaseSubdomain\n readOnly: true\n description: Output only. Firebase subdomain.\n permissions:\n type: object\n x-dcl-go-name: Permissions\n x-dcl-go-type: ConfigClientPermissions\n description: Configuration related to restricting a user's ability to\n affect their account.\n properties:\n disabledUserDeletion:\n type: boolean\n x-dcl-go-name: DisabledUserDeletion\n description: When true, end users cannot delete their account on\n the associated project through any of our API methods\n disabledUserSignup:\n type: boolean\n x-dcl-go-name: DisabledUserSignup\n description: When true, end users cannot sign up for a new account\n on the associated project through any of our API methods\n mfa:\n type: object\n x-dcl-go-name: Mfa\n x-dcl-go-type: ConfigMfa\n description: Configuration for this project's multi-factor authentication,\n including whether it is active and what factors can be used for the second\n factor\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConfigMfaStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n monitoring:\n type: object\n x-dcl-go-name: Monitoring\n x-dcl-go-type: ConfigMonitoring\n description: Configuration related to monitoring project activity.\n properties:\n requestLogging:\n type: object\n x-dcl-go-name: RequestLogging\n x-dcl-go-type: ConfigMonitoringRequestLogging\n description: Configuration for logging requests made to this project\n to Stackdriver Logging\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether logging is enabled for this project or not.\n multiTenant:\n type: object\n x-dcl-go-name: MultiTenant\n x-dcl-go-type: ConfigMultiTenant\n description: Configuration related to multi-tenant functionality.\n properties:\n allowTenants:\n type: boolean\n x-dcl-go-name: AllowTenants\n description: Whether this project can have tenants or not.\n defaultTenantLocation:\n type: string\n x-dcl-go-name: DefaultTenantLocation\n description: The default cloud parent org or folder that the tenant\n project should be created under. The parent resource name should be\n in the format of \"/\", such as \"folders/123\" or \"organizations/456\".\n If the value is not set, the tenant will be created under the same\n organization or folder as the agent project.\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n notification:\n type: object\n x-dcl-go-name: Notification\n x-dcl-go-type: ConfigNotification\n description: Configuration related to sending notifications to users.\n properties:\n defaultLocale:\n type: string\n x-dcl-go-name: DefaultLocale\n description: Default locale used for email and SMS in IETF BCP 47 format.\n sendEmail:\n type: object\n x-dcl-go-name: SendEmail\n x-dcl-go-type: ConfigNotificationSendEmail\n description: Options for email sending.\n properties:\n callbackUri:\n type: string\n x-dcl-go-name: CallbackUri\n description: action url in email template.\n changeEmailTemplate:\n type: object\n x-dcl-go-name: ChangeEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplate\n description: Email template for change email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n dnsInfo:\n type: object\n x-dcl-go-name: DnsInfo\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfo\n description: Information of custom domain DNS verification.\n properties:\n customDomain:\n type: string\n x-dcl-go-name: CustomDomain\n readOnly: true\n description: Output only. The applied verified custom domain.\n x-kubernetes-immutable: true\n customDomainState:\n type: string\n x-dcl-go-name: CustomDomainState\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum\n readOnly: true\n description: 'Output only. The current verification state of\n the custom domain. The custom domain will only be used once\n the domain verification is successful. Possible values: VERIFICATION_STATE_UNSPECIFIED,\n NOT_STARTED, IN_PROGRESS, FAILED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATE_UNSPECIFIED\n - NOT_STARTED\n - IN_PROGRESS\n - FAILED\n - SUCCEEDED\n domainVerificationRequestTime:\n type: string\n format: date-time\n x-dcl-go-name: DomainVerificationRequestTime\n readOnly: true\n description: Output only. The timestamp of initial request for\n the current domain verification.\n x-kubernetes-immutable: true\n pendingCustomDomain:\n type: string\n x-dcl-go-name: PendingCustomDomain\n readOnly: true\n description: Output only. The custom domain that's to be verified.\n x-kubernetes-immutable: true\n useCustomDomain:\n type: boolean\n x-dcl-go-name: UseCustomDomain\n description: Whether to use custom domain.\n method:\n type: string\n x-dcl-go-name: Method\n x-dcl-go-type: ConfigNotificationSendEmailMethodEnum\n description: 'The method used for sending an email. Possible values:\n METHOD_UNSPECIFIED, DEFAULT, CUSTOM_SMTP'\n enum:\n - METHOD_UNSPECIFIED\n - DEFAULT\n - CUSTOM_SMTP\n resetPasswordTemplate:\n type: object\n x-dcl-go-name: ResetPasswordTemplate\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplate\n description: Email template for reset password\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n revertSecondFactorAdditionTemplate:\n type: object\n x-dcl-go-name: RevertSecondFactorAdditionTemplate\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate\n description: Email template for reverting second factor addition\n emails\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n smtp:\n type: object\n x-dcl-go-name: Smtp\n x-dcl-go-type: ConfigNotificationSendEmailSmtp\n description: Use a custom SMTP relay\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n description: SMTP relay host\n password:\n type: string\n x-dcl-go-name: Password\n description: SMTP relay password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: SMTP relay port\n securityMode:\n type: string\n x-dcl-go-name: SecurityMode\n x-dcl-go-type: ConfigNotificationSendEmailSmtpSecurityModeEnum\n description: 'SMTP security mode. Possible values: SECURITY_MODE_UNSPECIFIED,\n SSL, START_TLS'\n enum:\n - SECURITY_MODE_UNSPECIFIED\n - SSL\n - START_TLS\n senderEmail:\n type: string\n x-dcl-go-name: SenderEmail\n description: Sender email for the SMTP relay\n username:\n type: string\n x-dcl-go-name: Username\n description: SMTP relay username\n verifyEmailTemplate:\n type: object\n x-dcl-go-name: VerifyEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplate\n description: Email template for verify email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n sendSms:\n type: object\n x-dcl-go-name: SendSms\n x-dcl-go-type: ConfigNotificationSendSms\n description: Options for SMS sending.\n properties:\n smsTemplate:\n type: object\n x-dcl-go-name: SmsTemplate\n x-dcl-go-type: ConfigNotificationSendSmsSmsTemplate\n readOnly: true\n description: Output only. The template to use when sending an SMS.\n x-kubernetes-immutable: true\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: 'Output only. The SMS''s content. Can contain the\n following placeholders which will be replaced with the appropriate\n values: %APP_NAME% - For Android or iOS apps, the app''s display\n name. For web apps, the domain hosting the application. %LOGIN_CODE%\n - The OOB code being sent in the SMS.'\n x-kubernetes-immutable: true\n useDeviceLocale:\n type: boolean\n x-dcl-go-name: UseDeviceLocale\n description: Whether to use the accept_language header for SMS.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n quota:\n type: object\n x-dcl-go-name: Quota\n x-dcl-go-type: ConfigQuota\n description: Configuration related to quotas.\n properties:\n signUpQuotaConfig:\n type: object\n x-dcl-go-name: SignUpQuotaConfig\n x-dcl-go-type: ConfigQuotaSignUpQuotaConfig\n description: Quota for the Signup endpoint, if overwritten. Signup quota\n is measured in sign ups per project per hour per IP.\n properties:\n quota:\n type: integer\n format: int64\n x-dcl-go-name: Quota\n description: Corresponds to the 'refill_token_count' field in QuotaServer\n config\n quotaDuration:\n type: string\n x-dcl-go-name: QuotaDuration\n description: How long this quota will be active for\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: When this quota will take affect\n signIn:\n type: object\n x-dcl-go-name: SignIn\n x-dcl-go-type: ConfigSignIn\n description: Configuration related to local sign in methods.\n properties:\n allowDuplicateEmails:\n type: boolean\n x-dcl-go-name: AllowDuplicateEmails\n description: Whether to allow more than one account to have the same\n email.\n anonymous:\n type: object\n x-dcl-go-name: Anonymous\n x-dcl-go-type: ConfigSignInAnonymous\n description: Configuration options related to authenticating an anonymous\n user.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether anonymous user auth is enabled for the project\n or not.\n email:\n type: object\n x-dcl-go-name: Email\n x-dcl-go-type: ConfigSignInEmail\n description: Configuration options related to authenticating a user\n by their email address.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether email auth is enabled for the project or not.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInEmailHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInEmailHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms\n used in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5,\n HMAC_SHA512, SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512,\n STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n See https://tools.ietf.org/html/rfc7914 for explanation of\n field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n passwordRequired:\n type: boolean\n x-dcl-go-name: PasswordRequired\n description: Whether a password is required for email auth or not.\n If true, both an email and password must be provided to sign in.\n If false, a user may sign in via either email/password or email\n link.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms used\n in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5, HMAC_SHA512,\n SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512, STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation. Used\n by scrypt and other similar password derivation algorithms. See\n https://tools.ietf.org/html/rfc7914 for explanation of field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n phoneNumber:\n type: object\n x-dcl-go-name: PhoneNumber\n x-dcl-go-type: ConfigSignInPhoneNumber\n description: Configuration options related to authenticated a user by\n their phone number.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether phone number auth is enabled for the project\n or not.\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of that can be used for phone auth testing.\n subtype:\n type: string\n x-dcl-go-name: Subtype\n x-dcl-go-type: ConfigSubtypeEnum\n readOnly: true\n description: 'Output only. The subtype of this config. Possible values:\n SUBTYPE_UNSPECIFIED, IDENTITY_PLATFORM, FIREBASE_AUTH'\n x-kubernetes-immutable: true\n enum:\n - SUBTYPE_UNSPECIFIED\n - IDENTITY_PLATFORM\n - FIREBASE_AUTH\n") +var YAML_config = []byte("info:\n title: IdentityToolkit/Config\n description: The IdentityToolkit Config resource\n x-dcl-struct-name: Config\n x-dcl-has-create: false\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\n apply:\n description: The function used to apply information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\ncomponents:\n schemas:\n Config:\n title: Config\n x-dcl-id: projects/{{project}}/config\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n authorizedDomains:\n type: array\n x-dcl-go-name: AuthorizedDomains\n description: List of domains authorized for OAuth redirects\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n blockingFunctions:\n type: object\n x-dcl-go-name: BlockingFunctions\n x-dcl-go-type: ConfigBlockingFunctions\n description: Configuration related to blocking functions.\n properties:\n triggers:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: ConfigBlockingFunctionsTriggers\n properties:\n functionUri:\n type: string\n x-dcl-go-name: FunctionUri\n description: HTTP URI trigger for the Cloud Function.\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: httpsTrigger.url\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: When the trigger was changed.\n x-dcl-go-name: Triggers\n description: 'Map of Trigger to event type. Key should be one of the\n supported event types: \"beforeCreate\", \"beforeSignIn\"'\n client:\n type: object\n x-dcl-go-name: Client\n x-dcl-go-type: ConfigClient\n description: Options related to how clients making requests on behalf of\n a project should be configured.\n properties:\n apiKey:\n type: string\n x-dcl-go-name: ApiKey\n readOnly: true\n description: Output only. API key that can be used when making requests\n for this project.\n x-dcl-sensitive: true\n firebaseSubdomain:\n type: string\n x-dcl-go-name: FirebaseSubdomain\n readOnly: true\n description: Output only. Firebase subdomain.\n permissions:\n type: object\n x-dcl-go-name: Permissions\n x-dcl-go-type: ConfigClientPermissions\n description: Configuration related to restricting a user's ability to\n affect their account.\n properties:\n disabledUserDeletion:\n type: boolean\n x-dcl-go-name: DisabledUserDeletion\n description: When true, end users cannot delete their account on\n the associated project through any of our API methods\n disabledUserSignup:\n type: boolean\n x-dcl-go-name: DisabledUserSignup\n description: When true, end users cannot sign up for a new account\n on the associated project through any of our API methods\n mfa:\n type: object\n x-dcl-go-name: Mfa\n x-dcl-go-type: ConfigMfa\n description: Configuration for this project's multi-factor authentication,\n including whether it is active and what factors can be used for the second\n factor\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConfigMfaStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n monitoring:\n type: object\n x-dcl-go-name: Monitoring\n x-dcl-go-type: ConfigMonitoring\n description: Configuration related to monitoring project activity.\n properties:\n requestLogging:\n type: object\n x-dcl-go-name: RequestLogging\n x-dcl-go-type: ConfigMonitoringRequestLogging\n description: Configuration for logging requests made to this project\n to Stackdriver Logging\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether logging is enabled for this project or not.\n multiTenant:\n type: object\n x-dcl-go-name: MultiTenant\n x-dcl-go-type: ConfigMultiTenant\n description: Configuration related to multi-tenant functionality.\n properties:\n allowTenants:\n type: boolean\n x-dcl-go-name: AllowTenants\n description: Whether this project can have tenants or not.\n defaultTenantLocation:\n type: string\n x-dcl-go-name: DefaultTenantLocation\n description: The default cloud parent org or folder that the tenant\n project should be created under. The parent resource name should be\n in the format of \"/\", such as \"folders/123\" or \"organizations/456\".\n If the value is not set, the tenant will be created under the same\n organization or folder as the agent project.\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n notification:\n type: object\n x-dcl-go-name: Notification\n x-dcl-go-type: ConfigNotification\n description: Configuration related to sending notifications to users.\n properties:\n defaultLocale:\n type: string\n x-dcl-go-name: DefaultLocale\n description: Default locale used for email and SMS in IETF BCP 47 format.\n sendEmail:\n type: object\n x-dcl-go-name: SendEmail\n x-dcl-go-type: ConfigNotificationSendEmail\n description: Options for email sending.\n properties:\n callbackUri:\n type: string\n x-dcl-go-name: CallbackUri\n description: action url in email template.\n changeEmailTemplate:\n type: object\n x-dcl-go-name: ChangeEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplate\n description: Email template for change email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n dnsInfo:\n type: object\n x-dcl-go-name: DnsInfo\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfo\n description: Information of custom domain DNS verification.\n properties:\n customDomain:\n type: string\n x-dcl-go-name: CustomDomain\n readOnly: true\n description: Output only. The applied verified custom domain.\n x-kubernetes-immutable: true\n customDomainState:\n type: string\n x-dcl-go-name: CustomDomainState\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum\n readOnly: true\n description: 'Output only. The current verification state of\n the custom domain. The custom domain will only be used once\n the domain verification is successful. Possible values: VERIFICATION_STATE_UNSPECIFIED,\n NOT_STARTED, IN_PROGRESS, FAILED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATE_UNSPECIFIED\n - NOT_STARTED\n - IN_PROGRESS\n - FAILED\n - SUCCEEDED\n domainVerificationRequestTime:\n type: string\n format: date-time\n x-dcl-go-name: DomainVerificationRequestTime\n readOnly: true\n description: Output only. The timestamp of initial request for\n the current domain verification.\n x-kubernetes-immutable: true\n pendingCustomDomain:\n type: string\n x-dcl-go-name: PendingCustomDomain\n readOnly: true\n description: Output only. The custom domain that's to be verified.\n x-kubernetes-immutable: true\n useCustomDomain:\n type: boolean\n x-dcl-go-name: UseCustomDomain\n description: Whether to use custom domain.\n method:\n type: string\n x-dcl-go-name: Method\n x-dcl-go-type: ConfigNotificationSendEmailMethodEnum\n description: 'The method used for sending an email. Possible values:\n METHOD_UNSPECIFIED, DEFAULT, CUSTOM_SMTP'\n enum:\n - METHOD_UNSPECIFIED\n - DEFAULT\n - CUSTOM_SMTP\n resetPasswordTemplate:\n type: object\n x-dcl-go-name: ResetPasswordTemplate\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplate\n description: Email template for reset password\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n revertSecondFactorAdditionTemplate:\n type: object\n x-dcl-go-name: RevertSecondFactorAdditionTemplate\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate\n description: Email template for reverting second factor addition\n emails\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n smtp:\n type: object\n x-dcl-go-name: Smtp\n x-dcl-go-type: ConfigNotificationSendEmailSmtp\n description: Use a custom SMTP relay\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n description: SMTP relay host\n password:\n type: string\n x-dcl-go-name: Password\n description: SMTP relay password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: SMTP relay port\n securityMode:\n type: string\n x-dcl-go-name: SecurityMode\n x-dcl-go-type: ConfigNotificationSendEmailSmtpSecurityModeEnum\n description: 'SMTP security mode. Possible values: SECURITY_MODE_UNSPECIFIED,\n SSL, START_TLS'\n enum:\n - SECURITY_MODE_UNSPECIFIED\n - SSL\n - START_TLS\n senderEmail:\n type: string\n x-dcl-go-name: SenderEmail\n description: Sender email for the SMTP relay\n username:\n type: string\n x-dcl-go-name: Username\n description: SMTP relay username\n verifyEmailTemplate:\n type: object\n x-dcl-go-name: VerifyEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplate\n description: Email template for verify email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n sendSms:\n type: object\n x-dcl-go-name: SendSms\n x-dcl-go-type: ConfigNotificationSendSms\n description: Options for SMS sending.\n properties:\n smsTemplate:\n type: object\n x-dcl-go-name: SmsTemplate\n x-dcl-go-type: ConfigNotificationSendSmsSmsTemplate\n readOnly: true\n description: Output only. The template to use when sending an SMS.\n x-kubernetes-immutable: true\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: 'Output only. The SMS''s content. Can contain the\n following placeholders which will be replaced with the appropriate\n values: %APP_NAME% - For Android or iOS apps, the app''s display\n name. For web apps, the domain hosting the application. %LOGIN_CODE%\n - The OOB code being sent in the SMS.'\n x-kubernetes-immutable: true\n useDeviceLocale:\n type: boolean\n x-dcl-go-name: UseDeviceLocale\n description: Whether to use the accept_language header for SMS.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n quota:\n type: object\n x-dcl-go-name: Quota\n x-dcl-go-type: ConfigQuota\n description: Configuration related to quotas.\n properties:\n signUpQuotaConfig:\n type: object\n x-dcl-go-name: SignUpQuotaConfig\n x-dcl-go-type: ConfigQuotaSignUpQuotaConfig\n description: Quota for the Signup endpoint, if overwritten. Signup quota\n is measured in sign ups per project per hour per IP.\n properties:\n quota:\n type: integer\n format: int64\n x-dcl-go-name: Quota\n description: Corresponds to the 'refill_token_count' field in QuotaServer\n config\n quotaDuration:\n type: string\n x-dcl-go-name: QuotaDuration\n description: How long this quota will be active for\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: When this quota will take affect\n signIn:\n type: object\n x-dcl-go-name: SignIn\n x-dcl-go-type: ConfigSignIn\n description: Configuration related to local sign in methods.\n properties:\n allowDuplicateEmails:\n type: boolean\n x-dcl-go-name: AllowDuplicateEmails\n description: Whether to allow more than one account to have the same\n email.\n anonymous:\n type: object\n x-dcl-go-name: Anonymous\n x-dcl-go-type: ConfigSignInAnonymous\n description: Configuration options related to authenticating an anonymous\n user.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether anonymous user auth is enabled for the project\n or not.\n email:\n type: object\n x-dcl-go-name: Email\n x-dcl-go-type: ConfigSignInEmail\n description: Configuration options related to authenticating a user\n by their email address.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether email auth is enabled for the project or not.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInEmailHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInEmailHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms\n used in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5,\n HMAC_SHA512, SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512,\n STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n See https://tools.ietf.org/html/rfc7914 for explanation of\n field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n passwordRequired:\n type: boolean\n x-dcl-go-name: PasswordRequired\n description: Whether a password is required for email auth or not.\n If true, both an email and password must be provided to sign in.\n If false, a user may sign in via either email/password or email\n link.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms used\n in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5, HMAC_SHA512,\n SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512, STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation. Used\n by scrypt and other similar password derivation algorithms. See\n https://tools.ietf.org/html/rfc7914 for explanation of field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n phoneNumber:\n type: object\n x-dcl-go-name: PhoneNumber\n x-dcl-go-type: ConfigSignInPhoneNumber\n description: Configuration options related to authenticated a user by\n their phone number.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether phone number auth is enabled for the project\n or not.\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of that can be used for phone auth testing.\n subtype:\n type: string\n x-dcl-go-name: Subtype\n x-dcl-go-type: ConfigSubtypeEnum\n readOnly: true\n description: 'Output only. The subtype of this config. Possible values:\n SUBTYPE_UNSPECIFIED, IDENTITY_PLATFORM, FIREBASE_AUTH'\n x-kubernetes-immutable: true\n enum:\n - SUBTYPE_UNSPECIFIED\n - IDENTITY_PLATFORM\n - FIREBASE_AUTH\n") -// 31055 bytes -// MD5: a46988d1445f800603ad90ca670ce673 +// 31081 bytes +// MD5: f2c5becc538524edaa583c4fe762da02 diff --git a/services/google/identitytoolkit/oauth_idp_config.yaml b/services/google/identitytoolkit/oauth_idp_config.yaml index 6763f7a15a..9c5391d329 100755 --- a/services/google/identitytoolkit/oauth_idp_config.yaml +++ b/services/google/identitytoolkit/oauth_idp_config.yaml @@ -15,6 +15,7 @@ info: title: IdentityToolkit/OAuthIdpConfig description: The IdentityToolkit OAuthIdpConfig resource x-dcl-struct-name: OAuthIdpConfig + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/identitytoolkit/oauth_idp_config_schema.go b/services/google/identitytoolkit/oauth_idp_config_schema.go index 5fc1e7b242..e6f936a01d 100755 --- a/services/google/identitytoolkit/oauth_idp_config_schema.go +++ b/services/google/identitytoolkit/oauth_idp_config_schema.go @@ -23,6 +23,7 @@ func DCLOAuthIdpConfigSchema() *dcl.Schema { Title: "IdentityToolkit/OAuthIdpConfig", Description: "The IdentityToolkit OAuthIdpConfig resource", StructName: "OAuthIdpConfig", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/identitytoolkit/oauth_idp_config_yaml_embed.go b/services/google/identitytoolkit/oauth_idp_config_yaml_embed.go index 1d98616d4b..e14f233ca9 100755 --- a/services/google/identitytoolkit/oauth_idp_config_yaml_embed.go +++ b/services/google/identitytoolkit/oauth_idp_config_yaml_embed.go @@ -17,7 +17,7 @@ package identitytoolkit // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/oauth_idp_config.yaml -var YAML_oauth_idp_config = []byte("info:\n title: IdentityToolkit/OAuthIdpConfig\n description: The IdentityToolkit OAuthIdpConfig resource\n x-dcl-struct-name: OAuthIdpConfig\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n apply:\n description: The function used to apply information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n delete:\n description: The function used to delete a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n deleteAll:\n description: The function used to delete all OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OAuthIdpConfig:\n title: OAuthIdpConfig\n x-dcl-id: projects/{{project}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: OAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n") +var YAML_oauth_idp_config = []byte("info:\n title: IdentityToolkit/OAuthIdpConfig\n description: The IdentityToolkit OAuthIdpConfig resource\n x-dcl-struct-name: OAuthIdpConfig\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n apply:\n description: The function used to apply information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n delete:\n description: The function used to delete a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n deleteAll:\n description: The function used to delete all OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OAuthIdpConfig:\n title: OAuthIdpConfig\n x-dcl-id: projects/{{project}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: OAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n") -// 3524 bytes -// MD5: b6e61b0ae8f280e4d0ff3a84c3f78c42 +// 3549 bytes +// MD5: fd9ac84d00e1c666d3ec406fdcf941a7 diff --git a/services/google/identitytoolkit/tenant.yaml b/services/google/identitytoolkit/tenant.yaml index 876e48366a..87146004d5 100755 --- a/services/google/identitytoolkit/tenant.yaml +++ b/services/google/identitytoolkit/tenant.yaml @@ -15,6 +15,7 @@ info: title: IdentityToolkit/Tenant description: The IdentityToolkit Tenant resource x-dcl-struct-name: Tenant + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/identitytoolkit/tenant_oauth_idp_config.yaml b/services/google/identitytoolkit/tenant_oauth_idp_config.yaml index b9d508f9ba..2f0abe2b7d 100755 --- a/services/google/identitytoolkit/tenant_oauth_idp_config.yaml +++ b/services/google/identitytoolkit/tenant_oauth_idp_config.yaml @@ -15,6 +15,7 @@ info: title: IdentityToolkit/TenantOAuthIdpConfig description: The IdentityToolkit TenantOAuthIdpConfig resource x-dcl-struct-name: TenantOAuthIdpConfig + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/identitytoolkit/tenant_oauth_idp_config_schema.go b/services/google/identitytoolkit/tenant_oauth_idp_config_schema.go index ff914abfe3..0cb834478a 100755 --- a/services/google/identitytoolkit/tenant_oauth_idp_config_schema.go +++ b/services/google/identitytoolkit/tenant_oauth_idp_config_schema.go @@ -23,6 +23,7 @@ func DCLTenantOAuthIdpConfigSchema() *dcl.Schema { Title: "IdentityToolkit/TenantOAuthIdpConfig", Description: "The IdentityToolkit TenantOAuthIdpConfig resource", StructName: "TenantOAuthIdpConfig", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/identitytoolkit/tenant_oauth_idp_config_yaml_embed.go b/services/google/identitytoolkit/tenant_oauth_idp_config_yaml_embed.go index 11cafccf07..d05b350ffb 100755 --- a/services/google/identitytoolkit/tenant_oauth_idp_config_yaml_embed.go +++ b/services/google/identitytoolkit/tenant_oauth_idp_config_yaml_embed.go @@ -17,7 +17,7 @@ package identitytoolkit // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/tenant_oauth_idp_config.yaml -var YAML_tenant_oauth_idp_config = []byte("info:\n title: IdentityToolkit/TenantOAuthIdpConfig\n description: The IdentityToolkit TenantOAuthIdpConfig resource\n x-dcl-struct-name: TenantOAuthIdpConfig\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n apply:\n description: The function used to apply information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n delete:\n description: The function used to delete a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n deleteAll:\n description: The function used to delete all TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TenantOAuthIdpConfig:\n title: TenantOAuthIdpConfig\n x-dcl-id: projects/{{project}}/tenants/{{tenant}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - tenant\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: TenantOAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n tenant:\n type: string\n x-dcl-go-name: Tenant\n description: The tenant for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Identitytoolkit/Tenant\n field: name\n parent: true\n") +var YAML_tenant_oauth_idp_config = []byte("info:\n title: IdentityToolkit/TenantOAuthIdpConfig\n description: The IdentityToolkit TenantOAuthIdpConfig resource\n x-dcl-struct-name: TenantOAuthIdpConfig\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n apply:\n description: The function used to apply information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n delete:\n description: The function used to delete a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n deleteAll:\n description: The function used to delete all TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TenantOAuthIdpConfig:\n title: TenantOAuthIdpConfig\n x-dcl-id: projects/{{project}}/tenants/{{tenant}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n - tenant\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: TenantOAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n tenant:\n type: string\n x-dcl-go-name: Tenant\n description: The tenant for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Identitytoolkit/Tenant\n field: name\n parent: true\n") -// 4093 bytes -// MD5: f11ef1bfebecf35071ffba43c7363d87 +// 4118 bytes +// MD5: 408d36d10da6660c0d72012534af6ed4 diff --git a/services/google/identitytoolkit/tenant_schema.go b/services/google/identitytoolkit/tenant_schema.go index c025a09b83..960a3084fa 100755 --- a/services/google/identitytoolkit/tenant_schema.go +++ b/services/google/identitytoolkit/tenant_schema.go @@ -23,6 +23,7 @@ func DCLTenantSchema() *dcl.Schema { Title: "IdentityToolkit/Tenant", Description: "The IdentityToolkit Tenant resource", StructName: "Tenant", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/identitytoolkit/tenant_yaml_embed.go b/services/google/identitytoolkit/tenant_yaml_embed.go index d71ab8d25e..f0ecdfc412 100755 --- a/services/google/identitytoolkit/tenant_yaml_embed.go +++ b/services/google/identitytoolkit/tenant_yaml_embed.go @@ -17,7 +17,7 @@ package identitytoolkit // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/tenant.yaml -var YAML_tenant = []byte("info:\n title: IdentityToolkit/Tenant\n description: The IdentityToolkit Tenant resource\n x-dcl-struct-name: Tenant\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n apply:\n description: The function used to apply information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n delete:\n description: The function used to delete a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n deleteAll:\n description: The function used to delete all Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Tenant:\n title: Tenant\n x-dcl-id: projects/{{project}}/tenants/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n allowPasswordSignup:\n type: boolean\n x-dcl-go-name: AllowPasswordSignup\n description: Whether to allow email/password user authentication.\n disableAuth:\n type: boolean\n x-dcl-go-name: DisableAuth\n description: Whether authentication is disabled for the tenant. If true,\n the users under the disabled tenant are not allowed to sign-in. Admins\n of the disabled tenant are not able to manage its users.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the tenant.\n enableAnonymousUser:\n type: boolean\n x-dcl-go-name: EnableAnonymousUser\n description: Whether to enable anonymous user authentication.\n enableEmailLinkSignin:\n type: boolean\n x-dcl-go-name: EnableEmailLinkSignin\n description: Whether to enable email link user authentication.\n mfaConfig:\n type: object\n x-dcl-go-name: MfaConfig\n x-dcl-go-type: TenantMfaConfig\n description: The tenant-level configuration of MFA options.\n properties:\n enabledProviders:\n type: array\n x-dcl-go-name: EnabledProviders\n description: A list of usable second factors for this project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TenantMfaConfigEnabledProvidersEnum\n enum:\n - PROVIDER_UNSPECIFIED\n - PHONE_SMS\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: TenantMfaConfigStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Resource name of a tenant. For example: \"projects/{project-id}/tenants/{tenant-id}\"'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of pairs that can be used\n for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/)\n and a maximum of 10 pairs can be added (error will be thrown once exceeded).\n") +var YAML_tenant = []byte("info:\n title: IdentityToolkit/Tenant\n description: The IdentityToolkit Tenant resource\n x-dcl-struct-name: Tenant\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n apply:\n description: The function used to apply information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n delete:\n description: The function used to delete a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n deleteAll:\n description: The function used to delete all Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Tenant:\n title: Tenant\n x-dcl-id: projects/{{project}}/tenants/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - project\n properties:\n allowPasswordSignup:\n type: boolean\n x-dcl-go-name: AllowPasswordSignup\n description: Whether to allow email/password user authentication.\n disableAuth:\n type: boolean\n x-dcl-go-name: DisableAuth\n description: Whether authentication is disabled for the tenant. If true,\n the users under the disabled tenant are not allowed to sign-in. Admins\n of the disabled tenant are not able to manage its users.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the tenant.\n enableAnonymousUser:\n type: boolean\n x-dcl-go-name: EnableAnonymousUser\n description: Whether to enable anonymous user authentication.\n enableEmailLinkSignin:\n type: boolean\n x-dcl-go-name: EnableEmailLinkSignin\n description: Whether to enable email link user authentication.\n mfaConfig:\n type: object\n x-dcl-go-name: MfaConfig\n x-dcl-go-type: TenantMfaConfig\n description: The tenant-level configuration of MFA options.\n properties:\n enabledProviders:\n type: array\n x-dcl-go-name: EnabledProviders\n description: A list of usable second factors for this project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TenantMfaConfigEnabledProvidersEnum\n enum:\n - PROVIDER_UNSPECIFIED\n - PHONE_SMS\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: TenantMfaConfigStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Resource name of a tenant. For example: \"projects/{project-id}/tenants/{tenant-id}\"'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of pairs that can be used\n for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/)\n and a maximum of 10 pairs can be added (error will be thrown once exceeded).\n") -// 4344 bytes -// MD5: 136208021d1dbf4dda8b226de57686de +// 4369 bytes +// MD5: 653941a52f943fa7b471910572366458 diff --git a/services/google/logging/alpha/log_bucket.yaml b/services/google/logging/alpha/log_bucket.yaml index b720adcbdc..9ed6e86ad6 100755 --- a/services/google/logging/alpha/log_bucket.yaml +++ b/services/google/logging/alpha/log_bucket.yaml @@ -15,6 +15,7 @@ info: title: Logging/LogBucket description: The Logging LogBucket resource x-dcl-struct-name: LogBucket + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/logging/alpha/log_bucket_alpha_yaml_embed.go b/services/google/logging/alpha/log_bucket_alpha_yaml_embed.go index f96defa4ac..5a83a9b4d3 100755 --- a/services/google/logging/alpha/log_bucket_alpha_yaml_embed.go +++ b/services/google/logging/alpha/log_bucket_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/logging/alpha/log_bucket.yaml -var YAML_log_bucket = []byte("info:\n title: Logging/LogBucket\n description: The Logging LogBucket resource\n x-dcl-struct-name: LogBucket\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n apply:\n description: The function used to apply information about a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n delete:\n description: The function used to delete a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n deleteAll:\n description: The function used to delete all LogBucket\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogBucket\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogBucket:\n title: LogBucket\n x-dcl-id: '{{parent}}/locations/{{location}}/buckets/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - parent\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the bucket. This is\n not set for any of the default buckets.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Describes this bucket.\n lifecycleState:\n type: string\n x-dcl-go-name: LifecycleState\n x-dcl-go-type: LogBucketLifecycleStateEnum\n readOnly: true\n description: 'Output only. The bucket lifecycle state. Possible values:\n LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the resource. The supported locations are:\n global, us-central1, us-east1, us-west1, asia-east1, europe-west1.'\n x-kubernetes-immutable: true\n locked:\n type: boolean\n x-dcl-go-name: Locked\n description: Whether the bucket has been locked. The retention period on\n a locked bucket may not be changed. Locked buckets may only be deleted\n if they are empty.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the bucket. For example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\"\n The supported locations are: `global`, `us-central1`, `us-east1`, `us-west1`,\n `asia-east1`, `europe-west1`. For the location of `global` it is unspecified\n where logs are actually stored. Once a bucket has been created, the location\n can not be changed.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n retentionDays:\n type: integer\n format: int64\n x-dcl-go-name: RetentionDays\n description: Logs will be retained by default for this amount of time, after\n which they will automatically be deleted. The minimum retention period\n is 1 day. If this value is set to zero at bucket creation time, the default\n time of 30 days will be used.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the bucket.\n x-kubernetes-immutable: true\n") +var YAML_log_bucket = []byte("info:\n title: Logging/LogBucket\n description: The Logging LogBucket resource\n x-dcl-struct-name: LogBucket\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n apply:\n description: The function used to apply information about a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n delete:\n description: The function used to delete a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n deleteAll:\n description: The function used to delete all LogBucket\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogBucket\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogBucket:\n title: LogBucket\n x-dcl-id: '{{parent}}/locations/{{location}}/buckets/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - parent\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the bucket. This is\n not set for any of the default buckets.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Describes this bucket.\n lifecycleState:\n type: string\n x-dcl-go-name: LifecycleState\n x-dcl-go-type: LogBucketLifecycleStateEnum\n readOnly: true\n description: 'Output only. The bucket lifecycle state. Possible values:\n LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the resource. The supported locations are:\n global, us-central1, us-east1, us-west1, asia-east1, europe-west1.'\n x-kubernetes-immutable: true\n locked:\n type: boolean\n x-dcl-go-name: Locked\n description: Whether the bucket has been locked. The retention period on\n a locked bucket may not be changed. Locked buckets may only be deleted\n if they are empty.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the bucket. For example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\"\n The supported locations are: `global`, `us-central1`, `us-east1`, `us-west1`,\n `asia-east1`, `europe-west1`. For the location of `global` it is unspecified\n where logs are actually stored. Once a bucket has been created, the location\n can not be changed.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n retentionDays:\n type: integer\n format: int64\n x-dcl-go-name: RetentionDays\n description: Logs will be retained by default for this amount of time, after\n which they will automatically be deleted. The minimum retention period\n is 1 day. If this value is set to zero at bucket creation time, the default\n time of 30 days will be used.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the bucket.\n x-kubernetes-immutable: true\n") -// 4725 bytes -// MD5: 859d5003ac1792766af6a335e543ba90 +// 4750 bytes +// MD5: 7bc4d4b5e35348d9c2541e23a9b0baa7 diff --git a/services/google/logging/alpha/log_bucket_schema.go b/services/google/logging/alpha/log_bucket_schema.go index fc6ad6a095..dc30405022 100755 --- a/services/google/logging/alpha/log_bucket_schema.go +++ b/services/google/logging/alpha/log_bucket_schema.go @@ -23,6 +23,7 @@ func DCLLogBucketSchema() *dcl.Schema { Title: "Logging/LogBucket", Description: "The Logging LogBucket resource", StructName: "LogBucket", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/logging/alpha/log_exclusion.yaml b/services/google/logging/alpha/log_exclusion.yaml index ceafd37f33..0d77299638 100755 --- a/services/google/logging/alpha/log_exclusion.yaml +++ b/services/google/logging/alpha/log_exclusion.yaml @@ -15,6 +15,7 @@ info: title: Logging/LogExclusion description: The Logging LogExclusion resource x-dcl-struct-name: LogExclusion + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/logging/alpha/log_exclusion_alpha_yaml_embed.go b/services/google/logging/alpha/log_exclusion_alpha_yaml_embed.go index 6bdf98ebec..501e431842 100755 --- a/services/google/logging/alpha/log_exclusion_alpha_yaml_embed.go +++ b/services/google/logging/alpha/log_exclusion_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/logging/alpha/log_exclusion.yaml -var YAML_log_exclusion = []byte("info:\n title: Logging/LogExclusion\n description: The Logging LogExclusion resource\n x-dcl-struct-name: LogExclusion\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n apply:\n description: The function used to apply information about a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n delete:\n description: The function used to delete a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n deleteAll:\n description: The function used to delete all LogExclusion\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogExclusion\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogExclusion:\n title: LogExclusion\n x-dcl-id: '{{parent}}/exclusions/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - filter\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the exclusion. This\n field may not be present for older exclusions.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A description of this exclusion.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Optional. If set to True, then this exclusion is disabled and\n it does not exclude any log entries. You can update an exclusion to change\n the value of this field.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Required. An (https://cloud.google.com/logging/docs/view/advanced-queries#sample),\n you can exclude less than 100% of the matching log entries. For example,\n the following query matches 99% of low-severity log entries from Google\n Cloud Storage buckets: `\"resource.type=gcs_bucket severity'\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. A client-assigned identifier, such as `\"load-balancer-exclusion\"`.\n Identifiers are limited to 100 characters and can include only letters,\n digits, underscores, hyphens, and periods. First character has to be alphanumeric.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\"\n \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\"\n \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".\n Authorization requires the following IAM permission on the specified resource\n parent: logging.exclusions.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the exclusion. This\n field may not be present for older exclusions.\n x-kubernetes-immutable: true\n") +var YAML_log_exclusion = []byte("info:\n title: Logging/LogExclusion\n description: The Logging LogExclusion resource\n x-dcl-struct-name: LogExclusion\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n apply:\n description: The function used to apply information about a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n delete:\n description: The function used to delete a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n deleteAll:\n description: The function used to delete all LogExclusion\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogExclusion\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogExclusion:\n title: LogExclusion\n x-dcl-id: '{{parent}}/exclusions/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - filter\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the exclusion. This\n field may not be present for older exclusions.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A description of this exclusion.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Optional. If set to True, then this exclusion is disabled and\n it does not exclude any log entries. You can update an exclusion to change\n the value of this field.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Required. An (https://cloud.google.com/logging/docs/view/advanced-queries#sample),\n you can exclude less than 100% of the matching log entries. For example,\n the following query matches 99% of low-severity log entries from Google\n Cloud Storage buckets: `\"resource.type=gcs_bucket severity'\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. A client-assigned identifier, such as `\"load-balancer-exclusion\"`.\n Identifiers are limited to 100 characters and can include only letters,\n digits, underscores, hyphens, and periods. First character has to be alphanumeric.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\"\n \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\"\n \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".\n Authorization requires the following IAM permission on the specified resource\n parent: logging.exclusions.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the exclusion. This\n field may not be present for older exclusions.\n x-kubernetes-immutable: true\n") -// 4169 bytes -// MD5: e0d843a95804ee568edcef35fa4974a3 +// 4194 bytes +// MD5: 9ec0a9399bcc8a7f75e2edf6681f3106 diff --git a/services/google/logging/alpha/log_exclusion_schema.go b/services/google/logging/alpha/log_exclusion_schema.go index 2273edf260..6f2732aba4 100755 --- a/services/google/logging/alpha/log_exclusion_schema.go +++ b/services/google/logging/alpha/log_exclusion_schema.go @@ -23,6 +23,7 @@ func DCLLogExclusionSchema() *dcl.Schema { Title: "Logging/LogExclusion", Description: "The Logging LogExclusion resource", StructName: "LogExclusion", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/logging/alpha/log_metric.yaml b/services/google/logging/alpha/log_metric.yaml index d09127f379..9c1524687d 100755 --- a/services/google/logging/alpha/log_metric.yaml +++ b/services/google/logging/alpha/log_metric.yaml @@ -15,6 +15,7 @@ info: title: Logging/LogMetric description: The Logging LogMetric resource x-dcl-struct-name: LogMetric + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/logging/alpha/log_metric_alpha_yaml_embed.go b/services/google/logging/alpha/log_metric_alpha_yaml_embed.go index 468c23586f..2224fbae53 100755 --- a/services/google/logging/alpha/log_metric_alpha_yaml_embed.go +++ b/services/google/logging/alpha/log_metric_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/logging/alpha/log_metric.yaml -var YAML_log_metric = []byte("info:\n title: Logging/LogMetric\n description: The Logging LogMetric resource\n x-dcl-struct-name: LogMetric\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n apply:\n description: The function used to apply information about a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n delete:\n description: The function used to delete a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n deleteAll:\n description: The function used to delete all LogMetric\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogMetric\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogMetric:\n title: LogMetric\n x-dcl-id: projects/{{project}}/metrics/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - filter\n - project\n properties:\n bucketOptions:\n type: object\n x-dcl-go-name: BucketOptions\n x-dcl-go-type: LogMetricBucketOptions\n description: Optional. The `bucket_options` are required when the logs-based\n metric is using a DISTRIBUTION value type and it describes the bucket\n boundaries used to create a histogram of the extracted values.\n properties:\n explicitBuckets:\n type: object\n x-dcl-go-name: ExplicitBuckets\n x-dcl-go-type: LogMetricBucketOptionsExplicitBuckets\n description: The explicit buckets.\n x-dcl-conflicts:\n - linearBuckets\n - exponentialBuckets\n properties:\n bounds:\n type: array\n x-dcl-go-name: Bounds\n description: The values must be monotonically increasing.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: number\n format: double\n x-dcl-go-type: float64\n exponentialBuckets:\n type: object\n x-dcl-go-name: ExponentialBuckets\n x-dcl-go-type: LogMetricBucketOptionsExponentialBuckets\n description: The exponential buckets.\n x-dcl-conflicts:\n - linearBuckets\n - explicitBuckets\n properties:\n growthFactor:\n type: number\n format: double\n x-dcl-go-name: GrowthFactor\n description: Must be greater than 1.\n numFiniteBuckets:\n type: integer\n format: int64\n x-dcl-go-name: NumFiniteBuckets\n description: Must be greater than 0.\n scale:\n type: number\n format: double\n x-dcl-go-name: Scale\n description: Must be greater than 0.\n linearBuckets:\n type: object\n x-dcl-go-name: LinearBuckets\n x-dcl-go-type: LogMetricBucketOptionsLinearBuckets\n description: The linear bucket.\n x-dcl-conflicts:\n - exponentialBuckets\n - explicitBuckets\n properties:\n numFiniteBuckets:\n type: integer\n format: int64\n x-dcl-go-name: NumFiniteBuckets\n description: Must be greater than 0.\n offset:\n type: number\n format: double\n x-dcl-go-name: Offset\n description: Lower bound of the first bucket.\n width:\n type: number\n format: double\n x-dcl-go-name: Width\n description: Must be greater than 0.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the metric. This field\n may not be present for older metrics.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A description of this metric, which is used in documentation.\n The maximum length of the description is 8000 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Optional. If set to True, then this metric is disabled and\n it does not generate any points.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters)\n which is used to match log entries. Example: \"resource.type=gae_app AND\n severity>=ERROR\" The maximum length of the filter is 20000 characters.'\n labelExtractors:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: LabelExtractors\n description: Optional. A map from a label key string to an extractor expression\n which is used to extract data from a log entry field and assign as the\n label value. Each label key specified in the LabelDescriptor must have\n an associated extractor expression in this map. The syntax of the extractor\n expression is the same as for the `value_extractor` field. The extracted\n value is converted to the type defined in the label descriptor. If the\n either the extraction or the type conversion fails, the label will have\n a default value. The default value for a string label is an empty string,\n for an integer label its 0, and for a boolean label its `false`. Note\n that there are upper bounds on the maximum number of labels and the number\n of active time series that are allowed in a project.\n metricDescriptor:\n type: object\n x-dcl-go-name: MetricDescriptor\n x-dcl-go-type: LogMetricMetricDescriptor\n description: Optional. The metric descriptor associated with the logs-based\n metric. If unspecified, it uses a default metric descriptor with a DELTA\n metric kind, INT64 value type, with no labels and a unit of \"1\". Such\n a metric counts the number of log entries matching the `filter` expression.\n The `name`, `type`, and `description` fields in the `metric_descriptor`\n are output only, and is constructed using the `name` and `description`\n field in the LogMetric. To create a logs-based metric that records a distribution\n of log values, a DELTA metric kind with a DISTRIBUTION value type must\n be used along with a `value_extractor` expression in the LogMetric. Each\n label in the metric descriptor must have a matching label name as the\n key and an extractor expression as the value in the `label_extractors`\n map. The `metric_kind` and `value_type` fields in the `metric_descriptor`\n cannot be updated once initially configured. New labels can be added in\n the `metric_descriptor`, but existing labels cannot be modified except\n for their description.\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A detailed description of the metric, which can be used\n in documentation.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A concise name for the metric, which can be displayed in\n user interfaces. Use sentence case without an ending period, for example\n \"Request count\". This field is optional but it is recommended to be\n set for any metrics associated with user-visible concepts, such as\n Quota.\n labels:\n type: array\n x-dcl-go-name: Labels\n description: The set of labels that can be used to describe a specific\n instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies`\n metric type has a label for the HTTP response code, `response_code`,\n so you can look at latencies for successful responses or just for\n responses that failed.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: LogMetricMetricDescriptorLabels\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A human-readable description for the label.\n x-kubernetes-immutable: true\n key:\n type: string\n x-dcl-go-name: Key\n description: The label key.\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: LogMetricMetricDescriptorLabelsValueTypeEnum\n description: 'The type of data that can be assigned to the label.\n Possible values: STRING, BOOL, INT64, DOUBLE, DISTRIBUTION,\n MONEY'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n - DOUBLE\n - DISTRIBUTION\n - MONEY\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: LogMetricMetricDescriptorLaunchStageEnum\n description: 'Optional. The launch stage of the metric definition. Possible\n values: UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'\n enum:\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n x-dcl-mutable-unreadable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: LogMetricMetricDescriptorMetadata\n description: Optional. Metadata which can be used to guide usage of\n the metric.\n x-dcl-mutable-unreadable: true\n properties:\n ingestDelay:\n type: string\n x-dcl-go-name: IngestDelay\n description: The delay of data points caused by ingestion. Data\n points older than this age are guaranteed to be ingested and available\n to be read, excluding data loss due to errors.\n samplePeriod:\n type: string\n x-dcl-go-name: SamplePeriod\n description: The sampling period of metric data points. For metrics\n which are written periodically, consecutive data points are stored\n at this time interval, excluding data loss due to errors. Metrics\n with a higher granularity have a smaller sampling period.\n metricKind:\n type: string\n x-dcl-go-name: MetricKind\n x-dcl-go-type: LogMetricMetricDescriptorMetricKindEnum\n description: 'Whether the metric records instantaneous values, changes\n to a value, etc. Some combinations of `metric_kind` and `value_type`\n might not be supported. Possible values: GAUGE, DELTA, CUMULATIVE'\n x-kubernetes-immutable: true\n enum:\n - GAUGE\n - DELTA\n - CUMULATIVE\n monitoredResourceTypes:\n type: array\n x-dcl-go-name: MonitoredResourceTypes\n readOnly: true\n description: Read-only. If present, then a time series, which is identified\n partially by a metric type and a MonitoredResourceDescriptor, that\n is associated with this metric type can only be associated with one\n of the monitored resource types listed here.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n readOnly: true\n description: The resource name of the metric descriptor.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n readOnly: true\n description: 'The metric type, including its DNS name prefix. The type\n is not URL-encoded. All user-defined metric types have the DNS name\n `custom.googleapis.com` or `external.googleapis.com`. Metric types\n should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\"\n \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\"'\n x-kubernetes-immutable: true\n unit:\n type: string\n x-dcl-go-name: Unit\n description: 'The units in which the metric value is reported. It is\n only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`.\n The `unit` defines the representation of the stored metric values.\n Different systems might scale the values to be more easily displayed\n (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value\n of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit`\n is `kBy`, then the value of the metric is always in thousands of bytes,\n no matter how it might be displayed. If you want a custom metric to\n record the exact number of CPU-seconds used by a job, you can create\n an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently\n `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the\n value is written as `12005`. Alternatively, if you want a custom metric\n to record data in a more granular way, you can create a `DOUBLE CUMULATIVE`\n metric whose `unit` is `ks{CPU}`, and then write the value `12.005`\n (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which\n is `12005/1024`). The supported units are a subset of [The Unified\n Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard:\n **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min`\n minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)**\n * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12)\n * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta\n (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9)\n * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z`\n zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi\n (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar**\n The grammar also includes these connectors: * `/` division or ratio\n (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms`\n (although you should almost never have `/s` in a metric `unit`; rates\n should always be computed at query time from the underlying cumulative\n or delta value). * `.` multiplication or composition (as an infix\n operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a\n unit is as follows: Expression = Component: { \".\" Component } { \"/\"\n Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ]\n | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation`\n is just a comment if it follows a `UNIT`. If the annotation is used\n alone, then the unit is equivalent to `1`. For examples, `{request}/s\n == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank\n printable ASCII characters not containing `{` or `}`. * `1` represents\n a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity)\n of 1, such as in `1/s`. It is typically used when none of the basic\n units are appropriate. For example, \"new users per day\" can be represented\n as `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5\n new users). Alternatively, \"thousands of page views per day\" would\n be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric\n value of `5.3` would mean \"5300 page views per day\"). * `%` represents\n dimensionless value of 1/100, and annotates values giving a percentage\n (so the metric values are typically in the range of 0..100, and a\n metric value `3` means \"3 percent\"). * `10^2.%` indicates a metric\n contains a ratio, typically in the range 0..1, that will be multiplied\n by 100 and displayed as a percentage (so a metric value `0.03` means\n \"3 percent\").'\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: LogMetricMetricDescriptorValueTypeEnum\n description: 'Whether the measurement is an integer, a floating-point\n number, etc. Some combinations of `metric_kind` and `value_type` might\n not be supported. Possible values: STRING, BOOL, INT64, DOUBLE, DISTRIBUTION,\n MONEY'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n - DOUBLE\n - DISTRIBUTION\n - MONEY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. The client-assigned metric identifier. Examples:\n `\"error_count\"`, `\"nginx/requests\"`. Metric identifiers are limited to\n 100 characters and can include only the following characters: `A-Z`, `a-z`,\n `0-9`, and the special characters `_-.,+!*'',()%/`. The forward-slash\n character (`/`) denotes a hierarchy of name pieces, and it cannot be the\n first character of the name. The metric identifier in this field must\n not be [URL-encoded](https://en.wikipedia.org/wiki/Percent-encoding).\n However, when the metric identifier appears as the `[METRIC_ID]` part\n of a `metric_name` API parameter, then the metric identifier must be URL-encoded.\n Example: `\"projects/my-project/metrics/nginx%2Frequests\"`.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The resource name of the project in which to create the metric.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the metric. This\n field may not be present for older metrics.\n x-kubernetes-immutable: true\n valueExtractor:\n type: string\n x-dcl-go-name: ValueExtractor\n description: 'Optional. A `value_extractor` is required when using a distribution\n logs-based metric to extract the values to record from a log entry. Two\n functions are supported for value extraction: `EXTRACT(field)` or `REGEXP_EXTRACT(field,\n regex)`. The argument are: 1. field: The name of the log entry field from\n which the value is to be extracted. 2. regex: A regular expression using\n the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with\n a single capture group to extract data from the specified log entry field.\n The value of the field is converted to a string before applying the regex.\n It is an error to specify a regex that does not include exactly one capture\n group. The result of the extraction must be convertible to a double type,\n as the distribution always records double values. If either the extraction\n or the conversion to double fails, then those values are not recorded\n in the distribution. Example: `REGEXP_EXTRACT(jsonPayload.request, \".*quantity=(d+).*\")`'\n") +var YAML_log_metric = []byte("info:\n title: Logging/LogMetric\n description: The Logging LogMetric resource\n x-dcl-struct-name: LogMetric\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n apply:\n description: The function used to apply information about a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n delete:\n description: The function used to delete a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n deleteAll:\n description: The function used to delete all LogMetric\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogMetric\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogMetric:\n title: LogMetric\n x-dcl-id: projects/{{project}}/metrics/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - filter\n - project\n properties:\n bucketOptions:\n type: object\n x-dcl-go-name: BucketOptions\n x-dcl-go-type: LogMetricBucketOptions\n description: Optional. The `bucket_options` are required when the logs-based\n metric is using a DISTRIBUTION value type and it describes the bucket\n boundaries used to create a histogram of the extracted values.\n properties:\n explicitBuckets:\n type: object\n x-dcl-go-name: ExplicitBuckets\n x-dcl-go-type: LogMetricBucketOptionsExplicitBuckets\n description: The explicit buckets.\n x-dcl-conflicts:\n - linearBuckets\n - exponentialBuckets\n properties:\n bounds:\n type: array\n x-dcl-go-name: Bounds\n description: The values must be monotonically increasing.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: number\n format: double\n x-dcl-go-type: float64\n exponentialBuckets:\n type: object\n x-dcl-go-name: ExponentialBuckets\n x-dcl-go-type: LogMetricBucketOptionsExponentialBuckets\n description: The exponential buckets.\n x-dcl-conflicts:\n - linearBuckets\n - explicitBuckets\n properties:\n growthFactor:\n type: number\n format: double\n x-dcl-go-name: GrowthFactor\n description: Must be greater than 1.\n numFiniteBuckets:\n type: integer\n format: int64\n x-dcl-go-name: NumFiniteBuckets\n description: Must be greater than 0.\n scale:\n type: number\n format: double\n x-dcl-go-name: Scale\n description: Must be greater than 0.\n linearBuckets:\n type: object\n x-dcl-go-name: LinearBuckets\n x-dcl-go-type: LogMetricBucketOptionsLinearBuckets\n description: The linear bucket.\n x-dcl-conflicts:\n - exponentialBuckets\n - explicitBuckets\n properties:\n numFiniteBuckets:\n type: integer\n format: int64\n x-dcl-go-name: NumFiniteBuckets\n description: Must be greater than 0.\n offset:\n type: number\n format: double\n x-dcl-go-name: Offset\n description: Lower bound of the first bucket.\n width:\n type: number\n format: double\n x-dcl-go-name: Width\n description: Must be greater than 0.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the metric. This field\n may not be present for older metrics.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A description of this metric, which is used in documentation.\n The maximum length of the description is 8000 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Optional. If set to True, then this metric is disabled and\n it does not generate any points.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters)\n which is used to match log entries. Example: \"resource.type=gae_app AND\n severity>=ERROR\" The maximum length of the filter is 20000 characters.'\n labelExtractors:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: LabelExtractors\n description: Optional. A map from a label key string to an extractor expression\n which is used to extract data from a log entry field and assign as the\n label value. Each label key specified in the LabelDescriptor must have\n an associated extractor expression in this map. The syntax of the extractor\n expression is the same as for the `value_extractor` field. The extracted\n value is converted to the type defined in the label descriptor. If the\n either the extraction or the type conversion fails, the label will have\n a default value. The default value for a string label is an empty string,\n for an integer label its 0, and for a boolean label its `false`. Note\n that there are upper bounds on the maximum number of labels and the number\n of active time series that are allowed in a project.\n metricDescriptor:\n type: object\n x-dcl-go-name: MetricDescriptor\n x-dcl-go-type: LogMetricMetricDescriptor\n description: Optional. The metric descriptor associated with the logs-based\n metric. If unspecified, it uses a default metric descriptor with a DELTA\n metric kind, INT64 value type, with no labels and a unit of \"1\". Such\n a metric counts the number of log entries matching the `filter` expression.\n The `name`, `type`, and `description` fields in the `metric_descriptor`\n are output only, and is constructed using the `name` and `description`\n field in the LogMetric. To create a logs-based metric that records a distribution\n of log values, a DELTA metric kind with a DISTRIBUTION value type must\n be used along with a `value_extractor` expression in the LogMetric. Each\n label in the metric descriptor must have a matching label name as the\n key and an extractor expression as the value in the `label_extractors`\n map. The `metric_kind` and `value_type` fields in the `metric_descriptor`\n cannot be updated once initially configured. New labels can be added in\n the `metric_descriptor`, but existing labels cannot be modified except\n for their description.\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A detailed description of the metric, which can be used\n in documentation.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A concise name for the metric, which can be displayed in\n user interfaces. Use sentence case without an ending period, for example\n \"Request count\". This field is optional but it is recommended to be\n set for any metrics associated with user-visible concepts, such as\n Quota.\n labels:\n type: array\n x-dcl-go-name: Labels\n description: The set of labels that can be used to describe a specific\n instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies`\n metric type has a label for the HTTP response code, `response_code`,\n so you can look at latencies for successful responses or just for\n responses that failed.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: LogMetricMetricDescriptorLabels\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A human-readable description for the label.\n x-kubernetes-immutable: true\n key:\n type: string\n x-dcl-go-name: Key\n description: The label key.\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: LogMetricMetricDescriptorLabelsValueTypeEnum\n description: 'The type of data that can be assigned to the label.\n Possible values: STRING, BOOL, INT64, DOUBLE, DISTRIBUTION,\n MONEY'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n - DOUBLE\n - DISTRIBUTION\n - MONEY\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: LogMetricMetricDescriptorLaunchStageEnum\n description: 'Optional. The launch stage of the metric definition. Possible\n values: UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'\n enum:\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n x-dcl-mutable-unreadable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: LogMetricMetricDescriptorMetadata\n description: Optional. Metadata which can be used to guide usage of\n the metric.\n x-dcl-mutable-unreadable: true\n properties:\n ingestDelay:\n type: string\n x-dcl-go-name: IngestDelay\n description: The delay of data points caused by ingestion. Data\n points older than this age are guaranteed to be ingested and available\n to be read, excluding data loss due to errors.\n samplePeriod:\n type: string\n x-dcl-go-name: SamplePeriod\n description: The sampling period of metric data points. For metrics\n which are written periodically, consecutive data points are stored\n at this time interval, excluding data loss due to errors. Metrics\n with a higher granularity have a smaller sampling period.\n metricKind:\n type: string\n x-dcl-go-name: MetricKind\n x-dcl-go-type: LogMetricMetricDescriptorMetricKindEnum\n description: 'Whether the metric records instantaneous values, changes\n to a value, etc. Some combinations of `metric_kind` and `value_type`\n might not be supported. Possible values: GAUGE, DELTA, CUMULATIVE'\n x-kubernetes-immutable: true\n enum:\n - GAUGE\n - DELTA\n - CUMULATIVE\n monitoredResourceTypes:\n type: array\n x-dcl-go-name: MonitoredResourceTypes\n readOnly: true\n description: Read-only. If present, then a time series, which is identified\n partially by a metric type and a MonitoredResourceDescriptor, that\n is associated with this metric type can only be associated with one\n of the monitored resource types listed here.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n readOnly: true\n description: The resource name of the metric descriptor.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n readOnly: true\n description: 'The metric type, including its DNS name prefix. The type\n is not URL-encoded. All user-defined metric types have the DNS name\n `custom.googleapis.com` or `external.googleapis.com`. Metric types\n should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\"\n \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\"'\n x-kubernetes-immutable: true\n unit:\n type: string\n x-dcl-go-name: Unit\n description: 'The units in which the metric value is reported. It is\n only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`.\n The `unit` defines the representation of the stored metric values.\n Different systems might scale the values to be more easily displayed\n (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value\n of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit`\n is `kBy`, then the value of the metric is always in thousands of bytes,\n no matter how it might be displayed. If you want a custom metric to\n record the exact number of CPU-seconds used by a job, you can create\n an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently\n `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the\n value is written as `12005`. Alternatively, if you want a custom metric\n to record data in a more granular way, you can create a `DOUBLE CUMULATIVE`\n metric whose `unit` is `ks{CPU}`, and then write the value `12.005`\n (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which\n is `12005/1024`). The supported units are a subset of [The Unified\n Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard:\n **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min`\n minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)**\n * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12)\n * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta\n (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9)\n * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z`\n zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi\n (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar**\n The grammar also includes these connectors: * `/` division or ratio\n (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms`\n (although you should almost never have `/s` in a metric `unit`; rates\n should always be computed at query time from the underlying cumulative\n or delta value). * `.` multiplication or composition (as an infix\n operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a\n unit is as follows: Expression = Component: { \".\" Component } { \"/\"\n Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ]\n | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation`\n is just a comment if it follows a `UNIT`. If the annotation is used\n alone, then the unit is equivalent to `1`. For examples, `{request}/s\n == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank\n printable ASCII characters not containing `{` or `}`. * `1` represents\n a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity)\n of 1, such as in `1/s`. It is typically used when none of the basic\n units are appropriate. For example, \"new users per day\" can be represented\n as `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5\n new users). Alternatively, \"thousands of page views per day\" would\n be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric\n value of `5.3` would mean \"5300 page views per day\"). * `%` represents\n dimensionless value of 1/100, and annotates values giving a percentage\n (so the metric values are typically in the range of 0..100, and a\n metric value `3` means \"3 percent\"). * `10^2.%` indicates a metric\n contains a ratio, typically in the range 0..1, that will be multiplied\n by 100 and displayed as a percentage (so a metric value `0.03` means\n \"3 percent\").'\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: LogMetricMetricDescriptorValueTypeEnum\n description: 'Whether the measurement is an integer, a floating-point\n number, etc. Some combinations of `metric_kind` and `value_type` might\n not be supported. Possible values: STRING, BOOL, INT64, DOUBLE, DISTRIBUTION,\n MONEY'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n - DOUBLE\n - DISTRIBUTION\n - MONEY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. The client-assigned metric identifier. Examples:\n `\"error_count\"`, `\"nginx/requests\"`. Metric identifiers are limited to\n 100 characters and can include only the following characters: `A-Z`, `a-z`,\n `0-9`, and the special characters `_-.,+!*'',()%/`. The forward-slash\n character (`/`) denotes a hierarchy of name pieces, and it cannot be the\n first character of the name. The metric identifier in this field must\n not be [URL-encoded](https://en.wikipedia.org/wiki/Percent-encoding).\n However, when the metric identifier appears as the `[METRIC_ID]` part\n of a `metric_name` API parameter, then the metric identifier must be URL-encoded.\n Example: `\"projects/my-project/metrics/nginx%2Frequests\"`.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The resource name of the project in which to create the metric.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the metric. This\n field may not be present for older metrics.\n x-kubernetes-immutable: true\n valueExtractor:\n type: string\n x-dcl-go-name: ValueExtractor\n description: 'Optional. A `value_extractor` is required when using a distribution\n logs-based metric to extract the values to record from a log entry. Two\n functions are supported for value extraction: `EXTRACT(field)` or `REGEXP_EXTRACT(field,\n regex)`. The argument are: 1. field: The name of the log entry field from\n which the value is to be extracted. 2. regex: A regular expression using\n the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with\n a single capture group to extract data from the specified log entry field.\n The value of the field is converted to a string before applying the regex.\n It is an error to specify a regex that does not include exactly one capture\n group. The result of the extraction must be convertible to a double type,\n as the distribution always records double values. If either the extraction\n or the conversion to double fails, then those values are not recorded\n in the distribution. Example: `REGEXP_EXTRACT(jsonPayload.request, \".*quantity=(d+).*\")`'\n") -// 21943 bytes -// MD5: cd58c77dc68bdd02fe0ed6296a1b0ed1 +// 21968 bytes +// MD5: a22d5a29b0089cdda74ad05c6c4c6703 diff --git a/services/google/logging/alpha/log_metric_schema.go b/services/google/logging/alpha/log_metric_schema.go index af7735d545..f48aa14ffa 100755 --- a/services/google/logging/alpha/log_metric_schema.go +++ b/services/google/logging/alpha/log_metric_schema.go @@ -23,6 +23,7 @@ func DCLLogMetricSchema() *dcl.Schema { Title: "Logging/LogMetric", Description: "The Logging LogMetric resource", StructName: "LogMetric", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/logging/alpha/log_view.yaml b/services/google/logging/alpha/log_view.yaml index 5796b169e7..f4de1d2d8a 100755 --- a/services/google/logging/alpha/log_view.yaml +++ b/services/google/logging/alpha/log_view.yaml @@ -15,6 +15,7 @@ info: title: Logging/LogView description: The Logging LogView resource x-dcl-struct-name: LogView + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/logging/alpha/log_view_alpha_yaml_embed.go b/services/google/logging/alpha/log_view_alpha_yaml_embed.go index 0f031710aa..bab121adc2 100755 --- a/services/google/logging/alpha/log_view_alpha_yaml_embed.go +++ b/services/google/logging/alpha/log_view_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/logging/alpha/log_view.yaml -var YAML_log_view = []byte("info:\n title: Logging/LogView\n description: The Logging LogView resource\n x-dcl-struct-name: LogView\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n apply:\n description: The function used to apply information about a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n delete:\n description: The function used to delete a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n deleteAll:\n description: The function used to delete all LogView\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: bucket\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogView\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: bucket\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogView:\n title: LogView\n x-dcl-id: '{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - bucket\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: The bucket of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Logging/LogBucket\n field: name\n parent: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the view.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Describes this view.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Filter that restricts which log entries in a bucket are visible\n in this view. Filters are restricted to be a logical AND of ==/!= of any\n of the following: - originating project/folder/organization/billing account.\n - resource type - log id For example: SOURCE(\"projects/myproject\") AND\n resource.type = \"gce_instance\" AND LOG_ID(\"stdout\")'\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the resource. The supported locations are:\n global, us-central1, us-east1, us-west1, asia-east1, europe-west1.'\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the view.\n x-kubernetes-immutable: true\n") +var YAML_log_view = []byte("info:\n title: Logging/LogView\n description: The Logging LogView resource\n x-dcl-struct-name: LogView\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n apply:\n description: The function used to apply information about a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n delete:\n description: The function used to delete a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n deleteAll:\n description: The function used to delete all LogView\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: bucket\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogView\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: bucket\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogView:\n title: LogView\n x-dcl-id: '{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - bucket\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: The bucket of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Logging/LogBucket\n field: name\n parent: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the view.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Describes this view.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Filter that restricts which log entries in a bucket are visible\n in this view. Filters are restricted to be a logical AND of ==/!= of any\n of the following: - originating project/folder/organization/billing account.\n - resource type - log id For example: SOURCE(\"projects/myproject\") AND\n resource.type = \"gce_instance\" AND LOG_ID(\"stdout\")'\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the resource. The supported locations are:\n global, us-central1, us-east1, us-west1, asia-east1, europe-west1.'\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the view.\n x-kubernetes-immutable: true\n") -// 4178 bytes -// MD5: f6854fdca80d87db9495087dfcb4dce2 +// 4203 bytes +// MD5: 51993279d4f528b5b7279ce50efbc6f8 diff --git a/services/google/logging/alpha/log_view_schema.go b/services/google/logging/alpha/log_view_schema.go index 9b5b23df09..6b6421feb0 100755 --- a/services/google/logging/alpha/log_view_schema.go +++ b/services/google/logging/alpha/log_view_schema.go @@ -23,6 +23,7 @@ func DCLLogViewSchema() *dcl.Schema { Title: "Logging/LogView", Description: "The Logging LogView resource", StructName: "LogView", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/logging/beta/log_bucket.yaml b/services/google/logging/beta/log_bucket.yaml index b720adcbdc..9ed6e86ad6 100755 --- a/services/google/logging/beta/log_bucket.yaml +++ b/services/google/logging/beta/log_bucket.yaml @@ -15,6 +15,7 @@ info: title: Logging/LogBucket description: The Logging LogBucket resource x-dcl-struct-name: LogBucket + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/logging/beta/log_bucket_beta_yaml_embed.go b/services/google/logging/beta/log_bucket_beta_yaml_embed.go index 18b730e6db..a7ad39e54d 100755 --- a/services/google/logging/beta/log_bucket_beta_yaml_embed.go +++ b/services/google/logging/beta/log_bucket_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/logging/beta/log_bucket.yaml -var YAML_log_bucket = []byte("info:\n title: Logging/LogBucket\n description: The Logging LogBucket resource\n x-dcl-struct-name: LogBucket\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n apply:\n description: The function used to apply information about a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n delete:\n description: The function used to delete a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n deleteAll:\n description: The function used to delete all LogBucket\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogBucket\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogBucket:\n title: LogBucket\n x-dcl-id: '{{parent}}/locations/{{location}}/buckets/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - parent\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the bucket. This is\n not set for any of the default buckets.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Describes this bucket.\n lifecycleState:\n type: string\n x-dcl-go-name: LifecycleState\n x-dcl-go-type: LogBucketLifecycleStateEnum\n readOnly: true\n description: 'Output only. The bucket lifecycle state. Possible values:\n LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the resource. The supported locations are:\n global, us-central1, us-east1, us-west1, asia-east1, europe-west1.'\n x-kubernetes-immutable: true\n locked:\n type: boolean\n x-dcl-go-name: Locked\n description: Whether the bucket has been locked. The retention period on\n a locked bucket may not be changed. Locked buckets may only be deleted\n if they are empty.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the bucket. For example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\"\n The supported locations are: `global`, `us-central1`, `us-east1`, `us-west1`,\n `asia-east1`, `europe-west1`. For the location of `global` it is unspecified\n where logs are actually stored. Once a bucket has been created, the location\n can not be changed.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n retentionDays:\n type: integer\n format: int64\n x-dcl-go-name: RetentionDays\n description: Logs will be retained by default for this amount of time, after\n which they will automatically be deleted. The minimum retention period\n is 1 day. If this value is set to zero at bucket creation time, the default\n time of 30 days will be used.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the bucket.\n x-kubernetes-immutable: true\n") +var YAML_log_bucket = []byte("info:\n title: Logging/LogBucket\n description: The Logging LogBucket resource\n x-dcl-struct-name: LogBucket\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n apply:\n description: The function used to apply information about a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n delete:\n description: The function used to delete a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n deleteAll:\n description: The function used to delete all LogBucket\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogBucket\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogBucket:\n title: LogBucket\n x-dcl-id: '{{parent}}/locations/{{location}}/buckets/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - parent\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the bucket. This is\n not set for any of the default buckets.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Describes this bucket.\n lifecycleState:\n type: string\n x-dcl-go-name: LifecycleState\n x-dcl-go-type: LogBucketLifecycleStateEnum\n readOnly: true\n description: 'Output only. The bucket lifecycle state. Possible values:\n LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the resource. The supported locations are:\n global, us-central1, us-east1, us-west1, asia-east1, europe-west1.'\n x-kubernetes-immutable: true\n locked:\n type: boolean\n x-dcl-go-name: Locked\n description: Whether the bucket has been locked. The retention period on\n a locked bucket may not be changed. Locked buckets may only be deleted\n if they are empty.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the bucket. For example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\"\n The supported locations are: `global`, `us-central1`, `us-east1`, `us-west1`,\n `asia-east1`, `europe-west1`. For the location of `global` it is unspecified\n where logs are actually stored. Once a bucket has been created, the location\n can not be changed.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n retentionDays:\n type: integer\n format: int64\n x-dcl-go-name: RetentionDays\n description: Logs will be retained by default for this amount of time, after\n which they will automatically be deleted. The minimum retention period\n is 1 day. If this value is set to zero at bucket creation time, the default\n time of 30 days will be used.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the bucket.\n x-kubernetes-immutable: true\n") -// 4725 bytes -// MD5: 859d5003ac1792766af6a335e543ba90 +// 4750 bytes +// MD5: 7bc4d4b5e35348d9c2541e23a9b0baa7 diff --git a/services/google/logging/beta/log_bucket_schema.go b/services/google/logging/beta/log_bucket_schema.go index 401668d8bc..462275e2ae 100755 --- a/services/google/logging/beta/log_bucket_schema.go +++ b/services/google/logging/beta/log_bucket_schema.go @@ -23,6 +23,7 @@ func DCLLogBucketSchema() *dcl.Schema { Title: "Logging/LogBucket", Description: "The Logging LogBucket resource", StructName: "LogBucket", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/logging/beta/log_exclusion.yaml b/services/google/logging/beta/log_exclusion.yaml index ceafd37f33..0d77299638 100755 --- a/services/google/logging/beta/log_exclusion.yaml +++ b/services/google/logging/beta/log_exclusion.yaml @@ -15,6 +15,7 @@ info: title: Logging/LogExclusion description: The Logging LogExclusion resource x-dcl-struct-name: LogExclusion + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/logging/beta/log_exclusion_beta_yaml_embed.go b/services/google/logging/beta/log_exclusion_beta_yaml_embed.go index c80199fc67..e0fb8d4fae 100755 --- a/services/google/logging/beta/log_exclusion_beta_yaml_embed.go +++ b/services/google/logging/beta/log_exclusion_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/logging/beta/log_exclusion.yaml -var YAML_log_exclusion = []byte("info:\n title: Logging/LogExclusion\n description: The Logging LogExclusion resource\n x-dcl-struct-name: LogExclusion\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n apply:\n description: The function used to apply information about a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n delete:\n description: The function used to delete a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n deleteAll:\n description: The function used to delete all LogExclusion\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogExclusion\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogExclusion:\n title: LogExclusion\n x-dcl-id: '{{parent}}/exclusions/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - filter\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the exclusion. This\n field may not be present for older exclusions.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A description of this exclusion.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Optional. If set to True, then this exclusion is disabled and\n it does not exclude any log entries. You can update an exclusion to change\n the value of this field.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Required. An (https://cloud.google.com/logging/docs/view/advanced-queries#sample),\n you can exclude less than 100% of the matching log entries. For example,\n the following query matches 99% of low-severity log entries from Google\n Cloud Storage buckets: `\"resource.type=gcs_bucket severity'\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. A client-assigned identifier, such as `\"load-balancer-exclusion\"`.\n Identifiers are limited to 100 characters and can include only letters,\n digits, underscores, hyphens, and periods. First character has to be alphanumeric.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\"\n \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\"\n \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".\n Authorization requires the following IAM permission on the specified resource\n parent: logging.exclusions.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the exclusion. This\n field may not be present for older exclusions.\n x-kubernetes-immutable: true\n") +var YAML_log_exclusion = []byte("info:\n title: Logging/LogExclusion\n description: The Logging LogExclusion resource\n x-dcl-struct-name: LogExclusion\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n apply:\n description: The function used to apply information about a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n delete:\n description: The function used to delete a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n deleteAll:\n description: The function used to delete all LogExclusion\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogExclusion\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogExclusion:\n title: LogExclusion\n x-dcl-id: '{{parent}}/exclusions/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - filter\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the exclusion. This\n field may not be present for older exclusions.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A description of this exclusion.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Optional. If set to True, then this exclusion is disabled and\n it does not exclude any log entries. You can update an exclusion to change\n the value of this field.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Required. An (https://cloud.google.com/logging/docs/view/advanced-queries#sample),\n you can exclude less than 100% of the matching log entries. For example,\n the following query matches 99% of low-severity log entries from Google\n Cloud Storage buckets: `\"resource.type=gcs_bucket severity'\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. A client-assigned identifier, such as `\"load-balancer-exclusion\"`.\n Identifiers are limited to 100 characters and can include only letters,\n digits, underscores, hyphens, and periods. First character has to be alphanumeric.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\"\n \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\"\n \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".\n Authorization requires the following IAM permission on the specified resource\n parent: logging.exclusions.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the exclusion. This\n field may not be present for older exclusions.\n x-kubernetes-immutable: true\n") -// 4169 bytes -// MD5: e0d843a95804ee568edcef35fa4974a3 +// 4194 bytes +// MD5: 9ec0a9399bcc8a7f75e2edf6681f3106 diff --git a/services/google/logging/beta/log_exclusion_schema.go b/services/google/logging/beta/log_exclusion_schema.go index f826448adf..ad4541ecb1 100755 --- a/services/google/logging/beta/log_exclusion_schema.go +++ b/services/google/logging/beta/log_exclusion_schema.go @@ -23,6 +23,7 @@ func DCLLogExclusionSchema() *dcl.Schema { Title: "Logging/LogExclusion", Description: "The Logging LogExclusion resource", StructName: "LogExclusion", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/logging/beta/log_metric.yaml b/services/google/logging/beta/log_metric.yaml index d09127f379..9c1524687d 100755 --- a/services/google/logging/beta/log_metric.yaml +++ b/services/google/logging/beta/log_metric.yaml @@ -15,6 +15,7 @@ info: title: Logging/LogMetric description: The Logging LogMetric resource x-dcl-struct-name: LogMetric + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/logging/beta/log_metric_beta_yaml_embed.go b/services/google/logging/beta/log_metric_beta_yaml_embed.go index 1f81eb7a84..527e541ff9 100755 --- a/services/google/logging/beta/log_metric_beta_yaml_embed.go +++ b/services/google/logging/beta/log_metric_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/logging/beta/log_metric.yaml -var YAML_log_metric = []byte("info:\n title: Logging/LogMetric\n description: The Logging LogMetric resource\n x-dcl-struct-name: LogMetric\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n apply:\n description: The function used to apply information about a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n delete:\n description: The function used to delete a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n deleteAll:\n description: The function used to delete all LogMetric\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogMetric\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogMetric:\n title: LogMetric\n x-dcl-id: projects/{{project}}/metrics/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - filter\n - project\n properties:\n bucketOptions:\n type: object\n x-dcl-go-name: BucketOptions\n x-dcl-go-type: LogMetricBucketOptions\n description: Optional. The `bucket_options` are required when the logs-based\n metric is using a DISTRIBUTION value type and it describes the bucket\n boundaries used to create a histogram of the extracted values.\n properties:\n explicitBuckets:\n type: object\n x-dcl-go-name: ExplicitBuckets\n x-dcl-go-type: LogMetricBucketOptionsExplicitBuckets\n description: The explicit buckets.\n x-dcl-conflicts:\n - linearBuckets\n - exponentialBuckets\n properties:\n bounds:\n type: array\n x-dcl-go-name: Bounds\n description: The values must be monotonically increasing.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: number\n format: double\n x-dcl-go-type: float64\n exponentialBuckets:\n type: object\n x-dcl-go-name: ExponentialBuckets\n x-dcl-go-type: LogMetricBucketOptionsExponentialBuckets\n description: The exponential buckets.\n x-dcl-conflicts:\n - linearBuckets\n - explicitBuckets\n properties:\n growthFactor:\n type: number\n format: double\n x-dcl-go-name: GrowthFactor\n description: Must be greater than 1.\n numFiniteBuckets:\n type: integer\n format: int64\n x-dcl-go-name: NumFiniteBuckets\n description: Must be greater than 0.\n scale:\n type: number\n format: double\n x-dcl-go-name: Scale\n description: Must be greater than 0.\n linearBuckets:\n type: object\n x-dcl-go-name: LinearBuckets\n x-dcl-go-type: LogMetricBucketOptionsLinearBuckets\n description: The linear bucket.\n x-dcl-conflicts:\n - exponentialBuckets\n - explicitBuckets\n properties:\n numFiniteBuckets:\n type: integer\n format: int64\n x-dcl-go-name: NumFiniteBuckets\n description: Must be greater than 0.\n offset:\n type: number\n format: double\n x-dcl-go-name: Offset\n description: Lower bound of the first bucket.\n width:\n type: number\n format: double\n x-dcl-go-name: Width\n description: Must be greater than 0.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the metric. This field\n may not be present for older metrics.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A description of this metric, which is used in documentation.\n The maximum length of the description is 8000 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Optional. If set to True, then this metric is disabled and\n it does not generate any points.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters)\n which is used to match log entries. Example: \"resource.type=gae_app AND\n severity>=ERROR\" The maximum length of the filter is 20000 characters.'\n labelExtractors:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: LabelExtractors\n description: Optional. A map from a label key string to an extractor expression\n which is used to extract data from a log entry field and assign as the\n label value. Each label key specified in the LabelDescriptor must have\n an associated extractor expression in this map. The syntax of the extractor\n expression is the same as for the `value_extractor` field. The extracted\n value is converted to the type defined in the label descriptor. If the\n either the extraction or the type conversion fails, the label will have\n a default value. The default value for a string label is an empty string,\n for an integer label its 0, and for a boolean label its `false`. Note\n that there are upper bounds on the maximum number of labels and the number\n of active time series that are allowed in a project.\n metricDescriptor:\n type: object\n x-dcl-go-name: MetricDescriptor\n x-dcl-go-type: LogMetricMetricDescriptor\n description: Optional. The metric descriptor associated with the logs-based\n metric. If unspecified, it uses a default metric descriptor with a DELTA\n metric kind, INT64 value type, with no labels and a unit of \"1\". Such\n a metric counts the number of log entries matching the `filter` expression.\n The `name`, `type`, and `description` fields in the `metric_descriptor`\n are output only, and is constructed using the `name` and `description`\n field in the LogMetric. To create a logs-based metric that records a distribution\n of log values, a DELTA metric kind with a DISTRIBUTION value type must\n be used along with a `value_extractor` expression in the LogMetric. Each\n label in the metric descriptor must have a matching label name as the\n key and an extractor expression as the value in the `label_extractors`\n map. The `metric_kind` and `value_type` fields in the `metric_descriptor`\n cannot be updated once initially configured. New labels can be added in\n the `metric_descriptor`, but existing labels cannot be modified except\n for their description.\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A detailed description of the metric, which can be used\n in documentation.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A concise name for the metric, which can be displayed in\n user interfaces. Use sentence case without an ending period, for example\n \"Request count\". This field is optional but it is recommended to be\n set for any metrics associated with user-visible concepts, such as\n Quota.\n labels:\n type: array\n x-dcl-go-name: Labels\n description: The set of labels that can be used to describe a specific\n instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies`\n metric type has a label for the HTTP response code, `response_code`,\n so you can look at latencies for successful responses or just for\n responses that failed.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: LogMetricMetricDescriptorLabels\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A human-readable description for the label.\n x-kubernetes-immutable: true\n key:\n type: string\n x-dcl-go-name: Key\n description: The label key.\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: LogMetricMetricDescriptorLabelsValueTypeEnum\n description: 'The type of data that can be assigned to the label.\n Possible values: STRING, BOOL, INT64, DOUBLE, DISTRIBUTION,\n MONEY'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n - DOUBLE\n - DISTRIBUTION\n - MONEY\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: LogMetricMetricDescriptorLaunchStageEnum\n description: 'Optional. The launch stage of the metric definition. Possible\n values: UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'\n enum:\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n x-dcl-mutable-unreadable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: LogMetricMetricDescriptorMetadata\n description: Optional. Metadata which can be used to guide usage of\n the metric.\n x-dcl-mutable-unreadable: true\n properties:\n ingestDelay:\n type: string\n x-dcl-go-name: IngestDelay\n description: The delay of data points caused by ingestion. Data\n points older than this age are guaranteed to be ingested and available\n to be read, excluding data loss due to errors.\n samplePeriod:\n type: string\n x-dcl-go-name: SamplePeriod\n description: The sampling period of metric data points. For metrics\n which are written periodically, consecutive data points are stored\n at this time interval, excluding data loss due to errors. Metrics\n with a higher granularity have a smaller sampling period.\n metricKind:\n type: string\n x-dcl-go-name: MetricKind\n x-dcl-go-type: LogMetricMetricDescriptorMetricKindEnum\n description: 'Whether the metric records instantaneous values, changes\n to a value, etc. Some combinations of `metric_kind` and `value_type`\n might not be supported. Possible values: GAUGE, DELTA, CUMULATIVE'\n x-kubernetes-immutable: true\n enum:\n - GAUGE\n - DELTA\n - CUMULATIVE\n monitoredResourceTypes:\n type: array\n x-dcl-go-name: MonitoredResourceTypes\n readOnly: true\n description: Read-only. If present, then a time series, which is identified\n partially by a metric type and a MonitoredResourceDescriptor, that\n is associated with this metric type can only be associated with one\n of the monitored resource types listed here.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n readOnly: true\n description: The resource name of the metric descriptor.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n readOnly: true\n description: 'The metric type, including its DNS name prefix. The type\n is not URL-encoded. All user-defined metric types have the DNS name\n `custom.googleapis.com` or `external.googleapis.com`. Metric types\n should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\"\n \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\"'\n x-kubernetes-immutable: true\n unit:\n type: string\n x-dcl-go-name: Unit\n description: 'The units in which the metric value is reported. It is\n only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`.\n The `unit` defines the representation of the stored metric values.\n Different systems might scale the values to be more easily displayed\n (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value\n of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit`\n is `kBy`, then the value of the metric is always in thousands of bytes,\n no matter how it might be displayed. If you want a custom metric to\n record the exact number of CPU-seconds used by a job, you can create\n an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently\n `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the\n value is written as `12005`. Alternatively, if you want a custom metric\n to record data in a more granular way, you can create a `DOUBLE CUMULATIVE`\n metric whose `unit` is `ks{CPU}`, and then write the value `12.005`\n (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which\n is `12005/1024`). The supported units are a subset of [The Unified\n Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard:\n **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min`\n minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)**\n * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12)\n * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta\n (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9)\n * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z`\n zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi\n (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar**\n The grammar also includes these connectors: * `/` division or ratio\n (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms`\n (although you should almost never have `/s` in a metric `unit`; rates\n should always be computed at query time from the underlying cumulative\n or delta value). * `.` multiplication or composition (as an infix\n operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a\n unit is as follows: Expression = Component: { \".\" Component } { \"/\"\n Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ]\n | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation`\n is just a comment if it follows a `UNIT`. If the annotation is used\n alone, then the unit is equivalent to `1`. For examples, `{request}/s\n == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank\n printable ASCII characters not containing `{` or `}`. * `1` represents\n a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity)\n of 1, such as in `1/s`. It is typically used when none of the basic\n units are appropriate. For example, \"new users per day\" can be represented\n as `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5\n new users). Alternatively, \"thousands of page views per day\" would\n be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric\n value of `5.3` would mean \"5300 page views per day\"). * `%` represents\n dimensionless value of 1/100, and annotates values giving a percentage\n (so the metric values are typically in the range of 0..100, and a\n metric value `3` means \"3 percent\"). * `10^2.%` indicates a metric\n contains a ratio, typically in the range 0..1, that will be multiplied\n by 100 and displayed as a percentage (so a metric value `0.03` means\n \"3 percent\").'\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: LogMetricMetricDescriptorValueTypeEnum\n description: 'Whether the measurement is an integer, a floating-point\n number, etc. Some combinations of `metric_kind` and `value_type` might\n not be supported. Possible values: STRING, BOOL, INT64, DOUBLE, DISTRIBUTION,\n MONEY'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n - DOUBLE\n - DISTRIBUTION\n - MONEY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. The client-assigned metric identifier. Examples:\n `\"error_count\"`, `\"nginx/requests\"`. Metric identifiers are limited to\n 100 characters and can include only the following characters: `A-Z`, `a-z`,\n `0-9`, and the special characters `_-.,+!*'',()%/`. The forward-slash\n character (`/`) denotes a hierarchy of name pieces, and it cannot be the\n first character of the name. The metric identifier in this field must\n not be [URL-encoded](https://en.wikipedia.org/wiki/Percent-encoding).\n However, when the metric identifier appears as the `[METRIC_ID]` part\n of a `metric_name` API parameter, then the metric identifier must be URL-encoded.\n Example: `\"projects/my-project/metrics/nginx%2Frequests\"`.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The resource name of the project in which to create the metric.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the metric. This\n field may not be present for older metrics.\n x-kubernetes-immutable: true\n valueExtractor:\n type: string\n x-dcl-go-name: ValueExtractor\n description: 'Optional. A `value_extractor` is required when using a distribution\n logs-based metric to extract the values to record from a log entry. Two\n functions are supported for value extraction: `EXTRACT(field)` or `REGEXP_EXTRACT(field,\n regex)`. The argument are: 1. field: The name of the log entry field from\n which the value is to be extracted. 2. regex: A regular expression using\n the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with\n a single capture group to extract data from the specified log entry field.\n The value of the field is converted to a string before applying the regex.\n It is an error to specify a regex that does not include exactly one capture\n group. The result of the extraction must be convertible to a double type,\n as the distribution always records double values. If either the extraction\n or the conversion to double fails, then those values are not recorded\n in the distribution. Example: `REGEXP_EXTRACT(jsonPayload.request, \".*quantity=(d+).*\")`'\n") +var YAML_log_metric = []byte("info:\n title: Logging/LogMetric\n description: The Logging LogMetric resource\n x-dcl-struct-name: LogMetric\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n apply:\n description: The function used to apply information about a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n delete:\n description: The function used to delete a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n deleteAll:\n description: The function used to delete all LogMetric\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogMetric\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogMetric:\n title: LogMetric\n x-dcl-id: projects/{{project}}/metrics/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - filter\n - project\n properties:\n bucketOptions:\n type: object\n x-dcl-go-name: BucketOptions\n x-dcl-go-type: LogMetricBucketOptions\n description: Optional. The `bucket_options` are required when the logs-based\n metric is using a DISTRIBUTION value type and it describes the bucket\n boundaries used to create a histogram of the extracted values.\n properties:\n explicitBuckets:\n type: object\n x-dcl-go-name: ExplicitBuckets\n x-dcl-go-type: LogMetricBucketOptionsExplicitBuckets\n description: The explicit buckets.\n x-dcl-conflicts:\n - linearBuckets\n - exponentialBuckets\n properties:\n bounds:\n type: array\n x-dcl-go-name: Bounds\n description: The values must be monotonically increasing.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: number\n format: double\n x-dcl-go-type: float64\n exponentialBuckets:\n type: object\n x-dcl-go-name: ExponentialBuckets\n x-dcl-go-type: LogMetricBucketOptionsExponentialBuckets\n description: The exponential buckets.\n x-dcl-conflicts:\n - linearBuckets\n - explicitBuckets\n properties:\n growthFactor:\n type: number\n format: double\n x-dcl-go-name: GrowthFactor\n description: Must be greater than 1.\n numFiniteBuckets:\n type: integer\n format: int64\n x-dcl-go-name: NumFiniteBuckets\n description: Must be greater than 0.\n scale:\n type: number\n format: double\n x-dcl-go-name: Scale\n description: Must be greater than 0.\n linearBuckets:\n type: object\n x-dcl-go-name: LinearBuckets\n x-dcl-go-type: LogMetricBucketOptionsLinearBuckets\n description: The linear bucket.\n x-dcl-conflicts:\n - exponentialBuckets\n - explicitBuckets\n properties:\n numFiniteBuckets:\n type: integer\n format: int64\n x-dcl-go-name: NumFiniteBuckets\n description: Must be greater than 0.\n offset:\n type: number\n format: double\n x-dcl-go-name: Offset\n description: Lower bound of the first bucket.\n width:\n type: number\n format: double\n x-dcl-go-name: Width\n description: Must be greater than 0.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the metric. This field\n may not be present for older metrics.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A description of this metric, which is used in documentation.\n The maximum length of the description is 8000 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Optional. If set to True, then this metric is disabled and\n it does not generate any points.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters)\n which is used to match log entries. Example: \"resource.type=gae_app AND\n severity>=ERROR\" The maximum length of the filter is 20000 characters.'\n labelExtractors:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: LabelExtractors\n description: Optional. A map from a label key string to an extractor expression\n which is used to extract data from a log entry field and assign as the\n label value. Each label key specified in the LabelDescriptor must have\n an associated extractor expression in this map. The syntax of the extractor\n expression is the same as for the `value_extractor` field. The extracted\n value is converted to the type defined in the label descriptor. If the\n either the extraction or the type conversion fails, the label will have\n a default value. The default value for a string label is an empty string,\n for an integer label its 0, and for a boolean label its `false`. Note\n that there are upper bounds on the maximum number of labels and the number\n of active time series that are allowed in a project.\n metricDescriptor:\n type: object\n x-dcl-go-name: MetricDescriptor\n x-dcl-go-type: LogMetricMetricDescriptor\n description: Optional. The metric descriptor associated with the logs-based\n metric. If unspecified, it uses a default metric descriptor with a DELTA\n metric kind, INT64 value type, with no labels and a unit of \"1\". Such\n a metric counts the number of log entries matching the `filter` expression.\n The `name`, `type`, and `description` fields in the `metric_descriptor`\n are output only, and is constructed using the `name` and `description`\n field in the LogMetric. To create a logs-based metric that records a distribution\n of log values, a DELTA metric kind with a DISTRIBUTION value type must\n be used along with a `value_extractor` expression in the LogMetric. Each\n label in the metric descriptor must have a matching label name as the\n key and an extractor expression as the value in the `label_extractors`\n map. The `metric_kind` and `value_type` fields in the `metric_descriptor`\n cannot be updated once initially configured. New labels can be added in\n the `metric_descriptor`, but existing labels cannot be modified except\n for their description.\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A detailed description of the metric, which can be used\n in documentation.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A concise name for the metric, which can be displayed in\n user interfaces. Use sentence case without an ending period, for example\n \"Request count\". This field is optional but it is recommended to be\n set for any metrics associated with user-visible concepts, such as\n Quota.\n labels:\n type: array\n x-dcl-go-name: Labels\n description: The set of labels that can be used to describe a specific\n instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies`\n metric type has a label for the HTTP response code, `response_code`,\n so you can look at latencies for successful responses or just for\n responses that failed.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: LogMetricMetricDescriptorLabels\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A human-readable description for the label.\n x-kubernetes-immutable: true\n key:\n type: string\n x-dcl-go-name: Key\n description: The label key.\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: LogMetricMetricDescriptorLabelsValueTypeEnum\n description: 'The type of data that can be assigned to the label.\n Possible values: STRING, BOOL, INT64, DOUBLE, DISTRIBUTION,\n MONEY'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n - DOUBLE\n - DISTRIBUTION\n - MONEY\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: LogMetricMetricDescriptorLaunchStageEnum\n description: 'Optional. The launch stage of the metric definition. Possible\n values: UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'\n enum:\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n x-dcl-mutable-unreadable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: LogMetricMetricDescriptorMetadata\n description: Optional. Metadata which can be used to guide usage of\n the metric.\n x-dcl-mutable-unreadable: true\n properties:\n ingestDelay:\n type: string\n x-dcl-go-name: IngestDelay\n description: The delay of data points caused by ingestion. Data\n points older than this age are guaranteed to be ingested and available\n to be read, excluding data loss due to errors.\n samplePeriod:\n type: string\n x-dcl-go-name: SamplePeriod\n description: The sampling period of metric data points. For metrics\n which are written periodically, consecutive data points are stored\n at this time interval, excluding data loss due to errors. Metrics\n with a higher granularity have a smaller sampling period.\n metricKind:\n type: string\n x-dcl-go-name: MetricKind\n x-dcl-go-type: LogMetricMetricDescriptorMetricKindEnum\n description: 'Whether the metric records instantaneous values, changes\n to a value, etc. Some combinations of `metric_kind` and `value_type`\n might not be supported. Possible values: GAUGE, DELTA, CUMULATIVE'\n x-kubernetes-immutable: true\n enum:\n - GAUGE\n - DELTA\n - CUMULATIVE\n monitoredResourceTypes:\n type: array\n x-dcl-go-name: MonitoredResourceTypes\n readOnly: true\n description: Read-only. If present, then a time series, which is identified\n partially by a metric type and a MonitoredResourceDescriptor, that\n is associated with this metric type can only be associated with one\n of the monitored resource types listed here.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n readOnly: true\n description: The resource name of the metric descriptor.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n readOnly: true\n description: 'The metric type, including its DNS name prefix. The type\n is not URL-encoded. All user-defined metric types have the DNS name\n `custom.googleapis.com` or `external.googleapis.com`. Metric types\n should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\"\n \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\"'\n x-kubernetes-immutable: true\n unit:\n type: string\n x-dcl-go-name: Unit\n description: 'The units in which the metric value is reported. It is\n only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`.\n The `unit` defines the representation of the stored metric values.\n Different systems might scale the values to be more easily displayed\n (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value\n of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit`\n is `kBy`, then the value of the metric is always in thousands of bytes,\n no matter how it might be displayed. If you want a custom metric to\n record the exact number of CPU-seconds used by a job, you can create\n an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently\n `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the\n value is written as `12005`. Alternatively, if you want a custom metric\n to record data in a more granular way, you can create a `DOUBLE CUMULATIVE`\n metric whose `unit` is `ks{CPU}`, and then write the value `12.005`\n (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which\n is `12005/1024`). The supported units are a subset of [The Unified\n Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard:\n **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min`\n minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)**\n * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12)\n * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta\n (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9)\n * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z`\n zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi\n (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar**\n The grammar also includes these connectors: * `/` division or ratio\n (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms`\n (although you should almost never have `/s` in a metric `unit`; rates\n should always be computed at query time from the underlying cumulative\n or delta value). * `.` multiplication or composition (as an infix\n operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a\n unit is as follows: Expression = Component: { \".\" Component } { \"/\"\n Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ]\n | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation`\n is just a comment if it follows a `UNIT`. If the annotation is used\n alone, then the unit is equivalent to `1`. For examples, `{request}/s\n == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank\n printable ASCII characters not containing `{` or `}`. * `1` represents\n a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity)\n of 1, such as in `1/s`. It is typically used when none of the basic\n units are appropriate. For example, \"new users per day\" can be represented\n as `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5\n new users). Alternatively, \"thousands of page views per day\" would\n be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric\n value of `5.3` would mean \"5300 page views per day\"). * `%` represents\n dimensionless value of 1/100, and annotates values giving a percentage\n (so the metric values are typically in the range of 0..100, and a\n metric value `3` means \"3 percent\"). * `10^2.%` indicates a metric\n contains a ratio, typically in the range 0..1, that will be multiplied\n by 100 and displayed as a percentage (so a metric value `0.03` means\n \"3 percent\").'\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: LogMetricMetricDescriptorValueTypeEnum\n description: 'Whether the measurement is an integer, a floating-point\n number, etc. Some combinations of `metric_kind` and `value_type` might\n not be supported. Possible values: STRING, BOOL, INT64, DOUBLE, DISTRIBUTION,\n MONEY'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n - DOUBLE\n - DISTRIBUTION\n - MONEY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. The client-assigned metric identifier. Examples:\n `\"error_count\"`, `\"nginx/requests\"`. Metric identifiers are limited to\n 100 characters and can include only the following characters: `A-Z`, `a-z`,\n `0-9`, and the special characters `_-.,+!*'',()%/`. The forward-slash\n character (`/`) denotes a hierarchy of name pieces, and it cannot be the\n first character of the name. The metric identifier in this field must\n not be [URL-encoded](https://en.wikipedia.org/wiki/Percent-encoding).\n However, when the metric identifier appears as the `[METRIC_ID]` part\n of a `metric_name` API parameter, then the metric identifier must be URL-encoded.\n Example: `\"projects/my-project/metrics/nginx%2Frequests\"`.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The resource name of the project in which to create the metric.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the metric. This\n field may not be present for older metrics.\n x-kubernetes-immutable: true\n valueExtractor:\n type: string\n x-dcl-go-name: ValueExtractor\n description: 'Optional. A `value_extractor` is required when using a distribution\n logs-based metric to extract the values to record from a log entry. Two\n functions are supported for value extraction: `EXTRACT(field)` or `REGEXP_EXTRACT(field,\n regex)`. The argument are: 1. field: The name of the log entry field from\n which the value is to be extracted. 2. regex: A regular expression using\n the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with\n a single capture group to extract data from the specified log entry field.\n The value of the field is converted to a string before applying the regex.\n It is an error to specify a regex that does not include exactly one capture\n group. The result of the extraction must be convertible to a double type,\n as the distribution always records double values. If either the extraction\n or the conversion to double fails, then those values are not recorded\n in the distribution. Example: `REGEXP_EXTRACT(jsonPayload.request, \".*quantity=(d+).*\")`'\n") -// 21943 bytes -// MD5: cd58c77dc68bdd02fe0ed6296a1b0ed1 +// 21968 bytes +// MD5: a22d5a29b0089cdda74ad05c6c4c6703 diff --git a/services/google/logging/beta/log_metric_schema.go b/services/google/logging/beta/log_metric_schema.go index 445b186bf9..707a41508b 100755 --- a/services/google/logging/beta/log_metric_schema.go +++ b/services/google/logging/beta/log_metric_schema.go @@ -23,6 +23,7 @@ func DCLLogMetricSchema() *dcl.Schema { Title: "Logging/LogMetric", Description: "The Logging LogMetric resource", StructName: "LogMetric", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/logging/beta/log_view.yaml b/services/google/logging/beta/log_view.yaml index 5796b169e7..f4de1d2d8a 100755 --- a/services/google/logging/beta/log_view.yaml +++ b/services/google/logging/beta/log_view.yaml @@ -15,6 +15,7 @@ info: title: Logging/LogView description: The Logging LogView resource x-dcl-struct-name: LogView + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/logging/beta/log_view_beta_yaml_embed.go b/services/google/logging/beta/log_view_beta_yaml_embed.go index cdc056ac56..1ee1fb8ec3 100755 --- a/services/google/logging/beta/log_view_beta_yaml_embed.go +++ b/services/google/logging/beta/log_view_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/logging/beta/log_view.yaml -var YAML_log_view = []byte("info:\n title: Logging/LogView\n description: The Logging LogView resource\n x-dcl-struct-name: LogView\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n apply:\n description: The function used to apply information about a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n delete:\n description: The function used to delete a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n deleteAll:\n description: The function used to delete all LogView\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: bucket\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogView\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: bucket\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogView:\n title: LogView\n x-dcl-id: '{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - bucket\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: The bucket of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Logging/LogBucket\n field: name\n parent: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the view.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Describes this view.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Filter that restricts which log entries in a bucket are visible\n in this view. Filters are restricted to be a logical AND of ==/!= of any\n of the following: - originating project/folder/organization/billing account.\n - resource type - log id For example: SOURCE(\"projects/myproject\") AND\n resource.type = \"gce_instance\" AND LOG_ID(\"stdout\")'\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the resource. The supported locations are:\n global, us-central1, us-east1, us-west1, asia-east1, europe-west1.'\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the view.\n x-kubernetes-immutable: true\n") +var YAML_log_view = []byte("info:\n title: Logging/LogView\n description: The Logging LogView resource\n x-dcl-struct-name: LogView\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n apply:\n description: The function used to apply information about a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n delete:\n description: The function used to delete a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n deleteAll:\n description: The function used to delete all LogView\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: bucket\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogView\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: bucket\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogView:\n title: LogView\n x-dcl-id: '{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - bucket\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: The bucket of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Logging/LogBucket\n field: name\n parent: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the view.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Describes this view.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Filter that restricts which log entries in a bucket are visible\n in this view. Filters are restricted to be a logical AND of ==/!= of any\n of the following: - originating project/folder/organization/billing account.\n - resource type - log id For example: SOURCE(\"projects/myproject\") AND\n resource.type = \"gce_instance\" AND LOG_ID(\"stdout\")'\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the resource. The supported locations are:\n global, us-central1, us-east1, us-west1, asia-east1, europe-west1.'\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the view.\n x-kubernetes-immutable: true\n") -// 4178 bytes -// MD5: f6854fdca80d87db9495087dfcb4dce2 +// 4203 bytes +// MD5: 51993279d4f528b5b7279ce50efbc6f8 diff --git a/services/google/logging/beta/log_view_schema.go b/services/google/logging/beta/log_view_schema.go index cadbcb8070..ffc1ef9edc 100755 --- a/services/google/logging/beta/log_view_schema.go +++ b/services/google/logging/beta/log_view_schema.go @@ -23,6 +23,7 @@ func DCLLogViewSchema() *dcl.Schema { Title: "Logging/LogView", Description: "The Logging LogView resource", StructName: "LogView", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/logging/log_bucket.yaml b/services/google/logging/log_bucket.yaml index b720adcbdc..9ed6e86ad6 100755 --- a/services/google/logging/log_bucket.yaml +++ b/services/google/logging/log_bucket.yaml @@ -15,6 +15,7 @@ info: title: Logging/LogBucket description: The Logging LogBucket resource x-dcl-struct-name: LogBucket + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/logging/log_bucket_schema.go b/services/google/logging/log_bucket_schema.go index 41c1d66375..f8f30cb71b 100755 --- a/services/google/logging/log_bucket_schema.go +++ b/services/google/logging/log_bucket_schema.go @@ -23,6 +23,7 @@ func DCLLogBucketSchema() *dcl.Schema { Title: "Logging/LogBucket", Description: "The Logging LogBucket resource", StructName: "LogBucket", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/logging/log_bucket_yaml_embed.go b/services/google/logging/log_bucket_yaml_embed.go index 8e1f61be07..b1251569e4 100755 --- a/services/google/logging/log_bucket_yaml_embed.go +++ b/services/google/logging/log_bucket_yaml_embed.go @@ -17,7 +17,7 @@ package logging // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/logging/log_bucket.yaml -var YAML_log_bucket = []byte("info:\n title: Logging/LogBucket\n description: The Logging LogBucket resource\n x-dcl-struct-name: LogBucket\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n apply:\n description: The function used to apply information about a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n delete:\n description: The function used to delete a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n deleteAll:\n description: The function used to delete all LogBucket\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogBucket\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogBucket:\n title: LogBucket\n x-dcl-id: '{{parent}}/locations/{{location}}/buckets/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - parent\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the bucket. This is\n not set for any of the default buckets.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Describes this bucket.\n lifecycleState:\n type: string\n x-dcl-go-name: LifecycleState\n x-dcl-go-type: LogBucketLifecycleStateEnum\n readOnly: true\n description: 'Output only. The bucket lifecycle state. Possible values:\n LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the resource. The supported locations are:\n global, us-central1, us-east1, us-west1, asia-east1, europe-west1.'\n x-kubernetes-immutable: true\n locked:\n type: boolean\n x-dcl-go-name: Locked\n description: Whether the bucket has been locked. The retention period on\n a locked bucket may not be changed. Locked buckets may only be deleted\n if they are empty.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the bucket. For example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\"\n The supported locations are: `global`, `us-central1`, `us-east1`, `us-west1`,\n `asia-east1`, `europe-west1`. For the location of `global` it is unspecified\n where logs are actually stored. Once a bucket has been created, the location\n can not be changed.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n retentionDays:\n type: integer\n format: int64\n x-dcl-go-name: RetentionDays\n description: Logs will be retained by default for this amount of time, after\n which they will automatically be deleted. The minimum retention period\n is 1 day. If this value is set to zero at bucket creation time, the default\n time of 30 days will be used.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the bucket.\n x-kubernetes-immutable: true\n") +var YAML_log_bucket = []byte("info:\n title: Logging/LogBucket\n description: The Logging LogBucket resource\n x-dcl-struct-name: LogBucket\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n apply:\n description: The function used to apply information about a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n delete:\n description: The function used to delete a LogBucket\n parameters:\n - name: LogBucket\n required: true\n description: A full instance of a LogBucket\n deleteAll:\n description: The function used to delete all LogBucket\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogBucket\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogBucket:\n title: LogBucket\n x-dcl-id: '{{parent}}/locations/{{location}}/buckets/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - parent\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the bucket. This is\n not set for any of the default buckets.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Describes this bucket.\n lifecycleState:\n type: string\n x-dcl-go-name: LifecycleState\n x-dcl-go-type: LogBucketLifecycleStateEnum\n readOnly: true\n description: 'Output only. The bucket lifecycle state. Possible values:\n LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'\n x-kubernetes-immutable: true\n enum:\n - LIFECYCLE_STATE_UNSPECIFIED\n - ACTIVE\n - DELETE_REQUESTED\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the resource. The supported locations are:\n global, us-central1, us-east1, us-west1, asia-east1, europe-west1.'\n x-kubernetes-immutable: true\n locked:\n type: boolean\n x-dcl-go-name: Locked\n description: Whether the bucket has been locked. The retention period on\n a locked bucket may not be changed. Locked buckets may only be deleted\n if they are empty.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the bucket. For example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\"\n The supported locations are: `global`, `us-central1`, `us-east1`, `us-west1`,\n `asia-east1`, `europe-west1`. For the location of `global` it is unspecified\n where logs are actually stored. Once a bucket has been created, the location\n can not be changed.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n retentionDays:\n type: integer\n format: int64\n x-dcl-go-name: RetentionDays\n description: Logs will be retained by default for this amount of time, after\n which they will automatically be deleted. The minimum retention period\n is 1 day. If this value is set to zero at bucket creation time, the default\n time of 30 days will be used.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the bucket.\n x-kubernetes-immutable: true\n") -// 4725 bytes -// MD5: 859d5003ac1792766af6a335e543ba90 +// 4750 bytes +// MD5: 7bc4d4b5e35348d9c2541e23a9b0baa7 diff --git a/services/google/logging/log_exclusion.yaml b/services/google/logging/log_exclusion.yaml index ceafd37f33..0d77299638 100755 --- a/services/google/logging/log_exclusion.yaml +++ b/services/google/logging/log_exclusion.yaml @@ -15,6 +15,7 @@ info: title: Logging/LogExclusion description: The Logging LogExclusion resource x-dcl-struct-name: LogExclusion + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/logging/log_exclusion_schema.go b/services/google/logging/log_exclusion_schema.go index 1fe7fc4e3b..6f9909cb80 100755 --- a/services/google/logging/log_exclusion_schema.go +++ b/services/google/logging/log_exclusion_schema.go @@ -23,6 +23,7 @@ func DCLLogExclusionSchema() *dcl.Schema { Title: "Logging/LogExclusion", Description: "The Logging LogExclusion resource", StructName: "LogExclusion", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/logging/log_exclusion_yaml_embed.go b/services/google/logging/log_exclusion_yaml_embed.go index 9683b56ce9..335589eb5d 100755 --- a/services/google/logging/log_exclusion_yaml_embed.go +++ b/services/google/logging/log_exclusion_yaml_embed.go @@ -17,7 +17,7 @@ package logging // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/logging/log_exclusion.yaml -var YAML_log_exclusion = []byte("info:\n title: Logging/LogExclusion\n description: The Logging LogExclusion resource\n x-dcl-struct-name: LogExclusion\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n apply:\n description: The function used to apply information about a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n delete:\n description: The function used to delete a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n deleteAll:\n description: The function used to delete all LogExclusion\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogExclusion\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogExclusion:\n title: LogExclusion\n x-dcl-id: '{{parent}}/exclusions/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - filter\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the exclusion. This\n field may not be present for older exclusions.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A description of this exclusion.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Optional. If set to True, then this exclusion is disabled and\n it does not exclude any log entries. You can update an exclusion to change\n the value of this field.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Required. An (https://cloud.google.com/logging/docs/view/advanced-queries#sample),\n you can exclude less than 100% of the matching log entries. For example,\n the following query matches 99% of low-severity log entries from Google\n Cloud Storage buckets: `\"resource.type=gcs_bucket severity'\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. A client-assigned identifier, such as `\"load-balancer-exclusion\"`.\n Identifiers are limited to 100 characters and can include only letters,\n digits, underscores, hyphens, and periods. First character has to be alphanumeric.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\"\n \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\"\n \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".\n Authorization requires the following IAM permission on the specified resource\n parent: logging.exclusions.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the exclusion. This\n field may not be present for older exclusions.\n x-kubernetes-immutable: true\n") +var YAML_log_exclusion = []byte("info:\n title: Logging/LogExclusion\n description: The Logging LogExclusion resource\n x-dcl-struct-name: LogExclusion\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n apply:\n description: The function used to apply information about a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n delete:\n description: The function used to delete a LogExclusion\n parameters:\n - name: LogExclusion\n required: true\n description: A full instance of a LogExclusion\n deleteAll:\n description: The function used to delete all LogExclusion\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogExclusion\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogExclusion:\n title: LogExclusion\n x-dcl-id: '{{parent}}/exclusions/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - filter\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the exclusion. This\n field may not be present for older exclusions.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A description of this exclusion.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Optional. If set to True, then this exclusion is disabled and\n it does not exclude any log entries. You can update an exclusion to change\n the value of this field.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Required. An (https://cloud.google.com/logging/docs/view/advanced-queries#sample),\n you can exclude less than 100% of the matching log entries. For example,\n the following query matches 99% of low-severity log entries from Google\n Cloud Storage buckets: `\"resource.type=gcs_bucket severity'\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. A client-assigned identifier, such as `\"load-balancer-exclusion\"`.\n Identifiers are limited to 100 characters and can include only letters,\n digits, underscores, hyphens, and periods. First character has to be alphanumeric.\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: 'The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\"\n \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\"\n \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".\n Authorization requires the following IAM permission on the specified resource\n parent: logging.exclusions.create'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the exclusion. This\n field may not be present for older exclusions.\n x-kubernetes-immutable: true\n") -// 4169 bytes -// MD5: e0d843a95804ee568edcef35fa4974a3 +// 4194 bytes +// MD5: 9ec0a9399bcc8a7f75e2edf6681f3106 diff --git a/services/google/logging/log_metric.yaml b/services/google/logging/log_metric.yaml index d09127f379..9c1524687d 100755 --- a/services/google/logging/log_metric.yaml +++ b/services/google/logging/log_metric.yaml @@ -15,6 +15,7 @@ info: title: Logging/LogMetric description: The Logging LogMetric resource x-dcl-struct-name: LogMetric + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/logging/log_metric_schema.go b/services/google/logging/log_metric_schema.go index aac8773104..df0fcc1995 100755 --- a/services/google/logging/log_metric_schema.go +++ b/services/google/logging/log_metric_schema.go @@ -23,6 +23,7 @@ func DCLLogMetricSchema() *dcl.Schema { Title: "Logging/LogMetric", Description: "The Logging LogMetric resource", StructName: "LogMetric", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/logging/log_metric_yaml_embed.go b/services/google/logging/log_metric_yaml_embed.go index f5e4e2e418..cef3bd86e2 100755 --- a/services/google/logging/log_metric_yaml_embed.go +++ b/services/google/logging/log_metric_yaml_embed.go @@ -17,7 +17,7 @@ package logging // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/logging/log_metric.yaml -var YAML_log_metric = []byte("info:\n title: Logging/LogMetric\n description: The Logging LogMetric resource\n x-dcl-struct-name: LogMetric\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n apply:\n description: The function used to apply information about a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n delete:\n description: The function used to delete a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n deleteAll:\n description: The function used to delete all LogMetric\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogMetric\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogMetric:\n title: LogMetric\n x-dcl-id: projects/{{project}}/metrics/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - filter\n - project\n properties:\n bucketOptions:\n type: object\n x-dcl-go-name: BucketOptions\n x-dcl-go-type: LogMetricBucketOptions\n description: Optional. The `bucket_options` are required when the logs-based\n metric is using a DISTRIBUTION value type and it describes the bucket\n boundaries used to create a histogram of the extracted values.\n properties:\n explicitBuckets:\n type: object\n x-dcl-go-name: ExplicitBuckets\n x-dcl-go-type: LogMetricBucketOptionsExplicitBuckets\n description: The explicit buckets.\n x-dcl-conflicts:\n - linearBuckets\n - exponentialBuckets\n properties:\n bounds:\n type: array\n x-dcl-go-name: Bounds\n description: The values must be monotonically increasing.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: number\n format: double\n x-dcl-go-type: float64\n exponentialBuckets:\n type: object\n x-dcl-go-name: ExponentialBuckets\n x-dcl-go-type: LogMetricBucketOptionsExponentialBuckets\n description: The exponential buckets.\n x-dcl-conflicts:\n - linearBuckets\n - explicitBuckets\n properties:\n growthFactor:\n type: number\n format: double\n x-dcl-go-name: GrowthFactor\n description: Must be greater than 1.\n numFiniteBuckets:\n type: integer\n format: int64\n x-dcl-go-name: NumFiniteBuckets\n description: Must be greater than 0.\n scale:\n type: number\n format: double\n x-dcl-go-name: Scale\n description: Must be greater than 0.\n linearBuckets:\n type: object\n x-dcl-go-name: LinearBuckets\n x-dcl-go-type: LogMetricBucketOptionsLinearBuckets\n description: The linear bucket.\n x-dcl-conflicts:\n - exponentialBuckets\n - explicitBuckets\n properties:\n numFiniteBuckets:\n type: integer\n format: int64\n x-dcl-go-name: NumFiniteBuckets\n description: Must be greater than 0.\n offset:\n type: number\n format: double\n x-dcl-go-name: Offset\n description: Lower bound of the first bucket.\n width:\n type: number\n format: double\n x-dcl-go-name: Width\n description: Must be greater than 0.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the metric. This field\n may not be present for older metrics.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A description of this metric, which is used in documentation.\n The maximum length of the description is 8000 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Optional. If set to True, then this metric is disabled and\n it does not generate any points.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters)\n which is used to match log entries. Example: \"resource.type=gae_app AND\n severity>=ERROR\" The maximum length of the filter is 20000 characters.'\n labelExtractors:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: LabelExtractors\n description: Optional. A map from a label key string to an extractor expression\n which is used to extract data from a log entry field and assign as the\n label value. Each label key specified in the LabelDescriptor must have\n an associated extractor expression in this map. The syntax of the extractor\n expression is the same as for the `value_extractor` field. The extracted\n value is converted to the type defined in the label descriptor. If the\n either the extraction or the type conversion fails, the label will have\n a default value. The default value for a string label is an empty string,\n for an integer label its 0, and for a boolean label its `false`. Note\n that there are upper bounds on the maximum number of labels and the number\n of active time series that are allowed in a project.\n metricDescriptor:\n type: object\n x-dcl-go-name: MetricDescriptor\n x-dcl-go-type: LogMetricMetricDescriptor\n description: Optional. The metric descriptor associated with the logs-based\n metric. If unspecified, it uses a default metric descriptor with a DELTA\n metric kind, INT64 value type, with no labels and a unit of \"1\". Such\n a metric counts the number of log entries matching the `filter` expression.\n The `name`, `type`, and `description` fields in the `metric_descriptor`\n are output only, and is constructed using the `name` and `description`\n field in the LogMetric. To create a logs-based metric that records a distribution\n of log values, a DELTA metric kind with a DISTRIBUTION value type must\n be used along with a `value_extractor` expression in the LogMetric. Each\n label in the metric descriptor must have a matching label name as the\n key and an extractor expression as the value in the `label_extractors`\n map. The `metric_kind` and `value_type` fields in the `metric_descriptor`\n cannot be updated once initially configured. New labels can be added in\n the `metric_descriptor`, but existing labels cannot be modified except\n for their description.\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A detailed description of the metric, which can be used\n in documentation.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A concise name for the metric, which can be displayed in\n user interfaces. Use sentence case without an ending period, for example\n \"Request count\". This field is optional but it is recommended to be\n set for any metrics associated with user-visible concepts, such as\n Quota.\n labels:\n type: array\n x-dcl-go-name: Labels\n description: The set of labels that can be used to describe a specific\n instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies`\n metric type has a label for the HTTP response code, `response_code`,\n so you can look at latencies for successful responses or just for\n responses that failed.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: LogMetricMetricDescriptorLabels\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A human-readable description for the label.\n x-kubernetes-immutable: true\n key:\n type: string\n x-dcl-go-name: Key\n description: The label key.\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: LogMetricMetricDescriptorLabelsValueTypeEnum\n description: 'The type of data that can be assigned to the label.\n Possible values: STRING, BOOL, INT64, DOUBLE, DISTRIBUTION,\n MONEY'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n - DOUBLE\n - DISTRIBUTION\n - MONEY\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: LogMetricMetricDescriptorLaunchStageEnum\n description: 'Optional. The launch stage of the metric definition. Possible\n values: UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'\n enum:\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n x-dcl-mutable-unreadable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: LogMetricMetricDescriptorMetadata\n description: Optional. Metadata which can be used to guide usage of\n the metric.\n x-dcl-mutable-unreadable: true\n properties:\n ingestDelay:\n type: string\n x-dcl-go-name: IngestDelay\n description: The delay of data points caused by ingestion. Data\n points older than this age are guaranteed to be ingested and available\n to be read, excluding data loss due to errors.\n samplePeriod:\n type: string\n x-dcl-go-name: SamplePeriod\n description: The sampling period of metric data points. For metrics\n which are written periodically, consecutive data points are stored\n at this time interval, excluding data loss due to errors. Metrics\n with a higher granularity have a smaller sampling period.\n metricKind:\n type: string\n x-dcl-go-name: MetricKind\n x-dcl-go-type: LogMetricMetricDescriptorMetricKindEnum\n description: 'Whether the metric records instantaneous values, changes\n to a value, etc. Some combinations of `metric_kind` and `value_type`\n might not be supported. Possible values: GAUGE, DELTA, CUMULATIVE'\n x-kubernetes-immutable: true\n enum:\n - GAUGE\n - DELTA\n - CUMULATIVE\n monitoredResourceTypes:\n type: array\n x-dcl-go-name: MonitoredResourceTypes\n readOnly: true\n description: Read-only. If present, then a time series, which is identified\n partially by a metric type and a MonitoredResourceDescriptor, that\n is associated with this metric type can only be associated with one\n of the monitored resource types listed here.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n readOnly: true\n description: The resource name of the metric descriptor.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n readOnly: true\n description: 'The metric type, including its DNS name prefix. The type\n is not URL-encoded. All user-defined metric types have the DNS name\n `custom.googleapis.com` or `external.googleapis.com`. Metric types\n should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\"\n \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\"'\n x-kubernetes-immutable: true\n unit:\n type: string\n x-dcl-go-name: Unit\n description: 'The units in which the metric value is reported. It is\n only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`.\n The `unit` defines the representation of the stored metric values.\n Different systems might scale the values to be more easily displayed\n (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value\n of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit`\n is `kBy`, then the value of the metric is always in thousands of bytes,\n no matter how it might be displayed. If you want a custom metric to\n record the exact number of CPU-seconds used by a job, you can create\n an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently\n `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the\n value is written as `12005`. Alternatively, if you want a custom metric\n to record data in a more granular way, you can create a `DOUBLE CUMULATIVE`\n metric whose `unit` is `ks{CPU}`, and then write the value `12.005`\n (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which\n is `12005/1024`). The supported units are a subset of [The Unified\n Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard:\n **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min`\n minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)**\n * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12)\n * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta\n (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9)\n * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z`\n zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi\n (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar**\n The grammar also includes these connectors: * `/` division or ratio\n (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms`\n (although you should almost never have `/s` in a metric `unit`; rates\n should always be computed at query time from the underlying cumulative\n or delta value). * `.` multiplication or composition (as an infix\n operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a\n unit is as follows: Expression = Component: { \".\" Component } { \"/\"\n Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ]\n | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation`\n is just a comment if it follows a `UNIT`. If the annotation is used\n alone, then the unit is equivalent to `1`. For examples, `{request}/s\n == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank\n printable ASCII characters not containing `{` or `}`. * `1` represents\n a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity)\n of 1, such as in `1/s`. It is typically used when none of the basic\n units are appropriate. For example, \"new users per day\" can be represented\n as `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5\n new users). Alternatively, \"thousands of page views per day\" would\n be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric\n value of `5.3` would mean \"5300 page views per day\"). * `%` represents\n dimensionless value of 1/100, and annotates values giving a percentage\n (so the metric values are typically in the range of 0..100, and a\n metric value `3` means \"3 percent\"). * `10^2.%` indicates a metric\n contains a ratio, typically in the range 0..1, that will be multiplied\n by 100 and displayed as a percentage (so a metric value `0.03` means\n \"3 percent\").'\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: LogMetricMetricDescriptorValueTypeEnum\n description: 'Whether the measurement is an integer, a floating-point\n number, etc. Some combinations of `metric_kind` and `value_type` might\n not be supported. Possible values: STRING, BOOL, INT64, DOUBLE, DISTRIBUTION,\n MONEY'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n - DOUBLE\n - DISTRIBUTION\n - MONEY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. The client-assigned metric identifier. Examples:\n `\"error_count\"`, `\"nginx/requests\"`. Metric identifiers are limited to\n 100 characters and can include only the following characters: `A-Z`, `a-z`,\n `0-9`, and the special characters `_-.,+!*'',()%/`. The forward-slash\n character (`/`) denotes a hierarchy of name pieces, and it cannot be the\n first character of the name. The metric identifier in this field must\n not be [URL-encoded](https://en.wikipedia.org/wiki/Percent-encoding).\n However, when the metric identifier appears as the `[METRIC_ID]` part\n of a `metric_name` API parameter, then the metric identifier must be URL-encoded.\n Example: `\"projects/my-project/metrics/nginx%2Frequests\"`.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The resource name of the project in which to create the metric.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the metric. This\n field may not be present for older metrics.\n x-kubernetes-immutable: true\n valueExtractor:\n type: string\n x-dcl-go-name: ValueExtractor\n description: 'Optional. A `value_extractor` is required when using a distribution\n logs-based metric to extract the values to record from a log entry. Two\n functions are supported for value extraction: `EXTRACT(field)` or `REGEXP_EXTRACT(field,\n regex)`. The argument are: 1. field: The name of the log entry field from\n which the value is to be extracted. 2. regex: A regular expression using\n the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with\n a single capture group to extract data from the specified log entry field.\n The value of the field is converted to a string before applying the regex.\n It is an error to specify a regex that does not include exactly one capture\n group. The result of the extraction must be convertible to a double type,\n as the distribution always records double values. If either the extraction\n or the conversion to double fails, then those values are not recorded\n in the distribution. Example: `REGEXP_EXTRACT(jsonPayload.request, \".*quantity=(d+).*\")`'\n") +var YAML_log_metric = []byte("info:\n title: Logging/LogMetric\n description: The Logging LogMetric resource\n x-dcl-struct-name: LogMetric\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n apply:\n description: The function used to apply information about a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n delete:\n description: The function used to delete a LogMetric\n parameters:\n - name: LogMetric\n required: true\n description: A full instance of a LogMetric\n deleteAll:\n description: The function used to delete all LogMetric\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogMetric\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogMetric:\n title: LogMetric\n x-dcl-id: projects/{{project}}/metrics/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - filter\n - project\n properties:\n bucketOptions:\n type: object\n x-dcl-go-name: BucketOptions\n x-dcl-go-type: LogMetricBucketOptions\n description: Optional. The `bucket_options` are required when the logs-based\n metric is using a DISTRIBUTION value type and it describes the bucket\n boundaries used to create a histogram of the extracted values.\n properties:\n explicitBuckets:\n type: object\n x-dcl-go-name: ExplicitBuckets\n x-dcl-go-type: LogMetricBucketOptionsExplicitBuckets\n description: The explicit buckets.\n x-dcl-conflicts:\n - linearBuckets\n - exponentialBuckets\n properties:\n bounds:\n type: array\n x-dcl-go-name: Bounds\n description: The values must be monotonically increasing.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: number\n format: double\n x-dcl-go-type: float64\n exponentialBuckets:\n type: object\n x-dcl-go-name: ExponentialBuckets\n x-dcl-go-type: LogMetricBucketOptionsExponentialBuckets\n description: The exponential buckets.\n x-dcl-conflicts:\n - linearBuckets\n - explicitBuckets\n properties:\n growthFactor:\n type: number\n format: double\n x-dcl-go-name: GrowthFactor\n description: Must be greater than 1.\n numFiniteBuckets:\n type: integer\n format: int64\n x-dcl-go-name: NumFiniteBuckets\n description: Must be greater than 0.\n scale:\n type: number\n format: double\n x-dcl-go-name: Scale\n description: Must be greater than 0.\n linearBuckets:\n type: object\n x-dcl-go-name: LinearBuckets\n x-dcl-go-type: LogMetricBucketOptionsLinearBuckets\n description: The linear bucket.\n x-dcl-conflicts:\n - exponentialBuckets\n - explicitBuckets\n properties:\n numFiniteBuckets:\n type: integer\n format: int64\n x-dcl-go-name: NumFiniteBuckets\n description: Must be greater than 0.\n offset:\n type: number\n format: double\n x-dcl-go-name: Offset\n description: Lower bound of the first bucket.\n width:\n type: number\n format: double\n x-dcl-go-name: Width\n description: Must be greater than 0.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the metric. This field\n may not be present for older metrics.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A description of this metric, which is used in documentation.\n The maximum length of the description is 8000 characters.\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: Optional. If set to True, then this metric is disabled and\n it does not generate any points.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters)\n which is used to match log entries. Example: \"resource.type=gae_app AND\n severity>=ERROR\" The maximum length of the filter is 20000 characters.'\n labelExtractors:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: LabelExtractors\n description: Optional. A map from a label key string to an extractor expression\n which is used to extract data from a log entry field and assign as the\n label value. Each label key specified in the LabelDescriptor must have\n an associated extractor expression in this map. The syntax of the extractor\n expression is the same as for the `value_extractor` field. The extracted\n value is converted to the type defined in the label descriptor. If the\n either the extraction or the type conversion fails, the label will have\n a default value. The default value for a string label is an empty string,\n for an integer label its 0, and for a boolean label its `false`. Note\n that there are upper bounds on the maximum number of labels and the number\n of active time series that are allowed in a project.\n metricDescriptor:\n type: object\n x-dcl-go-name: MetricDescriptor\n x-dcl-go-type: LogMetricMetricDescriptor\n description: Optional. The metric descriptor associated with the logs-based\n metric. If unspecified, it uses a default metric descriptor with a DELTA\n metric kind, INT64 value type, with no labels and a unit of \"1\". Such\n a metric counts the number of log entries matching the `filter` expression.\n The `name`, `type`, and `description` fields in the `metric_descriptor`\n are output only, and is constructed using the `name` and `description`\n field in the LogMetric. To create a logs-based metric that records a distribution\n of log values, a DELTA metric kind with a DISTRIBUTION value type must\n be used along with a `value_extractor` expression in the LogMetric. Each\n label in the metric descriptor must have a matching label name as the\n key and an extractor expression as the value in the `label_extractors`\n map. The `metric_kind` and `value_type` fields in the `metric_descriptor`\n cannot be updated once initially configured. New labels can be added in\n the `metric_descriptor`, but existing labels cannot be modified except\n for their description.\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A detailed description of the metric, which can be used\n in documentation.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A concise name for the metric, which can be displayed in\n user interfaces. Use sentence case without an ending period, for example\n \"Request count\". This field is optional but it is recommended to be\n set for any metrics associated with user-visible concepts, such as\n Quota.\n labels:\n type: array\n x-dcl-go-name: Labels\n description: The set of labels that can be used to describe a specific\n instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies`\n metric type has a label for the HTTP response code, `response_code`,\n so you can look at latencies for successful responses or just for\n responses that failed.\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: LogMetricMetricDescriptorLabels\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A human-readable description for the label.\n x-kubernetes-immutable: true\n key:\n type: string\n x-dcl-go-name: Key\n description: The label key.\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: LogMetricMetricDescriptorLabelsValueTypeEnum\n description: 'The type of data that can be assigned to the label.\n Possible values: STRING, BOOL, INT64, DOUBLE, DISTRIBUTION,\n MONEY'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n - DOUBLE\n - DISTRIBUTION\n - MONEY\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: LogMetricMetricDescriptorLaunchStageEnum\n description: 'Optional. The launch stage of the metric definition. Possible\n values: UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'\n enum:\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n x-dcl-mutable-unreadable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: LogMetricMetricDescriptorMetadata\n description: Optional. Metadata which can be used to guide usage of\n the metric.\n x-dcl-mutable-unreadable: true\n properties:\n ingestDelay:\n type: string\n x-dcl-go-name: IngestDelay\n description: The delay of data points caused by ingestion. Data\n points older than this age are guaranteed to be ingested and available\n to be read, excluding data loss due to errors.\n samplePeriod:\n type: string\n x-dcl-go-name: SamplePeriod\n description: The sampling period of metric data points. For metrics\n which are written periodically, consecutive data points are stored\n at this time interval, excluding data loss due to errors. Metrics\n with a higher granularity have a smaller sampling period.\n metricKind:\n type: string\n x-dcl-go-name: MetricKind\n x-dcl-go-type: LogMetricMetricDescriptorMetricKindEnum\n description: 'Whether the metric records instantaneous values, changes\n to a value, etc. Some combinations of `metric_kind` and `value_type`\n might not be supported. Possible values: GAUGE, DELTA, CUMULATIVE'\n x-kubernetes-immutable: true\n enum:\n - GAUGE\n - DELTA\n - CUMULATIVE\n monitoredResourceTypes:\n type: array\n x-dcl-go-name: MonitoredResourceTypes\n readOnly: true\n description: Read-only. If present, then a time series, which is identified\n partially by a metric type and a MonitoredResourceDescriptor, that\n is associated with this metric type can only be associated with one\n of the monitored resource types listed here.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n readOnly: true\n description: The resource name of the metric descriptor.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n readOnly: true\n description: 'The metric type, including its DNS name prefix. The type\n is not URL-encoded. All user-defined metric types have the DNS name\n `custom.googleapis.com` or `external.googleapis.com`. Metric types\n should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\"\n \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\"'\n x-kubernetes-immutable: true\n unit:\n type: string\n x-dcl-go-name: Unit\n description: 'The units in which the metric value is reported. It is\n only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`.\n The `unit` defines the representation of the stored metric values.\n Different systems might scale the values to be more easily displayed\n (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value\n of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit`\n is `kBy`, then the value of the metric is always in thousands of bytes,\n no matter how it might be displayed. If you want a custom metric to\n record the exact number of CPU-seconds used by a job, you can create\n an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently\n `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the\n value is written as `12005`. Alternatively, if you want a custom metric\n to record data in a more granular way, you can create a `DOUBLE CUMULATIVE`\n metric whose `unit` is `ks{CPU}`, and then write the value `12.005`\n (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which\n is `12005/1024`). The supported units are a subset of [The Unified\n Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard:\n **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min`\n minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)**\n * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12)\n * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta\n (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9)\n * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z`\n zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi\n (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar**\n The grammar also includes these connectors: * `/` division or ratio\n (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms`\n (although you should almost never have `/s` in a metric `unit`; rates\n should always be computed at query time from the underlying cumulative\n or delta value). * `.` multiplication or composition (as an infix\n operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a\n unit is as follows: Expression = Component: { \".\" Component } { \"/\"\n Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ]\n | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation`\n is just a comment if it follows a `UNIT`. If the annotation is used\n alone, then the unit is equivalent to `1`. For examples, `{request}/s\n == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank\n printable ASCII characters not containing `{` or `}`. * `1` represents\n a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity)\n of 1, such as in `1/s`. It is typically used when none of the basic\n units are appropriate. For example, \"new users per day\" can be represented\n as `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5\n new users). Alternatively, \"thousands of page views per day\" would\n be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric\n value of `5.3` would mean \"5300 page views per day\"). * `%` represents\n dimensionless value of 1/100, and annotates values giving a percentage\n (so the metric values are typically in the range of 0..100, and a\n metric value `3` means \"3 percent\"). * `10^2.%` indicates a metric\n contains a ratio, typically in the range 0..1, that will be multiplied\n by 100 and displayed as a percentage (so a metric value `0.03` means\n \"3 percent\").'\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: LogMetricMetricDescriptorValueTypeEnum\n description: 'Whether the measurement is an integer, a floating-point\n number, etc. Some combinations of `metric_kind` and `value_type` might\n not be supported. Possible values: STRING, BOOL, INT64, DOUBLE, DISTRIBUTION,\n MONEY'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n - DOUBLE\n - DISTRIBUTION\n - MONEY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Required. The client-assigned metric identifier. Examples:\n `\"error_count\"`, `\"nginx/requests\"`. Metric identifiers are limited to\n 100 characters and can include only the following characters: `A-Z`, `a-z`,\n `0-9`, and the special characters `_-.,+!*'',()%/`. The forward-slash\n character (`/`) denotes a hierarchy of name pieces, and it cannot be the\n first character of the name. The metric identifier in this field must\n not be [URL-encoded](https://en.wikipedia.org/wiki/Percent-encoding).\n However, when the metric identifier appears as the `[METRIC_ID]` part\n of a `metric_name` API parameter, then the metric identifier must be URL-encoded.\n Example: `\"projects/my-project/metrics/nginx%2Frequests\"`.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The resource name of the project in which to create the metric.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the metric. This\n field may not be present for older metrics.\n x-kubernetes-immutable: true\n valueExtractor:\n type: string\n x-dcl-go-name: ValueExtractor\n description: 'Optional. A `value_extractor` is required when using a distribution\n logs-based metric to extract the values to record from a log entry. Two\n functions are supported for value extraction: `EXTRACT(field)` or `REGEXP_EXTRACT(field,\n regex)`. The argument are: 1. field: The name of the log entry field from\n which the value is to be extracted. 2. regex: A regular expression using\n the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with\n a single capture group to extract data from the specified log entry field.\n The value of the field is converted to a string before applying the regex.\n It is an error to specify a regex that does not include exactly one capture\n group. The result of the extraction must be convertible to a double type,\n as the distribution always records double values. If either the extraction\n or the conversion to double fails, then those values are not recorded\n in the distribution. Example: `REGEXP_EXTRACT(jsonPayload.request, \".*quantity=(d+).*\")`'\n") -// 21943 bytes -// MD5: cd58c77dc68bdd02fe0ed6296a1b0ed1 +// 21968 bytes +// MD5: a22d5a29b0089cdda74ad05c6c4c6703 diff --git a/services/google/logging/log_view.yaml b/services/google/logging/log_view.yaml index 5796b169e7..f4de1d2d8a 100755 --- a/services/google/logging/log_view.yaml +++ b/services/google/logging/log_view.yaml @@ -15,6 +15,7 @@ info: title: Logging/LogView description: The Logging LogView resource x-dcl-struct-name: LogView + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/logging/log_view_schema.go b/services/google/logging/log_view_schema.go index 1e7dba45e3..52471ce3d7 100755 --- a/services/google/logging/log_view_schema.go +++ b/services/google/logging/log_view_schema.go @@ -23,6 +23,7 @@ func DCLLogViewSchema() *dcl.Schema { Title: "Logging/LogView", Description: "The Logging LogView resource", StructName: "LogView", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/logging/log_view_yaml_embed.go b/services/google/logging/log_view_yaml_embed.go index c43b396cb4..a15fd6bddb 100755 --- a/services/google/logging/log_view_yaml_embed.go +++ b/services/google/logging/log_view_yaml_embed.go @@ -17,7 +17,7 @@ package logging // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/logging/log_view.yaml -var YAML_log_view = []byte("info:\n title: Logging/LogView\n description: The Logging LogView resource\n x-dcl-struct-name: LogView\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n apply:\n description: The function used to apply information about a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n delete:\n description: The function used to delete a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n deleteAll:\n description: The function used to delete all LogView\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: bucket\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogView\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: bucket\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogView:\n title: LogView\n x-dcl-id: '{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - bucket\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: The bucket of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Logging/LogBucket\n field: name\n parent: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the view.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Describes this view.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Filter that restricts which log entries in a bucket are visible\n in this view. Filters are restricted to be a logical AND of ==/!= of any\n of the following: - originating project/folder/organization/billing account.\n - resource type - log id For example: SOURCE(\"projects/myproject\") AND\n resource.type = \"gce_instance\" AND LOG_ID(\"stdout\")'\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the resource. The supported locations are:\n global, us-central1, us-east1, us-west1, asia-east1, europe-west1.'\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the view.\n x-kubernetes-immutable: true\n") +var YAML_log_view = []byte("info:\n title: Logging/LogView\n description: The Logging LogView resource\n x-dcl-struct-name: LogView\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n apply:\n description: The function used to apply information about a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n delete:\n description: The function used to delete a LogView\n parameters:\n - name: LogView\n required: true\n description: A full instance of a LogView\n deleteAll:\n description: The function used to delete all LogView\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: bucket\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many LogView\n parameters:\n - name: location\n required: true\n schema:\n type: string\n - name: bucket\n required: true\n schema:\n type: string\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n LogView:\n title: LogView\n x-dcl-id: '{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - bucket\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: The bucket of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Logging/LogBucket\n field: name\n parent: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation timestamp of the view.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Describes this view.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: 'Filter that restricts which log entries in a bucket are visible\n in this view. Filters are restricted to be a logical AND of ==/!= of any\n of the following: - originating project/folder/organization/billing account.\n - resource type - log id For example: SOURCE(\"projects/myproject\") AND\n resource.type = \"gce_instance\" AND LOG_ID(\"stdout\")'\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the resource. The supported locations are:\n global, us-central1, us-east1, us-west1, asia-east1, europe-west1.'\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/BillingAccount\n field: name\n parent: true\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last update timestamp of the view.\n x-kubernetes-immutable: true\n") -// 4178 bytes -// MD5: f6854fdca80d87db9495087dfcb4dce2 +// 4203 bytes +// MD5: 51993279d4f528b5b7279ce50efbc6f8 diff --git a/services/google/monitoring/alpha/dashboard.yaml b/services/google/monitoring/alpha/dashboard.yaml index e0e4237704..3032fe4027 100755 --- a/services/google/monitoring/alpha/dashboard.yaml +++ b/services/google/monitoring/alpha/dashboard.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/Dashboard description: The Monitoring Dashboard resource x-dcl-struct-name: Dashboard + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/alpha/dashboard_alpha_yaml_embed.go b/services/google/monitoring/alpha/dashboard_alpha_yaml_embed.go index 01a9f7c39f..22d1ac69f5 100755 --- a/services/google/monitoring/alpha/dashboard_alpha_yaml_embed.go +++ b/services/google/monitoring/alpha/dashboard_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/alpha/dashboard.yaml -var YAML_dashboard = []byte("info:\n title: Monitoring/Dashboard\n description: The Monitoring Dashboard resource\n x-dcl-struct-name: Dashboard\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n apply:\n description: The function used to apply information about a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n delete:\n description: The function used to delete a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n deleteAll:\n description: The function used to delete all Dashboard\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Dashboard\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Dashboard:\n title: Dashboard\n x-dcl-id: projects/{{project}}/dashboards/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - displayName\n - project\n properties:\n columnLayout:\n type: object\n x-dcl-go-name: ColumnLayout\n x-dcl-go-type: DashboardColumnLayout\n description: The content is divided into equally spaced columns and the\n widgets are arranged vertically.\n x-dcl-conflicts:\n - gridLayout\n - mosaicLayout\n - rowLayout\n properties:\n columns:\n type: array\n x-dcl-go-name: Columns\n description: The columns of content to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumns\n properties:\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: The relative weight of this column. The column weight\n is used to adjust the width of columns on the screen (relative\n to peers). Greater the weight, greater the width of the column\n on the screen. If omitted, a value of 1 is used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The display widgets arranged vertically in this column.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries\n to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field\n is optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a\n danger threshold that triggers above. Similarly, if\n x is above/below a warning threshold that triggers\n above/below, then the scorecard is in a warning state\n - unless x also puts it in a danger state. (Danger\n trumps warning.) As an example, consider a scorecard\n with the following four thresholds: { value: 90, category:\n ''DANGER'', trigger: ''ABOVE'', },: { value: 70, category:\n ''WARNING'', trigger: ''ABOVE'', }, { value: 10, category:\n ''DANGER'', trigger: ''BELOW'', }, { value: 20, category:\n ''WARNING'', trigger: ''BELOW'', } Then: values\n less than or equal to 10 would put the scorecard in\n a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal\n to 70 but less than 90 a WARNING state, and values\n greater than or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsText\n description: A raw string or markdown displaying textual\n content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a\n string with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data\n point frequency for this data set, implemented\n by specifying the minimum alignment period to\n use in a time series query For example, if the\n data is published once every 10 minutes, the\n `min_alignment_period` should be at least 10\n minutes. It would not make sense to fetch and\n align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted\n on the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time\n series data is returned. Use this field\n to combine multiple time series for\n different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in\n fetched time series. If non-empty, this\n unit will override any unit that accompanies\n fetched data. The format is the same as\n the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The mutable, human-readable name.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: \\`etag\\` is used for optimistic concurrency control as a way\n to help prevent simultaneous updates of a policy from overwriting each\n other. An \\`etag\\` is returned in the response to \\`GetDashboard\\`, and\n users are expected to put that etag in the request to \\`UpdateDashboard\\`\n to ensure that their change will be applied to the same version of the\n Dashboard configuration. The field should not be passed during dashboard\n creation.\n x-kubernetes-immutable: true\n gridLayout:\n type: object\n x-dcl-go-name: GridLayout\n x-dcl-go-type: DashboardGridLayout\n description: Content is arranged with a basic layout that re-flows a simple\n list of informational elements like widgets or tiles.\n x-dcl-conflicts:\n - mosaicLayout\n - rowLayout\n - columnLayout\n properties:\n columns:\n type: integer\n format: int64\n x-dcl-go-name: Columns\n description: The number of columns into which the view's width is divided.\n If omitted or set to zero, a system default will be used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The informational elements that are arranged into the columns\n row-first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardGridLayoutWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardGridLayoutWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries to return.\n See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned. An\n empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect logs\n for. Currently only projects are supported. If empty, the\n widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart. The\n value of the chart should always be greater than or\n equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart. The\n value of the chart should always be less than or equal\n to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency in\n the chart implemented by specifying the minimum alignment\n period to use in a time series query. For example, if\n the data is published once every 10 minutes it would\n not make sense to fetch and align data at one minute\n intervals. This field is optional and exists only as\n a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to show\n in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state of\n the scorecard given the time series'' current value. For\n an actual value x, the scorecard is in a danger state if\n x is less than or equal to a danger threshold that triggers\n below, or greater than or equal to a danger threshold that\n triggers above. Similarly, if x is above/below a warning\n threshold that triggers above/below, then the scorecard\n is in a warning state - unless x also puts it in a danger\n state. (Danger trumps warning.) As an example, consider\n a scorecard with the following four thresholds: { value:\n 90, category: ''DANGER'', trigger: ''ABOVE'', },: { value:\n 70, category: ''WARNING'', trigger: ''ABOVE'', }, { value:\n 10, category: ''DANGER'', trigger: ''BELOW'', }, { value:\n 20, category: ''WARNING'', trigger: ''BELOW'', } Then:\n values less than or equal to 10 would put the scorecard\n in a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal to 70\n but less than 90 a WARNING state, and values greater than\n or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold. Color\n is not allowed in a XyChart. Possible values: COLOR_UNSPECIFIED,\n GREY, BLUE, GREEN, YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible values:\n DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value should\n be defined in the native scale of the metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series data\n from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources, and\n projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter. Possible\n values: DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow to\n pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied to each\n time series independently to produce the value\n which will be used to compare the time series\n to other time series. Possible values: METHOD_UNSPECIFIED,\n METHOD_MEAN, METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after `aggregation`\n is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between two time\n series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter. Possible\n values: DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow to\n pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied to each\n time series independently to produce the value\n which will be used to compare the time series\n to other time series. Possible values: METHOD_UNSPECIFIED,\n METHOD_MEAN, METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after the\n ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched time\n series. If non-empty, this unit will override any unit\n that accompanies fetched data. The format is the same\n as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardGridLayoutWidgetsText\n description: A raw string or markdown displaying textual content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardGridLayoutWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a string\n with interpolations of the form `${label_name}`, which\n will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data point\n frequency for this data set, implemented by specifying\n the minimum alignment period to use in a time series\n query For example, if the data is published once every\n 10 minutes, the `min_alignment_period` should be at\n least 10 minutes. It would not make sense to fetch\n and align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted on the\n chart. Possible values: PLOT_TYPE_UNSPECIFIED, LINE,\n STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across the\n chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold. Color\n is not allowed in a XyChart. Possible values: COLOR_UNSPECIFIED,\n GREY, BLUE, GREEN, YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible values:\n DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value should\n be defined in the native scale of the metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison chart.\n A comparison chart simultaneously shows values from two\n similar-length time periods (e.g., week-over-week metrics).\n The duration must be positive, and it can only be applied\n to charts with data sets of LINE plot type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear scale\n is used. Possible values: SCALE_UNSPECIFIED, LINEAR,\n LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear scale\n is used. Possible values: SCALE_UNSPECIFIED, LINEAR,\n LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n mosaicLayout:\n type: object\n x-dcl-go-name: MosaicLayout\n x-dcl-go-type: DashboardMosaicLayout\n description: The content is arranged as a grid of tiles, with each content\n widget occupying one or more tiles.\n x-dcl-conflicts:\n - gridLayout\n - rowLayout\n - columnLayout\n properties:\n columns:\n type: integer\n format: int64\n x-dcl-go-name: Columns\n description: The number of columns in the mosaic grid.\n tiles:\n type: array\n x-dcl-go-name: Tiles\n description: The tiles to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTiles\n properties:\n height:\n type: integer\n format: int64\n x-dcl-go-name: Height\n description: The height of the tile, measured in grid squares.\n widget:\n type: object\n x-dcl-go-name: Widget\n x-dcl-go-type: DashboardMosaicLayoutTilesWidget\n description: The informational widget contained in the tile.\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries to\n return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field is\n optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a danger\n threshold that triggers above. Similarly, if x is above/below\n a warning threshold that triggers above/below, then\n the scorecard is in a warning state - unless x also\n puts it in a danger state. (Danger trumps warning.) As\n an example, consider a scorecard with the following\n four thresholds: { value: 90, category: ''DANGER'', trigger:\n ''ABOVE'', },: { value: 70, category: ''WARNING'', trigger:\n ''ABOVE'', }, { value: 10, category: ''DANGER'', trigger:\n ''BELOW'', }, { value: 20, category: ''WARNING'', trigger:\n ''BELOW'', } Then: values less than or equal to 10\n would put the scorecard in a DANGER state, values greater\n than 10 but less than or equal to 20 a WARNING state,\n values strictly between 20 and 70 an OK state, values\n greater than or equal to 70 but less than 90 a WARNING\n state, and values greater than or equal to 90 a DANGER\n state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible values:\n COLOR_UNSPECIFIED, GREY, BLUE, GREEN, YELLOW,\n ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter.\n Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series. Possible\n values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between two\n time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is\n used to divide the data in all the [time\n series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series into\n a single time series, where the value\n of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time series.\n Reduction can yield a time series with\n a different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each individual\n time series is a member of exactly one\n subset. The `cross_series_reducer` is\n applied to each subset of time series.\n It is not possible to reduce across\n different resource types, so this field\n implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are\n aggregated away. If `group_by_fields`\n is not specified and all the time series\n have the same resource type, then the\n time series are aggregated into a single\n output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single\n time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on\n the `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified\n and not equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error\n is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is\n used to divide the data in all the [time\n series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series into\n a single time series, where the value\n of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time series.\n Reduction can yield a time series with\n a different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each individual\n time series is a member of exactly one\n subset. The `cross_series_reducer` is\n applied to each subset of time series.\n It is not possible to reduce across\n different resource types, so this field\n implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are\n aggregated away. If `group_by_fields`\n is not specified and all the time series\n have the same resource type, then the\n time series are aggregated into a single\n output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single\n time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on\n the `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified\n and not equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error\n is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter.\n Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series. Possible\n values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetText\n description: A raw string or markdown displaying textual content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a string\n with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data point\n frequency for this data set, implemented by specifying\n the minimum alignment period to use in a time\n series query For example, if the data is published\n once every 10 minutes, the `min_alignment_period`\n should be at least 10 minutes. It would not make\n sense to fetch and align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted on\n the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass through\n the filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to\n allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently\n to produce the value which will be\n used to compare the time series to\n other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN, METHOD_MAX,\n METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the\n data. The value must be at least\n 60 seconds. If a per-series aligner\n other than `ALIGN_NONE` is specified,\n this field is required or an error\n is returned. If no per-series\n aligner is specified, or the aligner\n `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not\n all reducer operations can be\n applied to all time series. The\n valid choices depend on the `metric_kind`\n and the `value_type` of the original\n time series. Reduction can yield\n a time series with a different\n `metric_kind` or `value_type`\n than the input time series. Time\n series data must first be aligned\n (see `per_series_aligner`) in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets prior\n to applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to\n reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the\n data. The value must be at least\n 60 seconds. If a per-series aligner\n other than `ALIGN_NONE` is specified,\n this field is required or an error\n is returned. If no per-series\n aligner is specified, or the aligner\n `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not\n all reducer operations can be\n applied to all time series. The\n valid choices depend on the `metric_kind`\n and the `value_type` of the original\n time series. Reduction can yield\n a time series with a different\n `metric_kind` or `value_type`\n than the input time series. Time\n series data must first be aligned\n (see `per_series_aligner`) in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets prior\n to applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to\n reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass through\n the filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to\n allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently\n to produce the value which will be\n used to compare the time series to\n other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN, METHOD_MAX,\n METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will\n override any unit that accompanies fetched\n data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible values:\n COLOR_UNSPECIFIED, GREY, BLUE, GREEN, YELLOW,\n ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n width:\n type: integer\n format: int64\n x-dcl-go-name: Width\n description: The width of the tile, measured in grid squares.\n xPos:\n type: integer\n format: int64\n x-dcl-go-name: XPos\n description: The zero-indexed position of the tile in grid squares\n relative to the left edge of the grid.\n yPos:\n type: integer\n format: int64\n x-dcl-go-name: YPos\n description: The zero-indexed position of the tile in grid squares\n relative to the top edge of the grid.\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The resource name of the dashboard.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rowLayout:\n type: object\n x-dcl-go-name: RowLayout\n x-dcl-go-type: DashboardRowLayout\n description: The content is divided into equally spaced rows and the widgets\n are arranged horizontally.\n x-dcl-conflicts:\n - gridLayout\n - mosaicLayout\n - columnLayout\n properties:\n rows:\n type: array\n x-dcl-go-name: Rows\n description: The rows of content to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRows\n properties:\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: The relative weight of this row. The row weight is\n used to adjust the height of rows on the screen (relative to\n peers). Greater the weight, greater the height of the row on\n the screen. If omitted, a value of 1 is used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The display widgets arranged horizontally in this\n row.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries\n to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field\n is optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a\n danger threshold that triggers above. Similarly, if\n x is above/below a warning threshold that triggers\n above/below, then the scorecard is in a warning state\n - unless x also puts it in a danger state. (Danger\n trumps warning.) As an example, consider a scorecard\n with the following four thresholds: { value: 90, category:\n ''DANGER'', trigger: ''ABOVE'', },: { value: 70, category:\n ''WARNING'', trigger: ''ABOVE'', }, { value: 10, category:\n ''DANGER'', trigger: ''BELOW'', }, { value: 20, category:\n ''WARNING'', trigger: ''BELOW'', } Then: values\n less than or equal to 10 would put the scorecard in\n a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal\n to 70 but less than 90 a WARNING state, and values\n greater than or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsText\n description: A raw string or markdown displaying textual\n content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a\n string with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data\n point frequency for this data set, implemented\n by specifying the minimum alignment period to\n use in a time series query For example, if the\n data is published once every 10 minutes, the\n `min_alignment_period` should be at least 10\n minutes. It would not make sense to fetch and\n align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted\n on the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time\n series data is returned. Use this field\n to combine multiple time series for\n different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in\n fetched time series. If non-empty, this\n unit will override any unit that accompanies\n fetched data. The format is the same as\n the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n") +var YAML_dashboard = []byte("info:\n title: Monitoring/Dashboard\n description: The Monitoring Dashboard resource\n x-dcl-struct-name: Dashboard\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n apply:\n description: The function used to apply information about a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n delete:\n description: The function used to delete a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n deleteAll:\n description: The function used to delete all Dashboard\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Dashboard\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Dashboard:\n title: Dashboard\n x-dcl-id: projects/{{project}}/dashboards/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - displayName\n - project\n properties:\n columnLayout:\n type: object\n x-dcl-go-name: ColumnLayout\n x-dcl-go-type: DashboardColumnLayout\n description: The content is divided into equally spaced columns and the\n widgets are arranged vertically.\n x-dcl-conflicts:\n - gridLayout\n - mosaicLayout\n - rowLayout\n properties:\n columns:\n type: array\n x-dcl-go-name: Columns\n description: The columns of content to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumns\n properties:\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: The relative weight of this column. The column weight\n is used to adjust the width of columns on the screen (relative\n to peers). Greater the weight, greater the width of the column\n on the screen. If omitted, a value of 1 is used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The display widgets arranged vertically in this column.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries\n to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field\n is optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a\n danger threshold that triggers above. Similarly, if\n x is above/below a warning threshold that triggers\n above/below, then the scorecard is in a warning state\n - unless x also puts it in a danger state. (Danger\n trumps warning.) As an example, consider a scorecard\n with the following four thresholds: { value: 90, category:\n ''DANGER'', trigger: ''ABOVE'', },: { value: 70, category:\n ''WARNING'', trigger: ''ABOVE'', }, { value: 10, category:\n ''DANGER'', trigger: ''BELOW'', }, { value: 20, category:\n ''WARNING'', trigger: ''BELOW'', } Then: values\n less than or equal to 10 would put the scorecard in\n a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal\n to 70 but less than 90 a WARNING state, and values\n greater than or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsText\n description: A raw string or markdown displaying textual\n content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a\n string with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data\n point frequency for this data set, implemented\n by specifying the minimum alignment period to\n use in a time series query For example, if the\n data is published once every 10 minutes, the\n `min_alignment_period` should be at least 10\n minutes. It would not make sense to fetch and\n align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted\n on the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time\n series data is returned. Use this field\n to combine multiple time series for\n different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in\n fetched time series. If non-empty, this\n unit will override any unit that accompanies\n fetched data. The format is the same as\n the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The mutable, human-readable name.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: \\`etag\\` is used for optimistic concurrency control as a way\n to help prevent simultaneous updates of a policy from overwriting each\n other. An \\`etag\\` is returned in the response to \\`GetDashboard\\`, and\n users are expected to put that etag in the request to \\`UpdateDashboard\\`\n to ensure that their change will be applied to the same version of the\n Dashboard configuration. The field should not be passed during dashboard\n creation.\n x-kubernetes-immutable: true\n gridLayout:\n type: object\n x-dcl-go-name: GridLayout\n x-dcl-go-type: DashboardGridLayout\n description: Content is arranged with a basic layout that re-flows a simple\n list of informational elements like widgets or tiles.\n x-dcl-conflicts:\n - mosaicLayout\n - rowLayout\n - columnLayout\n properties:\n columns:\n type: integer\n format: int64\n x-dcl-go-name: Columns\n description: The number of columns into which the view's width is divided.\n If omitted or set to zero, a system default will be used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The informational elements that are arranged into the columns\n row-first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardGridLayoutWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardGridLayoutWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries to return.\n See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned. An\n empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect logs\n for. Currently only projects are supported. If empty, the\n widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart. The\n value of the chart should always be greater than or\n equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart. The\n value of the chart should always be less than or equal\n to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency in\n the chart implemented by specifying the minimum alignment\n period to use in a time series query. For example, if\n the data is published once every 10 minutes it would\n not make sense to fetch and align data at one minute\n intervals. This field is optional and exists only as\n a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to show\n in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state of\n the scorecard given the time series'' current value. For\n an actual value x, the scorecard is in a danger state if\n x is less than or equal to a danger threshold that triggers\n below, or greater than or equal to a danger threshold that\n triggers above. Similarly, if x is above/below a warning\n threshold that triggers above/below, then the scorecard\n is in a warning state - unless x also puts it in a danger\n state. (Danger trumps warning.) As an example, consider\n a scorecard with the following four thresholds: { value:\n 90, category: ''DANGER'', trigger: ''ABOVE'', },: { value:\n 70, category: ''WARNING'', trigger: ''ABOVE'', }, { value:\n 10, category: ''DANGER'', trigger: ''BELOW'', }, { value:\n 20, category: ''WARNING'', trigger: ''BELOW'', } Then:\n values less than or equal to 10 would put the scorecard\n in a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal to 70\n but less than 90 a WARNING state, and values greater than\n or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold. Color\n is not allowed in a XyChart. Possible values: COLOR_UNSPECIFIED,\n GREY, BLUE, GREEN, YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible values:\n DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value should\n be defined in the native scale of the metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series data\n from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources, and\n projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter. Possible\n values: DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow to\n pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied to each\n time series independently to produce the value\n which will be used to compare the time series\n to other time series. Possible values: METHOD_UNSPECIFIED,\n METHOD_MEAN, METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after `aggregation`\n is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between two time\n series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter. Possible\n values: DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow to\n pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied to each\n time series independently to produce the value\n which will be used to compare the time series\n to other time series. Possible values: METHOD_UNSPECIFIED,\n METHOD_MEAN, METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after the\n ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched time\n series. If non-empty, this unit will override any unit\n that accompanies fetched data. The format is the same\n as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardGridLayoutWidgetsText\n description: A raw string or markdown displaying textual content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardGridLayoutWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a string\n with interpolations of the form `${label_name}`, which\n will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data point\n frequency for this data set, implemented by specifying\n the minimum alignment period to use in a time series\n query For example, if the data is published once every\n 10 minutes, the `min_alignment_period` should be at\n least 10 minutes. It would not make sense to fetch\n and align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted on the\n chart. Possible values: PLOT_TYPE_UNSPECIFIED, LINE,\n STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across the\n chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold. Color\n is not allowed in a XyChart. Possible values: COLOR_UNSPECIFIED,\n GREY, BLUE, GREEN, YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible values:\n DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value should\n be defined in the native scale of the metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison chart.\n A comparison chart simultaneously shows values from two\n similar-length time periods (e.g., week-over-week metrics).\n The duration must be positive, and it can only be applied\n to charts with data sets of LINE plot type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear scale\n is used. Possible values: SCALE_UNSPECIFIED, LINEAR,\n LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear scale\n is used. Possible values: SCALE_UNSPECIFIED, LINEAR,\n LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n mosaicLayout:\n type: object\n x-dcl-go-name: MosaicLayout\n x-dcl-go-type: DashboardMosaicLayout\n description: The content is arranged as a grid of tiles, with each content\n widget occupying one or more tiles.\n x-dcl-conflicts:\n - gridLayout\n - rowLayout\n - columnLayout\n properties:\n columns:\n type: integer\n format: int64\n x-dcl-go-name: Columns\n description: The number of columns in the mosaic grid.\n tiles:\n type: array\n x-dcl-go-name: Tiles\n description: The tiles to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTiles\n properties:\n height:\n type: integer\n format: int64\n x-dcl-go-name: Height\n description: The height of the tile, measured in grid squares.\n widget:\n type: object\n x-dcl-go-name: Widget\n x-dcl-go-type: DashboardMosaicLayoutTilesWidget\n description: The informational widget contained in the tile.\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries to\n return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field is\n optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a danger\n threshold that triggers above. Similarly, if x is above/below\n a warning threshold that triggers above/below, then\n the scorecard is in a warning state - unless x also\n puts it in a danger state. (Danger trumps warning.) As\n an example, consider a scorecard with the following\n four thresholds: { value: 90, category: ''DANGER'', trigger:\n ''ABOVE'', },: { value: 70, category: ''WARNING'', trigger:\n ''ABOVE'', }, { value: 10, category: ''DANGER'', trigger:\n ''BELOW'', }, { value: 20, category: ''WARNING'', trigger:\n ''BELOW'', } Then: values less than or equal to 10\n would put the scorecard in a DANGER state, values greater\n than 10 but less than or equal to 20 a WARNING state,\n values strictly between 20 and 70 an OK state, values\n greater than or equal to 70 but less than 90 a WARNING\n state, and values greater than or equal to 90 a DANGER\n state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible values:\n COLOR_UNSPECIFIED, GREY, BLUE, GREEN, YELLOW,\n ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter.\n Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series. Possible\n values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between two\n time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is\n used to divide the data in all the [time\n series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series into\n a single time series, where the value\n of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time series.\n Reduction can yield a time series with\n a different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each individual\n time series is a member of exactly one\n subset. The `cross_series_reducer` is\n applied to each subset of time series.\n It is not possible to reduce across\n different resource types, so this field\n implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are\n aggregated away. If `group_by_fields`\n is not specified and all the time series\n have the same resource type, then the\n time series are aggregated into a single\n output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single\n time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on\n the `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified\n and not equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error\n is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is\n used to divide the data in all the [time\n series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series into\n a single time series, where the value\n of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time series.\n Reduction can yield a time series with\n a different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each individual\n time series is a member of exactly one\n subset. The `cross_series_reducer` is\n applied to each subset of time series.\n It is not possible to reduce across\n different resource types, so this field\n implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are\n aggregated away. If `group_by_fields`\n is not specified and all the time series\n have the same resource type, then the\n time series are aggregated into a single\n output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single\n time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on\n the `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified\n and not equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error\n is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter.\n Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series. Possible\n values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetText\n description: A raw string or markdown displaying textual content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a string\n with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data point\n frequency for this data set, implemented by specifying\n the minimum alignment period to use in a time\n series query For example, if the data is published\n once every 10 minutes, the `min_alignment_period`\n should be at least 10 minutes. It would not make\n sense to fetch and align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted on\n the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass through\n the filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to\n allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently\n to produce the value which will be\n used to compare the time series to\n other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN, METHOD_MAX,\n METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the\n data. The value must be at least\n 60 seconds. If a per-series aligner\n other than `ALIGN_NONE` is specified,\n this field is required or an error\n is returned. If no per-series\n aligner is specified, or the aligner\n `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not\n all reducer operations can be\n applied to all time series. The\n valid choices depend on the `metric_kind`\n and the `value_type` of the original\n time series. Reduction can yield\n a time series with a different\n `metric_kind` or `value_type`\n than the input time series. Time\n series data must first be aligned\n (see `per_series_aligner`) in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets prior\n to applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to\n reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the\n data. The value must be at least\n 60 seconds. If a per-series aligner\n other than `ALIGN_NONE` is specified,\n this field is required or an error\n is returned. If no per-series\n aligner is specified, or the aligner\n `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not\n all reducer operations can be\n applied to all time series. The\n valid choices depend on the `metric_kind`\n and the `value_type` of the original\n time series. Reduction can yield\n a time series with a different\n `metric_kind` or `value_type`\n than the input time series. Time\n series data must first be aligned\n (see `per_series_aligner`) in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets prior\n to applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to\n reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass through\n the filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to\n allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently\n to produce the value which will be\n used to compare the time series to\n other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN, METHOD_MAX,\n METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will\n override any unit that accompanies fetched\n data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible values:\n COLOR_UNSPECIFIED, GREY, BLUE, GREEN, YELLOW,\n ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n width:\n type: integer\n format: int64\n x-dcl-go-name: Width\n description: The width of the tile, measured in grid squares.\n xPos:\n type: integer\n format: int64\n x-dcl-go-name: XPos\n description: The zero-indexed position of the tile in grid squares\n relative to the left edge of the grid.\n yPos:\n type: integer\n format: int64\n x-dcl-go-name: YPos\n description: The zero-indexed position of the tile in grid squares\n relative to the top edge of the grid.\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The resource name of the dashboard.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rowLayout:\n type: object\n x-dcl-go-name: RowLayout\n x-dcl-go-type: DashboardRowLayout\n description: The content is divided into equally spaced rows and the widgets\n are arranged horizontally.\n x-dcl-conflicts:\n - gridLayout\n - mosaicLayout\n - columnLayout\n properties:\n rows:\n type: array\n x-dcl-go-name: Rows\n description: The rows of content to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRows\n properties:\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: The relative weight of this row. The row weight is\n used to adjust the height of rows on the screen (relative to\n peers). Greater the weight, greater the height of the row on\n the screen. If omitted, a value of 1 is used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The display widgets arranged horizontally in this\n row.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries\n to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field\n is optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a\n danger threshold that triggers above. Similarly, if\n x is above/below a warning threshold that triggers\n above/below, then the scorecard is in a warning state\n - unless x also puts it in a danger state. (Danger\n trumps warning.) As an example, consider a scorecard\n with the following four thresholds: { value: 90, category:\n ''DANGER'', trigger: ''ABOVE'', },: { value: 70, category:\n ''WARNING'', trigger: ''ABOVE'', }, { value: 10, category:\n ''DANGER'', trigger: ''BELOW'', }, { value: 20, category:\n ''WARNING'', trigger: ''BELOW'', } Then: values\n less than or equal to 10 would put the scorecard in\n a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal\n to 70 but less than 90 a WARNING state, and values\n greater than or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsText\n description: A raw string or markdown displaying textual\n content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a\n string with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data\n point frequency for this data set, implemented\n by specifying the minimum alignment period to\n use in a time series query For example, if the\n data is published once every 10 minutes, the\n `min_alignment_period` should be at least 10\n minutes. It would not make sense to fetch and\n align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted\n on the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time\n series data is returned. Use this field\n to combine multiple time series for\n different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in\n fetched time series. If non-empty, this\n unit will override any unit that accompanies\n fetched data. The format is the same as\n the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n") -// 655349 bytes -// MD5: bcf8c740bfa6ac7c63315b74e29a6f4f +// 655374 bytes +// MD5: cc1b703f9a5d317ceaaada8d167b3fef diff --git a/services/google/monitoring/alpha/dashboard_schema.go b/services/google/monitoring/alpha/dashboard_schema.go index a3f020e7aa..408520171f 100755 --- a/services/google/monitoring/alpha/dashboard_schema.go +++ b/services/google/monitoring/alpha/dashboard_schema.go @@ -23,6 +23,7 @@ func DCLDashboardSchema() *dcl.Schema { Title: "Monitoring/Dashboard", Description: "The Monitoring Dashboard resource", StructName: "Dashboard", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/alpha/group.yaml b/services/google/monitoring/alpha/group.yaml index 8864744097..48c2e0ce39 100755 --- a/services/google/monitoring/alpha/group.yaml +++ b/services/google/monitoring/alpha/group.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/Group description: The Monitoring Group resource x-dcl-struct-name: Group + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/alpha/group_alpha_yaml_embed.go b/services/google/monitoring/alpha/group_alpha_yaml_embed.go index 2de0c6819b..3c5f10e2d1 100755 --- a/services/google/monitoring/alpha/group_alpha_yaml_embed.go +++ b/services/google/monitoring/alpha/group_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/alpha/group.yaml -var YAML_group = []byte("info:\n title: Monitoring/Group\n description: The Monitoring Group resource\n x-dcl-struct-name: Group\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n apply:\n description: The function used to apply information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n delete:\n description: The function used to delete a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n deleteAll:\n description: The function used to delete all Group\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Group\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Group:\n title: Group\n x-dcl-id: projects/{{project}}/groups/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - filter\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A user-assigned name for this group, used only for display\n purposes.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: The filter used to determine which monitored resources belong\n to this group.\n isCluster:\n type: boolean\n x-dcl-go-name: IsCluster\n description: If true, the members of this group are considered to be a cluster.\n The system can perform additional analysis on groups that are clusters.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The name of this group. The format is: `projects/{{project}}/groups/{{name}}`,\n which is generated automatically.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parentName:\n type: string\n x-dcl-go-name: ParentName\n description: 'The name of the group''s parent, if it has one. The format\n is: projects/ For groups with no parent, `parent_name` is the empty string,\n ``.'\n x-dcl-send-empty: true\n x-dcl-references:\n - resource: Monitoring/Group\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the group\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_group = []byte("info:\n title: Monitoring/Group\n description: The Monitoring Group resource\n x-dcl-struct-name: Group\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n apply:\n description: The function used to apply information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n delete:\n description: The function used to delete a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n deleteAll:\n description: The function used to delete all Group\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Group\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Group:\n title: Group\n x-dcl-id: projects/{{project}}/groups/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - filter\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A user-assigned name for this group, used only for display\n purposes.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: The filter used to determine which monitored resources belong\n to this group.\n isCluster:\n type: boolean\n x-dcl-go-name: IsCluster\n description: If true, the members of this group are considered to be a cluster.\n The system can perform additional analysis on groups that are clusters.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The name of this group. The format is: `projects/{{project}}/groups/{{name}}`,\n which is generated automatically.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parentName:\n type: string\n x-dcl-go-name: ParentName\n description: 'The name of the group''s parent, if it has one. The format\n is: projects/ For groups with no parent, `parent_name` is the empty string,\n ``.'\n x-dcl-send-empty: true\n x-dcl-references:\n - resource: Monitoring/Group\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the group\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 2878 bytes -// MD5: f8392a5e1a424fe465ad03164d4b6b5d +// 2903 bytes +// MD5: 24fa17cddb7481e18c27395a64590d98 diff --git a/services/google/monitoring/alpha/group_schema.go b/services/google/monitoring/alpha/group_schema.go index a02c60bbc4..cee8f296ff 100755 --- a/services/google/monitoring/alpha/group_schema.go +++ b/services/google/monitoring/alpha/group_schema.go @@ -23,6 +23,7 @@ func DCLGroupSchema() *dcl.Schema { Title: "Monitoring/Group", Description: "The Monitoring Group resource", StructName: "Group", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/alpha/metric_descriptor.yaml b/services/google/monitoring/alpha/metric_descriptor.yaml index 2bb279e59b..a05c64ebab 100755 --- a/services/google/monitoring/alpha/metric_descriptor.yaml +++ b/services/google/monitoring/alpha/metric_descriptor.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/MetricDescriptor description: The Monitoring MetricDescriptor resource x-dcl-struct-name: MetricDescriptor + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/alpha/metric_descriptor_alpha_yaml_embed.go b/services/google/monitoring/alpha/metric_descriptor_alpha_yaml_embed.go index df355d2d88..2207fbe940 100755 --- a/services/google/monitoring/alpha/metric_descriptor_alpha_yaml_embed.go +++ b/services/google/monitoring/alpha/metric_descriptor_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/alpha/metric_descriptor.yaml -var YAML_metric_descriptor = []byte("info:\n title: Monitoring/MetricDescriptor\n description: The Monitoring MetricDescriptor resource\n x-dcl-struct-name: MetricDescriptor\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n apply:\n description: The function used to apply information about a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n delete:\n description: The function used to delete a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n deleteAll:\n description: The function used to delete all MetricDescriptor\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MetricDescriptor\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetricDescriptor:\n title: MetricDescriptor\n x-dcl-id: projects/{{project}}/metricDescriptors/{{type}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - type\n - metricKind\n - valueType\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A detailed description of the metric, which can be used in\n documentation.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A concise name for the metric, which can be displayed in user\n interfaces. Use sentence case without an ending period, for example \"Request\n count\". This field is optional but it is recommended to be set for any\n metrics associated with user-visible concepts, such as Quota.\n x-kubernetes-immutable: true\n labels:\n type: array\n x-dcl-go-name: Labels\n description: The set of labels that can be used to describe a specific instance\n of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies`\n metric type has a label for the HTTP response code, `response_code`, so\n you can look at latencies for successful responses or just for responses\n that failed.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: MetricDescriptorLabels\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A human-readable description for the label.\n x-kubernetes-immutable: true\n key:\n type: string\n x-dcl-go-name: Key\n description: 'The key for this label. The key must meet the following\n criteria: * Does not exceed 100 characters. * Matches the following\n regular expression: `a-zA-Z*` * The first character must be an upper-\n or lower-case letter. * The remaining characters must be letters,\n digits, or underscores.'\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: MetricDescriptorLabelsValueTypeEnum\n description: 'The type of data that can be assigned to the label.\n Possible values: STRING, BOOL, INT64'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: MetricDescriptorLaunchStageEnum\n description: 'Optional. The launch stage of the metric definition. Possible\n values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS,\n ALPHA, BETA, GA, DEPRECATED'\n x-kubernetes-immutable: true\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n x-dcl-mutable-unreadable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: MetricDescriptorMetadata\n description: Optional. Metadata which can be used to guide usage of the\n metric.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n ingestDelay:\n type: string\n x-dcl-go-name: IngestDelay\n description: The delay of data points caused by ingestion. Data points\n older than this age are guaranteed to be ingested and available to\n be read, excluding data loss due to errors.\n x-kubernetes-immutable: true\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: MetricDescriptorMetadataLaunchStageEnum\n description: 'Deprecated. Must use the MetricDescriptor.launch_stage\n instead. Possible values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED,\n PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'\n x-kubernetes-immutable: true\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n samplePeriod:\n type: string\n x-dcl-go-name: SamplePeriod\n description: The sampling period of metric data points. For metrics\n which are written periodically, consecutive data points are stored\n at this time interval, excluding data loss due to errors. Metrics\n with a higher granularity have a smaller sampling period.\n x-kubernetes-immutable: true\n metricKind:\n type: string\n x-dcl-go-name: MetricKind\n x-dcl-go-type: MetricDescriptorMetricKindEnum\n description: 'Whether the metric records instantaneous values, changes to\n a value, etc. Some combinations of `metric_kind` and `value_type` might\n not be supported. Possible values: METRIC_KIND_UNSPECIFIED, GAUGE, DELTA,\n CUMULATIVE'\n x-kubernetes-immutable: true\n enum:\n - METRIC_KIND_UNSPECIFIED\n - GAUGE\n - DELTA\n - CUMULATIVE\n monitoredResourceTypes:\n type: array\n x-dcl-go-name: MonitoredResourceTypes\n readOnly: true\n description: Read-only. If present, then a time series, which is identified\n partially by a metric type and a MonitoredResourceDescriptor, that is\n associated with this metric type can only be associated with one of the\n monitored resource types listed here.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: The resource name of the metric descriptor.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n description: 'The metric type, including its DNS name prefix. The type is\n not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com`\n or `external.googleapis.com`. Metric types should use a natural hierarchical\n grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\"\n \"appengine.googleapis.com/http/server/response_latencies\"'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n unit:\n type: string\n x-dcl-go-name: Unit\n description: 'The units in which the metric value is reported. It is only\n applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`.\n The `unit` defines the representation of the stored metric values. Different\n systems might scale the values to be more easily displayed (so a value\n of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy`\n _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then\n the value of the metric is always in thousands of bytes, no matter how\n it might be displayed. If you want a custom metric to record the exact\n number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE`\n metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`).\n If the job uses 12,005 CPU-seconds, then the value is written as `12005`.\n Alternatively, if you want a custom metric to record data in a more granular\n way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`,\n and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}`\n and write `11.723` (which is `12005/1024`). The supported units are a\n subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html)\n standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second\n * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)**\n * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12)\n * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24)\n * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico\n (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21)\n * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi\n (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also\n includes these connectors: * `/` division or ratio (as an infix operator).\n For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost\n never have `/s` in a metric `unit`; rates should always be computed at\n query time from the underlying cumulative or delta value). * `.` multiplication\n or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`.\n The grammar for a unit is as follows: Expression = Component: { \".\" Component\n } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation\n ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation`\n is just a comment if it follows a `UNIT`. If the annotation is used alone,\n then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`,\n `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable\n ASCII characters not containing `{` or `}`. * `1` represents a unitary\n [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity)\n of 1, such as in `1/s`. It is typically used when none of the basic units\n are appropriate. For example, \"new users per day\" can be represented as\n `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5 new users).\n Alternatively, \"thousands of page views per day\" would be represented\n as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3`\n would mean \"5300 page views per day\"). * `%` represents dimensionless\n value of 1/100, and annotates values giving a percentage (so the metric\n values are typically in the range of 0..100, and a metric value `3` means\n \"3 percent\"). * `10^2.%` indicates a metric contains a ratio, typically\n in the range 0..1, that will be multiplied by 100 and displayed as a percentage\n (so a metric value `0.03` means \"3 percent\").'\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: MetricDescriptorValueTypeEnum\n description: 'Whether the measurement is an integer, a floating-point number,\n etc. Some combinations of `metric_kind` and `value_type` might not be\n supported. Possible values: STRING, BOOL, INT64'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n") +var YAML_metric_descriptor = []byte("info:\n title: Monitoring/MetricDescriptor\n description: The Monitoring MetricDescriptor resource\n x-dcl-struct-name: MetricDescriptor\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n apply:\n description: The function used to apply information about a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n delete:\n description: The function used to delete a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n deleteAll:\n description: The function used to delete all MetricDescriptor\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MetricDescriptor\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetricDescriptor:\n title: MetricDescriptor\n x-dcl-id: projects/{{project}}/metricDescriptors/{{type}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - type\n - metricKind\n - valueType\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A detailed description of the metric, which can be used in\n documentation.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A concise name for the metric, which can be displayed in user\n interfaces. Use sentence case without an ending period, for example \"Request\n count\". This field is optional but it is recommended to be set for any\n metrics associated with user-visible concepts, such as Quota.\n x-kubernetes-immutable: true\n labels:\n type: array\n x-dcl-go-name: Labels\n description: The set of labels that can be used to describe a specific instance\n of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies`\n metric type has a label for the HTTP response code, `response_code`, so\n you can look at latencies for successful responses or just for responses\n that failed.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: MetricDescriptorLabels\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A human-readable description for the label.\n x-kubernetes-immutable: true\n key:\n type: string\n x-dcl-go-name: Key\n description: 'The key for this label. The key must meet the following\n criteria: * Does not exceed 100 characters. * Matches the following\n regular expression: `a-zA-Z*` * The first character must be an upper-\n or lower-case letter. * The remaining characters must be letters,\n digits, or underscores.'\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: MetricDescriptorLabelsValueTypeEnum\n description: 'The type of data that can be assigned to the label.\n Possible values: STRING, BOOL, INT64'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: MetricDescriptorLaunchStageEnum\n description: 'Optional. The launch stage of the metric definition. Possible\n values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS,\n ALPHA, BETA, GA, DEPRECATED'\n x-kubernetes-immutable: true\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n x-dcl-mutable-unreadable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: MetricDescriptorMetadata\n description: Optional. Metadata which can be used to guide usage of the\n metric.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n ingestDelay:\n type: string\n x-dcl-go-name: IngestDelay\n description: The delay of data points caused by ingestion. Data points\n older than this age are guaranteed to be ingested and available to\n be read, excluding data loss due to errors.\n x-kubernetes-immutable: true\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: MetricDescriptorMetadataLaunchStageEnum\n description: 'Deprecated. Must use the MetricDescriptor.launch_stage\n instead. Possible values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED,\n PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'\n x-kubernetes-immutable: true\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n samplePeriod:\n type: string\n x-dcl-go-name: SamplePeriod\n description: The sampling period of metric data points. For metrics\n which are written periodically, consecutive data points are stored\n at this time interval, excluding data loss due to errors. Metrics\n with a higher granularity have a smaller sampling period.\n x-kubernetes-immutable: true\n metricKind:\n type: string\n x-dcl-go-name: MetricKind\n x-dcl-go-type: MetricDescriptorMetricKindEnum\n description: 'Whether the metric records instantaneous values, changes to\n a value, etc. Some combinations of `metric_kind` and `value_type` might\n not be supported. Possible values: METRIC_KIND_UNSPECIFIED, GAUGE, DELTA,\n CUMULATIVE'\n x-kubernetes-immutable: true\n enum:\n - METRIC_KIND_UNSPECIFIED\n - GAUGE\n - DELTA\n - CUMULATIVE\n monitoredResourceTypes:\n type: array\n x-dcl-go-name: MonitoredResourceTypes\n readOnly: true\n description: Read-only. If present, then a time series, which is identified\n partially by a metric type and a MonitoredResourceDescriptor, that is\n associated with this metric type can only be associated with one of the\n monitored resource types listed here.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: The resource name of the metric descriptor.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n description: 'The metric type, including its DNS name prefix. The type is\n not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com`\n or `external.googleapis.com`. Metric types should use a natural hierarchical\n grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\"\n \"appengine.googleapis.com/http/server/response_latencies\"'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n unit:\n type: string\n x-dcl-go-name: Unit\n description: 'The units in which the metric value is reported. It is only\n applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`.\n The `unit` defines the representation of the stored metric values. Different\n systems might scale the values to be more easily displayed (so a value\n of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy`\n _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then\n the value of the metric is always in thousands of bytes, no matter how\n it might be displayed. If you want a custom metric to record the exact\n number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE`\n metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`).\n If the job uses 12,005 CPU-seconds, then the value is written as `12005`.\n Alternatively, if you want a custom metric to record data in a more granular\n way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`,\n and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}`\n and write `11.723` (which is `12005/1024`). The supported units are a\n subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html)\n standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second\n * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)**\n * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12)\n * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24)\n * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico\n (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21)\n * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi\n (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also\n includes these connectors: * `/` division or ratio (as an infix operator).\n For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost\n never have `/s` in a metric `unit`; rates should always be computed at\n query time from the underlying cumulative or delta value). * `.` multiplication\n or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`.\n The grammar for a unit is as follows: Expression = Component: { \".\" Component\n } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation\n ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation`\n is just a comment if it follows a `UNIT`. If the annotation is used alone,\n then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`,\n `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable\n ASCII characters not containing `{` or `}`. * `1` represents a unitary\n [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity)\n of 1, such as in `1/s`. It is typically used when none of the basic units\n are appropriate. For example, \"new users per day\" can be represented as\n `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5 new users).\n Alternatively, \"thousands of page views per day\" would be represented\n as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3`\n would mean \"5300 page views per day\"). * `%` represents dimensionless\n value of 1/100, and annotates values giving a percentage (so the metric\n values are typically in the range of 0..100, and a metric value `3` means\n \"3 percent\"). * `10^2.%` indicates a metric contains a ratio, typically\n in the range 0..1, that will be multiplied by 100 and displayed as a percentage\n (so a metric value `0.03` means \"3 percent\").'\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: MetricDescriptorValueTypeEnum\n description: 'Whether the measurement is an integer, a floating-point number,\n etc. Some combinations of `metric_kind` and `value_type` might not be\n supported. Possible values: STRING, BOOL, INT64'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n") -// 13406 bytes -// MD5: 3a70ebbbcc3cbcbe0f4509494dd4a49f +// 13431 bytes +// MD5: 903dd40696407fe27880f6176a0ac10a diff --git a/services/google/monitoring/alpha/metric_descriptor_schema.go b/services/google/monitoring/alpha/metric_descriptor_schema.go index d9019777df..df25f6f9b2 100755 --- a/services/google/monitoring/alpha/metric_descriptor_schema.go +++ b/services/google/monitoring/alpha/metric_descriptor_schema.go @@ -23,6 +23,7 @@ func DCLMetricDescriptorSchema() *dcl.Schema { Title: "Monitoring/MetricDescriptor", Description: "The Monitoring MetricDescriptor resource", StructName: "MetricDescriptor", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/alpha/metrics_scope.yaml b/services/google/monitoring/alpha/metrics_scope.yaml index 19ca86ba5c..83e424f5eb 100755 --- a/services/google/monitoring/alpha/metrics_scope.yaml +++ b/services/google/monitoring/alpha/metrics_scope.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/MetricsScope description: The Monitoring MetricsScope resource x-dcl-struct-name: MetricsScope + x-dcl-has-create: false x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/alpha/metrics_scope_alpha_yaml_embed.go b/services/google/monitoring/alpha/metrics_scope_alpha_yaml_embed.go index e8adc8a8ee..a2fea9ba41 100755 --- a/services/google/monitoring/alpha/metrics_scope_alpha_yaml_embed.go +++ b/services/google/monitoring/alpha/metrics_scope_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/alpha/metrics_scope.yaml -var YAML_metrics_scope = []byte("info:\n title: Monitoring/MetricsScope\n description: The Monitoring MetricsScope resource\n x-dcl-struct-name: MetricsScope\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetricsScope\n parameters:\n - name: MetricsScope\n required: true\n description: A full instance of a MetricsScope\n apply:\n description: The function used to apply information about a MetricsScope\n parameters:\n - name: MetricsScope\n required: true\n description: A full instance of a MetricsScope\ncomponents:\n schemas:\n MetricsScope:\n title: MetricsScope\n x-dcl-id: locations/global/metricsScopes/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `Metrics Scope` was created.\n x-kubernetes-immutable: true\n monitoredProjects:\n type: array\n x-dcl-go-name: MonitoredProjects\n readOnly: true\n description: Output only. The list of projects monitored by this `Metrics\n Scope`.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MetricsScopeMonitoredProjects\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `MonitoredProject` was\n created.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the `MonitoredProject`.\n On input, the resource name includes the scoping project ID and\n monitored project ID. On output, it contains the equivalent project\n numbers. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the Monitoring Metrics Scope.\n On input, the resource name can be specified with the scoping project\n ID or number. On output, the resource name is specified with the scoping\n project number. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when this `Metrics Scope` record was\n last updated.\n x-kubernetes-immutable: true\n") +var YAML_metrics_scope = []byte("info:\n title: Monitoring/MetricsScope\n description: The Monitoring MetricsScope resource\n x-dcl-struct-name: MetricsScope\n x-dcl-has-create: false\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetricsScope\n parameters:\n - name: MetricsScope\n required: true\n description: A full instance of a MetricsScope\n apply:\n description: The function used to apply information about a MetricsScope\n parameters:\n - name: MetricsScope\n required: true\n description: A full instance of a MetricsScope\ncomponents:\n schemas:\n MetricsScope:\n title: MetricsScope\n x-dcl-id: locations/global/metricsScopes/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `Metrics Scope` was created.\n x-kubernetes-immutable: true\n monitoredProjects:\n type: array\n x-dcl-go-name: MonitoredProjects\n readOnly: true\n description: Output only. The list of projects monitored by this `Metrics\n Scope`.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MetricsScopeMonitoredProjects\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `MonitoredProject` was\n created.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the `MonitoredProject`.\n On input, the resource name includes the scoping project ID and\n monitored project ID. On output, it contains the equivalent project\n numbers. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the Monitoring Metrics Scope.\n On input, the resource name can be specified with the scoping project\n ID or number. On output, the resource name is specified with the scoping\n project number. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when this `Metrics Scope` record was\n last updated.\n x-kubernetes-immutable: true\n") -// 3062 bytes -// MD5: 8e9abf69c4eaad37a08cd32ac8d19323 +// 3088 bytes +// MD5: 9e0ee81dd7f26f1db479c8b9ff885c28 diff --git a/services/google/monitoring/alpha/monitored_project.yaml b/services/google/monitoring/alpha/monitored_project.yaml index 3aac5dea08..51d114f89e 100755 --- a/services/google/monitoring/alpha/monitored_project.yaml +++ b/services/google/monitoring/alpha/monitored_project.yaml @@ -18,6 +18,7 @@ info: potentially across multiple organizations. This enables you to view these groups in the Monitoring page of the cloud console. x-dcl-struct-name: MonitoredProject + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/monitoring/alpha/monitored_project_alpha_yaml_embed.go b/services/google/monitoring/alpha/monitored_project_alpha_yaml_embed.go index e4e9036c84..0a7668579c 100755 --- a/services/google/monitoring/alpha/monitored_project_alpha_yaml_embed.go +++ b/services/google/monitoring/alpha/monitored_project_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/alpha/monitored_project.yaml -var YAML_monitored_project = []byte("info:\n title: Monitoring/MonitoredProject\n description: Monitored Project allows you to set a project as monitored by a _metrics\n scope_, which is a term for a project used to group the metrics of multiple projects,\n potentially across multiple organizations. This enables you to view these groups\n in the Monitoring page of the cloud console.\n x-dcl-struct-name: MonitoredProject\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes\n x-dcl-guides:\n - text: Understanding metrics scopes\n url: https://cloud.google.com/monitoring/settings#concept-scope\n - text: API notes\n url: https://cloud.google.com/monitoring/settings/manage-api\npaths:\n get:\n description: The function used to get information about a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n apply:\n description: The function used to apply information about a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n delete:\n description: The function used to delete a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n deleteAll:\n description: The function used to delete all MonitoredProject\n parameters:\n - name: metricsscope\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MonitoredProject\n parameters:\n - name: metricsscope\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MonitoredProject:\n title: MonitoredProject\n x-dcl-id: locations/global/metricsScopes/{{metrics_scope}}/projects/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - metricsScope\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `MonitoredProject` was created.\n x-kubernetes-immutable: true\n metricsScope:\n type: string\n x-dcl-go-name: MetricsScope\n description: 'Required. The resource name of the existing Metrics Scope\n that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the `MonitoredProject`. On\n input, the resource name includes the scoping project ID and monitored\n project ID. On output, it contains the equivalent project numbers. Example:\n `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n") +var YAML_monitored_project = []byte("info:\n title: Monitoring/MonitoredProject\n description: Monitored Project allows you to set a project as monitored by a _metrics\n scope_, which is a term for a project used to group the metrics of multiple projects,\n potentially across multiple organizations. This enables you to view these groups\n in the Monitoring page of the cloud console.\n x-dcl-struct-name: MonitoredProject\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes\n x-dcl-guides:\n - text: Understanding metrics scopes\n url: https://cloud.google.com/monitoring/settings#concept-scope\n - text: API notes\n url: https://cloud.google.com/monitoring/settings/manage-api\npaths:\n get:\n description: The function used to get information about a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n apply:\n description: The function used to apply information about a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n delete:\n description: The function used to delete a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n deleteAll:\n description: The function used to delete all MonitoredProject\n parameters:\n - name: metricsscope\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MonitoredProject\n parameters:\n - name: metricsscope\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MonitoredProject:\n title: MonitoredProject\n x-dcl-id: locations/global/metricsScopes/{{metrics_scope}}/projects/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - metricsScope\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `MonitoredProject` was created.\n x-kubernetes-immutable: true\n metricsScope:\n type: string\n x-dcl-go-name: MetricsScope\n description: 'Required. The resource name of the existing Metrics Scope\n that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the `MonitoredProject`. On\n input, the resource name includes the scoping project ID and monitored\n project ID. On output, it contains the equivalent project numbers. Example:\n `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n") -// 3109 bytes -// MD5: 079a551c4979ca26fae43d0c494af585 +// 3134 bytes +// MD5: ef4661285ee1af288bb203a2befa8dd6 diff --git a/services/google/monitoring/alpha/monitored_project_schema.go b/services/google/monitoring/alpha/monitored_project_schema.go index cc20da526d..d3b3de2024 100755 --- a/services/google/monitoring/alpha/monitored_project_schema.go +++ b/services/google/monitoring/alpha/monitored_project_schema.go @@ -23,6 +23,7 @@ func DCLMonitoredProjectSchema() *dcl.Schema { Title: "Monitoring/MonitoredProject", Description: "Monitored Project allows you to set a project as monitored by a _metrics scope_, which is a term for a project used to group the metrics of multiple projects, potentially across multiple organizations. This enables you to view these groups in the Monitoring page of the cloud console.", StructName: "MonitoredProject", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes", diff --git a/services/google/monitoring/alpha/notification_channel.yaml b/services/google/monitoring/alpha/notification_channel.yaml index 05d05d6a1b..26c7735819 100755 --- a/services/google/monitoring/alpha/notification_channel.yaml +++ b/services/google/monitoring/alpha/notification_channel.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/NotificationChannel description: The Monitoring NotificationChannel resource x-dcl-struct-name: NotificationChannel + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/alpha/notification_channel_alpha_yaml_embed.go b/services/google/monitoring/alpha/notification_channel_alpha_yaml_embed.go index 4bf0a15188..880326ae75 100755 --- a/services/google/monitoring/alpha/notification_channel_alpha_yaml_embed.go +++ b/services/google/monitoring/alpha/notification_channel_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/alpha/notification_channel.yaml -var YAML_notification_channel = []byte("info:\n title: Monitoring/NotificationChannel\n description: The Monitoring NotificationChannel resource\n x-dcl-struct-name: NotificationChannel\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n apply:\n description: The function used to apply information about a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n delete:\n description: The function used to delete a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n deleteAll:\n description: The function used to delete all NotificationChannel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NotificationChannel\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NotificationChannel:\n title: NotificationChannel\n x-dcl-id: projects/{{project}}/notificationChannels/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional human-readable description of this notification\n channel. This description may provide additional details, beyond the display\n name, for the channel. This may not exceed 1024 Unicode characters.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: An optional human-readable name for this notification channel.\n It is recommended that you specify a non-empty and unique name in order\n to make it easier to identify the channels in your project, though this\n is not enforced. The display name is limited to 512 Unicode characters.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether notifications are forwarded to the described channel.\n This makes it possible to disable delivery of notifications to a particular\n channel without removing the channel from all alerting policies that reference\n the channel. This is a more convenient approach when the change is temporary\n and you want to receive notifications from the same set of alerting policies\n on the channel at some point in the future.\n default: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Configuration fields that define the channel and its behavior.\n The permissible and required labels are specified in the [NotificationChannelDescriptor.labels][google.monitoring.v3.NotificationChannelDescriptor.labels]\n of the `NotificationChannelDescriptor` corresponding to the `type` field.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The full REST resource name for this channel. The format is:\n projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The\n `[CHANNEL_ID]` is automatically assigned by the server on creation.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this notification channel.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n type:\n type: string\n x-dcl-go-name: Type\n description: The type of the notification channel. This field matches the\n value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type]\n field.\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: User-supplied key/value data that does not need to conform\n to the corresponding `NotificationChannelDescriptor`'s schema, unlike\n the `labels` field. This field is intended to be used for orv3nizing and\n identifying the `NotificationChannel` objects. The field can contain up\n to 64 entries. Each key and value is limited to 63 Unicode characters\n or 128 bytes, whichever is smaller. Labels and values can contain only\n lowercase letters, numerals, underscores, and dashes. Keys must begin\n with a letter.\n verificationStatus:\n type: string\n x-dcl-go-name: VerificationStatus\n x-dcl-go-type: NotificationChannelVerificationStatusEnum\n readOnly: true\n description: 'Indicates whether this channel has been verified or not. On\n a [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]\n or [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]\n operation, this field is expected to be populated. If the value is `UNVERIFIED`,\n then it indicates that the channel is non-functioning (it both requires\n verification and lacks verification); otherwise, it is assumed that the\n channel works. If the channel is neither `VERIFIED` nor `UNVERIFIED`,\n it implies that the channel is of a type that does not require verification\n or that this specific channel has been exempted from verification because\n it was created prior to verification being required for channels of this\n type. This field cannot be modified using a standard [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel]\n operation. To change the value of this field, you must call [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].\n Possible values: VERIFICATION_STATUS_UNSPECIFIED, UNVERIFIED, VERIFIED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATUS_UNSPECIFIED\n - UNVERIFIED\n - VERIFIED\n") +var YAML_notification_channel = []byte("info:\n title: Monitoring/NotificationChannel\n description: The Monitoring NotificationChannel resource\n x-dcl-struct-name: NotificationChannel\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n apply:\n description: The function used to apply information about a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n delete:\n description: The function used to delete a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n deleteAll:\n description: The function used to delete all NotificationChannel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NotificationChannel\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NotificationChannel:\n title: NotificationChannel\n x-dcl-id: projects/{{project}}/notificationChannels/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional human-readable description of this notification\n channel. This description may provide additional details, beyond the display\n name, for the channel. This may not exceed 1024 Unicode characters.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: An optional human-readable name for this notification channel.\n It is recommended that you specify a non-empty and unique name in order\n to make it easier to identify the channels in your project, though this\n is not enforced. The display name is limited to 512 Unicode characters.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether notifications are forwarded to the described channel.\n This makes it possible to disable delivery of notifications to a particular\n channel without removing the channel from all alerting policies that reference\n the channel. This is a more convenient approach when the change is temporary\n and you want to receive notifications from the same set of alerting policies\n on the channel at some point in the future.\n default: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Configuration fields that define the channel and its behavior.\n The permissible and required labels are specified in the [NotificationChannelDescriptor.labels][google.monitoring.v3.NotificationChannelDescriptor.labels]\n of the `NotificationChannelDescriptor` corresponding to the `type` field.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The full REST resource name for this channel. The format is:\n projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The\n `[CHANNEL_ID]` is automatically assigned by the server on creation.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this notification channel.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n type:\n type: string\n x-dcl-go-name: Type\n description: The type of the notification channel. This field matches the\n value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type]\n field.\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: User-supplied key/value data that does not need to conform\n to the corresponding `NotificationChannelDescriptor`'s schema, unlike\n the `labels` field. This field is intended to be used for orv3nizing and\n identifying the `NotificationChannel` objects. The field can contain up\n to 64 entries. Each key and value is limited to 63 Unicode characters\n or 128 bytes, whichever is smaller. Labels and values can contain only\n lowercase letters, numerals, underscores, and dashes. Keys must begin\n with a letter.\n verificationStatus:\n type: string\n x-dcl-go-name: VerificationStatus\n x-dcl-go-type: NotificationChannelVerificationStatusEnum\n readOnly: true\n description: 'Indicates whether this channel has been verified or not. On\n a [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]\n or [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]\n operation, this field is expected to be populated. If the value is `UNVERIFIED`,\n then it indicates that the channel is non-functioning (it both requires\n verification and lacks verification); otherwise, it is assumed that the\n channel works. If the channel is neither `VERIFIED` nor `UNVERIFIED`,\n it implies that the channel is of a type that does not require verification\n or that this specific channel has been exempted from verification because\n it was created prior to verification being required for channels of this\n type. This field cannot be modified using a standard [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel]\n operation. To change the value of this field, you must call [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].\n Possible values: VERIFICATION_STATUS_UNSPECIFIED, UNVERIFIED, VERIFIED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATUS_UNSPECIFIED\n - UNVERIFIED\n - VERIFIED\n") -// 6667 bytes -// MD5: 5b182c32356888c1103c14b59e812a18 +// 6692 bytes +// MD5: 30cb09e30dff4dd556921d6de9e0070f diff --git a/services/google/monitoring/alpha/notification_channel_schema.go b/services/google/monitoring/alpha/notification_channel_schema.go index edc96534cc..5420dfb8e0 100755 --- a/services/google/monitoring/alpha/notification_channel_schema.go +++ b/services/google/monitoring/alpha/notification_channel_schema.go @@ -23,6 +23,7 @@ func DCLNotificationChannelSchema() *dcl.Schema { Title: "Monitoring/NotificationChannel", Description: "The Monitoring NotificationChannel resource", StructName: "NotificationChannel", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/alpha/service.yaml b/services/google/monitoring/alpha/service.yaml index d702673139..3c0104d4e0 100755 --- a/services/google/monitoring/alpha/service.yaml +++ b/services/google/monitoring/alpha/service.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/Service description: The Monitoring Service resource x-dcl-struct-name: Service + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/alpha/service_alpha_yaml_embed.go b/services/google/monitoring/alpha/service_alpha_yaml_embed.go index 6918d8337c..435c86b388 100755 --- a/services/google/monitoring/alpha/service_alpha_yaml_embed.go +++ b/services/google/monitoring/alpha/service_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/alpha/service.yaml -var YAML_service = []byte("info:\n title: Monitoring/Service\n description: The Monitoring Service resource\n x-dcl-struct-name: Service\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n apply:\n description: The function used to apply information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n delete:\n description: The function used to delete a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n deleteAll:\n description: The function used to delete all Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Service:\n title: Service\n x-dcl-id: projects/{{project}}/services/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: userLabels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Name used for UI elements listing this Service.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n telemetry:\n type: object\n x-dcl-go-name: Telemetry\n x-dcl-go-type: ServiceTelemetry\n description: Configuration for how to query telemetry on a Service.\n properties:\n resourceName:\n type: string\n x-dcl-go-name: ResourceName\n description: The full name of the resource that defines this service.\n Formatted as described in https://cloud.google.com/apis/design/resource_names.\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: Labels which have been used to annotate the service. Label\n keys must start with a letter. Label keys and values may contain lowercase\n letters, numbers, underscores, and dashes. Label keys and values have\n a maximum length of 63 characters, and must be less than 128 bytes in\n size. Up to 64 label entries may be stored. For labels which do not have\n a semantic value, the empty string may be supplied for the label value.\n") +var YAML_service = []byte("info:\n title: Monitoring/Service\n description: The Monitoring Service resource\n x-dcl-struct-name: Service\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n apply:\n description: The function used to apply information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n delete:\n description: The function used to delete a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n deleteAll:\n description: The function used to delete all Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Service:\n title: Service\n x-dcl-id: projects/{{project}}/services/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: userLabels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Name used for UI elements listing this Service.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n telemetry:\n type: object\n x-dcl-go-name: Telemetry\n x-dcl-go-type: ServiceTelemetry\n description: Configuration for how to query telemetry on a Service.\n properties:\n resourceName:\n type: string\n x-dcl-go-name: ResourceName\n description: The full name of the resource that defines this service.\n Formatted as described in https://cloud.google.com/apis/design/resource_names.\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: Labels which have been used to annotate the service. Label\n keys must start with a letter. Label keys and values may contain lowercase\n letters, numbers, underscores, and dashes. Label keys and values have\n a maximum length of 63 characters, and must be less than 128 bytes in\n size. Up to 64 label entries may be stored. For labels which do not have\n a semantic value, the empty string may be supplied for the label value.\n") -// 3111 bytes -// MD5: 525fac7e93189d3ca8fbdeeea7e15fa1 +// 3136 bytes +// MD5: 7122a74186f578f8b6e0c5d07672775d diff --git a/services/google/monitoring/alpha/service_level_objective.yaml b/services/google/monitoring/alpha/service_level_objective.yaml index f4d20b22b3..b3bde25207 100755 --- a/services/google/monitoring/alpha/service_level_objective.yaml +++ b/services/google/monitoring/alpha/service_level_objective.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/ServiceLevelObjective description: The Monitoring ServiceLevelObjective resource x-dcl-struct-name: ServiceLevelObjective + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/alpha/service_level_objective_alpha_yaml_embed.go b/services/google/monitoring/alpha/service_level_objective_alpha_yaml_embed.go index c4b2e047af..f3e3325e8d 100755 --- a/services/google/monitoring/alpha/service_level_objective_alpha_yaml_embed.go +++ b/services/google/monitoring/alpha/service_level_objective_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/alpha/service_level_objective.yaml -var YAML_service_level_objective = []byte("info:\n title: Monitoring/ServiceLevelObjective\n description: The Monitoring ServiceLevelObjective resource\n x-dcl-struct-name: ServiceLevelObjective\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n apply:\n description: The function used to apply information about a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n delete:\n description: The function used to delete a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n deleteAll:\n description: The function used to delete all ServiceLevelObjective\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: service\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceLevelObjective\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: service\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceLevelObjective:\n title: ServiceLevelObjective\n x-dcl-id: projects/{{project}}/services/{{service}}/serviceLevelObjectives/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: userLabels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - goal\n - project\n - service\n properties:\n calendarPeriod:\n type: string\n x-dcl-go-name: CalendarPeriod\n x-dcl-go-type: ServiceLevelObjectiveCalendarPeriodEnum\n description: 'A calendar period, semantically \"since the start of the current\n ``\". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and `MONTH` are supported.\n Possible values: CALENDAR_PERIOD_UNSPECIFIED, DAY, WEEK, FORTNIGHT, MONTH,\n QUARTER, HALF, YEAR'\n x-dcl-conflicts:\n - rollingPeriod\n enum:\n - CALENDAR_PERIOD_UNSPECIFIED\n - DAY\n - WEEK\n - FORTNIGHT\n - MONTH\n - QUARTER\n - HALF\n - YEAR\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Time stamp of the `Create` or most recent `Update` command\n on this `Slo`.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Time stamp of the `Update` or `Delete` command that made this\n no longer a current `Slo`. This field is not populated in `ServiceLevelObjective`s\n returned from calls to `GetServiceLevelObjective` and `ListServiceLevelObjectives`,\n because it is always empty in the current version. It is populated in\n `ServiceLevelObjective`s representing previous versions in the output\n of `ListServiceLevelObjectiveVersions`. Because all old configuration\n versions are stored, `Update` operations mark the obsoleted version as\n deleted.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Name used for UI elements listing this SLO.\n goal:\n type: number\n format: double\n x-dcl-go-name: Goal\n description: The fraction of service that must be good in order for this\n objective to be met. `0 < goal <= 0.999`.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Resource name for this `ServiceLevelObjective`. The format\n is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rollingPeriod:\n type: string\n x-dcl-go-name: RollingPeriod\n description: A rolling time period, semantically \"in the past ``\". Must\n be an integer multiple of 1 day no larger than 30 days.\n x-dcl-conflicts:\n - calendarPeriod\n service:\n type: string\n x-dcl-go-name: Service\n description: The service for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Monitoring/Service\n field: name\n parent: true\n serviceLevelIndicator:\n type: object\n x-dcl-go-name: ServiceLevelIndicator\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicator\n description: The definition of good service, used to measure and calculate\n the quality of the `Service`'s performance with respect to a single aspect\n of service quality.\n properties:\n basicSli:\n type: object\n x-dcl-go-name: BasicSli\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSli\n description: Basic SLI on a well-known service type.\n x-dcl-conflicts:\n - requestBased\n - windowsBased\n properties:\n availability:\n type: object\n x-dcl-go-name: Availability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliAvailability\n description: Good service is defined to be the count of requests\n made to this service that return successfully.\n x-dcl-conflicts:\n - latency\n - operationAvailability\n - operationLatency\n latency:\n type: object\n x-dcl-go-name: Latency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliLatency\n description: Good service is defined to be the count of requests\n made to this service that are fast enough with respect to `latency.threshold`.\n x-dcl-conflicts:\n - availability\n - operationAvailability\n - operationLatency\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliLatencyExperienceEnum\n description: 'A description of the experience associated with\n failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count of requests\n made to this service that return in no more than `threshold`.\n location:\n type: array\n x-dcl-go-name: Location\n description: 'OPTIONAL: The set of locations to which this SLI is\n relevant. Telemetry from other locations will not be used to calculate\n performance for this SLI. If omitted, this SLI applies to all\n locations in which the Service has activity. For service types\n that don''t support breaking down by location, setting this field\n will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n method:\n type: array\n x-dcl-go-name: Method\n description: 'OPTIONAL: The set of RPCs to which this SLI is relevant.\n Telemetry from other methods will not be used to calculate performance\n for this SLI. If omitted, this SLI applies to all the Service''s\n methods. For service types that don''t support breaking down by\n method, setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n operationAvailability:\n type: object\n x-dcl-go-name: OperationAvailability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationAvailability\n description: Good service is defined to be the count of operations\n performed by this service that return successfully\n x-dcl-conflicts:\n - availability\n - latency\n - operationLatency\n operationLatency:\n type: object\n x-dcl-go-name: OperationLatency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationLatency\n description: Good service is defined to be the count of operations\n performed by this service that are fast enough with respect to\n `operation_latency.threshold`.\n x-dcl-conflicts:\n - availability\n - latency\n - operationAvailability\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationLatencyExperienceEnum\n description: 'A description of the experience associated with\n failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count of operations\n that are completed in no more than `threshold`.\n version:\n type: array\n x-dcl-go-name: Version\n description: 'OPTIONAL: The set of API versions to which this SLI\n is relevant. Telemetry from other API versions will not be used\n to calculate performance for this SLI. If omitted, this SLI applies\n to all API versions. For service types that don''t support breaking\n down by version, setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n requestBased:\n type: object\n x-dcl-go-name: RequestBased\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBased\n description: Request-based SLIs\n x-dcl-conflicts:\n - basicSli\n - windowsBased\n properties:\n distributionCut:\n type: object\n x-dcl-go-name: DistributionCut\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedDistributionCut\n description: '`distribution_cut` is used when `good_service` is\n a count of values aggregated in a `Distribution` that fall into\n a good range. The `total_service` is the total count of all values\n aggregated in the `Distribution`.'\n x-dcl-conflicts:\n - goodTotalRatio\n properties:\n distributionFilter:\n type: string\n x-dcl-go-name: DistributionFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` aggregating values. Must have `ValueType\n = DISTRIBUTION` and `MetricKind = DELTA` or `MetricKind =\n CUMULATIVE`.\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedDistributionCutRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n goodTotalRatio:\n type: object\n x-dcl-go-name: GoodTotalRatio\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedGoodTotalRatio\n description: '`good_total_ratio` is used when the ratio of `good_service`\n to `total_service` is computed from two `TimeSeries`.'\n x-dcl-conflicts:\n - distributionCut\n properties:\n badServiceFilter:\n type: string\n x-dcl-go-name: BadServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying bad service, either\n demanded service that was not provided or demanded service\n that was of inadequate quality. Must have `ValueType = DOUBLE`\n or `ValueType = INT64` and must have `MetricKind = DELTA`\n or `MetricKind = CUMULATIVE`.\n goodServiceFilter:\n type: string\n x-dcl-go-name: GoodServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying good service provided.\n Must have `ValueType = DOUBLE` or `ValueType = INT64` and\n must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n totalServiceFilter:\n type: string\n x-dcl-go-name: TotalServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying total demanded service.\n Must have `ValueType = DOUBLE` or `ValueType = INT64` and\n must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n windowsBased:\n type: object\n x-dcl-go-name: WindowsBased\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBased\n description: Windows-based SLIs\n x-dcl-conflicts:\n - basicSli\n - requestBased\n properties:\n goodBadMetricFilter:\n type: string\n x-dcl-go-name: GoodBadMetricFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` with `ValueType = BOOL`. The window\n is good if any `true` values appear in the window.\n x-dcl-conflicts:\n - goodTotalRatioThreshold\n - metricMeanInRange\n - metricSumInRange\n goodTotalRatioThreshold:\n type: object\n x-dcl-go-name: GoodTotalRatioThreshold\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThreshold\n description: A window is good if its `performance` is high enough.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - metricMeanInRange\n - metricSumInRange\n properties:\n basicSliPerformance:\n type: object\n x-dcl-go-name: BasicSliPerformance\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformance\n description: '`BasicSli` to evaluate to judge window quality.'\n x-dcl-conflicts:\n - performance\n properties:\n availability:\n type: object\n x-dcl-go-name: Availability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceAvailability\n description: Good service is defined to be the count of\n requests made to this service that return successfully.\n x-dcl-conflicts:\n - latency\n - operationAvailability\n - operationLatency\n latency:\n type: object\n x-dcl-go-name: Latency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceLatency\n description: Good service is defined to be the count of\n requests made to this service that are fast enough with\n respect to `latency.threshold`.\n x-dcl-conflicts:\n - availability\n - operationAvailability\n - operationLatency\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceLatencyExperienceEnum\n description: 'A description of the experience associated\n with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count\n of requests made to this service that return in no\n more than `threshold`.\n location:\n type: array\n x-dcl-go-name: Location\n description: 'OPTIONAL: The set of locations to which this\n SLI is relevant. Telemetry from other locations will not\n be used to calculate performance for this SLI. If omitted,\n this SLI applies to all locations in which the Service\n has activity. For service types that don''t support breaking\n down by location, setting this field will result in an\n error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n method:\n type: array\n x-dcl-go-name: Method\n description: 'OPTIONAL: The set of RPCs to which this SLI\n is relevant. Telemetry from other methods will not be\n used to calculate performance for this SLI. If omitted,\n this SLI applies to all the Service''s methods. For service\n types that don''t support breaking down by method, setting\n this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n operationAvailability:\n type: object\n x-dcl-go-name: OperationAvailability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationAvailability\n description: Good service is defined to be the count of\n operations performed by this service that return successfully\n x-dcl-conflicts:\n - availability\n - latency\n - operationLatency\n operationLatency:\n type: object\n x-dcl-go-name: OperationLatency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationLatency\n description: Good service is defined to be the count of\n operations performed by this service that are fast enough\n with respect to `operation_latency.threshold`.\n x-dcl-conflicts:\n - availability\n - latency\n - operationAvailability\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationLatencyExperienceEnum\n description: 'A description of the experience associated\n with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count\n of operations that are completed in no more than `threshold`.\n version:\n type: array\n x-dcl-go-name: Version\n description: 'OPTIONAL: The set of API versions to which\n this SLI is relevant. Telemetry from other API versions\n will not be used to calculate performance for this SLI.\n If omitted, this SLI applies to all API versions. For\n service types that don''t support breaking down by version,\n setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n performance:\n type: object\n x-dcl-go-name: Performance\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformance\n description: '`RequestBasedSli` to evaluate to judge window\n quality.'\n x-dcl-conflicts:\n - basicSliPerformance\n properties:\n distributionCut:\n type: object\n x-dcl-go-name: DistributionCut\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceDistributionCut\n description: '`distribution_cut` is used when `good_service`\n is a count of values aggregated in a `Distribution` that\n fall into a good range. The `total_service` is the total\n count of all values aggregated in the `Distribution`.'\n x-dcl-conflicts:\n - goodTotalRatio\n properties:\n distributionFilter:\n type: string\n x-dcl-go-name: DistributionFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` aggregating values. Must\n have `ValueType = DISTRIBUTION` and `MetricKind =\n DELTA` or `MetricKind = CUMULATIVE`.\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceDistributionCutRange\n description: Range of values considered \"good.\" For\n a one-sided range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n goodTotalRatio:\n type: object\n x-dcl-go-name: GoodTotalRatio\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceGoodTotalRatio\n description: '`good_total_ratio` is used when the ratio\n of `good_service` to `total_service` is computed from\n two `TimeSeries`.'\n x-dcl-conflicts:\n - distributionCut\n properties:\n badServiceFilter:\n type: string\n x-dcl-go-name: BadServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying bad service,\n either demanded service that was not provided or demanded\n service that was of inadequate quality. Must have\n `ValueType = DOUBLE` or `ValueType = INT64` and must\n have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n goodServiceFilter:\n type: string\n x-dcl-go-name: GoodServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying good service\n provided. Must have `ValueType = DOUBLE` or `ValueType\n = INT64` and must have `MetricKind = DELTA` or `MetricKind\n = CUMULATIVE`.\n totalServiceFilter:\n type: string\n x-dcl-go-name: TotalServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying total demanded\n service. Must have `ValueType = DOUBLE` or `ValueType\n = INT64` and must have `MetricKind = DELTA` or `MetricKind\n = CUMULATIVE`.\n threshold:\n type: number\n format: double\n x-dcl-go-name: Threshold\n description: If window `performance >= threshold`, the window\n is counted as good.\n metricMeanInRange:\n type: object\n x-dcl-go-name: MetricMeanInRange\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricMeanInRange\n description: A window is good if the metric's value is in a good\n range, averaged across returned streams.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - goodTotalRatioThreshold\n - metricSumInRange\n properties:\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricMeanInRangeRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n timeSeries:\n type: string\n x-dcl-go-name: TimeSeries\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying the `TimeSeries` to use for evaluating window quality.\n metricSumInRange:\n type: object\n x-dcl-go-name: MetricSumInRange\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricSumInRange\n description: A window is good if the metric's value is in a good\n range, summed across returned streams.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - goodTotalRatioThreshold\n - metricMeanInRange\n properties:\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricSumInRangeRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n timeSeries:\n type: string\n x-dcl-go-name: TimeSeries\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying the `TimeSeries` to use for evaluating window quality.\n windowPeriod:\n type: string\n x-dcl-go-name: WindowPeriod\n description: Duration over which window quality is evaluated. Must\n be an integer fraction of a day and at least `60s`.\n serviceManagementOwned:\n type: boolean\n x-dcl-go-name: ServiceManagementOwned\n readOnly: true\n description: Output only. If set, this SLO is managed at the [Service Management](https://cloud.google.com/service-management/overview)\n level. Therefore the service yaml file is the source of truth for this\n SLO, and API `Update` and `Delete` operations are forbidden.\n x-kubernetes-immutable: true\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: Labels which have been used to annotate the service-level objective.\n Label keys must start with a letter. Label keys and values may contain\n lowercase letters, numbers, underscores, and dashes. Label keys and values\n have a maximum length of 63 characters, and must be less than 128 bytes\n in size. Up to 64 label entries may be stored. For labels which do not\n have a semantic value, the empty string may be supplied for the label\n value.\n") +var YAML_service_level_objective = []byte("info:\n title: Monitoring/ServiceLevelObjective\n description: The Monitoring ServiceLevelObjective resource\n x-dcl-struct-name: ServiceLevelObjective\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n apply:\n description: The function used to apply information about a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n delete:\n description: The function used to delete a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n deleteAll:\n description: The function used to delete all ServiceLevelObjective\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: service\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceLevelObjective\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: service\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceLevelObjective:\n title: ServiceLevelObjective\n x-dcl-id: projects/{{project}}/services/{{service}}/serviceLevelObjectives/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: userLabels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - goal\n - project\n - service\n properties:\n calendarPeriod:\n type: string\n x-dcl-go-name: CalendarPeriod\n x-dcl-go-type: ServiceLevelObjectiveCalendarPeriodEnum\n description: 'A calendar period, semantically \"since the start of the current\n ``\". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and `MONTH` are supported.\n Possible values: CALENDAR_PERIOD_UNSPECIFIED, DAY, WEEK, FORTNIGHT, MONTH,\n QUARTER, HALF, YEAR'\n x-dcl-conflicts:\n - rollingPeriod\n enum:\n - CALENDAR_PERIOD_UNSPECIFIED\n - DAY\n - WEEK\n - FORTNIGHT\n - MONTH\n - QUARTER\n - HALF\n - YEAR\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Time stamp of the `Create` or most recent `Update` command\n on this `Slo`.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Time stamp of the `Update` or `Delete` command that made this\n no longer a current `Slo`. This field is not populated in `ServiceLevelObjective`s\n returned from calls to `GetServiceLevelObjective` and `ListServiceLevelObjectives`,\n because it is always empty in the current version. It is populated in\n `ServiceLevelObjective`s representing previous versions in the output\n of `ListServiceLevelObjectiveVersions`. Because all old configuration\n versions are stored, `Update` operations mark the obsoleted version as\n deleted.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Name used for UI elements listing this SLO.\n goal:\n type: number\n format: double\n x-dcl-go-name: Goal\n description: The fraction of service that must be good in order for this\n objective to be met. `0 < goal <= 0.999`.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Resource name for this `ServiceLevelObjective`. The format\n is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rollingPeriod:\n type: string\n x-dcl-go-name: RollingPeriod\n description: A rolling time period, semantically \"in the past ``\". Must\n be an integer multiple of 1 day no larger than 30 days.\n x-dcl-conflicts:\n - calendarPeriod\n service:\n type: string\n x-dcl-go-name: Service\n description: The service for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Monitoring/Service\n field: name\n parent: true\n serviceLevelIndicator:\n type: object\n x-dcl-go-name: ServiceLevelIndicator\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicator\n description: The definition of good service, used to measure and calculate\n the quality of the `Service`'s performance with respect to a single aspect\n of service quality.\n properties:\n basicSli:\n type: object\n x-dcl-go-name: BasicSli\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSli\n description: Basic SLI on a well-known service type.\n x-dcl-conflicts:\n - requestBased\n - windowsBased\n properties:\n availability:\n type: object\n x-dcl-go-name: Availability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliAvailability\n description: Good service is defined to be the count of requests\n made to this service that return successfully.\n x-dcl-conflicts:\n - latency\n - operationAvailability\n - operationLatency\n latency:\n type: object\n x-dcl-go-name: Latency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliLatency\n description: Good service is defined to be the count of requests\n made to this service that are fast enough with respect to `latency.threshold`.\n x-dcl-conflicts:\n - availability\n - operationAvailability\n - operationLatency\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliLatencyExperienceEnum\n description: 'A description of the experience associated with\n failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count of requests\n made to this service that return in no more than `threshold`.\n location:\n type: array\n x-dcl-go-name: Location\n description: 'OPTIONAL: The set of locations to which this SLI is\n relevant. Telemetry from other locations will not be used to calculate\n performance for this SLI. If omitted, this SLI applies to all\n locations in which the Service has activity. For service types\n that don''t support breaking down by location, setting this field\n will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n method:\n type: array\n x-dcl-go-name: Method\n description: 'OPTIONAL: The set of RPCs to which this SLI is relevant.\n Telemetry from other methods will not be used to calculate performance\n for this SLI. If omitted, this SLI applies to all the Service''s\n methods. For service types that don''t support breaking down by\n method, setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n operationAvailability:\n type: object\n x-dcl-go-name: OperationAvailability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationAvailability\n description: Good service is defined to be the count of operations\n performed by this service that return successfully\n x-dcl-conflicts:\n - availability\n - latency\n - operationLatency\n operationLatency:\n type: object\n x-dcl-go-name: OperationLatency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationLatency\n description: Good service is defined to be the count of operations\n performed by this service that are fast enough with respect to\n `operation_latency.threshold`.\n x-dcl-conflicts:\n - availability\n - latency\n - operationAvailability\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationLatencyExperienceEnum\n description: 'A description of the experience associated with\n failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count of operations\n that are completed in no more than `threshold`.\n version:\n type: array\n x-dcl-go-name: Version\n description: 'OPTIONAL: The set of API versions to which this SLI\n is relevant. Telemetry from other API versions will not be used\n to calculate performance for this SLI. If omitted, this SLI applies\n to all API versions. For service types that don''t support breaking\n down by version, setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n requestBased:\n type: object\n x-dcl-go-name: RequestBased\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBased\n description: Request-based SLIs\n x-dcl-conflicts:\n - basicSli\n - windowsBased\n properties:\n distributionCut:\n type: object\n x-dcl-go-name: DistributionCut\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedDistributionCut\n description: '`distribution_cut` is used when `good_service` is\n a count of values aggregated in a `Distribution` that fall into\n a good range. The `total_service` is the total count of all values\n aggregated in the `Distribution`.'\n x-dcl-conflicts:\n - goodTotalRatio\n properties:\n distributionFilter:\n type: string\n x-dcl-go-name: DistributionFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` aggregating values. Must have `ValueType\n = DISTRIBUTION` and `MetricKind = DELTA` or `MetricKind =\n CUMULATIVE`.\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedDistributionCutRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n goodTotalRatio:\n type: object\n x-dcl-go-name: GoodTotalRatio\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedGoodTotalRatio\n description: '`good_total_ratio` is used when the ratio of `good_service`\n to `total_service` is computed from two `TimeSeries`.'\n x-dcl-conflicts:\n - distributionCut\n properties:\n badServiceFilter:\n type: string\n x-dcl-go-name: BadServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying bad service, either\n demanded service that was not provided or demanded service\n that was of inadequate quality. Must have `ValueType = DOUBLE`\n or `ValueType = INT64` and must have `MetricKind = DELTA`\n or `MetricKind = CUMULATIVE`.\n goodServiceFilter:\n type: string\n x-dcl-go-name: GoodServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying good service provided.\n Must have `ValueType = DOUBLE` or `ValueType = INT64` and\n must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n totalServiceFilter:\n type: string\n x-dcl-go-name: TotalServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying total demanded service.\n Must have `ValueType = DOUBLE` or `ValueType = INT64` and\n must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n windowsBased:\n type: object\n x-dcl-go-name: WindowsBased\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBased\n description: Windows-based SLIs\n x-dcl-conflicts:\n - basicSli\n - requestBased\n properties:\n goodBadMetricFilter:\n type: string\n x-dcl-go-name: GoodBadMetricFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` with `ValueType = BOOL`. The window\n is good if any `true` values appear in the window.\n x-dcl-conflicts:\n - goodTotalRatioThreshold\n - metricMeanInRange\n - metricSumInRange\n goodTotalRatioThreshold:\n type: object\n x-dcl-go-name: GoodTotalRatioThreshold\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThreshold\n description: A window is good if its `performance` is high enough.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - metricMeanInRange\n - metricSumInRange\n properties:\n basicSliPerformance:\n type: object\n x-dcl-go-name: BasicSliPerformance\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformance\n description: '`BasicSli` to evaluate to judge window quality.'\n x-dcl-conflicts:\n - performance\n properties:\n availability:\n type: object\n x-dcl-go-name: Availability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceAvailability\n description: Good service is defined to be the count of\n requests made to this service that return successfully.\n x-dcl-conflicts:\n - latency\n - operationAvailability\n - operationLatency\n latency:\n type: object\n x-dcl-go-name: Latency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceLatency\n description: Good service is defined to be the count of\n requests made to this service that are fast enough with\n respect to `latency.threshold`.\n x-dcl-conflicts:\n - availability\n - operationAvailability\n - operationLatency\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceLatencyExperienceEnum\n description: 'A description of the experience associated\n with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count\n of requests made to this service that return in no\n more than `threshold`.\n location:\n type: array\n x-dcl-go-name: Location\n description: 'OPTIONAL: The set of locations to which this\n SLI is relevant. Telemetry from other locations will not\n be used to calculate performance for this SLI. If omitted,\n this SLI applies to all locations in which the Service\n has activity. For service types that don''t support breaking\n down by location, setting this field will result in an\n error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n method:\n type: array\n x-dcl-go-name: Method\n description: 'OPTIONAL: The set of RPCs to which this SLI\n is relevant. Telemetry from other methods will not be\n used to calculate performance for this SLI. If omitted,\n this SLI applies to all the Service''s methods. For service\n types that don''t support breaking down by method, setting\n this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n operationAvailability:\n type: object\n x-dcl-go-name: OperationAvailability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationAvailability\n description: Good service is defined to be the count of\n operations performed by this service that return successfully\n x-dcl-conflicts:\n - availability\n - latency\n - operationLatency\n operationLatency:\n type: object\n x-dcl-go-name: OperationLatency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationLatency\n description: Good service is defined to be the count of\n operations performed by this service that are fast enough\n with respect to `operation_latency.threshold`.\n x-dcl-conflicts:\n - availability\n - latency\n - operationAvailability\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationLatencyExperienceEnum\n description: 'A description of the experience associated\n with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count\n of operations that are completed in no more than `threshold`.\n version:\n type: array\n x-dcl-go-name: Version\n description: 'OPTIONAL: The set of API versions to which\n this SLI is relevant. Telemetry from other API versions\n will not be used to calculate performance for this SLI.\n If omitted, this SLI applies to all API versions. For\n service types that don''t support breaking down by version,\n setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n performance:\n type: object\n x-dcl-go-name: Performance\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformance\n description: '`RequestBasedSli` to evaluate to judge window\n quality.'\n x-dcl-conflicts:\n - basicSliPerformance\n properties:\n distributionCut:\n type: object\n x-dcl-go-name: DistributionCut\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceDistributionCut\n description: '`distribution_cut` is used when `good_service`\n is a count of values aggregated in a `Distribution` that\n fall into a good range. The `total_service` is the total\n count of all values aggregated in the `Distribution`.'\n x-dcl-conflicts:\n - goodTotalRatio\n properties:\n distributionFilter:\n type: string\n x-dcl-go-name: DistributionFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` aggregating values. Must\n have `ValueType = DISTRIBUTION` and `MetricKind =\n DELTA` or `MetricKind = CUMULATIVE`.\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceDistributionCutRange\n description: Range of values considered \"good.\" For\n a one-sided range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n goodTotalRatio:\n type: object\n x-dcl-go-name: GoodTotalRatio\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceGoodTotalRatio\n description: '`good_total_ratio` is used when the ratio\n of `good_service` to `total_service` is computed from\n two `TimeSeries`.'\n x-dcl-conflicts:\n - distributionCut\n properties:\n badServiceFilter:\n type: string\n x-dcl-go-name: BadServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying bad service,\n either demanded service that was not provided or demanded\n service that was of inadequate quality. Must have\n `ValueType = DOUBLE` or `ValueType = INT64` and must\n have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n goodServiceFilter:\n type: string\n x-dcl-go-name: GoodServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying good service\n provided. Must have `ValueType = DOUBLE` or `ValueType\n = INT64` and must have `MetricKind = DELTA` or `MetricKind\n = CUMULATIVE`.\n totalServiceFilter:\n type: string\n x-dcl-go-name: TotalServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying total demanded\n service. Must have `ValueType = DOUBLE` or `ValueType\n = INT64` and must have `MetricKind = DELTA` or `MetricKind\n = CUMULATIVE`.\n threshold:\n type: number\n format: double\n x-dcl-go-name: Threshold\n description: If window `performance >= threshold`, the window\n is counted as good.\n metricMeanInRange:\n type: object\n x-dcl-go-name: MetricMeanInRange\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricMeanInRange\n description: A window is good if the metric's value is in a good\n range, averaged across returned streams.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - goodTotalRatioThreshold\n - metricSumInRange\n properties:\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricMeanInRangeRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n timeSeries:\n type: string\n x-dcl-go-name: TimeSeries\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying the `TimeSeries` to use for evaluating window quality.\n metricSumInRange:\n type: object\n x-dcl-go-name: MetricSumInRange\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricSumInRange\n description: A window is good if the metric's value is in a good\n range, summed across returned streams.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - goodTotalRatioThreshold\n - metricMeanInRange\n properties:\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricSumInRangeRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n timeSeries:\n type: string\n x-dcl-go-name: TimeSeries\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying the `TimeSeries` to use for evaluating window quality.\n windowPeriod:\n type: string\n x-dcl-go-name: WindowPeriod\n description: Duration over which window quality is evaluated. Must\n be an integer fraction of a day and at least `60s`.\n serviceManagementOwned:\n type: boolean\n x-dcl-go-name: ServiceManagementOwned\n readOnly: true\n description: Output only. If set, this SLO is managed at the [Service Management](https://cloud.google.com/service-management/overview)\n level. Therefore the service yaml file is the source of truth for this\n SLO, and API `Update` and `Delete` operations are forbidden.\n x-kubernetes-immutable: true\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: Labels which have been used to annotate the service-level objective.\n Label keys must start with a letter. Label keys and values may contain\n lowercase letters, numbers, underscores, and dashes. Label keys and values\n have a maximum length of 63 characters, and must be less than 128 bytes\n in size. Up to 64 label entries may be stored. For labels which do not\n have a semantic value, the empty string may be supplied for the label\n value.\n") -// 35870 bytes -// MD5: 3a16a4078396e9c8b930edfc33e07e70 +// 35895 bytes +// MD5: e0c78a0304e14d04eb32620f0b94294b diff --git a/services/google/monitoring/alpha/service_level_objective_schema.go b/services/google/monitoring/alpha/service_level_objective_schema.go index 94fd775ad8..9301758c80 100755 --- a/services/google/monitoring/alpha/service_level_objective_schema.go +++ b/services/google/monitoring/alpha/service_level_objective_schema.go @@ -23,6 +23,7 @@ func DCLServiceLevelObjectiveSchema() *dcl.Schema { Title: "Monitoring/ServiceLevelObjective", Description: "The Monitoring ServiceLevelObjective resource", StructName: "ServiceLevelObjective", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/alpha/service_schema.go b/services/google/monitoring/alpha/service_schema.go index da35c566bd..172ae65829 100755 --- a/services/google/monitoring/alpha/service_schema.go +++ b/services/google/monitoring/alpha/service_schema.go @@ -23,6 +23,7 @@ func DCLServiceSchema() *dcl.Schema { Title: "Monitoring/Service", Description: "The Monitoring Service resource", StructName: "Service", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/alpha/uptime_check_config.yaml b/services/google/monitoring/alpha/uptime_check_config.yaml index cfbbffd5ef..55714b5cb3 100755 --- a/services/google/monitoring/alpha/uptime_check_config.yaml +++ b/services/google/monitoring/alpha/uptime_check_config.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/UptimeCheckConfig description: The Monitoring UptimeCheckConfig resource x-dcl-struct-name: UptimeCheckConfig + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/alpha/uptime_check_config_alpha_yaml_embed.go b/services/google/monitoring/alpha/uptime_check_config_alpha_yaml_embed.go index 1a94d8a8d5..1b6178889f 100755 --- a/services/google/monitoring/alpha/uptime_check_config_alpha_yaml_embed.go +++ b/services/google/monitoring/alpha/uptime_check_config_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/alpha/uptime_check_config.yaml -var YAML_uptime_check_config = []byte("info:\n title: Monitoring/UptimeCheckConfig\n description: The Monitoring UptimeCheckConfig resource\n x-dcl-struct-name: UptimeCheckConfig\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n apply:\n description: The function used to apply information about a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n delete:\n description: The function used to delete a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n deleteAll:\n description: The function used to delete all UptimeCheckConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many UptimeCheckConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n UptimeCheckConfig:\n title: UptimeCheckConfig\n x-dcl-id: projects/{{project}}/uptimeCheckConfigs/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - timeout\n properties:\n contentMatchers:\n type: array\n x-dcl-go-name: ContentMatchers\n description: The content that is expected to appear in the data returned\n by the target server against which the check is run. Currently, only\n the first entry in the `content_matchers` list is supported, and additional\n entries will be ignored. This field is optional and should only be specified\n if a content match is required as part of the/ Uptime check.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: UptimeCheckConfigContentMatchers\n required:\n - content\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n matcher:\n type: string\n x-dcl-go-name: Matcher\n x-dcl-go-type: UptimeCheckConfigContentMatchersMatcherEnum\n description: ' Possible values: CONTENT_MATCHER_OPTION_UNSPECIFIED,\n CONTAINS_STRING, NOT_CONTAINS_STRING, MATCHES_REGEX, NOT_MATCHES_REGEX'\n default: CONTAINS_STRING\n enum:\n - CONTENT_MATCHER_OPTION_UNSPECIFIED\n - CONTAINS_STRING\n - NOT_CONTAINS_STRING\n - MATCHES_REGEX\n - NOT_MATCHES_REGEX\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A human-friendly name for the Uptime check configuration. The\n display name should be unique within a Stackdriver Workspace in order\n to make it easier to identify; however, uniqueness is not enforced. Required.\n httpCheck:\n type: object\n x-dcl-go-name: HttpCheck\n x-dcl-go-type: UptimeCheckConfigHttpCheck\n description: Contains information needed to make an HTTP or HTTPS check.\n x-dcl-conflicts:\n - tcpCheck\n properties:\n authInfo:\n type: object\n x-dcl-go-name: AuthInfo\n x-dcl-go-type: UptimeCheckConfigHttpCheckAuthInfo\n description: The authentication information. Optional when creating\n an HTTP check; defaults to empty.\n required:\n - username\n - password\n properties:\n password:\n type: string\n x-dcl-go-name: Password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n username:\n type: string\n x-dcl-go-name: Username\n body:\n type: string\n x-dcl-go-name: Body\n description: 'The request body associated with the HTTP POST request.\n If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded.\n Users can provide a `Content-Length` header via the `headers` field\n or the API will do so. If the `request_method` is `GET` and `body`\n is not empty, the API will return an error. The maximum byte size\n is 1 megabyte. Note: As with all `bytes` fields JSON representations\n are base64 encoded. e.g.: \"foo=bar\" in URL-encoded form is \"foo%3Dbar\"\n and in base64 encoding is \"Zm9vJTI1M0RiYXI=\".'\n contentType:\n type: string\n x-dcl-go-name: ContentType\n x-dcl-go-type: UptimeCheckConfigHttpCheckContentTypeEnum\n description: 'The content type to use for the check. Possible values:\n TYPE_UNSPECIFIED, URL_ENCODED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - URL_ENCODED\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: The list of headers to send as part of the Uptime check\n request. If two headers have the same key and different values, they\n should be entered as a single header, with the value being a comma-separated\n list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt\n (page 31). Entering two separate headers with the same key in a Create\n call will cause the first to be overwritten by the second. The maximum\n number of headers allowed is 100.\n x-dcl-server-default: true\n x-dcl-mutable-unreadable: true\n maskHeaders:\n type: boolean\n x-dcl-go-name: MaskHeaders\n description: Boolean specifying whether to encrypt the header information.\n Encryption should be specified for any headers related to authentication\n that you do not wish to be seen when retrieving the configuration.\n The server will be responsible for encrypting the headers. On Get/List\n calls, if `mask_headers` is set to `true` then the headers will be\n obscured with `******.`\n x-kubernetes-immutable: true\n path:\n type: string\n x-dcl-go-name: Path\n description: Optional (defaults to \"/\"). The path to the page against\n which to run the check. Will be combined with the `host` (specified\n within the `monitored_resource`) and `port` to construct the full\n URL. If the provided path does not begin with \"/\", a \"/\" will be prepended\n automatically.\n default: /\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: Optional (defaults to 80 when `use_ssl` is `false`, and\n 443 when `use_ssl` is `true`). The TCP port on the HTTP server against\n which to run the check. Will be combined with host (specified within\n the `monitored_resource`) and `path` to construct the full URL.\n x-dcl-server-default: true\n requestMethod:\n type: string\n x-dcl-go-name: RequestMethod\n x-dcl-go-type: UptimeCheckConfigHttpCheckRequestMethodEnum\n description: The HTTP request method to use for the check. If set to\n `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.\n x-kubernetes-immutable: true\n default: GET\n enum:\n - METHOD_UNSPECIFIED\n - GET\n - POST\n useSsl:\n type: boolean\n x-dcl-go-name: UseSsl\n description: If `true`, use HTTPS instead of HTTP to run the check.\n validateSsl:\n type: boolean\n x-dcl-go-name: ValidateSsl\n description: Boolean specifying whether to include SSL certificate validation\n as a part of the Uptime check. Only applies to checks where `monitored_resource`\n is set to `uptime_url`. If `use_ssl` is `false`, setting `validate_ssl`\n to `true` has no effect.\n monitoredResource:\n type: object\n x-dcl-go-name: MonitoredResource\n x-dcl-go-type: UptimeCheckConfigMonitoredResource\n description: 'The [monitored resource](https://cloud.google.com/monitoring/api/resources)\n associated with the configuration. The following monitored resource types\n are supported for Uptime checks: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer`'\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - resourceGroup\n required:\n - type\n - filterLabels\n properties:\n filterLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: FilterLabels\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'A unique resource name for this Uptime check configuration.\n The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]\n This field should be omitted when creating the Uptime check configuration;\n on create, the resource name is assigned by the server and included in\n the response.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n period:\n type: string\n x-dcl-go-name: Period\n description: How often, in seconds, the Uptime check is performed. Currently,\n the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s`\n (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.\n default: 60s\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this uptime check config.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceGroup:\n type: object\n x-dcl-go-name: ResourceGroup\n x-dcl-go-type: UptimeCheckConfigResourceGroup\n description: The group resource associated with the configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - monitoredResource\n properties:\n groupId:\n type: string\n x-dcl-go-name: GroupId\n description: The group of resources being monitored. Should be only\n the `[GROUP_ID]`, and not the full-path `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Monitoring/Group\n field: name\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: UptimeCheckConfigResourceGroupResourceTypeEnum\n description: 'The resource type of the group members. Possible values:\n RESOURCE_TYPE_UNSPECIFIED, INSTANCE, AWS_ELB_LOAD_BALANCER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - INSTANCE\n - AWS_ELB_LOAD_BALANCER\n selectedRegions:\n type: array\n x-dcl-go-name: SelectedRegions\n description: The list of regions from which the check will be run. Some\n regions contain one location, and others contain more than one. If this\n field is specified, enough regions must be provided to include a minimum\n of 3 locations. Not specifying this field will result in Uptime checks\n running from all available regions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tcpCheck:\n type: object\n x-dcl-go-name: TcpCheck\n x-dcl-go-type: UptimeCheckConfigTcpCheck\n description: Contains information needed to make a TCP check.\n x-dcl-conflicts:\n - httpCheck\n required:\n - port\n properties:\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: The TCP port on the server against which to run the check.\n Will be combined with host (specified within the `monitored_resource`)\n to construct the full URL. Required.\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: The maximum amount of time to wait for the request to complete\n (must be between 1 and 60 seconds). Required.\n") +var YAML_uptime_check_config = []byte("info:\n title: Monitoring/UptimeCheckConfig\n description: The Monitoring UptimeCheckConfig resource\n x-dcl-struct-name: UptimeCheckConfig\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n apply:\n description: The function used to apply information about a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n delete:\n description: The function used to delete a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n deleteAll:\n description: The function used to delete all UptimeCheckConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many UptimeCheckConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n UptimeCheckConfig:\n title: UptimeCheckConfig\n x-dcl-id: projects/{{project}}/uptimeCheckConfigs/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - timeout\n properties:\n contentMatchers:\n type: array\n x-dcl-go-name: ContentMatchers\n description: The content that is expected to appear in the data returned\n by the target server against which the check is run. Currently, only\n the first entry in the `content_matchers` list is supported, and additional\n entries will be ignored. This field is optional and should only be specified\n if a content match is required as part of the/ Uptime check.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: UptimeCheckConfigContentMatchers\n required:\n - content\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n matcher:\n type: string\n x-dcl-go-name: Matcher\n x-dcl-go-type: UptimeCheckConfigContentMatchersMatcherEnum\n description: ' Possible values: CONTENT_MATCHER_OPTION_UNSPECIFIED,\n CONTAINS_STRING, NOT_CONTAINS_STRING, MATCHES_REGEX, NOT_MATCHES_REGEX'\n default: CONTAINS_STRING\n enum:\n - CONTENT_MATCHER_OPTION_UNSPECIFIED\n - CONTAINS_STRING\n - NOT_CONTAINS_STRING\n - MATCHES_REGEX\n - NOT_MATCHES_REGEX\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A human-friendly name for the Uptime check configuration. The\n display name should be unique within a Stackdriver Workspace in order\n to make it easier to identify; however, uniqueness is not enforced. Required.\n httpCheck:\n type: object\n x-dcl-go-name: HttpCheck\n x-dcl-go-type: UptimeCheckConfigHttpCheck\n description: Contains information needed to make an HTTP or HTTPS check.\n x-dcl-conflicts:\n - tcpCheck\n properties:\n authInfo:\n type: object\n x-dcl-go-name: AuthInfo\n x-dcl-go-type: UptimeCheckConfigHttpCheckAuthInfo\n description: The authentication information. Optional when creating\n an HTTP check; defaults to empty.\n required:\n - username\n - password\n properties:\n password:\n type: string\n x-dcl-go-name: Password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n username:\n type: string\n x-dcl-go-name: Username\n body:\n type: string\n x-dcl-go-name: Body\n description: 'The request body associated with the HTTP POST request.\n If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded.\n Users can provide a `Content-Length` header via the `headers` field\n or the API will do so. If the `request_method` is `GET` and `body`\n is not empty, the API will return an error. The maximum byte size\n is 1 megabyte. Note: As with all `bytes` fields JSON representations\n are base64 encoded. e.g.: \"foo=bar\" in URL-encoded form is \"foo%3Dbar\"\n and in base64 encoding is \"Zm9vJTI1M0RiYXI=\".'\n contentType:\n type: string\n x-dcl-go-name: ContentType\n x-dcl-go-type: UptimeCheckConfigHttpCheckContentTypeEnum\n description: 'The content type to use for the check. Possible values:\n TYPE_UNSPECIFIED, URL_ENCODED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - URL_ENCODED\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: The list of headers to send as part of the Uptime check\n request. If two headers have the same key and different values, they\n should be entered as a single header, with the value being a comma-separated\n list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt\n (page 31). Entering two separate headers with the same key in a Create\n call will cause the first to be overwritten by the second. The maximum\n number of headers allowed is 100.\n x-dcl-server-default: true\n x-dcl-mutable-unreadable: true\n maskHeaders:\n type: boolean\n x-dcl-go-name: MaskHeaders\n description: Boolean specifying whether to encrypt the header information.\n Encryption should be specified for any headers related to authentication\n that you do not wish to be seen when retrieving the configuration.\n The server will be responsible for encrypting the headers. On Get/List\n calls, if `mask_headers` is set to `true` then the headers will be\n obscured with `******.`\n x-kubernetes-immutable: true\n path:\n type: string\n x-dcl-go-name: Path\n description: Optional (defaults to \"/\"). The path to the page against\n which to run the check. Will be combined with the `host` (specified\n within the `monitored_resource`) and `port` to construct the full\n URL. If the provided path does not begin with \"/\", a \"/\" will be prepended\n automatically.\n default: /\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: Optional (defaults to 80 when `use_ssl` is `false`, and\n 443 when `use_ssl` is `true`). The TCP port on the HTTP server against\n which to run the check. Will be combined with host (specified within\n the `monitored_resource`) and `path` to construct the full URL.\n x-dcl-server-default: true\n requestMethod:\n type: string\n x-dcl-go-name: RequestMethod\n x-dcl-go-type: UptimeCheckConfigHttpCheckRequestMethodEnum\n description: The HTTP request method to use for the check. If set to\n `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.\n x-kubernetes-immutable: true\n default: GET\n enum:\n - METHOD_UNSPECIFIED\n - GET\n - POST\n useSsl:\n type: boolean\n x-dcl-go-name: UseSsl\n description: If `true`, use HTTPS instead of HTTP to run the check.\n validateSsl:\n type: boolean\n x-dcl-go-name: ValidateSsl\n description: Boolean specifying whether to include SSL certificate validation\n as a part of the Uptime check. Only applies to checks where `monitored_resource`\n is set to `uptime_url`. If `use_ssl` is `false`, setting `validate_ssl`\n to `true` has no effect.\n monitoredResource:\n type: object\n x-dcl-go-name: MonitoredResource\n x-dcl-go-type: UptimeCheckConfigMonitoredResource\n description: 'The [monitored resource](https://cloud.google.com/monitoring/api/resources)\n associated with the configuration. The following monitored resource types\n are supported for Uptime checks: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer`'\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - resourceGroup\n required:\n - type\n - filterLabels\n properties:\n filterLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: FilterLabels\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'A unique resource name for this Uptime check configuration.\n The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]\n This field should be omitted when creating the Uptime check configuration;\n on create, the resource name is assigned by the server and included in\n the response.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n period:\n type: string\n x-dcl-go-name: Period\n description: How often, in seconds, the Uptime check is performed. Currently,\n the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s`\n (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.\n default: 60s\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this uptime check config.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceGroup:\n type: object\n x-dcl-go-name: ResourceGroup\n x-dcl-go-type: UptimeCheckConfigResourceGroup\n description: The group resource associated with the configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - monitoredResource\n properties:\n groupId:\n type: string\n x-dcl-go-name: GroupId\n description: The group of resources being monitored. Should be only\n the `[GROUP_ID]`, and not the full-path `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Monitoring/Group\n field: name\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: UptimeCheckConfigResourceGroupResourceTypeEnum\n description: 'The resource type of the group members. Possible values:\n RESOURCE_TYPE_UNSPECIFIED, INSTANCE, AWS_ELB_LOAD_BALANCER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - INSTANCE\n - AWS_ELB_LOAD_BALANCER\n selectedRegions:\n type: array\n x-dcl-go-name: SelectedRegions\n description: The list of regions from which the check will be run. Some\n regions contain one location, and others contain more than one. If this\n field is specified, enough regions must be provided to include a minimum\n of 3 locations. Not specifying this field will result in Uptime checks\n running from all available regions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tcpCheck:\n type: object\n x-dcl-go-name: TcpCheck\n x-dcl-go-type: UptimeCheckConfigTcpCheck\n description: Contains information needed to make a TCP check.\n x-dcl-conflicts:\n - httpCheck\n required:\n - port\n properties:\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: The TCP port on the server against which to run the check.\n Will be combined with host (specified within the `monitored_resource`)\n to construct the full URL. Required.\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: The maximum amount of time to wait for the request to complete\n (must be between 1 and 60 seconds). Required.\n") -// 13728 bytes -// MD5: b69a989e00bd7ad58d29d796bb1ef505 +// 13753 bytes +// MD5: 9d5b7d4fea700826f18d41692fc984d7 diff --git a/services/google/monitoring/alpha/uptime_check_config_schema.go b/services/google/monitoring/alpha/uptime_check_config_schema.go index 9bb2d2ad2a..a37dc065c8 100755 --- a/services/google/monitoring/alpha/uptime_check_config_schema.go +++ b/services/google/monitoring/alpha/uptime_check_config_schema.go @@ -23,6 +23,7 @@ func DCLUptimeCheckConfigSchema() *dcl.Schema { Title: "Monitoring/UptimeCheckConfig", Description: "The Monitoring UptimeCheckConfig resource", StructName: "UptimeCheckConfig", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/beta/dashboard.yaml b/services/google/monitoring/beta/dashboard.yaml index e0e4237704..3032fe4027 100755 --- a/services/google/monitoring/beta/dashboard.yaml +++ b/services/google/monitoring/beta/dashboard.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/Dashboard description: The Monitoring Dashboard resource x-dcl-struct-name: Dashboard + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/beta/dashboard_beta_yaml_embed.go b/services/google/monitoring/beta/dashboard_beta_yaml_embed.go index 793c6ecf07..1b75016784 100755 --- a/services/google/monitoring/beta/dashboard_beta_yaml_embed.go +++ b/services/google/monitoring/beta/dashboard_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/beta/dashboard.yaml -var YAML_dashboard = []byte("info:\n title: Monitoring/Dashboard\n description: The Monitoring Dashboard resource\n x-dcl-struct-name: Dashboard\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n apply:\n description: The function used to apply information about a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n delete:\n description: The function used to delete a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n deleteAll:\n description: The function used to delete all Dashboard\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Dashboard\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Dashboard:\n title: Dashboard\n x-dcl-id: projects/{{project}}/dashboards/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - displayName\n - project\n properties:\n columnLayout:\n type: object\n x-dcl-go-name: ColumnLayout\n x-dcl-go-type: DashboardColumnLayout\n description: The content is divided into equally spaced columns and the\n widgets are arranged vertically.\n x-dcl-conflicts:\n - gridLayout\n - mosaicLayout\n - rowLayout\n properties:\n columns:\n type: array\n x-dcl-go-name: Columns\n description: The columns of content to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumns\n properties:\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: The relative weight of this column. The column weight\n is used to adjust the width of columns on the screen (relative\n to peers). Greater the weight, greater the width of the column\n on the screen. If omitted, a value of 1 is used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The display widgets arranged vertically in this column.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries\n to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field\n is optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a\n danger threshold that triggers above. Similarly, if\n x is above/below a warning threshold that triggers\n above/below, then the scorecard is in a warning state\n - unless x also puts it in a danger state. (Danger\n trumps warning.) As an example, consider a scorecard\n with the following four thresholds: { value: 90, category:\n ''DANGER'', trigger: ''ABOVE'', },: { value: 70, category:\n ''WARNING'', trigger: ''ABOVE'', }, { value: 10, category:\n ''DANGER'', trigger: ''BELOW'', }, { value: 20, category:\n ''WARNING'', trigger: ''BELOW'', } Then: values\n less than or equal to 10 would put the scorecard in\n a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal\n to 70 but less than 90 a WARNING state, and values\n greater than or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsText\n description: A raw string or markdown displaying textual\n content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a\n string with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data\n point frequency for this data set, implemented\n by specifying the minimum alignment period to\n use in a time series query For example, if the\n data is published once every 10 minutes, the\n `min_alignment_period` should be at least 10\n minutes. It would not make sense to fetch and\n align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted\n on the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time\n series data is returned. Use this field\n to combine multiple time series for\n different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in\n fetched time series. If non-empty, this\n unit will override any unit that accompanies\n fetched data. The format is the same as\n the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The mutable, human-readable name.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: \\`etag\\` is used for optimistic concurrency control as a way\n to help prevent simultaneous updates of a policy from overwriting each\n other. An \\`etag\\` is returned in the response to \\`GetDashboard\\`, and\n users are expected to put that etag in the request to \\`UpdateDashboard\\`\n to ensure that their change will be applied to the same version of the\n Dashboard configuration. The field should not be passed during dashboard\n creation.\n x-kubernetes-immutable: true\n gridLayout:\n type: object\n x-dcl-go-name: GridLayout\n x-dcl-go-type: DashboardGridLayout\n description: Content is arranged with a basic layout that re-flows a simple\n list of informational elements like widgets or tiles.\n x-dcl-conflicts:\n - mosaicLayout\n - rowLayout\n - columnLayout\n properties:\n columns:\n type: integer\n format: int64\n x-dcl-go-name: Columns\n description: The number of columns into which the view's width is divided.\n If omitted or set to zero, a system default will be used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The informational elements that are arranged into the columns\n row-first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardGridLayoutWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardGridLayoutWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries to return.\n See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned. An\n empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect logs\n for. Currently only projects are supported. If empty, the\n widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart. The\n value of the chart should always be greater than or\n equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart. The\n value of the chart should always be less than or equal\n to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency in\n the chart implemented by specifying the minimum alignment\n period to use in a time series query. For example, if\n the data is published once every 10 minutes it would\n not make sense to fetch and align data at one minute\n intervals. This field is optional and exists only as\n a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to show\n in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state of\n the scorecard given the time series'' current value. For\n an actual value x, the scorecard is in a danger state if\n x is less than or equal to a danger threshold that triggers\n below, or greater than or equal to a danger threshold that\n triggers above. Similarly, if x is above/below a warning\n threshold that triggers above/below, then the scorecard\n is in a warning state - unless x also puts it in a danger\n state. (Danger trumps warning.) As an example, consider\n a scorecard with the following four thresholds: { value:\n 90, category: ''DANGER'', trigger: ''ABOVE'', },: { value:\n 70, category: ''WARNING'', trigger: ''ABOVE'', }, { value:\n 10, category: ''DANGER'', trigger: ''BELOW'', }, { value:\n 20, category: ''WARNING'', trigger: ''BELOW'', } Then:\n values less than or equal to 10 would put the scorecard\n in a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal to 70\n but less than 90 a WARNING state, and values greater than\n or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold. Color\n is not allowed in a XyChart. Possible values: COLOR_UNSPECIFIED,\n GREY, BLUE, GREEN, YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible values:\n DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value should\n be defined in the native scale of the metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series data\n from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources, and\n projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter. Possible\n values: DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow to\n pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied to each\n time series independently to produce the value\n which will be used to compare the time series\n to other time series. Possible values: METHOD_UNSPECIFIED,\n METHOD_MEAN, METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after `aggregation`\n is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between two time\n series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter. Possible\n values: DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow to\n pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied to each\n time series independently to produce the value\n which will be used to compare the time series\n to other time series. Possible values: METHOD_UNSPECIFIED,\n METHOD_MEAN, METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after the\n ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched time\n series. If non-empty, this unit will override any unit\n that accompanies fetched data. The format is the same\n as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardGridLayoutWidgetsText\n description: A raw string or markdown displaying textual content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardGridLayoutWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a string\n with interpolations of the form `${label_name}`, which\n will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data point\n frequency for this data set, implemented by specifying\n the minimum alignment period to use in a time series\n query For example, if the data is published once every\n 10 minutes, the `min_alignment_period` should be at\n least 10 minutes. It would not make sense to fetch\n and align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted on the\n chart. Possible values: PLOT_TYPE_UNSPECIFIED, LINE,\n STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across the\n chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold. Color\n is not allowed in a XyChart. Possible values: COLOR_UNSPECIFIED,\n GREY, BLUE, GREEN, YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible values:\n DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value should\n be defined in the native scale of the metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison chart.\n A comparison chart simultaneously shows values from two\n similar-length time periods (e.g., week-over-week metrics).\n The duration must be positive, and it can only be applied\n to charts with data sets of LINE plot type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear scale\n is used. Possible values: SCALE_UNSPECIFIED, LINEAR,\n LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear scale\n is used. Possible values: SCALE_UNSPECIFIED, LINEAR,\n LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n mosaicLayout:\n type: object\n x-dcl-go-name: MosaicLayout\n x-dcl-go-type: DashboardMosaicLayout\n description: The content is arranged as a grid of tiles, with each content\n widget occupying one or more tiles.\n x-dcl-conflicts:\n - gridLayout\n - rowLayout\n - columnLayout\n properties:\n columns:\n type: integer\n format: int64\n x-dcl-go-name: Columns\n description: The number of columns in the mosaic grid.\n tiles:\n type: array\n x-dcl-go-name: Tiles\n description: The tiles to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTiles\n properties:\n height:\n type: integer\n format: int64\n x-dcl-go-name: Height\n description: The height of the tile, measured in grid squares.\n widget:\n type: object\n x-dcl-go-name: Widget\n x-dcl-go-type: DashboardMosaicLayoutTilesWidget\n description: The informational widget contained in the tile.\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries to\n return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field is\n optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a danger\n threshold that triggers above. Similarly, if x is above/below\n a warning threshold that triggers above/below, then\n the scorecard is in a warning state - unless x also\n puts it in a danger state. (Danger trumps warning.) As\n an example, consider a scorecard with the following\n four thresholds: { value: 90, category: ''DANGER'', trigger:\n ''ABOVE'', },: { value: 70, category: ''WARNING'', trigger:\n ''ABOVE'', }, { value: 10, category: ''DANGER'', trigger:\n ''BELOW'', }, { value: 20, category: ''WARNING'', trigger:\n ''BELOW'', } Then: values less than or equal to 10\n would put the scorecard in a DANGER state, values greater\n than 10 but less than or equal to 20 a WARNING state,\n values strictly between 20 and 70 an OK state, values\n greater than or equal to 70 but less than 90 a WARNING\n state, and values greater than or equal to 90 a DANGER\n state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible values:\n COLOR_UNSPECIFIED, GREY, BLUE, GREEN, YELLOW,\n ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter.\n Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series. Possible\n values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between two\n time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is\n used to divide the data in all the [time\n series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series into\n a single time series, where the value\n of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time series.\n Reduction can yield a time series with\n a different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each individual\n time series is a member of exactly one\n subset. The `cross_series_reducer` is\n applied to each subset of time series.\n It is not possible to reduce across\n different resource types, so this field\n implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are\n aggregated away. If `group_by_fields`\n is not specified and all the time series\n have the same resource type, then the\n time series are aggregated into a single\n output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single\n time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on\n the `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified\n and not equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error\n is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is\n used to divide the data in all the [time\n series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series into\n a single time series, where the value\n of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time series.\n Reduction can yield a time series with\n a different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each individual\n time series is a member of exactly one\n subset. The `cross_series_reducer` is\n applied to each subset of time series.\n It is not possible to reduce across\n different resource types, so this field\n implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are\n aggregated away. If `group_by_fields`\n is not specified and all the time series\n have the same resource type, then the\n time series are aggregated into a single\n output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single\n time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on\n the `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified\n and not equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error\n is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter.\n Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series. Possible\n values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetText\n description: A raw string or markdown displaying textual content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a string\n with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data point\n frequency for this data set, implemented by specifying\n the minimum alignment period to use in a time\n series query For example, if the data is published\n once every 10 minutes, the `min_alignment_period`\n should be at least 10 minutes. It would not make\n sense to fetch and align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted on\n the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass through\n the filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to\n allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently\n to produce the value which will be\n used to compare the time series to\n other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN, METHOD_MAX,\n METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the\n data. The value must be at least\n 60 seconds. If a per-series aligner\n other than `ALIGN_NONE` is specified,\n this field is required or an error\n is returned. If no per-series\n aligner is specified, or the aligner\n `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not\n all reducer operations can be\n applied to all time series. The\n valid choices depend on the `metric_kind`\n and the `value_type` of the original\n time series. Reduction can yield\n a time series with a different\n `metric_kind` or `value_type`\n than the input time series. Time\n series data must first be aligned\n (see `per_series_aligner`) in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets prior\n to applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to\n reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the\n data. The value must be at least\n 60 seconds. If a per-series aligner\n other than `ALIGN_NONE` is specified,\n this field is required or an error\n is returned. If no per-series\n aligner is specified, or the aligner\n `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not\n all reducer operations can be\n applied to all time series. The\n valid choices depend on the `metric_kind`\n and the `value_type` of the original\n time series. Reduction can yield\n a time series with a different\n `metric_kind` or `value_type`\n than the input time series. Time\n series data must first be aligned\n (see `per_series_aligner`) in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets prior\n to applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to\n reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass through\n the filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to\n allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently\n to produce the value which will be\n used to compare the time series to\n other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN, METHOD_MAX,\n METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will\n override any unit that accompanies fetched\n data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible values:\n COLOR_UNSPECIFIED, GREY, BLUE, GREEN, YELLOW,\n ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n width:\n type: integer\n format: int64\n x-dcl-go-name: Width\n description: The width of the tile, measured in grid squares.\n xPos:\n type: integer\n format: int64\n x-dcl-go-name: XPos\n description: The zero-indexed position of the tile in grid squares\n relative to the left edge of the grid.\n yPos:\n type: integer\n format: int64\n x-dcl-go-name: YPos\n description: The zero-indexed position of the tile in grid squares\n relative to the top edge of the grid.\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The resource name of the dashboard.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rowLayout:\n type: object\n x-dcl-go-name: RowLayout\n x-dcl-go-type: DashboardRowLayout\n description: The content is divided into equally spaced rows and the widgets\n are arranged horizontally.\n x-dcl-conflicts:\n - gridLayout\n - mosaicLayout\n - columnLayout\n properties:\n rows:\n type: array\n x-dcl-go-name: Rows\n description: The rows of content to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRows\n properties:\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: The relative weight of this row. The row weight is\n used to adjust the height of rows on the screen (relative to\n peers). Greater the weight, greater the height of the row on\n the screen. If omitted, a value of 1 is used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The display widgets arranged horizontally in this\n row.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries\n to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field\n is optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a\n danger threshold that triggers above. Similarly, if\n x is above/below a warning threshold that triggers\n above/below, then the scorecard is in a warning state\n - unless x also puts it in a danger state. (Danger\n trumps warning.) As an example, consider a scorecard\n with the following four thresholds: { value: 90, category:\n ''DANGER'', trigger: ''ABOVE'', },: { value: 70, category:\n ''WARNING'', trigger: ''ABOVE'', }, { value: 10, category:\n ''DANGER'', trigger: ''BELOW'', }, { value: 20, category:\n ''WARNING'', trigger: ''BELOW'', } Then: values\n less than or equal to 10 would put the scorecard in\n a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal\n to 70 but less than 90 a WARNING state, and values\n greater than or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsText\n description: A raw string or markdown displaying textual\n content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a\n string with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data\n point frequency for this data set, implemented\n by specifying the minimum alignment period to\n use in a time series query For example, if the\n data is published once every 10 minutes, the\n `min_alignment_period` should be at least 10\n minutes. It would not make sense to fetch and\n align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted\n on the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time\n series data is returned. Use this field\n to combine multiple time series for\n different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in\n fetched time series. If non-empty, this\n unit will override any unit that accompanies\n fetched data. The format is the same as\n the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n") +var YAML_dashboard = []byte("info:\n title: Monitoring/Dashboard\n description: The Monitoring Dashboard resource\n x-dcl-struct-name: Dashboard\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n apply:\n description: The function used to apply information about a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n delete:\n description: The function used to delete a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n deleteAll:\n description: The function used to delete all Dashboard\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Dashboard\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Dashboard:\n title: Dashboard\n x-dcl-id: projects/{{project}}/dashboards/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - displayName\n - project\n properties:\n columnLayout:\n type: object\n x-dcl-go-name: ColumnLayout\n x-dcl-go-type: DashboardColumnLayout\n description: The content is divided into equally spaced columns and the\n widgets are arranged vertically.\n x-dcl-conflicts:\n - gridLayout\n - mosaicLayout\n - rowLayout\n properties:\n columns:\n type: array\n x-dcl-go-name: Columns\n description: The columns of content to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumns\n properties:\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: The relative weight of this column. The column weight\n is used to adjust the width of columns on the screen (relative\n to peers). Greater the weight, greater the width of the column\n on the screen. If omitted, a value of 1 is used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The display widgets arranged vertically in this column.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries\n to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field\n is optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a\n danger threshold that triggers above. Similarly, if\n x is above/below a warning threshold that triggers\n above/below, then the scorecard is in a warning state\n - unless x also puts it in a danger state. (Danger\n trumps warning.) As an example, consider a scorecard\n with the following four thresholds: { value: 90, category:\n ''DANGER'', trigger: ''ABOVE'', },: { value: 70, category:\n ''WARNING'', trigger: ''ABOVE'', }, { value: 10, category:\n ''DANGER'', trigger: ''BELOW'', }, { value: 20, category:\n ''WARNING'', trigger: ''BELOW'', } Then: values\n less than or equal to 10 would put the scorecard in\n a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal\n to 70 but less than 90 a WARNING state, and values\n greater than or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsText\n description: A raw string or markdown displaying textual\n content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a\n string with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data\n point frequency for this data set, implemented\n by specifying the minimum alignment period to\n use in a time series query For example, if the\n data is published once every 10 minutes, the\n `min_alignment_period` should be at least 10\n minutes. It would not make sense to fetch and\n align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted\n on the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time\n series data is returned. Use this field\n to combine multiple time series for\n different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in\n fetched time series. If non-empty, this\n unit will override any unit that accompanies\n fetched data. The format is the same as\n the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The mutable, human-readable name.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: \\`etag\\` is used for optimistic concurrency control as a way\n to help prevent simultaneous updates of a policy from overwriting each\n other. An \\`etag\\` is returned in the response to \\`GetDashboard\\`, and\n users are expected to put that etag in the request to \\`UpdateDashboard\\`\n to ensure that their change will be applied to the same version of the\n Dashboard configuration. The field should not be passed during dashboard\n creation.\n x-kubernetes-immutable: true\n gridLayout:\n type: object\n x-dcl-go-name: GridLayout\n x-dcl-go-type: DashboardGridLayout\n description: Content is arranged with a basic layout that re-flows a simple\n list of informational elements like widgets or tiles.\n x-dcl-conflicts:\n - mosaicLayout\n - rowLayout\n - columnLayout\n properties:\n columns:\n type: integer\n format: int64\n x-dcl-go-name: Columns\n description: The number of columns into which the view's width is divided.\n If omitted or set to zero, a system default will be used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The informational elements that are arranged into the columns\n row-first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardGridLayoutWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardGridLayoutWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries to return.\n See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned. An\n empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect logs\n for. Currently only projects are supported. If empty, the\n widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart. The\n value of the chart should always be greater than or\n equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart. The\n value of the chart should always be less than or equal\n to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency in\n the chart implemented by specifying the minimum alignment\n period to use in a time series query. For example, if\n the data is published once every 10 minutes it would\n not make sense to fetch and align data at one minute\n intervals. This field is optional and exists only as\n a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to show\n in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state of\n the scorecard given the time series'' current value. For\n an actual value x, the scorecard is in a danger state if\n x is less than or equal to a danger threshold that triggers\n below, or greater than or equal to a danger threshold that\n triggers above. Similarly, if x is above/below a warning\n threshold that triggers above/below, then the scorecard\n is in a warning state - unless x also puts it in a danger\n state. (Danger trumps warning.) As an example, consider\n a scorecard with the following four thresholds: { value:\n 90, category: ''DANGER'', trigger: ''ABOVE'', },: { value:\n 70, category: ''WARNING'', trigger: ''ABOVE'', }, { value:\n 10, category: ''DANGER'', trigger: ''BELOW'', }, { value:\n 20, category: ''WARNING'', trigger: ''BELOW'', } Then:\n values less than or equal to 10 would put the scorecard\n in a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal to 70\n but less than 90 a WARNING state, and values greater than\n or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold. Color\n is not allowed in a XyChart. Possible values: COLOR_UNSPECIFIED,\n GREY, BLUE, GREEN, YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible values:\n DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value should\n be defined in the native scale of the metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series data\n from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources, and\n projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter. Possible\n values: DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow to\n pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied to each\n time series independently to produce the value\n which will be used to compare the time series\n to other time series. Possible values: METHOD_UNSPECIFIED,\n METHOD_MEAN, METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after `aggregation`\n is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between two time\n series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter. Possible\n values: DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow to\n pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied to each\n time series independently to produce the value\n which will be used to compare the time series\n to other time series. Possible values: METHOD_UNSPECIFIED,\n METHOD_MEAN, METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after the\n ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched time\n series. If non-empty, this unit will override any unit\n that accompanies fetched data. The format is the same\n as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardGridLayoutWidgetsText\n description: A raw string or markdown displaying textual content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardGridLayoutWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a string\n with interpolations of the form `${label_name}`, which\n will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data point\n frequency for this data set, implemented by specifying\n the minimum alignment period to use in a time series\n query For example, if the data is published once every\n 10 minutes, the `min_alignment_period` should be at\n least 10 minutes. It would not make sense to fetch\n and align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted on the\n chart. Possible values: PLOT_TYPE_UNSPECIFIED, LINE,\n STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across the\n chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold. Color\n is not allowed in a XyChart. Possible values: COLOR_UNSPECIFIED,\n GREY, BLUE, GREEN, YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible values:\n DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value should\n be defined in the native scale of the metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison chart.\n A comparison chart simultaneously shows values from two\n similar-length time periods (e.g., week-over-week metrics).\n The duration must be positive, and it can only be applied\n to charts with data sets of LINE plot type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear scale\n is used. Possible values: SCALE_UNSPECIFIED, LINEAR,\n LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear scale\n is used. Possible values: SCALE_UNSPECIFIED, LINEAR,\n LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n mosaicLayout:\n type: object\n x-dcl-go-name: MosaicLayout\n x-dcl-go-type: DashboardMosaicLayout\n description: The content is arranged as a grid of tiles, with each content\n widget occupying one or more tiles.\n x-dcl-conflicts:\n - gridLayout\n - rowLayout\n - columnLayout\n properties:\n columns:\n type: integer\n format: int64\n x-dcl-go-name: Columns\n description: The number of columns in the mosaic grid.\n tiles:\n type: array\n x-dcl-go-name: Tiles\n description: The tiles to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTiles\n properties:\n height:\n type: integer\n format: int64\n x-dcl-go-name: Height\n description: The height of the tile, measured in grid squares.\n widget:\n type: object\n x-dcl-go-name: Widget\n x-dcl-go-type: DashboardMosaicLayoutTilesWidget\n description: The informational widget contained in the tile.\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries to\n return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field is\n optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a danger\n threshold that triggers above. Similarly, if x is above/below\n a warning threshold that triggers above/below, then\n the scorecard is in a warning state - unless x also\n puts it in a danger state. (Danger trumps warning.) As\n an example, consider a scorecard with the following\n four thresholds: { value: 90, category: ''DANGER'', trigger:\n ''ABOVE'', },: { value: 70, category: ''WARNING'', trigger:\n ''ABOVE'', }, { value: 10, category: ''DANGER'', trigger:\n ''BELOW'', }, { value: 20, category: ''WARNING'', trigger:\n ''BELOW'', } Then: values less than or equal to 10\n would put the scorecard in a DANGER state, values greater\n than 10 but less than or equal to 20 a WARNING state,\n values strictly between 20 and 70 an OK state, values\n greater than or equal to 70 but less than 90 a WARNING\n state, and values greater than or equal to 90 a DANGER\n state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible values:\n COLOR_UNSPECIFIED, GREY, BLUE, GREEN, YELLOW,\n ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter.\n Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series. Possible\n values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between two\n time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is\n used to divide the data in all the [time\n series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series into\n a single time series, where the value\n of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time series.\n Reduction can yield a time series with\n a different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each individual\n time series is a member of exactly one\n subset. The `cross_series_reducer` is\n applied to each subset of time series.\n It is not possible to reduce across\n different resource types, so this field\n implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are\n aggregated away. If `group_by_fields`\n is not specified and all the time series\n have the same resource type, then the\n time series are aggregated into a single\n output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single\n time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on\n the `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified\n and not equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error\n is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is\n used to divide the data in all the [time\n series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series into\n a single time series, where the value\n of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time series.\n Reduction can yield a time series with\n a different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each individual\n time series is a member of exactly one\n subset. The `cross_series_reducer` is\n applied to each subset of time series.\n It is not possible to reduce across\n different resource types, so this field\n implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are\n aggregated away. If `group_by_fields`\n is not specified and all the time series\n have the same resource type, then the\n time series are aggregated into a single\n output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single\n time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on\n the `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified\n and not equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error\n is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter.\n Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series. Possible\n values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetText\n description: A raw string or markdown displaying textual content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a string\n with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data point\n frequency for this data set, implemented by specifying\n the minimum alignment period to use in a time\n series query For example, if the data is published\n once every 10 minutes, the `min_alignment_period`\n should be at least 10 minutes. It would not make\n sense to fetch and align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted on\n the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass through\n the filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to\n allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently\n to produce the value which will be\n used to compare the time series to\n other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN, METHOD_MAX,\n METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the\n data. The value must be at least\n 60 seconds. If a per-series aligner\n other than `ALIGN_NONE` is specified,\n this field is required or an error\n is returned. If no per-series\n aligner is specified, or the aligner\n `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not\n all reducer operations can be\n applied to all time series. The\n valid choices depend on the `metric_kind`\n and the `value_type` of the original\n time series. Reduction can yield\n a time series with a different\n `metric_kind` or `value_type`\n than the input time series. Time\n series data must first be aligned\n (see `per_series_aligner`) in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets prior\n to applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to\n reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the\n data. The value must be at least\n 60 seconds. If a per-series aligner\n other than `ALIGN_NONE` is specified,\n this field is required or an error\n is returned. If no per-series\n aligner is specified, or the aligner\n `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not\n all reducer operations can be\n applied to all time series. The\n valid choices depend on the `metric_kind`\n and the `value_type` of the original\n time series. Reduction can yield\n a time series with a different\n `metric_kind` or `value_type`\n than the input time series. Time\n series data must first be aligned\n (see `per_series_aligner`) in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets prior\n to applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to\n reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass through\n the filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to\n allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently\n to produce the value which will be\n used to compare the time series to\n other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN, METHOD_MAX,\n METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will\n override any unit that accompanies fetched\n data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible values:\n COLOR_UNSPECIFIED, GREY, BLUE, GREEN, YELLOW,\n ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n width:\n type: integer\n format: int64\n x-dcl-go-name: Width\n description: The width of the tile, measured in grid squares.\n xPos:\n type: integer\n format: int64\n x-dcl-go-name: XPos\n description: The zero-indexed position of the tile in grid squares\n relative to the left edge of the grid.\n yPos:\n type: integer\n format: int64\n x-dcl-go-name: YPos\n description: The zero-indexed position of the tile in grid squares\n relative to the top edge of the grid.\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The resource name of the dashboard.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rowLayout:\n type: object\n x-dcl-go-name: RowLayout\n x-dcl-go-type: DashboardRowLayout\n description: The content is divided into equally spaced rows and the widgets\n are arranged horizontally.\n x-dcl-conflicts:\n - gridLayout\n - mosaicLayout\n - columnLayout\n properties:\n rows:\n type: array\n x-dcl-go-name: Rows\n description: The rows of content to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRows\n properties:\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: The relative weight of this row. The row weight is\n used to adjust the height of rows on the screen (relative to\n peers). Greater the weight, greater the height of the row on\n the screen. If omitted, a value of 1 is used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The display widgets arranged horizontally in this\n row.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries\n to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field\n is optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a\n danger threshold that triggers above. Similarly, if\n x is above/below a warning threshold that triggers\n above/below, then the scorecard is in a warning state\n - unless x also puts it in a danger state. (Danger\n trumps warning.) As an example, consider a scorecard\n with the following four thresholds: { value: 90, category:\n ''DANGER'', trigger: ''ABOVE'', },: { value: 70, category:\n ''WARNING'', trigger: ''ABOVE'', }, { value: 10, category:\n ''DANGER'', trigger: ''BELOW'', }, { value: 20, category:\n ''WARNING'', trigger: ''BELOW'', } Then: values\n less than or equal to 10 would put the scorecard in\n a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal\n to 70 but less than 90 a WARNING state, and values\n greater than or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsText\n description: A raw string or markdown displaying textual\n content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a\n string with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data\n point frequency for this data set, implemented\n by specifying the minimum alignment period to\n use in a time series query For example, if the\n data is published once every 10 minutes, the\n `min_alignment_period` should be at least 10\n minutes. It would not make sense to fetch and\n align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted\n on the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time\n series data is returned. Use this field\n to combine multiple time series for\n different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in\n fetched time series. If non-empty, this\n unit will override any unit that accompanies\n fetched data. The format is the same as\n the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n") -// 655349 bytes -// MD5: bcf8c740bfa6ac7c63315b74e29a6f4f +// 655374 bytes +// MD5: cc1b703f9a5d317ceaaada8d167b3fef diff --git a/services/google/monitoring/beta/dashboard_schema.go b/services/google/monitoring/beta/dashboard_schema.go index ef259c4d2a..33ffbfeffb 100755 --- a/services/google/monitoring/beta/dashboard_schema.go +++ b/services/google/monitoring/beta/dashboard_schema.go @@ -23,6 +23,7 @@ func DCLDashboardSchema() *dcl.Schema { Title: "Monitoring/Dashboard", Description: "The Monitoring Dashboard resource", StructName: "Dashboard", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/beta/group.yaml b/services/google/monitoring/beta/group.yaml index 8864744097..48c2e0ce39 100755 --- a/services/google/monitoring/beta/group.yaml +++ b/services/google/monitoring/beta/group.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/Group description: The Monitoring Group resource x-dcl-struct-name: Group + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/beta/group_beta_yaml_embed.go b/services/google/monitoring/beta/group_beta_yaml_embed.go index dd8cdf22da..d9f892f3df 100755 --- a/services/google/monitoring/beta/group_beta_yaml_embed.go +++ b/services/google/monitoring/beta/group_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/beta/group.yaml -var YAML_group = []byte("info:\n title: Monitoring/Group\n description: The Monitoring Group resource\n x-dcl-struct-name: Group\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n apply:\n description: The function used to apply information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n delete:\n description: The function used to delete a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n deleteAll:\n description: The function used to delete all Group\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Group\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Group:\n title: Group\n x-dcl-id: projects/{{project}}/groups/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - filter\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A user-assigned name for this group, used only for display\n purposes.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: The filter used to determine which monitored resources belong\n to this group.\n isCluster:\n type: boolean\n x-dcl-go-name: IsCluster\n description: If true, the members of this group are considered to be a cluster.\n The system can perform additional analysis on groups that are clusters.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The name of this group. The format is: `projects/{{project}}/groups/{{name}}`,\n which is generated automatically.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parentName:\n type: string\n x-dcl-go-name: ParentName\n description: 'The name of the group''s parent, if it has one. The format\n is: projects/ For groups with no parent, `parent_name` is the empty string,\n ``.'\n x-dcl-send-empty: true\n x-dcl-references:\n - resource: Monitoring/Group\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the group\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_group = []byte("info:\n title: Monitoring/Group\n description: The Monitoring Group resource\n x-dcl-struct-name: Group\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n apply:\n description: The function used to apply information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n delete:\n description: The function used to delete a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n deleteAll:\n description: The function used to delete all Group\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Group\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Group:\n title: Group\n x-dcl-id: projects/{{project}}/groups/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - filter\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A user-assigned name for this group, used only for display\n purposes.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: The filter used to determine which monitored resources belong\n to this group.\n isCluster:\n type: boolean\n x-dcl-go-name: IsCluster\n description: If true, the members of this group are considered to be a cluster.\n The system can perform additional analysis on groups that are clusters.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The name of this group. The format is: `projects/{{project}}/groups/{{name}}`,\n which is generated automatically.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parentName:\n type: string\n x-dcl-go-name: ParentName\n description: 'The name of the group''s parent, if it has one. The format\n is: projects/ For groups with no parent, `parent_name` is the empty string,\n ``.'\n x-dcl-send-empty: true\n x-dcl-references:\n - resource: Monitoring/Group\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the group\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 2878 bytes -// MD5: f8392a5e1a424fe465ad03164d4b6b5d +// 2903 bytes +// MD5: 24fa17cddb7481e18c27395a64590d98 diff --git a/services/google/monitoring/beta/group_schema.go b/services/google/monitoring/beta/group_schema.go index 24fcad36cf..072303911a 100755 --- a/services/google/monitoring/beta/group_schema.go +++ b/services/google/monitoring/beta/group_schema.go @@ -23,6 +23,7 @@ func DCLGroupSchema() *dcl.Schema { Title: "Monitoring/Group", Description: "The Monitoring Group resource", StructName: "Group", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/beta/metric_descriptor.yaml b/services/google/monitoring/beta/metric_descriptor.yaml index 2bb279e59b..a05c64ebab 100755 --- a/services/google/monitoring/beta/metric_descriptor.yaml +++ b/services/google/monitoring/beta/metric_descriptor.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/MetricDescriptor description: The Monitoring MetricDescriptor resource x-dcl-struct-name: MetricDescriptor + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/beta/metric_descriptor_beta_yaml_embed.go b/services/google/monitoring/beta/metric_descriptor_beta_yaml_embed.go index d64be54775..d040622cc9 100755 --- a/services/google/monitoring/beta/metric_descriptor_beta_yaml_embed.go +++ b/services/google/monitoring/beta/metric_descriptor_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/beta/metric_descriptor.yaml -var YAML_metric_descriptor = []byte("info:\n title: Monitoring/MetricDescriptor\n description: The Monitoring MetricDescriptor resource\n x-dcl-struct-name: MetricDescriptor\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n apply:\n description: The function used to apply information about a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n delete:\n description: The function used to delete a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n deleteAll:\n description: The function used to delete all MetricDescriptor\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MetricDescriptor\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetricDescriptor:\n title: MetricDescriptor\n x-dcl-id: projects/{{project}}/metricDescriptors/{{type}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - type\n - metricKind\n - valueType\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A detailed description of the metric, which can be used in\n documentation.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A concise name for the metric, which can be displayed in user\n interfaces. Use sentence case without an ending period, for example \"Request\n count\". This field is optional but it is recommended to be set for any\n metrics associated with user-visible concepts, such as Quota.\n x-kubernetes-immutable: true\n labels:\n type: array\n x-dcl-go-name: Labels\n description: The set of labels that can be used to describe a specific instance\n of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies`\n metric type has a label for the HTTP response code, `response_code`, so\n you can look at latencies for successful responses or just for responses\n that failed.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: MetricDescriptorLabels\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A human-readable description for the label.\n x-kubernetes-immutable: true\n key:\n type: string\n x-dcl-go-name: Key\n description: 'The key for this label. The key must meet the following\n criteria: * Does not exceed 100 characters. * Matches the following\n regular expression: `a-zA-Z*` * The first character must be an upper-\n or lower-case letter. * The remaining characters must be letters,\n digits, or underscores.'\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: MetricDescriptorLabelsValueTypeEnum\n description: 'The type of data that can be assigned to the label.\n Possible values: STRING, BOOL, INT64'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: MetricDescriptorLaunchStageEnum\n description: 'Optional. The launch stage of the metric definition. Possible\n values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS,\n ALPHA, BETA, GA, DEPRECATED'\n x-kubernetes-immutable: true\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n x-dcl-mutable-unreadable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: MetricDescriptorMetadata\n description: Optional. Metadata which can be used to guide usage of the\n metric.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n ingestDelay:\n type: string\n x-dcl-go-name: IngestDelay\n description: The delay of data points caused by ingestion. Data points\n older than this age are guaranteed to be ingested and available to\n be read, excluding data loss due to errors.\n x-kubernetes-immutable: true\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: MetricDescriptorMetadataLaunchStageEnum\n description: 'Deprecated. Must use the MetricDescriptor.launch_stage\n instead. Possible values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED,\n PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'\n x-kubernetes-immutable: true\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n samplePeriod:\n type: string\n x-dcl-go-name: SamplePeriod\n description: The sampling period of metric data points. For metrics\n which are written periodically, consecutive data points are stored\n at this time interval, excluding data loss due to errors. Metrics\n with a higher granularity have a smaller sampling period.\n x-kubernetes-immutable: true\n metricKind:\n type: string\n x-dcl-go-name: MetricKind\n x-dcl-go-type: MetricDescriptorMetricKindEnum\n description: 'Whether the metric records instantaneous values, changes to\n a value, etc. Some combinations of `metric_kind` and `value_type` might\n not be supported. Possible values: METRIC_KIND_UNSPECIFIED, GAUGE, DELTA,\n CUMULATIVE'\n x-kubernetes-immutable: true\n enum:\n - METRIC_KIND_UNSPECIFIED\n - GAUGE\n - DELTA\n - CUMULATIVE\n monitoredResourceTypes:\n type: array\n x-dcl-go-name: MonitoredResourceTypes\n readOnly: true\n description: Read-only. If present, then a time series, which is identified\n partially by a metric type and a MonitoredResourceDescriptor, that is\n associated with this metric type can only be associated with one of the\n monitored resource types listed here.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: The resource name of the metric descriptor.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n description: 'The metric type, including its DNS name prefix. The type is\n not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com`\n or `external.googleapis.com`. Metric types should use a natural hierarchical\n grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\"\n \"appengine.googleapis.com/http/server/response_latencies\"'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n unit:\n type: string\n x-dcl-go-name: Unit\n description: 'The units in which the metric value is reported. It is only\n applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`.\n The `unit` defines the representation of the stored metric values. Different\n systems might scale the values to be more easily displayed (so a value\n of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy`\n _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then\n the value of the metric is always in thousands of bytes, no matter how\n it might be displayed. If you want a custom metric to record the exact\n number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE`\n metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`).\n If the job uses 12,005 CPU-seconds, then the value is written as `12005`.\n Alternatively, if you want a custom metric to record data in a more granular\n way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`,\n and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}`\n and write `11.723` (which is `12005/1024`). The supported units are a\n subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html)\n standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second\n * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)**\n * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12)\n * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24)\n * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico\n (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21)\n * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi\n (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also\n includes these connectors: * `/` division or ratio (as an infix operator).\n For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost\n never have `/s` in a metric `unit`; rates should always be computed at\n query time from the underlying cumulative or delta value). * `.` multiplication\n or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`.\n The grammar for a unit is as follows: Expression = Component: { \".\" Component\n } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation\n ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation`\n is just a comment if it follows a `UNIT`. If the annotation is used alone,\n then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`,\n `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable\n ASCII characters not containing `{` or `}`. * `1` represents a unitary\n [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity)\n of 1, such as in `1/s`. It is typically used when none of the basic units\n are appropriate. For example, \"new users per day\" can be represented as\n `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5 new users).\n Alternatively, \"thousands of page views per day\" would be represented\n as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3`\n would mean \"5300 page views per day\"). * `%` represents dimensionless\n value of 1/100, and annotates values giving a percentage (so the metric\n values are typically in the range of 0..100, and a metric value `3` means\n \"3 percent\"). * `10^2.%` indicates a metric contains a ratio, typically\n in the range 0..1, that will be multiplied by 100 and displayed as a percentage\n (so a metric value `0.03` means \"3 percent\").'\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: MetricDescriptorValueTypeEnum\n description: 'Whether the measurement is an integer, a floating-point number,\n etc. Some combinations of `metric_kind` and `value_type` might not be\n supported. Possible values: STRING, BOOL, INT64'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n") +var YAML_metric_descriptor = []byte("info:\n title: Monitoring/MetricDescriptor\n description: The Monitoring MetricDescriptor resource\n x-dcl-struct-name: MetricDescriptor\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n apply:\n description: The function used to apply information about a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n delete:\n description: The function used to delete a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n deleteAll:\n description: The function used to delete all MetricDescriptor\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MetricDescriptor\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetricDescriptor:\n title: MetricDescriptor\n x-dcl-id: projects/{{project}}/metricDescriptors/{{type}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - type\n - metricKind\n - valueType\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A detailed description of the metric, which can be used in\n documentation.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A concise name for the metric, which can be displayed in user\n interfaces. Use sentence case without an ending period, for example \"Request\n count\". This field is optional but it is recommended to be set for any\n metrics associated with user-visible concepts, such as Quota.\n x-kubernetes-immutable: true\n labels:\n type: array\n x-dcl-go-name: Labels\n description: The set of labels that can be used to describe a specific instance\n of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies`\n metric type has a label for the HTTP response code, `response_code`, so\n you can look at latencies for successful responses or just for responses\n that failed.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: MetricDescriptorLabels\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A human-readable description for the label.\n x-kubernetes-immutable: true\n key:\n type: string\n x-dcl-go-name: Key\n description: 'The key for this label. The key must meet the following\n criteria: * Does not exceed 100 characters. * Matches the following\n regular expression: `a-zA-Z*` * The first character must be an upper-\n or lower-case letter. * The remaining characters must be letters,\n digits, or underscores.'\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: MetricDescriptorLabelsValueTypeEnum\n description: 'The type of data that can be assigned to the label.\n Possible values: STRING, BOOL, INT64'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: MetricDescriptorLaunchStageEnum\n description: 'Optional. The launch stage of the metric definition. Possible\n values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS,\n ALPHA, BETA, GA, DEPRECATED'\n x-kubernetes-immutable: true\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n x-dcl-mutable-unreadable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: MetricDescriptorMetadata\n description: Optional. Metadata which can be used to guide usage of the\n metric.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n ingestDelay:\n type: string\n x-dcl-go-name: IngestDelay\n description: The delay of data points caused by ingestion. Data points\n older than this age are guaranteed to be ingested and available to\n be read, excluding data loss due to errors.\n x-kubernetes-immutable: true\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: MetricDescriptorMetadataLaunchStageEnum\n description: 'Deprecated. Must use the MetricDescriptor.launch_stage\n instead. Possible values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED,\n PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'\n x-kubernetes-immutable: true\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n samplePeriod:\n type: string\n x-dcl-go-name: SamplePeriod\n description: The sampling period of metric data points. For metrics\n which are written periodically, consecutive data points are stored\n at this time interval, excluding data loss due to errors. Metrics\n with a higher granularity have a smaller sampling period.\n x-kubernetes-immutable: true\n metricKind:\n type: string\n x-dcl-go-name: MetricKind\n x-dcl-go-type: MetricDescriptorMetricKindEnum\n description: 'Whether the metric records instantaneous values, changes to\n a value, etc. Some combinations of `metric_kind` and `value_type` might\n not be supported. Possible values: METRIC_KIND_UNSPECIFIED, GAUGE, DELTA,\n CUMULATIVE'\n x-kubernetes-immutable: true\n enum:\n - METRIC_KIND_UNSPECIFIED\n - GAUGE\n - DELTA\n - CUMULATIVE\n monitoredResourceTypes:\n type: array\n x-dcl-go-name: MonitoredResourceTypes\n readOnly: true\n description: Read-only. If present, then a time series, which is identified\n partially by a metric type and a MonitoredResourceDescriptor, that is\n associated with this metric type can only be associated with one of the\n monitored resource types listed here.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: The resource name of the metric descriptor.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n description: 'The metric type, including its DNS name prefix. The type is\n not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com`\n or `external.googleapis.com`. Metric types should use a natural hierarchical\n grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\"\n \"appengine.googleapis.com/http/server/response_latencies\"'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n unit:\n type: string\n x-dcl-go-name: Unit\n description: 'The units in which the metric value is reported. It is only\n applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`.\n The `unit` defines the representation of the stored metric values. Different\n systems might scale the values to be more easily displayed (so a value\n of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy`\n _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then\n the value of the metric is always in thousands of bytes, no matter how\n it might be displayed. If you want a custom metric to record the exact\n number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE`\n metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`).\n If the job uses 12,005 CPU-seconds, then the value is written as `12005`.\n Alternatively, if you want a custom metric to record data in a more granular\n way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`,\n and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}`\n and write `11.723` (which is `12005/1024`). The supported units are a\n subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html)\n standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second\n * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)**\n * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12)\n * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24)\n * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico\n (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21)\n * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi\n (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also\n includes these connectors: * `/` division or ratio (as an infix operator).\n For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost\n never have `/s` in a metric `unit`; rates should always be computed at\n query time from the underlying cumulative or delta value). * `.` multiplication\n or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`.\n The grammar for a unit is as follows: Expression = Component: { \".\" Component\n } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation\n ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation`\n is just a comment if it follows a `UNIT`. If the annotation is used alone,\n then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`,\n `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable\n ASCII characters not containing `{` or `}`. * `1` represents a unitary\n [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity)\n of 1, such as in `1/s`. It is typically used when none of the basic units\n are appropriate. For example, \"new users per day\" can be represented as\n `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5 new users).\n Alternatively, \"thousands of page views per day\" would be represented\n as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3`\n would mean \"5300 page views per day\"). * `%` represents dimensionless\n value of 1/100, and annotates values giving a percentage (so the metric\n values are typically in the range of 0..100, and a metric value `3` means\n \"3 percent\"). * `10^2.%` indicates a metric contains a ratio, typically\n in the range 0..1, that will be multiplied by 100 and displayed as a percentage\n (so a metric value `0.03` means \"3 percent\").'\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: MetricDescriptorValueTypeEnum\n description: 'Whether the measurement is an integer, a floating-point number,\n etc. Some combinations of `metric_kind` and `value_type` might not be\n supported. Possible values: STRING, BOOL, INT64'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n") -// 13406 bytes -// MD5: 3a70ebbbcc3cbcbe0f4509494dd4a49f +// 13431 bytes +// MD5: 903dd40696407fe27880f6176a0ac10a diff --git a/services/google/monitoring/beta/metric_descriptor_schema.go b/services/google/monitoring/beta/metric_descriptor_schema.go index 74e50380b0..7a94a86efc 100755 --- a/services/google/monitoring/beta/metric_descriptor_schema.go +++ b/services/google/monitoring/beta/metric_descriptor_schema.go @@ -23,6 +23,7 @@ func DCLMetricDescriptorSchema() *dcl.Schema { Title: "Monitoring/MetricDescriptor", Description: "The Monitoring MetricDescriptor resource", StructName: "MetricDescriptor", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/beta/metrics_scope.yaml b/services/google/monitoring/beta/metrics_scope.yaml index 19ca86ba5c..83e424f5eb 100755 --- a/services/google/monitoring/beta/metrics_scope.yaml +++ b/services/google/monitoring/beta/metrics_scope.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/MetricsScope description: The Monitoring MetricsScope resource x-dcl-struct-name: MetricsScope + x-dcl-has-create: false x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/beta/metrics_scope_beta_yaml_embed.go b/services/google/monitoring/beta/metrics_scope_beta_yaml_embed.go index ffe92e74a2..8db1f988cf 100755 --- a/services/google/monitoring/beta/metrics_scope_beta_yaml_embed.go +++ b/services/google/monitoring/beta/metrics_scope_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/beta/metrics_scope.yaml -var YAML_metrics_scope = []byte("info:\n title: Monitoring/MetricsScope\n description: The Monitoring MetricsScope resource\n x-dcl-struct-name: MetricsScope\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetricsScope\n parameters:\n - name: MetricsScope\n required: true\n description: A full instance of a MetricsScope\n apply:\n description: The function used to apply information about a MetricsScope\n parameters:\n - name: MetricsScope\n required: true\n description: A full instance of a MetricsScope\ncomponents:\n schemas:\n MetricsScope:\n title: MetricsScope\n x-dcl-id: locations/global/metricsScopes/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `Metrics Scope` was created.\n x-kubernetes-immutable: true\n monitoredProjects:\n type: array\n x-dcl-go-name: MonitoredProjects\n readOnly: true\n description: Output only. The list of projects monitored by this `Metrics\n Scope`.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MetricsScopeMonitoredProjects\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `MonitoredProject` was\n created.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the `MonitoredProject`.\n On input, the resource name includes the scoping project ID and\n monitored project ID. On output, it contains the equivalent project\n numbers. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the Monitoring Metrics Scope.\n On input, the resource name can be specified with the scoping project\n ID or number. On output, the resource name is specified with the scoping\n project number. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when this `Metrics Scope` record was\n last updated.\n x-kubernetes-immutable: true\n") +var YAML_metrics_scope = []byte("info:\n title: Monitoring/MetricsScope\n description: The Monitoring MetricsScope resource\n x-dcl-struct-name: MetricsScope\n x-dcl-has-create: false\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetricsScope\n parameters:\n - name: MetricsScope\n required: true\n description: A full instance of a MetricsScope\n apply:\n description: The function used to apply information about a MetricsScope\n parameters:\n - name: MetricsScope\n required: true\n description: A full instance of a MetricsScope\ncomponents:\n schemas:\n MetricsScope:\n title: MetricsScope\n x-dcl-id: locations/global/metricsScopes/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `Metrics Scope` was created.\n x-kubernetes-immutable: true\n monitoredProjects:\n type: array\n x-dcl-go-name: MonitoredProjects\n readOnly: true\n description: Output only. The list of projects monitored by this `Metrics\n Scope`.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MetricsScopeMonitoredProjects\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `MonitoredProject` was\n created.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the `MonitoredProject`.\n On input, the resource name includes the scoping project ID and\n monitored project ID. On output, it contains the equivalent project\n numbers. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the Monitoring Metrics Scope.\n On input, the resource name can be specified with the scoping project\n ID or number. On output, the resource name is specified with the scoping\n project number. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when this `Metrics Scope` record was\n last updated.\n x-kubernetes-immutable: true\n") -// 3062 bytes -// MD5: 8e9abf69c4eaad37a08cd32ac8d19323 +// 3088 bytes +// MD5: 9e0ee81dd7f26f1db479c8b9ff885c28 diff --git a/services/google/monitoring/beta/monitored_project.yaml b/services/google/monitoring/beta/monitored_project.yaml index 3aac5dea08..51d114f89e 100755 --- a/services/google/monitoring/beta/monitored_project.yaml +++ b/services/google/monitoring/beta/monitored_project.yaml @@ -18,6 +18,7 @@ info: potentially across multiple organizations. This enables you to view these groups in the Monitoring page of the cloud console. x-dcl-struct-name: MonitoredProject + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/monitoring/beta/monitored_project_beta_yaml_embed.go b/services/google/monitoring/beta/monitored_project_beta_yaml_embed.go index 7267345636..92de9f0316 100755 --- a/services/google/monitoring/beta/monitored_project_beta_yaml_embed.go +++ b/services/google/monitoring/beta/monitored_project_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/beta/monitored_project.yaml -var YAML_monitored_project = []byte("info:\n title: Monitoring/MonitoredProject\n description: Monitored Project allows you to set a project as monitored by a _metrics\n scope_, which is a term for a project used to group the metrics of multiple projects,\n potentially across multiple organizations. This enables you to view these groups\n in the Monitoring page of the cloud console.\n x-dcl-struct-name: MonitoredProject\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes\n x-dcl-guides:\n - text: Understanding metrics scopes\n url: https://cloud.google.com/monitoring/settings#concept-scope\n - text: API notes\n url: https://cloud.google.com/monitoring/settings/manage-api\npaths:\n get:\n description: The function used to get information about a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n apply:\n description: The function used to apply information about a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n delete:\n description: The function used to delete a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n deleteAll:\n description: The function used to delete all MonitoredProject\n parameters:\n - name: metricsscope\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MonitoredProject\n parameters:\n - name: metricsscope\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MonitoredProject:\n title: MonitoredProject\n x-dcl-id: locations/global/metricsScopes/{{metrics_scope}}/projects/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - metricsScope\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `MonitoredProject` was created.\n x-kubernetes-immutable: true\n metricsScope:\n type: string\n x-dcl-go-name: MetricsScope\n description: 'Required. The resource name of the existing Metrics Scope\n that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the `MonitoredProject`. On\n input, the resource name includes the scoping project ID and monitored\n project ID. On output, it contains the equivalent project numbers. Example:\n `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n") +var YAML_monitored_project = []byte("info:\n title: Monitoring/MonitoredProject\n description: Monitored Project allows you to set a project as monitored by a _metrics\n scope_, which is a term for a project used to group the metrics of multiple projects,\n potentially across multiple organizations. This enables you to view these groups\n in the Monitoring page of the cloud console.\n x-dcl-struct-name: MonitoredProject\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes\n x-dcl-guides:\n - text: Understanding metrics scopes\n url: https://cloud.google.com/monitoring/settings#concept-scope\n - text: API notes\n url: https://cloud.google.com/monitoring/settings/manage-api\npaths:\n get:\n description: The function used to get information about a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n apply:\n description: The function used to apply information about a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n delete:\n description: The function used to delete a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n deleteAll:\n description: The function used to delete all MonitoredProject\n parameters:\n - name: metricsscope\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MonitoredProject\n parameters:\n - name: metricsscope\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MonitoredProject:\n title: MonitoredProject\n x-dcl-id: locations/global/metricsScopes/{{metrics_scope}}/projects/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - metricsScope\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `MonitoredProject` was created.\n x-kubernetes-immutable: true\n metricsScope:\n type: string\n x-dcl-go-name: MetricsScope\n description: 'Required. The resource name of the existing Metrics Scope\n that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the `MonitoredProject`. On\n input, the resource name includes the scoping project ID and monitored\n project ID. On output, it contains the equivalent project numbers. Example:\n `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n") -// 3109 bytes -// MD5: 079a551c4979ca26fae43d0c494af585 +// 3134 bytes +// MD5: ef4661285ee1af288bb203a2befa8dd6 diff --git a/services/google/monitoring/beta/monitored_project_schema.go b/services/google/monitoring/beta/monitored_project_schema.go index 675615f16c..7b40726e45 100755 --- a/services/google/monitoring/beta/monitored_project_schema.go +++ b/services/google/monitoring/beta/monitored_project_schema.go @@ -23,6 +23,7 @@ func DCLMonitoredProjectSchema() *dcl.Schema { Title: "Monitoring/MonitoredProject", Description: "Monitored Project allows you to set a project as monitored by a _metrics scope_, which is a term for a project used to group the metrics of multiple projects, potentially across multiple organizations. This enables you to view these groups in the Monitoring page of the cloud console.", StructName: "MonitoredProject", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes", diff --git a/services/google/monitoring/beta/notification_channel.yaml b/services/google/monitoring/beta/notification_channel.yaml index 05d05d6a1b..26c7735819 100755 --- a/services/google/monitoring/beta/notification_channel.yaml +++ b/services/google/monitoring/beta/notification_channel.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/NotificationChannel description: The Monitoring NotificationChannel resource x-dcl-struct-name: NotificationChannel + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/beta/notification_channel_beta_yaml_embed.go b/services/google/monitoring/beta/notification_channel_beta_yaml_embed.go index 2c0a32bba3..fabaeccf54 100755 --- a/services/google/monitoring/beta/notification_channel_beta_yaml_embed.go +++ b/services/google/monitoring/beta/notification_channel_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/beta/notification_channel.yaml -var YAML_notification_channel = []byte("info:\n title: Monitoring/NotificationChannel\n description: The Monitoring NotificationChannel resource\n x-dcl-struct-name: NotificationChannel\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n apply:\n description: The function used to apply information about a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n delete:\n description: The function used to delete a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n deleteAll:\n description: The function used to delete all NotificationChannel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NotificationChannel\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NotificationChannel:\n title: NotificationChannel\n x-dcl-id: projects/{{project}}/notificationChannels/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional human-readable description of this notification\n channel. This description may provide additional details, beyond the display\n name, for the channel. This may not exceed 1024 Unicode characters.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: An optional human-readable name for this notification channel.\n It is recommended that you specify a non-empty and unique name in order\n to make it easier to identify the channels in your project, though this\n is not enforced. The display name is limited to 512 Unicode characters.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether notifications are forwarded to the described channel.\n This makes it possible to disable delivery of notifications to a particular\n channel without removing the channel from all alerting policies that reference\n the channel. This is a more convenient approach when the change is temporary\n and you want to receive notifications from the same set of alerting policies\n on the channel at some point in the future.\n default: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Configuration fields that define the channel and its behavior.\n The permissible and required labels are specified in the [NotificationChannelDescriptor.labels][google.monitoring.v3.NotificationChannelDescriptor.labels]\n of the `NotificationChannelDescriptor` corresponding to the `type` field.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The full REST resource name for this channel. The format is:\n projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The\n `[CHANNEL_ID]` is automatically assigned by the server on creation.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this notification channel.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n type:\n type: string\n x-dcl-go-name: Type\n description: The type of the notification channel. This field matches the\n value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type]\n field.\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: User-supplied key/value data that does not need to conform\n to the corresponding `NotificationChannelDescriptor`'s schema, unlike\n the `labels` field. This field is intended to be used for orv3nizing and\n identifying the `NotificationChannel` objects. The field can contain up\n to 64 entries. Each key and value is limited to 63 Unicode characters\n or 128 bytes, whichever is smaller. Labels and values can contain only\n lowercase letters, numerals, underscores, and dashes. Keys must begin\n with a letter.\n verificationStatus:\n type: string\n x-dcl-go-name: VerificationStatus\n x-dcl-go-type: NotificationChannelVerificationStatusEnum\n readOnly: true\n description: 'Indicates whether this channel has been verified or not. On\n a [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]\n or [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]\n operation, this field is expected to be populated. If the value is `UNVERIFIED`,\n then it indicates that the channel is non-functioning (it both requires\n verification and lacks verification); otherwise, it is assumed that the\n channel works. If the channel is neither `VERIFIED` nor `UNVERIFIED`,\n it implies that the channel is of a type that does not require verification\n or that this specific channel has been exempted from verification because\n it was created prior to verification being required for channels of this\n type. This field cannot be modified using a standard [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel]\n operation. To change the value of this field, you must call [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].\n Possible values: VERIFICATION_STATUS_UNSPECIFIED, UNVERIFIED, VERIFIED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATUS_UNSPECIFIED\n - UNVERIFIED\n - VERIFIED\n") +var YAML_notification_channel = []byte("info:\n title: Monitoring/NotificationChannel\n description: The Monitoring NotificationChannel resource\n x-dcl-struct-name: NotificationChannel\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n apply:\n description: The function used to apply information about a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n delete:\n description: The function used to delete a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n deleteAll:\n description: The function used to delete all NotificationChannel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NotificationChannel\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NotificationChannel:\n title: NotificationChannel\n x-dcl-id: projects/{{project}}/notificationChannels/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional human-readable description of this notification\n channel. This description may provide additional details, beyond the display\n name, for the channel. This may not exceed 1024 Unicode characters.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: An optional human-readable name for this notification channel.\n It is recommended that you specify a non-empty and unique name in order\n to make it easier to identify the channels in your project, though this\n is not enforced. The display name is limited to 512 Unicode characters.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether notifications are forwarded to the described channel.\n This makes it possible to disable delivery of notifications to a particular\n channel without removing the channel from all alerting policies that reference\n the channel. This is a more convenient approach when the change is temporary\n and you want to receive notifications from the same set of alerting policies\n on the channel at some point in the future.\n default: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Configuration fields that define the channel and its behavior.\n The permissible and required labels are specified in the [NotificationChannelDescriptor.labels][google.monitoring.v3.NotificationChannelDescriptor.labels]\n of the `NotificationChannelDescriptor` corresponding to the `type` field.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The full REST resource name for this channel. The format is:\n projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The\n `[CHANNEL_ID]` is automatically assigned by the server on creation.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this notification channel.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n type:\n type: string\n x-dcl-go-name: Type\n description: The type of the notification channel. This field matches the\n value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type]\n field.\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: User-supplied key/value data that does not need to conform\n to the corresponding `NotificationChannelDescriptor`'s schema, unlike\n the `labels` field. This field is intended to be used for orv3nizing and\n identifying the `NotificationChannel` objects. The field can contain up\n to 64 entries. Each key and value is limited to 63 Unicode characters\n or 128 bytes, whichever is smaller. Labels and values can contain only\n lowercase letters, numerals, underscores, and dashes. Keys must begin\n with a letter.\n verificationStatus:\n type: string\n x-dcl-go-name: VerificationStatus\n x-dcl-go-type: NotificationChannelVerificationStatusEnum\n readOnly: true\n description: 'Indicates whether this channel has been verified or not. On\n a [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]\n or [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]\n operation, this field is expected to be populated. If the value is `UNVERIFIED`,\n then it indicates that the channel is non-functioning (it both requires\n verification and lacks verification); otherwise, it is assumed that the\n channel works. If the channel is neither `VERIFIED` nor `UNVERIFIED`,\n it implies that the channel is of a type that does not require verification\n or that this specific channel has been exempted from verification because\n it was created prior to verification being required for channels of this\n type. This field cannot be modified using a standard [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel]\n operation. To change the value of this field, you must call [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].\n Possible values: VERIFICATION_STATUS_UNSPECIFIED, UNVERIFIED, VERIFIED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATUS_UNSPECIFIED\n - UNVERIFIED\n - VERIFIED\n") -// 6667 bytes -// MD5: 5b182c32356888c1103c14b59e812a18 +// 6692 bytes +// MD5: 30cb09e30dff4dd556921d6de9e0070f diff --git a/services/google/monitoring/beta/notification_channel_schema.go b/services/google/monitoring/beta/notification_channel_schema.go index a1add3abd7..0995883a81 100755 --- a/services/google/monitoring/beta/notification_channel_schema.go +++ b/services/google/monitoring/beta/notification_channel_schema.go @@ -23,6 +23,7 @@ func DCLNotificationChannelSchema() *dcl.Schema { Title: "Monitoring/NotificationChannel", Description: "The Monitoring NotificationChannel resource", StructName: "NotificationChannel", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/beta/service.yaml b/services/google/monitoring/beta/service.yaml index d702673139..3c0104d4e0 100755 --- a/services/google/monitoring/beta/service.yaml +++ b/services/google/monitoring/beta/service.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/Service description: The Monitoring Service resource x-dcl-struct-name: Service + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/beta/service_beta_yaml_embed.go b/services/google/monitoring/beta/service_beta_yaml_embed.go index 79ac9ac336..b703362b9d 100755 --- a/services/google/monitoring/beta/service_beta_yaml_embed.go +++ b/services/google/monitoring/beta/service_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/beta/service.yaml -var YAML_service = []byte("info:\n title: Monitoring/Service\n description: The Monitoring Service resource\n x-dcl-struct-name: Service\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n apply:\n description: The function used to apply information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n delete:\n description: The function used to delete a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n deleteAll:\n description: The function used to delete all Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Service:\n title: Service\n x-dcl-id: projects/{{project}}/services/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: userLabels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Name used for UI elements listing this Service.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n telemetry:\n type: object\n x-dcl-go-name: Telemetry\n x-dcl-go-type: ServiceTelemetry\n description: Configuration for how to query telemetry on a Service.\n properties:\n resourceName:\n type: string\n x-dcl-go-name: ResourceName\n description: The full name of the resource that defines this service.\n Formatted as described in https://cloud.google.com/apis/design/resource_names.\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: Labels which have been used to annotate the service. Label\n keys must start with a letter. Label keys and values may contain lowercase\n letters, numbers, underscores, and dashes. Label keys and values have\n a maximum length of 63 characters, and must be less than 128 bytes in\n size. Up to 64 label entries may be stored. For labels which do not have\n a semantic value, the empty string may be supplied for the label value.\n") +var YAML_service = []byte("info:\n title: Monitoring/Service\n description: The Monitoring Service resource\n x-dcl-struct-name: Service\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n apply:\n description: The function used to apply information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n delete:\n description: The function used to delete a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n deleteAll:\n description: The function used to delete all Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Service:\n title: Service\n x-dcl-id: projects/{{project}}/services/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: userLabels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Name used for UI elements listing this Service.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n telemetry:\n type: object\n x-dcl-go-name: Telemetry\n x-dcl-go-type: ServiceTelemetry\n description: Configuration for how to query telemetry on a Service.\n properties:\n resourceName:\n type: string\n x-dcl-go-name: ResourceName\n description: The full name of the resource that defines this service.\n Formatted as described in https://cloud.google.com/apis/design/resource_names.\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: Labels which have been used to annotate the service. Label\n keys must start with a letter. Label keys and values may contain lowercase\n letters, numbers, underscores, and dashes. Label keys and values have\n a maximum length of 63 characters, and must be less than 128 bytes in\n size. Up to 64 label entries may be stored. For labels which do not have\n a semantic value, the empty string may be supplied for the label value.\n") -// 3111 bytes -// MD5: 525fac7e93189d3ca8fbdeeea7e15fa1 +// 3136 bytes +// MD5: 7122a74186f578f8b6e0c5d07672775d diff --git a/services/google/monitoring/beta/service_level_objective.yaml b/services/google/monitoring/beta/service_level_objective.yaml index f4d20b22b3..b3bde25207 100755 --- a/services/google/monitoring/beta/service_level_objective.yaml +++ b/services/google/monitoring/beta/service_level_objective.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/ServiceLevelObjective description: The Monitoring ServiceLevelObjective resource x-dcl-struct-name: ServiceLevelObjective + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/beta/service_level_objective_beta_yaml_embed.go b/services/google/monitoring/beta/service_level_objective_beta_yaml_embed.go index 6f6c8326eb..9f31fa0fad 100755 --- a/services/google/monitoring/beta/service_level_objective_beta_yaml_embed.go +++ b/services/google/monitoring/beta/service_level_objective_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/beta/service_level_objective.yaml -var YAML_service_level_objective = []byte("info:\n title: Monitoring/ServiceLevelObjective\n description: The Monitoring ServiceLevelObjective resource\n x-dcl-struct-name: ServiceLevelObjective\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n apply:\n description: The function used to apply information about a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n delete:\n description: The function used to delete a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n deleteAll:\n description: The function used to delete all ServiceLevelObjective\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: service\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceLevelObjective\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: service\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceLevelObjective:\n title: ServiceLevelObjective\n x-dcl-id: projects/{{project}}/services/{{service}}/serviceLevelObjectives/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: userLabels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - goal\n - project\n - service\n properties:\n calendarPeriod:\n type: string\n x-dcl-go-name: CalendarPeriod\n x-dcl-go-type: ServiceLevelObjectiveCalendarPeriodEnum\n description: 'A calendar period, semantically \"since the start of the current\n ``\". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and `MONTH` are supported.\n Possible values: CALENDAR_PERIOD_UNSPECIFIED, DAY, WEEK, FORTNIGHT, MONTH,\n QUARTER, HALF, YEAR'\n x-dcl-conflicts:\n - rollingPeriod\n enum:\n - CALENDAR_PERIOD_UNSPECIFIED\n - DAY\n - WEEK\n - FORTNIGHT\n - MONTH\n - QUARTER\n - HALF\n - YEAR\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Time stamp of the `Create` or most recent `Update` command\n on this `Slo`.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Time stamp of the `Update` or `Delete` command that made this\n no longer a current `Slo`. This field is not populated in `ServiceLevelObjective`s\n returned from calls to `GetServiceLevelObjective` and `ListServiceLevelObjectives`,\n because it is always empty in the current version. It is populated in\n `ServiceLevelObjective`s representing previous versions in the output\n of `ListServiceLevelObjectiveVersions`. Because all old configuration\n versions are stored, `Update` operations mark the obsoleted version as\n deleted.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Name used for UI elements listing this SLO.\n goal:\n type: number\n format: double\n x-dcl-go-name: Goal\n description: The fraction of service that must be good in order for this\n objective to be met. `0 < goal <= 0.999`.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Resource name for this `ServiceLevelObjective`. The format\n is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rollingPeriod:\n type: string\n x-dcl-go-name: RollingPeriod\n description: A rolling time period, semantically \"in the past ``\". Must\n be an integer multiple of 1 day no larger than 30 days.\n x-dcl-conflicts:\n - calendarPeriod\n service:\n type: string\n x-dcl-go-name: Service\n description: The service for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Monitoring/Service\n field: name\n parent: true\n serviceLevelIndicator:\n type: object\n x-dcl-go-name: ServiceLevelIndicator\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicator\n description: The definition of good service, used to measure and calculate\n the quality of the `Service`'s performance with respect to a single aspect\n of service quality.\n properties:\n basicSli:\n type: object\n x-dcl-go-name: BasicSli\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSli\n description: Basic SLI on a well-known service type.\n x-dcl-conflicts:\n - requestBased\n - windowsBased\n properties:\n availability:\n type: object\n x-dcl-go-name: Availability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliAvailability\n description: Good service is defined to be the count of requests\n made to this service that return successfully.\n x-dcl-conflicts:\n - latency\n - operationAvailability\n - operationLatency\n latency:\n type: object\n x-dcl-go-name: Latency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliLatency\n description: Good service is defined to be the count of requests\n made to this service that are fast enough with respect to `latency.threshold`.\n x-dcl-conflicts:\n - availability\n - operationAvailability\n - operationLatency\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliLatencyExperienceEnum\n description: 'A description of the experience associated with\n failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count of requests\n made to this service that return in no more than `threshold`.\n location:\n type: array\n x-dcl-go-name: Location\n description: 'OPTIONAL: The set of locations to which this SLI is\n relevant. Telemetry from other locations will not be used to calculate\n performance for this SLI. If omitted, this SLI applies to all\n locations in which the Service has activity. For service types\n that don''t support breaking down by location, setting this field\n will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n method:\n type: array\n x-dcl-go-name: Method\n description: 'OPTIONAL: The set of RPCs to which this SLI is relevant.\n Telemetry from other methods will not be used to calculate performance\n for this SLI. If omitted, this SLI applies to all the Service''s\n methods. For service types that don''t support breaking down by\n method, setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n operationAvailability:\n type: object\n x-dcl-go-name: OperationAvailability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationAvailability\n description: Good service is defined to be the count of operations\n performed by this service that return successfully\n x-dcl-conflicts:\n - availability\n - latency\n - operationLatency\n operationLatency:\n type: object\n x-dcl-go-name: OperationLatency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationLatency\n description: Good service is defined to be the count of operations\n performed by this service that are fast enough with respect to\n `operation_latency.threshold`.\n x-dcl-conflicts:\n - availability\n - latency\n - operationAvailability\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationLatencyExperienceEnum\n description: 'A description of the experience associated with\n failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count of operations\n that are completed in no more than `threshold`.\n version:\n type: array\n x-dcl-go-name: Version\n description: 'OPTIONAL: The set of API versions to which this SLI\n is relevant. Telemetry from other API versions will not be used\n to calculate performance for this SLI. If omitted, this SLI applies\n to all API versions. For service types that don''t support breaking\n down by version, setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n requestBased:\n type: object\n x-dcl-go-name: RequestBased\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBased\n description: Request-based SLIs\n x-dcl-conflicts:\n - basicSli\n - windowsBased\n properties:\n distributionCut:\n type: object\n x-dcl-go-name: DistributionCut\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedDistributionCut\n description: '`distribution_cut` is used when `good_service` is\n a count of values aggregated in a `Distribution` that fall into\n a good range. The `total_service` is the total count of all values\n aggregated in the `Distribution`.'\n x-dcl-conflicts:\n - goodTotalRatio\n properties:\n distributionFilter:\n type: string\n x-dcl-go-name: DistributionFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` aggregating values. Must have `ValueType\n = DISTRIBUTION` and `MetricKind = DELTA` or `MetricKind =\n CUMULATIVE`.\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedDistributionCutRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n goodTotalRatio:\n type: object\n x-dcl-go-name: GoodTotalRatio\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedGoodTotalRatio\n description: '`good_total_ratio` is used when the ratio of `good_service`\n to `total_service` is computed from two `TimeSeries`.'\n x-dcl-conflicts:\n - distributionCut\n properties:\n badServiceFilter:\n type: string\n x-dcl-go-name: BadServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying bad service, either\n demanded service that was not provided or demanded service\n that was of inadequate quality. Must have `ValueType = DOUBLE`\n or `ValueType = INT64` and must have `MetricKind = DELTA`\n or `MetricKind = CUMULATIVE`.\n goodServiceFilter:\n type: string\n x-dcl-go-name: GoodServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying good service provided.\n Must have `ValueType = DOUBLE` or `ValueType = INT64` and\n must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n totalServiceFilter:\n type: string\n x-dcl-go-name: TotalServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying total demanded service.\n Must have `ValueType = DOUBLE` or `ValueType = INT64` and\n must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n windowsBased:\n type: object\n x-dcl-go-name: WindowsBased\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBased\n description: Windows-based SLIs\n x-dcl-conflicts:\n - basicSli\n - requestBased\n properties:\n goodBadMetricFilter:\n type: string\n x-dcl-go-name: GoodBadMetricFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` with `ValueType = BOOL`. The window\n is good if any `true` values appear in the window.\n x-dcl-conflicts:\n - goodTotalRatioThreshold\n - metricMeanInRange\n - metricSumInRange\n goodTotalRatioThreshold:\n type: object\n x-dcl-go-name: GoodTotalRatioThreshold\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThreshold\n description: A window is good if its `performance` is high enough.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - metricMeanInRange\n - metricSumInRange\n properties:\n basicSliPerformance:\n type: object\n x-dcl-go-name: BasicSliPerformance\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformance\n description: '`BasicSli` to evaluate to judge window quality.'\n x-dcl-conflicts:\n - performance\n properties:\n availability:\n type: object\n x-dcl-go-name: Availability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceAvailability\n description: Good service is defined to be the count of\n requests made to this service that return successfully.\n x-dcl-conflicts:\n - latency\n - operationAvailability\n - operationLatency\n latency:\n type: object\n x-dcl-go-name: Latency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceLatency\n description: Good service is defined to be the count of\n requests made to this service that are fast enough with\n respect to `latency.threshold`.\n x-dcl-conflicts:\n - availability\n - operationAvailability\n - operationLatency\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceLatencyExperienceEnum\n description: 'A description of the experience associated\n with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count\n of requests made to this service that return in no\n more than `threshold`.\n location:\n type: array\n x-dcl-go-name: Location\n description: 'OPTIONAL: The set of locations to which this\n SLI is relevant. Telemetry from other locations will not\n be used to calculate performance for this SLI. If omitted,\n this SLI applies to all locations in which the Service\n has activity. For service types that don''t support breaking\n down by location, setting this field will result in an\n error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n method:\n type: array\n x-dcl-go-name: Method\n description: 'OPTIONAL: The set of RPCs to which this SLI\n is relevant. Telemetry from other methods will not be\n used to calculate performance for this SLI. If omitted,\n this SLI applies to all the Service''s methods. For service\n types that don''t support breaking down by method, setting\n this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n operationAvailability:\n type: object\n x-dcl-go-name: OperationAvailability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationAvailability\n description: Good service is defined to be the count of\n operations performed by this service that return successfully\n x-dcl-conflicts:\n - availability\n - latency\n - operationLatency\n operationLatency:\n type: object\n x-dcl-go-name: OperationLatency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationLatency\n description: Good service is defined to be the count of\n operations performed by this service that are fast enough\n with respect to `operation_latency.threshold`.\n x-dcl-conflicts:\n - availability\n - latency\n - operationAvailability\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationLatencyExperienceEnum\n description: 'A description of the experience associated\n with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count\n of operations that are completed in no more than `threshold`.\n version:\n type: array\n x-dcl-go-name: Version\n description: 'OPTIONAL: The set of API versions to which\n this SLI is relevant. Telemetry from other API versions\n will not be used to calculate performance for this SLI.\n If omitted, this SLI applies to all API versions. For\n service types that don''t support breaking down by version,\n setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n performance:\n type: object\n x-dcl-go-name: Performance\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformance\n description: '`RequestBasedSli` to evaluate to judge window\n quality.'\n x-dcl-conflicts:\n - basicSliPerformance\n properties:\n distributionCut:\n type: object\n x-dcl-go-name: DistributionCut\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceDistributionCut\n description: '`distribution_cut` is used when `good_service`\n is a count of values aggregated in a `Distribution` that\n fall into a good range. The `total_service` is the total\n count of all values aggregated in the `Distribution`.'\n x-dcl-conflicts:\n - goodTotalRatio\n properties:\n distributionFilter:\n type: string\n x-dcl-go-name: DistributionFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` aggregating values. Must\n have `ValueType = DISTRIBUTION` and `MetricKind =\n DELTA` or `MetricKind = CUMULATIVE`.\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceDistributionCutRange\n description: Range of values considered \"good.\" For\n a one-sided range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n goodTotalRatio:\n type: object\n x-dcl-go-name: GoodTotalRatio\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceGoodTotalRatio\n description: '`good_total_ratio` is used when the ratio\n of `good_service` to `total_service` is computed from\n two `TimeSeries`.'\n x-dcl-conflicts:\n - distributionCut\n properties:\n badServiceFilter:\n type: string\n x-dcl-go-name: BadServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying bad service,\n either demanded service that was not provided or demanded\n service that was of inadequate quality. Must have\n `ValueType = DOUBLE` or `ValueType = INT64` and must\n have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n goodServiceFilter:\n type: string\n x-dcl-go-name: GoodServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying good service\n provided. Must have `ValueType = DOUBLE` or `ValueType\n = INT64` and must have `MetricKind = DELTA` or `MetricKind\n = CUMULATIVE`.\n totalServiceFilter:\n type: string\n x-dcl-go-name: TotalServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying total demanded\n service. Must have `ValueType = DOUBLE` or `ValueType\n = INT64` and must have `MetricKind = DELTA` or `MetricKind\n = CUMULATIVE`.\n threshold:\n type: number\n format: double\n x-dcl-go-name: Threshold\n description: If window `performance >= threshold`, the window\n is counted as good.\n metricMeanInRange:\n type: object\n x-dcl-go-name: MetricMeanInRange\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricMeanInRange\n description: A window is good if the metric's value is in a good\n range, averaged across returned streams.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - goodTotalRatioThreshold\n - metricSumInRange\n properties:\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricMeanInRangeRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n timeSeries:\n type: string\n x-dcl-go-name: TimeSeries\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying the `TimeSeries` to use for evaluating window quality.\n metricSumInRange:\n type: object\n x-dcl-go-name: MetricSumInRange\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricSumInRange\n description: A window is good if the metric's value is in a good\n range, summed across returned streams.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - goodTotalRatioThreshold\n - metricMeanInRange\n properties:\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricSumInRangeRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n timeSeries:\n type: string\n x-dcl-go-name: TimeSeries\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying the `TimeSeries` to use for evaluating window quality.\n windowPeriod:\n type: string\n x-dcl-go-name: WindowPeriod\n description: Duration over which window quality is evaluated. Must\n be an integer fraction of a day and at least `60s`.\n serviceManagementOwned:\n type: boolean\n x-dcl-go-name: ServiceManagementOwned\n readOnly: true\n description: Output only. If set, this SLO is managed at the [Service Management](https://cloud.google.com/service-management/overview)\n level. Therefore the service yaml file is the source of truth for this\n SLO, and API `Update` and `Delete` operations are forbidden.\n x-kubernetes-immutable: true\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: Labels which have been used to annotate the service-level objective.\n Label keys must start with a letter. Label keys and values may contain\n lowercase letters, numbers, underscores, and dashes. Label keys and values\n have a maximum length of 63 characters, and must be less than 128 bytes\n in size. Up to 64 label entries may be stored. For labels which do not\n have a semantic value, the empty string may be supplied for the label\n value.\n") +var YAML_service_level_objective = []byte("info:\n title: Monitoring/ServiceLevelObjective\n description: The Monitoring ServiceLevelObjective resource\n x-dcl-struct-name: ServiceLevelObjective\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n apply:\n description: The function used to apply information about a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n delete:\n description: The function used to delete a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n deleteAll:\n description: The function used to delete all ServiceLevelObjective\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: service\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceLevelObjective\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: service\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceLevelObjective:\n title: ServiceLevelObjective\n x-dcl-id: projects/{{project}}/services/{{service}}/serviceLevelObjectives/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: userLabels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - goal\n - project\n - service\n properties:\n calendarPeriod:\n type: string\n x-dcl-go-name: CalendarPeriod\n x-dcl-go-type: ServiceLevelObjectiveCalendarPeriodEnum\n description: 'A calendar period, semantically \"since the start of the current\n ``\". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and `MONTH` are supported.\n Possible values: CALENDAR_PERIOD_UNSPECIFIED, DAY, WEEK, FORTNIGHT, MONTH,\n QUARTER, HALF, YEAR'\n x-dcl-conflicts:\n - rollingPeriod\n enum:\n - CALENDAR_PERIOD_UNSPECIFIED\n - DAY\n - WEEK\n - FORTNIGHT\n - MONTH\n - QUARTER\n - HALF\n - YEAR\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Time stamp of the `Create` or most recent `Update` command\n on this `Slo`.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Time stamp of the `Update` or `Delete` command that made this\n no longer a current `Slo`. This field is not populated in `ServiceLevelObjective`s\n returned from calls to `GetServiceLevelObjective` and `ListServiceLevelObjectives`,\n because it is always empty in the current version. It is populated in\n `ServiceLevelObjective`s representing previous versions in the output\n of `ListServiceLevelObjectiveVersions`. Because all old configuration\n versions are stored, `Update` operations mark the obsoleted version as\n deleted.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Name used for UI elements listing this SLO.\n goal:\n type: number\n format: double\n x-dcl-go-name: Goal\n description: The fraction of service that must be good in order for this\n objective to be met. `0 < goal <= 0.999`.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Resource name for this `ServiceLevelObjective`. The format\n is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rollingPeriod:\n type: string\n x-dcl-go-name: RollingPeriod\n description: A rolling time period, semantically \"in the past ``\". Must\n be an integer multiple of 1 day no larger than 30 days.\n x-dcl-conflicts:\n - calendarPeriod\n service:\n type: string\n x-dcl-go-name: Service\n description: The service for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Monitoring/Service\n field: name\n parent: true\n serviceLevelIndicator:\n type: object\n x-dcl-go-name: ServiceLevelIndicator\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicator\n description: The definition of good service, used to measure and calculate\n the quality of the `Service`'s performance with respect to a single aspect\n of service quality.\n properties:\n basicSli:\n type: object\n x-dcl-go-name: BasicSli\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSli\n description: Basic SLI on a well-known service type.\n x-dcl-conflicts:\n - requestBased\n - windowsBased\n properties:\n availability:\n type: object\n x-dcl-go-name: Availability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliAvailability\n description: Good service is defined to be the count of requests\n made to this service that return successfully.\n x-dcl-conflicts:\n - latency\n - operationAvailability\n - operationLatency\n latency:\n type: object\n x-dcl-go-name: Latency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliLatency\n description: Good service is defined to be the count of requests\n made to this service that are fast enough with respect to `latency.threshold`.\n x-dcl-conflicts:\n - availability\n - operationAvailability\n - operationLatency\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliLatencyExperienceEnum\n description: 'A description of the experience associated with\n failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count of requests\n made to this service that return in no more than `threshold`.\n location:\n type: array\n x-dcl-go-name: Location\n description: 'OPTIONAL: The set of locations to which this SLI is\n relevant. Telemetry from other locations will not be used to calculate\n performance for this SLI. If omitted, this SLI applies to all\n locations in which the Service has activity. For service types\n that don''t support breaking down by location, setting this field\n will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n method:\n type: array\n x-dcl-go-name: Method\n description: 'OPTIONAL: The set of RPCs to which this SLI is relevant.\n Telemetry from other methods will not be used to calculate performance\n for this SLI. If omitted, this SLI applies to all the Service''s\n methods. For service types that don''t support breaking down by\n method, setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n operationAvailability:\n type: object\n x-dcl-go-name: OperationAvailability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationAvailability\n description: Good service is defined to be the count of operations\n performed by this service that return successfully\n x-dcl-conflicts:\n - availability\n - latency\n - operationLatency\n operationLatency:\n type: object\n x-dcl-go-name: OperationLatency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationLatency\n description: Good service is defined to be the count of operations\n performed by this service that are fast enough with respect to\n `operation_latency.threshold`.\n x-dcl-conflicts:\n - availability\n - latency\n - operationAvailability\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationLatencyExperienceEnum\n description: 'A description of the experience associated with\n failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count of operations\n that are completed in no more than `threshold`.\n version:\n type: array\n x-dcl-go-name: Version\n description: 'OPTIONAL: The set of API versions to which this SLI\n is relevant. Telemetry from other API versions will not be used\n to calculate performance for this SLI. If omitted, this SLI applies\n to all API versions. For service types that don''t support breaking\n down by version, setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n requestBased:\n type: object\n x-dcl-go-name: RequestBased\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBased\n description: Request-based SLIs\n x-dcl-conflicts:\n - basicSli\n - windowsBased\n properties:\n distributionCut:\n type: object\n x-dcl-go-name: DistributionCut\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedDistributionCut\n description: '`distribution_cut` is used when `good_service` is\n a count of values aggregated in a `Distribution` that fall into\n a good range. The `total_service` is the total count of all values\n aggregated in the `Distribution`.'\n x-dcl-conflicts:\n - goodTotalRatio\n properties:\n distributionFilter:\n type: string\n x-dcl-go-name: DistributionFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` aggregating values. Must have `ValueType\n = DISTRIBUTION` and `MetricKind = DELTA` or `MetricKind =\n CUMULATIVE`.\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedDistributionCutRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n goodTotalRatio:\n type: object\n x-dcl-go-name: GoodTotalRatio\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedGoodTotalRatio\n description: '`good_total_ratio` is used when the ratio of `good_service`\n to `total_service` is computed from two `TimeSeries`.'\n x-dcl-conflicts:\n - distributionCut\n properties:\n badServiceFilter:\n type: string\n x-dcl-go-name: BadServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying bad service, either\n demanded service that was not provided or demanded service\n that was of inadequate quality. Must have `ValueType = DOUBLE`\n or `ValueType = INT64` and must have `MetricKind = DELTA`\n or `MetricKind = CUMULATIVE`.\n goodServiceFilter:\n type: string\n x-dcl-go-name: GoodServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying good service provided.\n Must have `ValueType = DOUBLE` or `ValueType = INT64` and\n must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n totalServiceFilter:\n type: string\n x-dcl-go-name: TotalServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying total demanded service.\n Must have `ValueType = DOUBLE` or `ValueType = INT64` and\n must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n windowsBased:\n type: object\n x-dcl-go-name: WindowsBased\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBased\n description: Windows-based SLIs\n x-dcl-conflicts:\n - basicSli\n - requestBased\n properties:\n goodBadMetricFilter:\n type: string\n x-dcl-go-name: GoodBadMetricFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` with `ValueType = BOOL`. The window\n is good if any `true` values appear in the window.\n x-dcl-conflicts:\n - goodTotalRatioThreshold\n - metricMeanInRange\n - metricSumInRange\n goodTotalRatioThreshold:\n type: object\n x-dcl-go-name: GoodTotalRatioThreshold\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThreshold\n description: A window is good if its `performance` is high enough.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - metricMeanInRange\n - metricSumInRange\n properties:\n basicSliPerformance:\n type: object\n x-dcl-go-name: BasicSliPerformance\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformance\n description: '`BasicSli` to evaluate to judge window quality.'\n x-dcl-conflicts:\n - performance\n properties:\n availability:\n type: object\n x-dcl-go-name: Availability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceAvailability\n description: Good service is defined to be the count of\n requests made to this service that return successfully.\n x-dcl-conflicts:\n - latency\n - operationAvailability\n - operationLatency\n latency:\n type: object\n x-dcl-go-name: Latency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceLatency\n description: Good service is defined to be the count of\n requests made to this service that are fast enough with\n respect to `latency.threshold`.\n x-dcl-conflicts:\n - availability\n - operationAvailability\n - operationLatency\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceLatencyExperienceEnum\n description: 'A description of the experience associated\n with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count\n of requests made to this service that return in no\n more than `threshold`.\n location:\n type: array\n x-dcl-go-name: Location\n description: 'OPTIONAL: The set of locations to which this\n SLI is relevant. Telemetry from other locations will not\n be used to calculate performance for this SLI. If omitted,\n this SLI applies to all locations in which the Service\n has activity. For service types that don''t support breaking\n down by location, setting this field will result in an\n error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n method:\n type: array\n x-dcl-go-name: Method\n description: 'OPTIONAL: The set of RPCs to which this SLI\n is relevant. Telemetry from other methods will not be\n used to calculate performance for this SLI. If omitted,\n this SLI applies to all the Service''s methods. For service\n types that don''t support breaking down by method, setting\n this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n operationAvailability:\n type: object\n x-dcl-go-name: OperationAvailability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationAvailability\n description: Good service is defined to be the count of\n operations performed by this service that return successfully\n x-dcl-conflicts:\n - availability\n - latency\n - operationLatency\n operationLatency:\n type: object\n x-dcl-go-name: OperationLatency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationLatency\n description: Good service is defined to be the count of\n operations performed by this service that are fast enough\n with respect to `operation_latency.threshold`.\n x-dcl-conflicts:\n - availability\n - latency\n - operationAvailability\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationLatencyExperienceEnum\n description: 'A description of the experience associated\n with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count\n of operations that are completed in no more than `threshold`.\n version:\n type: array\n x-dcl-go-name: Version\n description: 'OPTIONAL: The set of API versions to which\n this SLI is relevant. Telemetry from other API versions\n will not be used to calculate performance for this SLI.\n If omitted, this SLI applies to all API versions. For\n service types that don''t support breaking down by version,\n setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n performance:\n type: object\n x-dcl-go-name: Performance\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformance\n description: '`RequestBasedSli` to evaluate to judge window\n quality.'\n x-dcl-conflicts:\n - basicSliPerformance\n properties:\n distributionCut:\n type: object\n x-dcl-go-name: DistributionCut\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceDistributionCut\n description: '`distribution_cut` is used when `good_service`\n is a count of values aggregated in a `Distribution` that\n fall into a good range. The `total_service` is the total\n count of all values aggregated in the `Distribution`.'\n x-dcl-conflicts:\n - goodTotalRatio\n properties:\n distributionFilter:\n type: string\n x-dcl-go-name: DistributionFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` aggregating values. Must\n have `ValueType = DISTRIBUTION` and `MetricKind =\n DELTA` or `MetricKind = CUMULATIVE`.\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceDistributionCutRange\n description: Range of values considered \"good.\" For\n a one-sided range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n goodTotalRatio:\n type: object\n x-dcl-go-name: GoodTotalRatio\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceGoodTotalRatio\n description: '`good_total_ratio` is used when the ratio\n of `good_service` to `total_service` is computed from\n two `TimeSeries`.'\n x-dcl-conflicts:\n - distributionCut\n properties:\n badServiceFilter:\n type: string\n x-dcl-go-name: BadServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying bad service,\n either demanded service that was not provided or demanded\n service that was of inadequate quality. Must have\n `ValueType = DOUBLE` or `ValueType = INT64` and must\n have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n goodServiceFilter:\n type: string\n x-dcl-go-name: GoodServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying good service\n provided. Must have `ValueType = DOUBLE` or `ValueType\n = INT64` and must have `MetricKind = DELTA` or `MetricKind\n = CUMULATIVE`.\n totalServiceFilter:\n type: string\n x-dcl-go-name: TotalServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying total demanded\n service. Must have `ValueType = DOUBLE` or `ValueType\n = INT64` and must have `MetricKind = DELTA` or `MetricKind\n = CUMULATIVE`.\n threshold:\n type: number\n format: double\n x-dcl-go-name: Threshold\n description: If window `performance >= threshold`, the window\n is counted as good.\n metricMeanInRange:\n type: object\n x-dcl-go-name: MetricMeanInRange\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricMeanInRange\n description: A window is good if the metric's value is in a good\n range, averaged across returned streams.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - goodTotalRatioThreshold\n - metricSumInRange\n properties:\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricMeanInRangeRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n timeSeries:\n type: string\n x-dcl-go-name: TimeSeries\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying the `TimeSeries` to use for evaluating window quality.\n metricSumInRange:\n type: object\n x-dcl-go-name: MetricSumInRange\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricSumInRange\n description: A window is good if the metric's value is in a good\n range, summed across returned streams.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - goodTotalRatioThreshold\n - metricMeanInRange\n properties:\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricSumInRangeRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n timeSeries:\n type: string\n x-dcl-go-name: TimeSeries\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying the `TimeSeries` to use for evaluating window quality.\n windowPeriod:\n type: string\n x-dcl-go-name: WindowPeriod\n description: Duration over which window quality is evaluated. Must\n be an integer fraction of a day and at least `60s`.\n serviceManagementOwned:\n type: boolean\n x-dcl-go-name: ServiceManagementOwned\n readOnly: true\n description: Output only. If set, this SLO is managed at the [Service Management](https://cloud.google.com/service-management/overview)\n level. Therefore the service yaml file is the source of truth for this\n SLO, and API `Update` and `Delete` operations are forbidden.\n x-kubernetes-immutable: true\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: Labels which have been used to annotate the service-level objective.\n Label keys must start with a letter. Label keys and values may contain\n lowercase letters, numbers, underscores, and dashes. Label keys and values\n have a maximum length of 63 characters, and must be less than 128 bytes\n in size. Up to 64 label entries may be stored. For labels which do not\n have a semantic value, the empty string may be supplied for the label\n value.\n") -// 35870 bytes -// MD5: 3a16a4078396e9c8b930edfc33e07e70 +// 35895 bytes +// MD5: e0c78a0304e14d04eb32620f0b94294b diff --git a/services/google/monitoring/beta/service_level_objective_schema.go b/services/google/monitoring/beta/service_level_objective_schema.go index 3e7f8d05ea..667094c57e 100755 --- a/services/google/monitoring/beta/service_level_objective_schema.go +++ b/services/google/monitoring/beta/service_level_objective_schema.go @@ -23,6 +23,7 @@ func DCLServiceLevelObjectiveSchema() *dcl.Schema { Title: "Monitoring/ServiceLevelObjective", Description: "The Monitoring ServiceLevelObjective resource", StructName: "ServiceLevelObjective", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/beta/service_schema.go b/services/google/monitoring/beta/service_schema.go index a08d3583d3..4f55bd7e35 100755 --- a/services/google/monitoring/beta/service_schema.go +++ b/services/google/monitoring/beta/service_schema.go @@ -23,6 +23,7 @@ func DCLServiceSchema() *dcl.Schema { Title: "Monitoring/Service", Description: "The Monitoring Service resource", StructName: "Service", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/beta/uptime_check_config.yaml b/services/google/monitoring/beta/uptime_check_config.yaml index cfbbffd5ef..55714b5cb3 100755 --- a/services/google/monitoring/beta/uptime_check_config.yaml +++ b/services/google/monitoring/beta/uptime_check_config.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/UptimeCheckConfig description: The Monitoring UptimeCheckConfig resource x-dcl-struct-name: UptimeCheckConfig + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/beta/uptime_check_config_beta_yaml_embed.go b/services/google/monitoring/beta/uptime_check_config_beta_yaml_embed.go index d17a55975a..985403a8f6 100755 --- a/services/google/monitoring/beta/uptime_check_config_beta_yaml_embed.go +++ b/services/google/monitoring/beta/uptime_check_config_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/beta/uptime_check_config.yaml -var YAML_uptime_check_config = []byte("info:\n title: Monitoring/UptimeCheckConfig\n description: The Monitoring UptimeCheckConfig resource\n x-dcl-struct-name: UptimeCheckConfig\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n apply:\n description: The function used to apply information about a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n delete:\n description: The function used to delete a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n deleteAll:\n description: The function used to delete all UptimeCheckConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many UptimeCheckConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n UptimeCheckConfig:\n title: UptimeCheckConfig\n x-dcl-id: projects/{{project}}/uptimeCheckConfigs/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - timeout\n properties:\n contentMatchers:\n type: array\n x-dcl-go-name: ContentMatchers\n description: The content that is expected to appear in the data returned\n by the target server against which the check is run. Currently, only\n the first entry in the `content_matchers` list is supported, and additional\n entries will be ignored. This field is optional and should only be specified\n if a content match is required as part of the/ Uptime check.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: UptimeCheckConfigContentMatchers\n required:\n - content\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n matcher:\n type: string\n x-dcl-go-name: Matcher\n x-dcl-go-type: UptimeCheckConfigContentMatchersMatcherEnum\n description: ' Possible values: CONTENT_MATCHER_OPTION_UNSPECIFIED,\n CONTAINS_STRING, NOT_CONTAINS_STRING, MATCHES_REGEX, NOT_MATCHES_REGEX'\n default: CONTAINS_STRING\n enum:\n - CONTENT_MATCHER_OPTION_UNSPECIFIED\n - CONTAINS_STRING\n - NOT_CONTAINS_STRING\n - MATCHES_REGEX\n - NOT_MATCHES_REGEX\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A human-friendly name for the Uptime check configuration. The\n display name should be unique within a Stackdriver Workspace in order\n to make it easier to identify; however, uniqueness is not enforced. Required.\n httpCheck:\n type: object\n x-dcl-go-name: HttpCheck\n x-dcl-go-type: UptimeCheckConfigHttpCheck\n description: Contains information needed to make an HTTP or HTTPS check.\n x-dcl-conflicts:\n - tcpCheck\n properties:\n authInfo:\n type: object\n x-dcl-go-name: AuthInfo\n x-dcl-go-type: UptimeCheckConfigHttpCheckAuthInfo\n description: The authentication information. Optional when creating\n an HTTP check; defaults to empty.\n required:\n - username\n - password\n properties:\n password:\n type: string\n x-dcl-go-name: Password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n username:\n type: string\n x-dcl-go-name: Username\n body:\n type: string\n x-dcl-go-name: Body\n description: 'The request body associated with the HTTP POST request.\n If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded.\n Users can provide a `Content-Length` header via the `headers` field\n or the API will do so. If the `request_method` is `GET` and `body`\n is not empty, the API will return an error. The maximum byte size\n is 1 megabyte. Note: As with all `bytes` fields JSON representations\n are base64 encoded. e.g.: \"foo=bar\" in URL-encoded form is \"foo%3Dbar\"\n and in base64 encoding is \"Zm9vJTI1M0RiYXI=\".'\n contentType:\n type: string\n x-dcl-go-name: ContentType\n x-dcl-go-type: UptimeCheckConfigHttpCheckContentTypeEnum\n description: 'The content type to use for the check. Possible values:\n TYPE_UNSPECIFIED, URL_ENCODED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - URL_ENCODED\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: The list of headers to send as part of the Uptime check\n request. If two headers have the same key and different values, they\n should be entered as a single header, with the value being a comma-separated\n list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt\n (page 31). Entering two separate headers with the same key in a Create\n call will cause the first to be overwritten by the second. The maximum\n number of headers allowed is 100.\n x-dcl-server-default: true\n x-dcl-mutable-unreadable: true\n maskHeaders:\n type: boolean\n x-dcl-go-name: MaskHeaders\n description: Boolean specifying whether to encrypt the header information.\n Encryption should be specified for any headers related to authentication\n that you do not wish to be seen when retrieving the configuration.\n The server will be responsible for encrypting the headers. On Get/List\n calls, if `mask_headers` is set to `true` then the headers will be\n obscured with `******.`\n x-kubernetes-immutable: true\n path:\n type: string\n x-dcl-go-name: Path\n description: Optional (defaults to \"/\"). The path to the page against\n which to run the check. Will be combined with the `host` (specified\n within the `monitored_resource`) and `port` to construct the full\n URL. If the provided path does not begin with \"/\", a \"/\" will be prepended\n automatically.\n default: /\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: Optional (defaults to 80 when `use_ssl` is `false`, and\n 443 when `use_ssl` is `true`). The TCP port on the HTTP server against\n which to run the check. Will be combined with host (specified within\n the `monitored_resource`) and `path` to construct the full URL.\n x-dcl-server-default: true\n requestMethod:\n type: string\n x-dcl-go-name: RequestMethod\n x-dcl-go-type: UptimeCheckConfigHttpCheckRequestMethodEnum\n description: The HTTP request method to use for the check. If set to\n `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.\n x-kubernetes-immutable: true\n default: GET\n enum:\n - METHOD_UNSPECIFIED\n - GET\n - POST\n useSsl:\n type: boolean\n x-dcl-go-name: UseSsl\n description: If `true`, use HTTPS instead of HTTP to run the check.\n validateSsl:\n type: boolean\n x-dcl-go-name: ValidateSsl\n description: Boolean specifying whether to include SSL certificate validation\n as a part of the Uptime check. Only applies to checks where `monitored_resource`\n is set to `uptime_url`. If `use_ssl` is `false`, setting `validate_ssl`\n to `true` has no effect.\n monitoredResource:\n type: object\n x-dcl-go-name: MonitoredResource\n x-dcl-go-type: UptimeCheckConfigMonitoredResource\n description: 'The [monitored resource](https://cloud.google.com/monitoring/api/resources)\n associated with the configuration. The following monitored resource types\n are supported for Uptime checks: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer`'\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - resourceGroup\n required:\n - type\n - filterLabels\n properties:\n filterLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: FilterLabels\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'A unique resource name for this Uptime check configuration.\n The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]\n This field should be omitted when creating the Uptime check configuration;\n on create, the resource name is assigned by the server and included in\n the response.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n period:\n type: string\n x-dcl-go-name: Period\n description: How often, in seconds, the Uptime check is performed. Currently,\n the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s`\n (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.\n default: 60s\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this uptime check config.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceGroup:\n type: object\n x-dcl-go-name: ResourceGroup\n x-dcl-go-type: UptimeCheckConfigResourceGroup\n description: The group resource associated with the configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - monitoredResource\n properties:\n groupId:\n type: string\n x-dcl-go-name: GroupId\n description: The group of resources being monitored. Should be only\n the `[GROUP_ID]`, and not the full-path `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Monitoring/Group\n field: name\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: UptimeCheckConfigResourceGroupResourceTypeEnum\n description: 'The resource type of the group members. Possible values:\n RESOURCE_TYPE_UNSPECIFIED, INSTANCE, AWS_ELB_LOAD_BALANCER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - INSTANCE\n - AWS_ELB_LOAD_BALANCER\n selectedRegions:\n type: array\n x-dcl-go-name: SelectedRegions\n description: The list of regions from which the check will be run. Some\n regions contain one location, and others contain more than one. If this\n field is specified, enough regions must be provided to include a minimum\n of 3 locations. Not specifying this field will result in Uptime checks\n running from all available regions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tcpCheck:\n type: object\n x-dcl-go-name: TcpCheck\n x-dcl-go-type: UptimeCheckConfigTcpCheck\n description: Contains information needed to make a TCP check.\n x-dcl-conflicts:\n - httpCheck\n required:\n - port\n properties:\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: The TCP port on the server against which to run the check.\n Will be combined with host (specified within the `monitored_resource`)\n to construct the full URL. Required.\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: The maximum amount of time to wait for the request to complete\n (must be between 1 and 60 seconds). Required.\n") +var YAML_uptime_check_config = []byte("info:\n title: Monitoring/UptimeCheckConfig\n description: The Monitoring UptimeCheckConfig resource\n x-dcl-struct-name: UptimeCheckConfig\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n apply:\n description: The function used to apply information about a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n delete:\n description: The function used to delete a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n deleteAll:\n description: The function used to delete all UptimeCheckConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many UptimeCheckConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n UptimeCheckConfig:\n title: UptimeCheckConfig\n x-dcl-id: projects/{{project}}/uptimeCheckConfigs/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - timeout\n properties:\n contentMatchers:\n type: array\n x-dcl-go-name: ContentMatchers\n description: The content that is expected to appear in the data returned\n by the target server against which the check is run. Currently, only\n the first entry in the `content_matchers` list is supported, and additional\n entries will be ignored. This field is optional and should only be specified\n if a content match is required as part of the/ Uptime check.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: UptimeCheckConfigContentMatchers\n required:\n - content\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n matcher:\n type: string\n x-dcl-go-name: Matcher\n x-dcl-go-type: UptimeCheckConfigContentMatchersMatcherEnum\n description: ' Possible values: CONTENT_MATCHER_OPTION_UNSPECIFIED,\n CONTAINS_STRING, NOT_CONTAINS_STRING, MATCHES_REGEX, NOT_MATCHES_REGEX'\n default: CONTAINS_STRING\n enum:\n - CONTENT_MATCHER_OPTION_UNSPECIFIED\n - CONTAINS_STRING\n - NOT_CONTAINS_STRING\n - MATCHES_REGEX\n - NOT_MATCHES_REGEX\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A human-friendly name for the Uptime check configuration. The\n display name should be unique within a Stackdriver Workspace in order\n to make it easier to identify; however, uniqueness is not enforced. Required.\n httpCheck:\n type: object\n x-dcl-go-name: HttpCheck\n x-dcl-go-type: UptimeCheckConfigHttpCheck\n description: Contains information needed to make an HTTP or HTTPS check.\n x-dcl-conflicts:\n - tcpCheck\n properties:\n authInfo:\n type: object\n x-dcl-go-name: AuthInfo\n x-dcl-go-type: UptimeCheckConfigHttpCheckAuthInfo\n description: The authentication information. Optional when creating\n an HTTP check; defaults to empty.\n required:\n - username\n - password\n properties:\n password:\n type: string\n x-dcl-go-name: Password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n username:\n type: string\n x-dcl-go-name: Username\n body:\n type: string\n x-dcl-go-name: Body\n description: 'The request body associated with the HTTP POST request.\n If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded.\n Users can provide a `Content-Length` header via the `headers` field\n or the API will do so. If the `request_method` is `GET` and `body`\n is not empty, the API will return an error. The maximum byte size\n is 1 megabyte. Note: As with all `bytes` fields JSON representations\n are base64 encoded. e.g.: \"foo=bar\" in URL-encoded form is \"foo%3Dbar\"\n and in base64 encoding is \"Zm9vJTI1M0RiYXI=\".'\n contentType:\n type: string\n x-dcl-go-name: ContentType\n x-dcl-go-type: UptimeCheckConfigHttpCheckContentTypeEnum\n description: 'The content type to use for the check. Possible values:\n TYPE_UNSPECIFIED, URL_ENCODED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - URL_ENCODED\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: The list of headers to send as part of the Uptime check\n request. If two headers have the same key and different values, they\n should be entered as a single header, with the value being a comma-separated\n list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt\n (page 31). Entering two separate headers with the same key in a Create\n call will cause the first to be overwritten by the second. The maximum\n number of headers allowed is 100.\n x-dcl-server-default: true\n x-dcl-mutable-unreadable: true\n maskHeaders:\n type: boolean\n x-dcl-go-name: MaskHeaders\n description: Boolean specifying whether to encrypt the header information.\n Encryption should be specified for any headers related to authentication\n that you do not wish to be seen when retrieving the configuration.\n The server will be responsible for encrypting the headers. On Get/List\n calls, if `mask_headers` is set to `true` then the headers will be\n obscured with `******.`\n x-kubernetes-immutable: true\n path:\n type: string\n x-dcl-go-name: Path\n description: Optional (defaults to \"/\"). The path to the page against\n which to run the check. Will be combined with the `host` (specified\n within the `monitored_resource`) and `port` to construct the full\n URL. If the provided path does not begin with \"/\", a \"/\" will be prepended\n automatically.\n default: /\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: Optional (defaults to 80 when `use_ssl` is `false`, and\n 443 when `use_ssl` is `true`). The TCP port on the HTTP server against\n which to run the check. Will be combined with host (specified within\n the `monitored_resource`) and `path` to construct the full URL.\n x-dcl-server-default: true\n requestMethod:\n type: string\n x-dcl-go-name: RequestMethod\n x-dcl-go-type: UptimeCheckConfigHttpCheckRequestMethodEnum\n description: The HTTP request method to use for the check. If set to\n `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.\n x-kubernetes-immutable: true\n default: GET\n enum:\n - METHOD_UNSPECIFIED\n - GET\n - POST\n useSsl:\n type: boolean\n x-dcl-go-name: UseSsl\n description: If `true`, use HTTPS instead of HTTP to run the check.\n validateSsl:\n type: boolean\n x-dcl-go-name: ValidateSsl\n description: Boolean specifying whether to include SSL certificate validation\n as a part of the Uptime check. Only applies to checks where `monitored_resource`\n is set to `uptime_url`. If `use_ssl` is `false`, setting `validate_ssl`\n to `true` has no effect.\n monitoredResource:\n type: object\n x-dcl-go-name: MonitoredResource\n x-dcl-go-type: UptimeCheckConfigMonitoredResource\n description: 'The [monitored resource](https://cloud.google.com/monitoring/api/resources)\n associated with the configuration. The following monitored resource types\n are supported for Uptime checks: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer`'\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - resourceGroup\n required:\n - type\n - filterLabels\n properties:\n filterLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: FilterLabels\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'A unique resource name for this Uptime check configuration.\n The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]\n This field should be omitted when creating the Uptime check configuration;\n on create, the resource name is assigned by the server and included in\n the response.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n period:\n type: string\n x-dcl-go-name: Period\n description: How often, in seconds, the Uptime check is performed. Currently,\n the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s`\n (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.\n default: 60s\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this uptime check config.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceGroup:\n type: object\n x-dcl-go-name: ResourceGroup\n x-dcl-go-type: UptimeCheckConfigResourceGroup\n description: The group resource associated with the configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - monitoredResource\n properties:\n groupId:\n type: string\n x-dcl-go-name: GroupId\n description: The group of resources being monitored. Should be only\n the `[GROUP_ID]`, and not the full-path `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Monitoring/Group\n field: name\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: UptimeCheckConfigResourceGroupResourceTypeEnum\n description: 'The resource type of the group members. Possible values:\n RESOURCE_TYPE_UNSPECIFIED, INSTANCE, AWS_ELB_LOAD_BALANCER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - INSTANCE\n - AWS_ELB_LOAD_BALANCER\n selectedRegions:\n type: array\n x-dcl-go-name: SelectedRegions\n description: The list of regions from which the check will be run. Some\n regions contain one location, and others contain more than one. If this\n field is specified, enough regions must be provided to include a minimum\n of 3 locations. Not specifying this field will result in Uptime checks\n running from all available regions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tcpCheck:\n type: object\n x-dcl-go-name: TcpCheck\n x-dcl-go-type: UptimeCheckConfigTcpCheck\n description: Contains information needed to make a TCP check.\n x-dcl-conflicts:\n - httpCheck\n required:\n - port\n properties:\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: The TCP port on the server against which to run the check.\n Will be combined with host (specified within the `monitored_resource`)\n to construct the full URL. Required.\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: The maximum amount of time to wait for the request to complete\n (must be between 1 and 60 seconds). Required.\n") -// 13728 bytes -// MD5: b69a989e00bd7ad58d29d796bb1ef505 +// 13753 bytes +// MD5: 9d5b7d4fea700826f18d41692fc984d7 diff --git a/services/google/monitoring/beta/uptime_check_config_schema.go b/services/google/monitoring/beta/uptime_check_config_schema.go index 02f21a6ed0..8bd5373fb6 100755 --- a/services/google/monitoring/beta/uptime_check_config_schema.go +++ b/services/google/monitoring/beta/uptime_check_config_schema.go @@ -23,6 +23,7 @@ func DCLUptimeCheckConfigSchema() *dcl.Schema { Title: "Monitoring/UptimeCheckConfig", Description: "The Monitoring UptimeCheckConfig resource", StructName: "UptimeCheckConfig", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/dashboard.yaml b/services/google/monitoring/dashboard.yaml index e0e4237704..3032fe4027 100755 --- a/services/google/monitoring/dashboard.yaml +++ b/services/google/monitoring/dashboard.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/Dashboard description: The Monitoring Dashboard resource x-dcl-struct-name: Dashboard + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/dashboard_schema.go b/services/google/monitoring/dashboard_schema.go index cbc1721513..756876b1e4 100755 --- a/services/google/monitoring/dashboard_schema.go +++ b/services/google/monitoring/dashboard_schema.go @@ -23,6 +23,7 @@ func DCLDashboardSchema() *dcl.Schema { Title: "Monitoring/Dashboard", Description: "The Monitoring Dashboard resource", StructName: "Dashboard", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/dashboard_yaml_embed.go b/services/google/monitoring/dashboard_yaml_embed.go index 86f4611f1a..b076208edc 100755 --- a/services/google/monitoring/dashboard_yaml_embed.go +++ b/services/google/monitoring/dashboard_yaml_embed.go @@ -17,7 +17,7 @@ package monitoring // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/dashboard.yaml -var YAML_dashboard = []byte("info:\n title: Monitoring/Dashboard\n description: The Monitoring Dashboard resource\n x-dcl-struct-name: Dashboard\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n apply:\n description: The function used to apply information about a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n delete:\n description: The function used to delete a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n deleteAll:\n description: The function used to delete all Dashboard\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Dashboard\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Dashboard:\n title: Dashboard\n x-dcl-id: projects/{{project}}/dashboards/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - displayName\n - project\n properties:\n columnLayout:\n type: object\n x-dcl-go-name: ColumnLayout\n x-dcl-go-type: DashboardColumnLayout\n description: The content is divided into equally spaced columns and the\n widgets are arranged vertically.\n x-dcl-conflicts:\n - gridLayout\n - mosaicLayout\n - rowLayout\n properties:\n columns:\n type: array\n x-dcl-go-name: Columns\n description: The columns of content to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumns\n properties:\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: The relative weight of this column. The column weight\n is used to adjust the width of columns on the screen (relative\n to peers). Greater the weight, greater the width of the column\n on the screen. If omitted, a value of 1 is used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The display widgets arranged vertically in this column.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries\n to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field\n is optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a\n danger threshold that triggers above. Similarly, if\n x is above/below a warning threshold that triggers\n above/below, then the scorecard is in a warning state\n - unless x also puts it in a danger state. (Danger\n trumps warning.) As an example, consider a scorecard\n with the following four thresholds: { value: 90, category:\n ''DANGER'', trigger: ''ABOVE'', },: { value: 70, category:\n ''WARNING'', trigger: ''ABOVE'', }, { value: 10, category:\n ''DANGER'', trigger: ''BELOW'', }, { value: 20, category:\n ''WARNING'', trigger: ''BELOW'', } Then: values\n less than or equal to 10 would put the scorecard in\n a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal\n to 70 but less than 90 a WARNING state, and values\n greater than or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsText\n description: A raw string or markdown displaying textual\n content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a\n string with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data\n point frequency for this data set, implemented\n by specifying the minimum alignment period to\n use in a time series query For example, if the\n data is published once every 10 minutes, the\n `min_alignment_period` should be at least 10\n minutes. It would not make sense to fetch and\n align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted\n on the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time\n series data is returned. Use this field\n to combine multiple time series for\n different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in\n fetched time series. If non-empty, this\n unit will override any unit that accompanies\n fetched data. The format is the same as\n the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The mutable, human-readable name.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: \\`etag\\` is used for optimistic concurrency control as a way\n to help prevent simultaneous updates of a policy from overwriting each\n other. An \\`etag\\` is returned in the response to \\`GetDashboard\\`, and\n users are expected to put that etag in the request to \\`UpdateDashboard\\`\n to ensure that their change will be applied to the same version of the\n Dashboard configuration. The field should not be passed during dashboard\n creation.\n x-kubernetes-immutable: true\n gridLayout:\n type: object\n x-dcl-go-name: GridLayout\n x-dcl-go-type: DashboardGridLayout\n description: Content is arranged with a basic layout that re-flows a simple\n list of informational elements like widgets or tiles.\n x-dcl-conflicts:\n - mosaicLayout\n - rowLayout\n - columnLayout\n properties:\n columns:\n type: integer\n format: int64\n x-dcl-go-name: Columns\n description: The number of columns into which the view's width is divided.\n If omitted or set to zero, a system default will be used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The informational elements that are arranged into the columns\n row-first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardGridLayoutWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardGridLayoutWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries to return.\n See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned. An\n empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect logs\n for. Currently only projects are supported. If empty, the\n widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart. The\n value of the chart should always be greater than or\n equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart. The\n value of the chart should always be less than or equal\n to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency in\n the chart implemented by specifying the minimum alignment\n period to use in a time series query. For example, if\n the data is published once every 10 minutes it would\n not make sense to fetch and align data at one minute\n intervals. This field is optional and exists only as\n a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to show\n in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state of\n the scorecard given the time series'' current value. For\n an actual value x, the scorecard is in a danger state if\n x is less than or equal to a danger threshold that triggers\n below, or greater than or equal to a danger threshold that\n triggers above. Similarly, if x is above/below a warning\n threshold that triggers above/below, then the scorecard\n is in a warning state - unless x also puts it in a danger\n state. (Danger trumps warning.) As an example, consider\n a scorecard with the following four thresholds: { value:\n 90, category: ''DANGER'', trigger: ''ABOVE'', },: { value:\n 70, category: ''WARNING'', trigger: ''ABOVE'', }, { value:\n 10, category: ''DANGER'', trigger: ''BELOW'', }, { value:\n 20, category: ''WARNING'', trigger: ''BELOW'', } Then:\n values less than or equal to 10 would put the scorecard\n in a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal to 70\n but less than 90 a WARNING state, and values greater than\n or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold. Color\n is not allowed in a XyChart. Possible values: COLOR_UNSPECIFIED,\n GREY, BLUE, GREEN, YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible values:\n DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value should\n be defined in the native scale of the metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series data\n from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources, and\n projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter. Possible\n values: DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow to\n pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied to each\n time series independently to produce the value\n which will be used to compare the time series\n to other time series. Possible values: METHOD_UNSPECIFIED,\n METHOD_MEAN, METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after `aggregation`\n is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between two time\n series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter. Possible\n values: DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow to\n pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied to each\n time series independently to produce the value\n which will be used to compare the time series\n to other time series. Possible values: METHOD_UNSPECIFIED,\n METHOD_MEAN, METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after the\n ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched time\n series. If non-empty, this unit will override any unit\n that accompanies fetched data. The format is the same\n as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardGridLayoutWidgetsText\n description: A raw string or markdown displaying textual content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardGridLayoutWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a string\n with interpolations of the form `${label_name}`, which\n will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data point\n frequency for this data set, implemented by specifying\n the minimum alignment period to use in a time series\n query For example, if the data is published once every\n 10 minutes, the `min_alignment_period` should be at\n least 10 minutes. It would not make sense to fetch\n and align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted on the\n chart. Possible values: PLOT_TYPE_UNSPECIFIED, LINE,\n STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across the\n chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold. Color\n is not allowed in a XyChart. Possible values: COLOR_UNSPECIFIED,\n GREY, BLUE, GREEN, YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible values:\n DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value should\n be defined in the native scale of the metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison chart.\n A comparison chart simultaneously shows values from two\n similar-length time periods (e.g., week-over-week metrics).\n The duration must be positive, and it can only be applied\n to charts with data sets of LINE plot type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear scale\n is used. Possible values: SCALE_UNSPECIFIED, LINEAR,\n LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear scale\n is used. Possible values: SCALE_UNSPECIFIED, LINEAR,\n LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n mosaicLayout:\n type: object\n x-dcl-go-name: MosaicLayout\n x-dcl-go-type: DashboardMosaicLayout\n description: The content is arranged as a grid of tiles, with each content\n widget occupying one or more tiles.\n x-dcl-conflicts:\n - gridLayout\n - rowLayout\n - columnLayout\n properties:\n columns:\n type: integer\n format: int64\n x-dcl-go-name: Columns\n description: The number of columns in the mosaic grid.\n tiles:\n type: array\n x-dcl-go-name: Tiles\n description: The tiles to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTiles\n properties:\n height:\n type: integer\n format: int64\n x-dcl-go-name: Height\n description: The height of the tile, measured in grid squares.\n widget:\n type: object\n x-dcl-go-name: Widget\n x-dcl-go-type: DashboardMosaicLayoutTilesWidget\n description: The informational widget contained in the tile.\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries to\n return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field is\n optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a danger\n threshold that triggers above. Similarly, if x is above/below\n a warning threshold that triggers above/below, then\n the scorecard is in a warning state - unless x also\n puts it in a danger state. (Danger trumps warning.) As\n an example, consider a scorecard with the following\n four thresholds: { value: 90, category: ''DANGER'', trigger:\n ''ABOVE'', },: { value: 70, category: ''WARNING'', trigger:\n ''ABOVE'', }, { value: 10, category: ''DANGER'', trigger:\n ''BELOW'', }, { value: 20, category: ''WARNING'', trigger:\n ''BELOW'', } Then: values less than or equal to 10\n would put the scorecard in a DANGER state, values greater\n than 10 but less than or equal to 20 a WARNING state,\n values strictly between 20 and 70 an OK state, values\n greater than or equal to 70 but less than 90 a WARNING\n state, and values greater than or equal to 90 a DANGER\n state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible values:\n COLOR_UNSPECIFIED, GREY, BLUE, GREEN, YELLOW,\n ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter.\n Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series. Possible\n values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between two\n time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is\n used to divide the data in all the [time\n series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series into\n a single time series, where the value\n of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time series.\n Reduction can yield a time series with\n a different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each individual\n time series is a member of exactly one\n subset. The `cross_series_reducer` is\n applied to each subset of time series.\n It is not possible to reduce across\n different resource types, so this field\n implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are\n aggregated away. If `group_by_fields`\n is not specified and all the time series\n have the same resource type, then the\n time series are aggregated into a single\n output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single\n time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on\n the `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified\n and not equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error\n is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is\n used to divide the data in all the [time\n series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series into\n a single time series, where the value\n of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time series.\n Reduction can yield a time series with\n a different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each individual\n time series is a member of exactly one\n subset. The `cross_series_reducer` is\n applied to each subset of time series.\n It is not possible to reduce across\n different resource types, so this field\n implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are\n aggregated away. If `group_by_fields`\n is not specified and all the time series\n have the same resource type, then the\n time series are aggregated into a single\n output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single\n time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on\n the `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified\n and not equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error\n is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter.\n Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series. Possible\n values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetText\n description: A raw string or markdown displaying textual content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a string\n with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data point\n frequency for this data set, implemented by specifying\n the minimum alignment period to use in a time\n series query For example, if the data is published\n once every 10 minutes, the `min_alignment_period`\n should be at least 10 minutes. It would not make\n sense to fetch and align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted on\n the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass through\n the filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to\n allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently\n to produce the value which will be\n used to compare the time series to\n other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN, METHOD_MAX,\n METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the\n data. The value must be at least\n 60 seconds. If a per-series aligner\n other than `ALIGN_NONE` is specified,\n this field is required or an error\n is returned. If no per-series\n aligner is specified, or the aligner\n `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not\n all reducer operations can be\n applied to all time series. The\n valid choices depend on the `metric_kind`\n and the `value_type` of the original\n time series. Reduction can yield\n a time series with a different\n `metric_kind` or `value_type`\n than the input time series. Time\n series data must first be aligned\n (see `per_series_aligner`) in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets prior\n to applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to\n reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the\n data. The value must be at least\n 60 seconds. If a per-series aligner\n other than `ALIGN_NONE` is specified,\n this field is required or an error\n is returned. If no per-series\n aligner is specified, or the aligner\n `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not\n all reducer operations can be\n applied to all time series. The\n valid choices depend on the `metric_kind`\n and the `value_type` of the original\n time series. Reduction can yield\n a time series with a different\n `metric_kind` or `value_type`\n than the input time series. Time\n series data must first be aligned\n (see `per_series_aligner`) in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets prior\n to applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to\n reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass through\n the filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to\n allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently\n to produce the value which will be\n used to compare the time series to\n other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN, METHOD_MAX,\n METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will\n override any unit that accompanies fetched\n data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible values:\n COLOR_UNSPECIFIED, GREY, BLUE, GREEN, YELLOW,\n ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n width:\n type: integer\n format: int64\n x-dcl-go-name: Width\n description: The width of the tile, measured in grid squares.\n xPos:\n type: integer\n format: int64\n x-dcl-go-name: XPos\n description: The zero-indexed position of the tile in grid squares\n relative to the left edge of the grid.\n yPos:\n type: integer\n format: int64\n x-dcl-go-name: YPos\n description: The zero-indexed position of the tile in grid squares\n relative to the top edge of the grid.\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The resource name of the dashboard.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rowLayout:\n type: object\n x-dcl-go-name: RowLayout\n x-dcl-go-type: DashboardRowLayout\n description: The content is divided into equally spaced rows and the widgets\n are arranged horizontally.\n x-dcl-conflicts:\n - gridLayout\n - mosaicLayout\n - columnLayout\n properties:\n rows:\n type: array\n x-dcl-go-name: Rows\n description: The rows of content to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRows\n properties:\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: The relative weight of this row. The row weight is\n used to adjust the height of rows on the screen (relative to\n peers). Greater the weight, greater the height of the row on\n the screen. If omitted, a value of 1 is used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The display widgets arranged horizontally in this\n row.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries\n to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field\n is optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a\n danger threshold that triggers above. Similarly, if\n x is above/below a warning threshold that triggers\n above/below, then the scorecard is in a warning state\n - unless x also puts it in a danger state. (Danger\n trumps warning.) As an example, consider a scorecard\n with the following four thresholds: { value: 90, category:\n ''DANGER'', trigger: ''ABOVE'', },: { value: 70, category:\n ''WARNING'', trigger: ''ABOVE'', }, { value: 10, category:\n ''DANGER'', trigger: ''BELOW'', }, { value: 20, category:\n ''WARNING'', trigger: ''BELOW'', } Then: values\n less than or equal to 10 would put the scorecard in\n a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal\n to 70 but less than 90 a WARNING state, and values\n greater than or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsText\n description: A raw string or markdown displaying textual\n content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a\n string with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data\n point frequency for this data set, implemented\n by specifying the minimum alignment period to\n use in a time series query For example, if the\n data is published once every 10 minutes, the\n `min_alignment_period` should be at least 10\n minutes. It would not make sense to fetch and\n align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted\n on the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time\n series data is returned. Use this field\n to combine multiple time series for\n different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in\n fetched time series. If non-empty, this\n unit will override any unit that accompanies\n fetched data. The format is the same as\n the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n") +var YAML_dashboard = []byte("info:\n title: Monitoring/Dashboard\n description: The Monitoring Dashboard resource\n x-dcl-struct-name: Dashboard\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n apply:\n description: The function used to apply information about a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n delete:\n description: The function used to delete a Dashboard\n parameters:\n - name: Dashboard\n required: true\n description: A full instance of a Dashboard\n deleteAll:\n description: The function used to delete all Dashboard\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Dashboard\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Dashboard:\n title: Dashboard\n x-dcl-id: projects/{{project}}/dashboards/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - displayName\n - project\n properties:\n columnLayout:\n type: object\n x-dcl-go-name: ColumnLayout\n x-dcl-go-type: DashboardColumnLayout\n description: The content is divided into equally spaced columns and the\n widgets are arranged vertically.\n x-dcl-conflicts:\n - gridLayout\n - mosaicLayout\n - rowLayout\n properties:\n columns:\n type: array\n x-dcl-go-name: Columns\n description: The columns of content to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumns\n properties:\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: The relative weight of this column. The column weight\n is used to adjust the width of columns on the screen (relative\n to peers). Greater the weight, greater the width of the column\n on the screen. If omitted, a value of 1 is used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The display widgets arranged vertically in this column.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries\n to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field\n is optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a\n danger threshold that triggers above. Similarly, if\n x is above/below a warning threshold that triggers\n above/below, then the scorecard is in a warning state\n - unless x also puts it in a danger state. (Danger\n trumps warning.) As an example, consider a scorecard\n with the following four thresholds: { value: 90, category:\n ''DANGER'', trigger: ''ABOVE'', },: { value: 70, category:\n ''WARNING'', trigger: ''ABOVE'', }, { value: 10, category:\n ''DANGER'', trigger: ''BELOW'', }, { value: 20, category:\n ''WARNING'', trigger: ''BELOW'', } Then: values\n less than or equal to 10 would put the scorecard in\n a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal\n to 70 but less than 90 a WARNING state, and values\n greater than or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsText\n description: A raw string or markdown displaying textual\n content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a\n string with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data\n point frequency for this data set, implemented\n by specifying the minimum alignment period to\n use in a time series query For example, if the\n data is published once every 10 minutes, the\n `min_alignment_period` should be at least 10\n minutes. It would not make sense to fetch and\n align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted\n on the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time\n series data is returned. Use this field\n to combine multiple time series for\n different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in\n fetched time series. If non-empty, this\n unit will override any unit that accompanies\n fetched data. The format is the same as\n the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardColumnLayoutColumnsWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The mutable, human-readable name.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: \\`etag\\` is used for optimistic concurrency control as a way\n to help prevent simultaneous updates of a policy from overwriting each\n other. An \\`etag\\` is returned in the response to \\`GetDashboard\\`, and\n users are expected to put that etag in the request to \\`UpdateDashboard\\`\n to ensure that their change will be applied to the same version of the\n Dashboard configuration. The field should not be passed during dashboard\n creation.\n x-kubernetes-immutable: true\n gridLayout:\n type: object\n x-dcl-go-name: GridLayout\n x-dcl-go-type: DashboardGridLayout\n description: Content is arranged with a basic layout that re-flows a simple\n list of informational elements like widgets or tiles.\n x-dcl-conflicts:\n - mosaicLayout\n - rowLayout\n - columnLayout\n properties:\n columns:\n type: integer\n format: int64\n x-dcl-go-name: Columns\n description: The number of columns into which the view's width is divided.\n If omitted or set to zero, a system default will be used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The informational elements that are arranged into the columns\n row-first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardGridLayoutWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardGridLayoutWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries to return.\n See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned. An\n empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect logs\n for. Currently only projects are supported. If empty, the\n widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart. The\n value of the chart should always be greater than or\n equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart. The\n value of the chart should always be less than or equal\n to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency in\n the chart implemented by specifying the minimum alignment\n period to use in a time series query. For example, if\n the data is published once every 10 minutes it would\n not make sense to fetch and align data at one minute\n intervals. This field is optional and exists only as\n a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to show\n in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state of\n the scorecard given the time series'' current value. For\n an actual value x, the scorecard is in a danger state if\n x is less than or equal to a danger threshold that triggers\n below, or greater than or equal to a danger threshold that\n triggers above. Similarly, if x is above/below a warning\n threshold that triggers above/below, then the scorecard\n is in a warning state - unless x also puts it in a danger\n state. (Danger trumps warning.) As an example, consider\n a scorecard with the following four thresholds: { value:\n 90, category: ''DANGER'', trigger: ''ABOVE'', },: { value:\n 70, category: ''WARNING'', trigger: ''ABOVE'', }, { value:\n 10, category: ''DANGER'', trigger: ''BELOW'', }, { value:\n 20, category: ''WARNING'', trigger: ''BELOW'', } Then:\n values less than or equal to 10 would put the scorecard\n in a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal to 70\n but less than 90 a WARNING state, and values greater than\n or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold. Color\n is not allowed in a XyChart. Possible values: COLOR_UNSPECIFIED,\n GREY, BLUE, GREEN, YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible values:\n DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value should\n be defined in the native scale of the metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series data\n from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources, and\n projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter. Possible\n values: DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow to\n pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied to each\n time series independently to produce the value\n which will be used to compare the time series\n to other time series. Possible values: METHOD_UNSPECIFIED,\n METHOD_MEAN, METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after `aggregation`\n is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between two time\n series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter. Possible\n values: DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow to\n pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied to each\n time series independently to produce the value\n which will be used to compare the time series\n to other time series. Possible values: METHOD_UNSPECIFIED,\n METHOD_MEAN, METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after the\n ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used to\n divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will be\n done before the per-series aligner can be applied\n to the data. The value must be at least 60\n seconds. If a per-series aligner other than\n `ALIGN_NONE` is specified, this field is required\n or an error is returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE` is\n specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be used\n to combine time series into a single time series,\n where the value of each data point in the resulting\n series is a function of all the already aligned\n values in the input time series. Not all reducer\n operations can be applied to all time series.\n The valid choices depend on the `metric_kind`\n and the `value_type` of the original time series.\n Reduction can yield a time series with a different\n `metric_kind` or `value_type` than the input\n time series. Time series data must first be\n aligned (see `per_series_aligner`) in order\n to perform cross-time series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX,\n REDUCE_SUM, REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve when\n `cross_series_reducer` is specified. The `group_by_fields`\n determine how the time series are partitioned\n into subsets prior to applying the aggregation\n operation. Each subset contains time series\n that have the same value for each of the grouping\n fields. Each individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series. It\n is not possible to reduce across different resource\n types, so this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same resource\n type, then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to bring\n the data points in a single time series into\n temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points in\n an `alignment_period` to be mathematically grouped\n together, resulting in a single data point for\n each `alignment_period` with end timestamp at\n the end of the period. Not all alignment operations\n may be applied to all time series. The valid\n choices depend on the `metric_kind` and `value_type`\n of the original time series. Alignment can change\n the `metric_kind` or the `value_type` of the\n time series. Time series data must be aligned\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified, then\n `per_series_aligner` must be specified and not\n equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched time\n series. If non-empty, this unit will override any unit\n that accompanies fetched data. The format is the same\n as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardGridLayoutWidgetsText\n description: A raw string or markdown displaying textual content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardGridLayoutWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a string\n with interpolations of the form `${label_name}`, which\n will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data point\n frequency for this data set, implemented by specifying\n the minimum alignment period to use in a time series\n query For example, if the data is published once every\n 10 minutes, the `min_alignment_period` should be at\n least 10 minutes. It would not make sense to fetch\n and align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted on the\n chart. Possible values: PLOT_TYPE_UNSPECIFIED, LINE,\n STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across the\n chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold. Color\n is not allowed in a XyChart. Possible values: COLOR_UNSPECIFIED,\n GREY, BLUE, GREEN, YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible values:\n DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value should\n be defined in the native scale of the metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison chart.\n A comparison chart simultaneously shows values from two\n similar-length time periods (e.g., week-over-week metrics).\n The duration must be positive, and it can only be applied\n to charts with data sets of LINE plot type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear scale\n is used. Possible values: SCALE_UNSPECIFIED, LINEAR,\n LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardGridLayoutWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear scale\n is used. Possible values: SCALE_UNSPECIFIED, LINEAR,\n LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n mosaicLayout:\n type: object\n x-dcl-go-name: MosaicLayout\n x-dcl-go-type: DashboardMosaicLayout\n description: The content is arranged as a grid of tiles, with each content\n widget occupying one or more tiles.\n x-dcl-conflicts:\n - gridLayout\n - rowLayout\n - columnLayout\n properties:\n columns:\n type: integer\n format: int64\n x-dcl-go-name: Columns\n description: The number of columns in the mosaic grid.\n tiles:\n type: array\n x-dcl-go-name: Tiles\n description: The tiles to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTiles\n properties:\n height:\n type: integer\n format: int64\n x-dcl-go-name: Height\n description: The height of the tile, measured in grid squares.\n widget:\n type: object\n x-dcl-go-name: Widget\n x-dcl-go-type: DashboardMosaicLayoutTilesWidget\n description: The informational widget contained in the tile.\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries to\n return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field is\n optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a danger\n threshold that triggers above. Similarly, if x is above/below\n a warning threshold that triggers above/below, then\n the scorecard is in a warning state - unless x also\n puts it in a danger state. (Danger trumps warning.) As\n an example, consider a scorecard with the following\n four thresholds: { value: 90, category: ''DANGER'', trigger:\n ''ABOVE'', },: { value: 70, category: ''WARNING'', trigger:\n ''ABOVE'', }, { value: 10, category: ''DANGER'', trigger:\n ''BELOW'', }, { value: 20, category: ''WARNING'', trigger:\n ''BELOW'', } Then: values less than or equal to 10\n would put the scorecard in a DANGER state, values greater\n than 10 but less than or equal to 20 a WARNING state,\n values strictly between 20 and 70 an OK state, values\n greater than or equal to 70 but less than 90 a WARNING\n state, and values greater than or equal to 90 a DANGER\n state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible values:\n COLOR_UNSPECIFIED, GREY, BLUE, GREEN, YELLOW,\n ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series data\n is returned. Use this field to combine multiple\n time series for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter.\n Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series. Possible\n values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between two\n time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is\n used to divide the data in all the [time\n series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series into\n a single time series, where the value\n of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time series.\n Reduction can yield a time series with\n a different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each individual\n time series is a member of exactly one\n subset. The `cross_series_reducer` is\n applied to each subset of time series.\n It is not possible to reduce across\n different resource types, so this field\n implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are\n aggregated away. If `group_by_fields`\n is not specified and all the time series\n have the same resource type, then the\n time series are aggregated into a single\n output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single\n time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on\n the `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified\n and not equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error\n is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is\n used to divide the data in all the [time\n series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series into\n a single time series, where the value\n of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time series.\n Reduction can yield a time series with\n a different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each individual\n time series is a member of exactly one\n subset. The `cross_series_reducer` is\n applied to each subset of time series.\n It is not possible to reduce across\n different resource types, so this field\n implicitly contains `resource.type`. Fields\n not specified in `group_by_fields` are\n aggregated away. If `group_by_fields`\n is not specified and all the time series\n have the same resource type, then the\n time series are aggregated into a single\n output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single\n time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on\n the `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified\n and not equal to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise, an error\n is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to select\n time series that pass through the filter.\n Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series. Possible\n values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner can\n be applied to the data. The value must\n be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is returned.\n If no per-series aligner is specified, or\n the aligner `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to be\n used to combine time series into a single\n time series, where the value of each data\n point in the resulting series is a function\n of all the already aligned values in the\n input time series. Not all reducer operations\n can be applied to all time series. The valid\n choices depend on the `metric_kind` and\n the `value_type` of the original time series.\n Reduction can yield a time series with a\n different `metric_kind` or `value_type`\n than the input time series. Time series\n data must first be aligned (see `per_series_aligner`)\n in order to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be specified,\n and must not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise, an error\n is returned. Possible values: REDUCE_NONE,\n REDUCE_MEAN, REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that have\n the same value for each of the grouping\n fields. Each individual time series is a\n member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not specified\n in `group_by_fields` are aggregated away. If\n `group_by_fields` is not specified and all\n the time series have the same resource type,\n then the time series are aggregated into\n a single output time series. If `cross_series_reducer`\n is not defined, this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how to\n bring the data points in a single time series\n into temporal alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data points\n in an `alignment_period` to be mathematically\n grouped together, resulting in a single\n data point for each `alignment_period` with\n end timestamp at the end of the period. Not\n all alignment operations may be applied\n to all time series. The valid choices depend\n on the `metric_kind` and `value_type` of\n the original time series. Alignment can\n change the `metric_kind` or the `value_type`\n of the time series. Time series data must\n be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetText\n description: A raw string or markdown displaying textual content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a string\n with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data point\n frequency for this data set, implemented by specifying\n the minimum alignment period to use in a time\n series query For example, if the data is published\n once every 10 minutes, the `min_alignment_period`\n should be at least 10 minutes. It would not make\n sense to fetch and align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted on\n the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass through\n the filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to\n allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently\n to produce the value which will be\n used to compare the time series to\n other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN, METHOD_MAX,\n METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the\n data. The value must be at least\n 60 seconds. If a per-series aligner\n other than `ALIGN_NONE` is specified,\n this field is required or an error\n is returned. If no per-series\n aligner is specified, or the aligner\n `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not\n all reducer operations can be\n applied to all time series. The\n valid choices depend on the `metric_kind`\n and the `value_type` of the original\n time series. Reduction can yield\n a time series with a different\n `metric_kind` or `value_type`\n than the input time series. Time\n series data must first be aligned\n (see `per_series_aligner`) in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets prior\n to applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to\n reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the\n data. The value must be at least\n 60 seconds. If a per-series aligner\n other than `ALIGN_NONE` is specified,\n this field is required or an error\n is returned. If no per-series\n aligner is specified, or the aligner\n `ALIGN_NONE` is specified, then\n this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not\n all reducer operations can be\n applied to all time series. The\n valid choices depend on the `metric_kind`\n and the `value_type` of the original\n time series. Reduction can yield\n a time series with a different\n `metric_kind` or `value_type`\n than the input time series. Time\n series data must first be aligned\n (see `per_series_aligner`) in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets prior\n to applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to\n reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in\n order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass through\n the filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to\n allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently\n to produce the value which will be\n used to compare the time series to\n other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN, METHOD_MAX,\n METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will\n override any unit that accompanies fetched\n data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible values:\n COLOR_UNSPECIFIED, GREY, BLUE, GREEN, YELLOW,\n ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardMosaicLayoutTilesWidgetXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n width:\n type: integer\n format: int64\n x-dcl-go-name: Width\n description: The width of the tile, measured in grid squares.\n xPos:\n type: integer\n format: int64\n x-dcl-go-name: XPos\n description: The zero-indexed position of the tile in grid squares\n relative to the left edge of the grid.\n yPos:\n type: integer\n format: int64\n x-dcl-go-name: YPos\n description: The zero-indexed position of the tile in grid squares\n relative to the top edge of the grid.\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The resource name of the dashboard.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rowLayout:\n type: object\n x-dcl-go-name: RowLayout\n x-dcl-go-type: DashboardRowLayout\n description: The content is divided into equally spaced rows and the widgets\n are arranged horizontally.\n x-dcl-conflicts:\n - gridLayout\n - mosaicLayout\n - columnLayout\n properties:\n rows:\n type: array\n x-dcl-go-name: Rows\n description: The rows of content to display.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRows\n properties:\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: The relative weight of this row. The row weight is\n used to adjust the height of rows on the screen (relative to\n peers). Greater the weight, greater the height of the row on\n the screen. If omitted, a value of 1 is used while rendering.\n widgets:\n type: array\n x-dcl-go-name: Widgets\n description: The display widgets arranged horizontally in this\n row.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgets\n properties:\n blank:\n type: object\n x-dcl-go-name: Blank\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsBlank\n description: A blank space.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - logsPanel\n logsPanel:\n type: object\n x-dcl-go-name: LogsPanel\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsLogsPanel\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - text\n - blank\n properties:\n filter:\n type: string\n x-dcl-go-name: Filter\n description: A filter that chooses which log entries\n to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).\n Only log entries that match the filter are returned.\n An empty filter matches all log entries.\n resourceNames:\n type: array\n x-dcl-go-name: ResourceNames\n description: The names of logging resources to collect\n logs for. Currently only projects are supported. If\n empty, the widget will default to the host project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n scorecard:\n type: object\n x-dcl-go-name: Scorecard\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecard\n description: A scorecard summarizing time series data.\n x-dcl-conflicts:\n - xyChart\n - text\n - blank\n - logsPanel\n required:\n - timeSeriesQuery\n properties:\n gaugeView:\n type: object\n x-dcl-go-name: GaugeView\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardGaugeView\n description: Will cause the scorecard to show a gauge\n chart.\n properties:\n lowerBound:\n type: number\n format: double\n x-dcl-go-name: LowerBound\n description: The lower bound for this gauge chart.\n The value of the chart should always be greater\n than or equal to this.\n upperBound:\n type: number\n format: double\n x-dcl-go-name: UpperBound\n description: The upper bound for this gauge chart.\n The value of the chart should always be less than\n or equal to this.\n sparkChartView:\n type: object\n x-dcl-go-name: SparkChartView\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardSparkChartView\n description: Will cause the scorecard to show a spark\n chart.\n required:\n - sparkChartType\n properties:\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: The lower bound on data point frequency\n in the chart implemented by specifying the minimum\n alignment period to use in a time series query.\n For example, if the data is published once every\n 10 minutes it would not make sense to fetch and\n align data at one minute intervals. This field\n is optional and exists only as a hint.\n sparkChartType:\n type: string\n x-dcl-go-name: SparkChartType\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardSparkChartViewSparkChartTypeEnum\n description: 'Required. The type of sparkchart to\n show in this chartView. Possible values: SPARK_CHART_TYPE_UNSPECIFIED,\n SPARK_LINE, SPARK_BAR'\n enum:\n - SPARK_CHART_TYPE_UNSPECIFIED\n - SPARK_LINE\n - SPARK_BAR\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: 'The thresholds used to determine the state\n of the scorecard given the time series'' current value.\n For an actual value x, the scorecard is in a danger\n state if x is less than or equal to a danger threshold\n that triggers below, or greater than or equal to a\n danger threshold that triggers above. Similarly, if\n x is above/below a warning threshold that triggers\n above/below, then the scorecard is in a warning state\n - unless x also puts it in a danger state. (Danger\n trumps warning.) As an example, consider a scorecard\n with the following four thresholds: { value: 90, category:\n ''DANGER'', trigger: ''ABOVE'', },: { value: 70, category:\n ''WARNING'', trigger: ''ABOVE'', }, { value: 10, category:\n ''DANGER'', trigger: ''BELOW'', }, { value: 20, category:\n ''WARNING'', trigger: ''BELOW'', } Then: values\n less than or equal to 10 would put the scorecard in\n a DANGER state, values greater than 10 but less than\n or equal to 20 a WARNING state, values strictly between\n 20 and 70 an OK state, values greater than or equal\n to 70 but less than 90 a WARNING state, and values\n greater than or equal to 90 a DANGER state.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQuery\n description: Required. Fields for querying time series\n data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views of\n the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation after\n `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time series\n data is returned. Use this field to combine\n multiple time series for different views\n of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data in\n all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This\n will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this field\n is required or an error is returned.\n If no per-series aligner is specified,\n or the aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where the\n value of each data point in the resulting\n series is a function of all the already\n aligned values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the\n `value_type` of the original time\n series. Reduction can yield a time\n series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not be\n `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how\n the time series are partitioned into\n subsets prior to applying the aggregation\n operation. Each subset contains time\n series that have the same value for\n each of the grouping fields. Each\n individual time series is a member\n of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types, so\n this field implicitly contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the time\n series have the same resource type,\n then the time series are aggregated\n into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in a\n single time series into temporal alignment.\n Except for `ALIGN_NONE`, all alignments\n cause all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for\n each `alignment_period` with end timestamp\n at the end of the period. Not all\n alignment operations may be applied\n to all time series. The valid choices\n depend on the `metric_kind` and `value_type`\n of the original time series. Alignment\n can change the `metric_kind` or the\n `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking to\n select time series that pass through the\n filter. Possible values: DIRECTION_UNSPECIFIED,\n TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series to allow\n to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is applied\n to each time series independently to produce\n the value which will be used to compare\n the time series to other time series.\n Possible values: METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM, METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation after\n the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period` specifies\n a time interval, in seconds, that is used\n to divide the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time. This will\n be done before the per-series aligner\n can be applied to the data. The value\n must be at least 60 seconds. If a per-series\n aligner other than `ALIGN_NONE` is specified,\n this field is required or an error is\n returned. If no per-series aligner is\n specified, or the aligner `ALIGN_NONE`\n is specified, then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation to\n be used to combine time series into a\n single time series, where the value of\n each data point in the resulting series\n is a function of all the already aligned\n values in the input time series. Not\n all reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and the `value_type`\n of the original time series. Reduction\n can yield a time series with a different\n `metric_kind` or `value_type` than the\n input time series. Time series data must\n first be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer` is\n specified, then `per_series_aligner` must\n be specified, and must not be `ALIGN_NONE`.\n An `alignment_period` must also be specified;\n otherwise, an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to preserve\n when `cross_series_reducer` is specified.\n The `group_by_fields` determine how the\n time series are partitioned into subsets\n prior to applying the aggregation operation.\n Each subset contains time series that\n have the same value for each of the grouping\n fields. Each individual time series is\n a member of exactly one subset. The `cross_series_reducer`\n is applied to each subset of time series.\n It is not possible to reduce across different\n resource types, so this field implicitly\n contains `resource.type`. Fields not\n specified in `group_by_fields` are aggregated\n away. If `group_by_fields` is not specified\n and all the time series have the same\n resource type, then the time series are\n aggregated into a single output time series.\n If `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsScorecardTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes how\n to bring the data points in a single time\n series into temporal alignment. Except\n for `ALIGN_NONE`, all alignments cause\n all the data points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point for each\n `alignment_period` with end timestamp\n at the end of the period. Not all alignment\n operations may be applied to all time\n series. The valid choices depend on the\n `metric_kind` and `value_type` of the\n original time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series data\n must be aligned in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in fetched\n time series. If non-empty, this unit will override\n any unit that accompanies fetched data. The format\n is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n text:\n type: object\n x-dcl-go-name: Text\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsText\n description: A raw string or markdown displaying textual\n content.\n x-dcl-conflicts:\n - xyChart\n - scorecard\n - blank\n - logsPanel\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: The text content to be displayed.\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsTextFormatEnum\n description: 'How the text content is formatted. Possible\n values: FORMAT_UNSPECIFIED, MARKDOWN, RAW'\n enum:\n - FORMAT_UNSPECIFIED\n - MARKDOWN\n - RAW\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. The title of the widget.\n xyChart:\n type: object\n x-dcl-go-name: XyChart\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChart\n description: A chart of time series data.\n x-dcl-conflicts:\n - scorecard\n - text\n - blank\n - logsPanel\n required:\n - dataSets\n properties:\n chartOptions:\n type: object\n x-dcl-go-name: ChartOptions\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartChartOptions\n description: Display options for the chart.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartChartOptionsModeEnum\n description: 'The chart mode. Possible values: MODE_UNSPECIFIED,\n COLOR, X_RAY, STATS'\n enum:\n - MODE_UNSPECIFIED\n - COLOR\n - X_RAY\n - STATS\n dataSets:\n type: array\n x-dcl-go-name: DataSets\n description: Required. The data displayed in this chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSets\n required:\n - timeSeriesQuery\n properties:\n legendTemplate:\n type: string\n x-dcl-go-name: LegendTemplate\n description: 'A template string for naming `TimeSeries`\n in the resulting data set. This should be a\n string with interpolations of the form `${label_name}`,\n which will resolve to the label''s value. '\n minAlignmentPeriod:\n type: string\n x-dcl-go-name: MinAlignmentPeriod\n description: Optional. The lower bound on data\n point frequency for this data set, implemented\n by specifying the minimum alignment period to\n use in a time series query For example, if the\n data is published once every 10 minutes, the\n `min_alignment_period` should be at least 10\n minutes. It would not make sense to fetch and\n align data at one minute intervals.\n plotType:\n type: string\n x-dcl-go-name: PlotType\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsPlotTypeEnum\n description: 'How this data should be plotted\n on the chart. Possible values: PLOT_TYPE_UNSPECIFIED,\n LINE, STACKED_AREA, STACKED_BAR, HEATMAP'\n enum:\n - PLOT_TYPE_UNSPECIFIED\n - LINE\n - STACKED_AREA\n - STACKED_BAR\n - HEATMAP\n timeSeriesQuery:\n type: object\n x-dcl-go-name: TimeSeriesQuery\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQuery\n description: Required. Fields for querying time\n series data from the Stackdriver metrics API.\n properties:\n timeSeriesFilter:\n type: object\n x-dcl-go-name: TimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilter\n description: Filter parameters to fetch time\n series.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregation\n description: By default, the raw time\n series data is returned. Use this field\n to combine multiple time series for\n different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types, resources,\n and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregation\n description: Apply a second aggregation\n after `aggregation` is applied.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesFilterRatio:\n type: object\n x-dcl-go-name: TimeSeriesFilterRatio\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatio\n description: Parameters to fetch a ratio between\n two time series filters.\n properties:\n denominator:\n type: object\n x-dcl-go-name: Denominator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominator\n description: The denominator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioDenominatorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n numerator:\n type: object\n x-dcl-go-name: Numerator\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumerator\n description: The numerator of the ratio.\n required:\n - filter\n properties:\n aggregation:\n type: object\n x-dcl-go-name: Aggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregation\n description: By default, the raw time\n series data is returned. Use this\n field to combine multiple time series\n for different views of the data.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in\n seconds, that is used to divide\n the data in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the\n per-series aligner can be applied\n to the data. The value must\n be at least 60 seconds. If a\n per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error\n is returned. If no per-series\n aligner is specified, or the\n aligner `ALIGN_NONE` is specified,\n then this field is ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point\n in the resulting series is a\n function of all the already\n aligned values in the input\n time series. Not all reducer\n operations can be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and the `value_type` of the\n original time series. Reduction\n can yield a time series with\n a different `metric_kind` or\n `value_type` than the input\n time series. Time series data\n must first be aligned (see `per_series_aligner`)\n in order to perform cross-time\n series reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must\n not be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible\n values: REDUCE_NONE, REDUCE_MEAN,\n REDUCE_MIN, REDUCE_MAX, REDUCE_SUM,\n REDUCE_STDDEV, REDUCE_COUNT,\n REDUCE_COUNT_TRUE, REDUCE_COUNT_FALSE,\n REDUCE_FRACTION_TRUE, REDUCE_PERCENTILE_99,\n REDUCE_PERCENTILE_95, REDUCE_PERCENTILE_50,\n REDUCE_PERCENTILE_05, REDUCE_FRACTION_LESS_THAN,\n REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields\n to preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series\n are partitioned into subsets\n prior to applying the aggregation\n operation. Each subset contains\n time series that have the same\n value for each of the grouping\n fields. Each individual time\n series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of\n time series. It is not possible\n to reduce across different resource\n types, so this field implicitly\n contains `resource.type`. Fields\n not specified in `group_by_fields`\n are aggregated away. If `group_by_fields`\n is not specified and all the\n time series have the same resource\n type, then the time series are\n aggregated into a single output\n time series. If `cross_series_reducer`\n is not defined, this field is\n ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioNumeratorAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points\n in a single time series into\n temporal alignment. Except for\n `ALIGN_NONE`, all alignments\n cause all the data points in\n an `alignment_period` to be\n mathematically grouped together,\n resulting in a single data point\n for each `alignment_period`\n with end timestamp at the end\n of the period. Not all alignment\n operations may be applied to\n all time series. The valid choices\n depend on the `metric_kind`\n and `value_type` of the original\n time series. Alignment can change\n the `metric_kind` or the `value_type`\n of the time series. Time series\n data must be aligned in order\n to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified and not equal\n to `ALIGN_NONE` and `alignment_period`\n must be specified; otherwise,\n an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n filter:\n type: string\n x-dcl-go-name: Filter\n description: Required. The [monitoring\n filter](https://cloud.google.com/monitoring/api/v3/filters)\n that identifies the metric types,\n resources, and projects to query.\n pickTimeSeriesFilter:\n type: object\n x-dcl-go-name: PickTimeSeriesFilter\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilter\n description: Ranking based time series\n filter.\n properties:\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterDirectionEnum\n description: 'How to use the ranking\n to select time series that pass\n through the filter. Possible values:\n DIRECTION_UNSPECIFIED, TOP, BOTTOM'\n enum:\n - DIRECTION_UNSPECIFIED\n - TOP\n - BOTTOM\n numTimeSeries:\n type: integer\n format: int64\n x-dcl-go-name: NumTimeSeries\n description: How many time series\n to allow to pass through the filter.\n rankingMethod:\n type: string\n x-dcl-go-name: RankingMethod\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioPickTimeSeriesFilterRankingMethodEnum\n description: '`ranking_method` is\n applied to each time series independently\n to produce the value which will\n be used to compare the time series\n to other time series. Possible values:\n METHOD_UNSPECIFIED, METHOD_MEAN,\n METHOD_MAX, METHOD_MIN, METHOD_SUM,\n METHOD_LATEST'\n enum:\n - METHOD_UNSPECIFIED\n - METHOD_MEAN\n - METHOD_MAX\n - METHOD_MIN\n - METHOD_SUM\n - METHOD_LATEST\n secondaryAggregation:\n type: object\n x-dcl-go-name: SecondaryAggregation\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregation\n description: Apply a second aggregation\n after the ratio is computed.\n properties:\n alignmentPeriod:\n type: string\n x-dcl-go-name: AlignmentPeriod\n description: The `alignment_period`\n specifies a time interval, in seconds,\n that is used to divide the data\n in all the [time series][google.monitoring.v3.TimeSeries]\n into consistent blocks of time.\n This will be done before the per-series\n aligner can be applied to the data. The\n value must be at least 60 seconds.\n If a per-series aligner other than\n `ALIGN_NONE` is specified, this\n field is required or an error is\n returned. If no per-series aligner\n is specified, or the aligner `ALIGN_NONE`\n is specified, then this field is\n ignored.\n crossSeriesReducer:\n type: string\n x-dcl-go-name: CrossSeriesReducer\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationCrossSeriesReducerEnum\n description: 'The reduction operation\n to be used to combine time series\n into a single time series, where\n the value of each data point in\n the resulting series is a function\n of all the already aligned values\n in the input time series. Not all\n reducer operations can be applied\n to all time series. The valid choices\n depend on the `metric_kind` and\n the `value_type` of the original\n time series. Reduction can yield\n a time series with a different `metric_kind`\n or `value_type` than the input time\n series. Time series data must first\n be aligned (see `per_series_aligner`)\n in order to perform cross-time series\n reduction. If `cross_series_reducer`\n is specified, then `per_series_aligner`\n must be specified, and must not\n be `ALIGN_NONE`. An `alignment_period`\n must also be specified; otherwise,\n an error is returned. Possible values:\n REDUCE_NONE, REDUCE_MEAN, REDUCE_MIN,\n REDUCE_MAX, REDUCE_SUM, REDUCE_STDDEV,\n REDUCE_COUNT, REDUCE_COUNT_TRUE,\n REDUCE_COUNT_FALSE, REDUCE_FRACTION_TRUE,\n REDUCE_PERCENTILE_99, REDUCE_PERCENTILE_95,\n REDUCE_PERCENTILE_50, REDUCE_PERCENTILE_05,\n REDUCE_FRACTION_LESS_THAN, REDUCE_MAKE_DISTRIBUTION'\n enum:\n - REDUCE_NONE\n - REDUCE_MEAN\n - REDUCE_MIN\n - REDUCE_MAX\n - REDUCE_SUM\n - REDUCE_STDDEV\n - REDUCE_COUNT\n - REDUCE_COUNT_TRUE\n - REDUCE_COUNT_FALSE\n - REDUCE_FRACTION_TRUE\n - REDUCE_PERCENTILE_99\n - REDUCE_PERCENTILE_95\n - REDUCE_PERCENTILE_50\n - REDUCE_PERCENTILE_05\n - REDUCE_FRACTION_LESS_THAN\n - REDUCE_MAKE_DISTRIBUTION\n groupByFields:\n type: array\n x-dcl-go-name: GroupByFields\n description: The set of fields to\n preserve when `cross_series_reducer`\n is specified. The `group_by_fields`\n determine how the time series are\n partitioned into subsets prior to\n applying the aggregation operation.\n Each subset contains time series\n that have the same value for each\n of the grouping fields. Each individual\n time series is a member of exactly\n one subset. The `cross_series_reducer`\n is applied to each subset of time\n series. It is not possible to reduce\n across different resource types,\n so this field implicitly contains\n `resource.type`. Fields not specified\n in `group_by_fields` are aggregated\n away. If `group_by_fields` is not\n specified and all the time series\n have the same resource type, then\n the time series are aggregated into\n a single output time series. If\n `cross_series_reducer` is not defined,\n this field is ignored.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n perSeriesAligner:\n type: string\n x-dcl-go-name: PerSeriesAligner\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartDataSetsTimeSeriesQueryTimeSeriesFilterRatioSecondaryAggregationPerSeriesAlignerEnum\n description: An `Aligner` describes\n how to bring the data points in\n a single time series into temporal\n alignment. Except for `ALIGN_NONE`,\n all alignments cause all the data\n points in an `alignment_period`\n to be mathematically grouped together,\n resulting in a single data point\n for each `alignment_period` with\n end timestamp at the end of the\n period. Not all alignment operations\n may be applied to all time series.\n The valid choices depend on the\n `metric_kind` and `value_type` of\n the original time series. Alignment\n can change the `metric_kind` or\n the `value_type` of the time series. Time\n series data must be aligned in order\n to perform cross-time series reduction.\n If `cross_series_reducer` is specified,\n then `per_series_aligner` must be\n specified and not equal to `ALIGN_NONE`\n and `alignment_period` must be specified;\n otherwise, an error is returned.\n enum:\n - ALIGN_NONE\n - ALIGN_DELTA\n - ALIGN_RATE\n - ALIGN_INTERPOLATE\n - ALIGN_NEXT_OLDER\n - ALIGN_MIN\n - ALIGN_MAX\n - ALIGN_MEAN\n - ALIGN_COUNT\n - ALIGN_SUM\n - ALIGN_STDDEV\n - ALIGN_COUNT_TRUE\n - ALIGN_COUNT_FALSE\n - ALIGN_FRACTION_TRUE\n - ALIGN_PERCENTILE_99\n - ALIGN_PERCENTILE_95\n - ALIGN_PERCENTILE_50\n - ALIGN_PERCENTILE_05\n - ALIGN_MAKE_DISTRIBUTION\n - ALIGN_PERCENT_CHANGE\n timeSeriesQueryLanguage:\n type: string\n x-dcl-go-name: TimeSeriesQueryLanguage\n description: A query used to fetch time series.\n unitOverride:\n type: string\n x-dcl-go-name: UnitOverride\n description: The unit of data contained in\n fetched time series. If non-empty, this\n unit will override any unit that accompanies\n fetched data. The format is the same as\n the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)\n field in `MetricDescriptor`.\n thresholds:\n type: array\n x-dcl-go-name: Thresholds\n description: Threshold lines drawn horizontally across\n the chart.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholds\n properties:\n color:\n type: string\n x-dcl-go-name: Color\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholdsColorEnum\n description: 'The state color for this threshold.\n Color is not allowed in a XyChart. Possible\n values: COLOR_UNSPECIFIED, GREY, BLUE, GREEN,\n YELLOW, ORANGE, RED'\n enum:\n - COLOR_UNSPECIFIED\n - GREY\n - BLUE\n - GREEN\n - YELLOW\n - ORANGE\n - RED\n direction:\n type: string\n x-dcl-go-name: Direction\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartThresholdsDirectionEnum\n description: 'The direction for the current threshold.\n Direction is not allowed in a XyChart. Possible\n values: DIRECTION_UNSPECIFIED, ABOVE, BELOW'\n enum:\n - DIRECTION_UNSPECIFIED\n - ABOVE\n - BELOW\n label:\n type: string\n x-dcl-go-name: Label\n description: A label for the threshold.\n value:\n type: number\n format: double\n x-dcl-go-name: Value\n description: The value of the threshold. The value\n should be defined in the native scale of the\n metric.\n timeshiftDuration:\n type: string\n x-dcl-go-name: TimeshiftDuration\n description: The duration used to display a comparison\n chart. A comparison chart simultaneously shows values\n from two similar-length time periods (e.g., week-over-week\n metrics). The duration must be positive, and it can\n only be applied to charts with data sets of LINE plot\n type.\n xAxis:\n type: object\n x-dcl-go-name: XAxis\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartXAxis\n description: The properties applied to the X axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartXAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n yAxis:\n type: object\n x-dcl-go-name: YAxis\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartYAxis\n description: The properties applied to the Y axis.\n properties:\n label:\n type: string\n x-dcl-go-name: Label\n description: The label of the axis.\n scale:\n type: string\n x-dcl-go-name: Scale\n x-dcl-go-type: DashboardRowLayoutRowsWidgetsXyChartYAxisScaleEnum\n description: 'The axis scale. By default, a linear\n scale is used. Possible values: SCALE_UNSPECIFIED,\n LINEAR, LOG10'\n enum:\n - SCALE_UNSPECIFIED\n - LINEAR\n - LOG10\n") -// 655349 bytes -// MD5: bcf8c740bfa6ac7c63315b74e29a6f4f +// 655374 bytes +// MD5: cc1b703f9a5d317ceaaada8d167b3fef diff --git a/services/google/monitoring/group.yaml b/services/google/monitoring/group.yaml index 8864744097..48c2e0ce39 100755 --- a/services/google/monitoring/group.yaml +++ b/services/google/monitoring/group.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/Group description: The Monitoring Group resource x-dcl-struct-name: Group + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/group_schema.go b/services/google/monitoring/group_schema.go index 1d79e37e2b..48ccb646b3 100755 --- a/services/google/monitoring/group_schema.go +++ b/services/google/monitoring/group_schema.go @@ -23,6 +23,7 @@ func DCLGroupSchema() *dcl.Schema { Title: "Monitoring/Group", Description: "The Monitoring Group resource", StructName: "Group", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/group_yaml_embed.go b/services/google/monitoring/group_yaml_embed.go index e194b0a987..fe8d0b3caf 100755 --- a/services/google/monitoring/group_yaml_embed.go +++ b/services/google/monitoring/group_yaml_embed.go @@ -17,7 +17,7 @@ package monitoring // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/group.yaml -var YAML_group = []byte("info:\n title: Monitoring/Group\n description: The Monitoring Group resource\n x-dcl-struct-name: Group\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n apply:\n description: The function used to apply information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n delete:\n description: The function used to delete a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n deleteAll:\n description: The function used to delete all Group\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Group\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Group:\n title: Group\n x-dcl-id: projects/{{project}}/groups/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - filter\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A user-assigned name for this group, used only for display\n purposes.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: The filter used to determine which monitored resources belong\n to this group.\n isCluster:\n type: boolean\n x-dcl-go-name: IsCluster\n description: If true, the members of this group are considered to be a cluster.\n The system can perform additional analysis on groups that are clusters.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The name of this group. The format is: `projects/{{project}}/groups/{{name}}`,\n which is generated automatically.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parentName:\n type: string\n x-dcl-go-name: ParentName\n description: 'The name of the group''s parent, if it has one. The format\n is: projects/ For groups with no parent, `parent_name` is the empty string,\n ``.'\n x-dcl-send-empty: true\n x-dcl-references:\n - resource: Monitoring/Group\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the group\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_group = []byte("info:\n title: Monitoring/Group\n description: The Monitoring Group resource\n x-dcl-struct-name: Group\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n apply:\n description: The function used to apply information about a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n delete:\n description: The function used to delete a Group\n parameters:\n - name: Group\n required: true\n description: A full instance of a Group\n deleteAll:\n description: The function used to delete all Group\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Group\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Group:\n title: Group\n x-dcl-id: projects/{{project}}/groups/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - filter\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A user-assigned name for this group, used only for display\n purposes.\n filter:\n type: string\n x-dcl-go-name: Filter\n description: The filter used to determine which monitored resources belong\n to this group.\n isCluster:\n type: boolean\n x-dcl-go-name: IsCluster\n description: If true, the members of this group are considered to be a cluster.\n The system can perform additional analysis on groups that are clusters.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The name of this group. The format is: `projects/{{project}}/groups/{{name}}`,\n which is generated automatically.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n parentName:\n type: string\n x-dcl-go-name: ParentName\n description: 'The name of the group''s parent, if it has one. The format\n is: projects/ For groups with no parent, `parent_name` is the empty string,\n ``.'\n x-dcl-send-empty: true\n x-dcl-references:\n - resource: Monitoring/Group\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the group\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 2878 bytes -// MD5: f8392a5e1a424fe465ad03164d4b6b5d +// 2903 bytes +// MD5: 24fa17cddb7481e18c27395a64590d98 diff --git a/services/google/monitoring/metric_descriptor.yaml b/services/google/monitoring/metric_descriptor.yaml index 2bb279e59b..a05c64ebab 100755 --- a/services/google/monitoring/metric_descriptor.yaml +++ b/services/google/monitoring/metric_descriptor.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/MetricDescriptor description: The Monitoring MetricDescriptor resource x-dcl-struct-name: MetricDescriptor + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/metric_descriptor_schema.go b/services/google/monitoring/metric_descriptor_schema.go index 1ae6706ffb..448d9799e6 100755 --- a/services/google/monitoring/metric_descriptor_schema.go +++ b/services/google/monitoring/metric_descriptor_schema.go @@ -23,6 +23,7 @@ func DCLMetricDescriptorSchema() *dcl.Schema { Title: "Monitoring/MetricDescriptor", Description: "The Monitoring MetricDescriptor resource", StructName: "MetricDescriptor", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/metric_descriptor_yaml_embed.go b/services/google/monitoring/metric_descriptor_yaml_embed.go index fb33c63106..9e217bb998 100755 --- a/services/google/monitoring/metric_descriptor_yaml_embed.go +++ b/services/google/monitoring/metric_descriptor_yaml_embed.go @@ -17,7 +17,7 @@ package monitoring // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/metric_descriptor.yaml -var YAML_metric_descriptor = []byte("info:\n title: Monitoring/MetricDescriptor\n description: The Monitoring MetricDescriptor resource\n x-dcl-struct-name: MetricDescriptor\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n apply:\n description: The function used to apply information about a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n delete:\n description: The function used to delete a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n deleteAll:\n description: The function used to delete all MetricDescriptor\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MetricDescriptor\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetricDescriptor:\n title: MetricDescriptor\n x-dcl-id: projects/{{project}}/metricDescriptors/{{type}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - type\n - metricKind\n - valueType\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A detailed description of the metric, which can be used in\n documentation.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A concise name for the metric, which can be displayed in user\n interfaces. Use sentence case without an ending period, for example \"Request\n count\". This field is optional but it is recommended to be set for any\n metrics associated with user-visible concepts, such as Quota.\n x-kubernetes-immutable: true\n labels:\n type: array\n x-dcl-go-name: Labels\n description: The set of labels that can be used to describe a specific instance\n of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies`\n metric type has a label for the HTTP response code, `response_code`, so\n you can look at latencies for successful responses or just for responses\n that failed.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: MetricDescriptorLabels\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A human-readable description for the label.\n x-kubernetes-immutable: true\n key:\n type: string\n x-dcl-go-name: Key\n description: 'The key for this label. The key must meet the following\n criteria: * Does not exceed 100 characters. * Matches the following\n regular expression: `a-zA-Z*` * The first character must be an upper-\n or lower-case letter. * The remaining characters must be letters,\n digits, or underscores.'\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: MetricDescriptorLabelsValueTypeEnum\n description: 'The type of data that can be assigned to the label.\n Possible values: STRING, BOOL, INT64'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: MetricDescriptorLaunchStageEnum\n description: 'Optional. The launch stage of the metric definition. Possible\n values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS,\n ALPHA, BETA, GA, DEPRECATED'\n x-kubernetes-immutable: true\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n x-dcl-mutable-unreadable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: MetricDescriptorMetadata\n description: Optional. Metadata which can be used to guide usage of the\n metric.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n ingestDelay:\n type: string\n x-dcl-go-name: IngestDelay\n description: The delay of data points caused by ingestion. Data points\n older than this age are guaranteed to be ingested and available to\n be read, excluding data loss due to errors.\n x-kubernetes-immutable: true\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: MetricDescriptorMetadataLaunchStageEnum\n description: 'Deprecated. Must use the MetricDescriptor.launch_stage\n instead. Possible values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED,\n PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'\n x-kubernetes-immutable: true\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n samplePeriod:\n type: string\n x-dcl-go-name: SamplePeriod\n description: The sampling period of metric data points. For metrics\n which are written periodically, consecutive data points are stored\n at this time interval, excluding data loss due to errors. Metrics\n with a higher granularity have a smaller sampling period.\n x-kubernetes-immutable: true\n metricKind:\n type: string\n x-dcl-go-name: MetricKind\n x-dcl-go-type: MetricDescriptorMetricKindEnum\n description: 'Whether the metric records instantaneous values, changes to\n a value, etc. Some combinations of `metric_kind` and `value_type` might\n not be supported. Possible values: METRIC_KIND_UNSPECIFIED, GAUGE, DELTA,\n CUMULATIVE'\n x-kubernetes-immutable: true\n enum:\n - METRIC_KIND_UNSPECIFIED\n - GAUGE\n - DELTA\n - CUMULATIVE\n monitoredResourceTypes:\n type: array\n x-dcl-go-name: MonitoredResourceTypes\n readOnly: true\n description: Read-only. If present, then a time series, which is identified\n partially by a metric type and a MonitoredResourceDescriptor, that is\n associated with this metric type can only be associated with one of the\n monitored resource types listed here.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: The resource name of the metric descriptor.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n description: 'The metric type, including its DNS name prefix. The type is\n not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com`\n or `external.googleapis.com`. Metric types should use a natural hierarchical\n grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\"\n \"appengine.googleapis.com/http/server/response_latencies\"'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n unit:\n type: string\n x-dcl-go-name: Unit\n description: 'The units in which the metric value is reported. It is only\n applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`.\n The `unit` defines the representation of the stored metric values. Different\n systems might scale the values to be more easily displayed (so a value\n of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy`\n _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then\n the value of the metric is always in thousands of bytes, no matter how\n it might be displayed. If you want a custom metric to record the exact\n number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE`\n metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`).\n If the job uses 12,005 CPU-seconds, then the value is written as `12005`.\n Alternatively, if you want a custom metric to record data in a more granular\n way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`,\n and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}`\n and write `11.723` (which is `12005/1024`). The supported units are a\n subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html)\n standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second\n * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)**\n * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12)\n * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24)\n * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico\n (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21)\n * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi\n (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also\n includes these connectors: * `/` division or ratio (as an infix operator).\n For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost\n never have `/s` in a metric `unit`; rates should always be computed at\n query time from the underlying cumulative or delta value). * `.` multiplication\n or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`.\n The grammar for a unit is as follows: Expression = Component: { \".\" Component\n } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation\n ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation`\n is just a comment if it follows a `UNIT`. If the annotation is used alone,\n then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`,\n `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable\n ASCII characters not containing `{` or `}`. * `1` represents a unitary\n [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity)\n of 1, such as in `1/s`. It is typically used when none of the basic units\n are appropriate. For example, \"new users per day\" can be represented as\n `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5 new users).\n Alternatively, \"thousands of page views per day\" would be represented\n as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3`\n would mean \"5300 page views per day\"). * `%` represents dimensionless\n value of 1/100, and annotates values giving a percentage (so the metric\n values are typically in the range of 0..100, and a metric value `3` means\n \"3 percent\"). * `10^2.%` indicates a metric contains a ratio, typically\n in the range 0..1, that will be multiplied by 100 and displayed as a percentage\n (so a metric value `0.03` means \"3 percent\").'\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: MetricDescriptorValueTypeEnum\n description: 'Whether the measurement is an integer, a floating-point number,\n etc. Some combinations of `metric_kind` and `value_type` might not be\n supported. Possible values: STRING, BOOL, INT64'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n") +var YAML_metric_descriptor = []byte("info:\n title: Monitoring/MetricDescriptor\n description: The Monitoring MetricDescriptor resource\n x-dcl-struct-name: MetricDescriptor\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n apply:\n description: The function used to apply information about a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n delete:\n description: The function used to delete a MetricDescriptor\n parameters:\n - name: MetricDescriptor\n required: true\n description: A full instance of a MetricDescriptor\n deleteAll:\n description: The function used to delete all MetricDescriptor\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MetricDescriptor\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetricDescriptor:\n title: MetricDescriptor\n x-dcl-id: projects/{{project}}/metricDescriptors/{{type}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - type\n - metricKind\n - valueType\n - project\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A detailed description of the metric, which can be used in\n documentation.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A concise name for the metric, which can be displayed in user\n interfaces. Use sentence case without an ending period, for example \"Request\n count\". This field is optional but it is recommended to be set for any\n metrics associated with user-visible concepts, such as Quota.\n x-kubernetes-immutable: true\n labels:\n type: array\n x-dcl-go-name: Labels\n description: The set of labels that can be used to describe a specific instance\n of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies`\n metric type has a label for the HTTP response code, `response_code`, so\n you can look at latencies for successful responses or just for responses\n that failed.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: object\n x-dcl-go-type: MetricDescriptorLabels\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: A human-readable description for the label.\n x-kubernetes-immutable: true\n key:\n type: string\n x-dcl-go-name: Key\n description: 'The key for this label. The key must meet the following\n criteria: * Does not exceed 100 characters. * Matches the following\n regular expression: `a-zA-Z*` * The first character must be an upper-\n or lower-case letter. * The remaining characters must be letters,\n digits, or underscores.'\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: MetricDescriptorLabelsValueTypeEnum\n description: 'The type of data that can be assigned to the label.\n Possible values: STRING, BOOL, INT64'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: MetricDescriptorLaunchStageEnum\n description: 'Optional. The launch stage of the metric definition. Possible\n values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS,\n ALPHA, BETA, GA, DEPRECATED'\n x-kubernetes-immutable: true\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n x-dcl-mutable-unreadable: true\n metadata:\n type: object\n x-dcl-go-name: Metadata\n x-dcl-go-type: MetricDescriptorMetadata\n description: Optional. Metadata which can be used to guide usage of the\n metric.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n ingestDelay:\n type: string\n x-dcl-go-name: IngestDelay\n description: The delay of data points caused by ingestion. Data points\n older than this age are guaranteed to be ingested and available to\n be read, excluding data loss due to errors.\n x-kubernetes-immutable: true\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: MetricDescriptorMetadataLaunchStageEnum\n description: 'Deprecated. Must use the MetricDescriptor.launch_stage\n instead. Possible values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED,\n PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'\n x-kubernetes-immutable: true\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n samplePeriod:\n type: string\n x-dcl-go-name: SamplePeriod\n description: The sampling period of metric data points. For metrics\n which are written periodically, consecutive data points are stored\n at this time interval, excluding data loss due to errors. Metrics\n with a higher granularity have a smaller sampling period.\n x-kubernetes-immutable: true\n metricKind:\n type: string\n x-dcl-go-name: MetricKind\n x-dcl-go-type: MetricDescriptorMetricKindEnum\n description: 'Whether the metric records instantaneous values, changes to\n a value, etc. Some combinations of `metric_kind` and `value_type` might\n not be supported. Possible values: METRIC_KIND_UNSPECIFIED, GAUGE, DELTA,\n CUMULATIVE'\n x-kubernetes-immutable: true\n enum:\n - METRIC_KIND_UNSPECIFIED\n - GAUGE\n - DELTA\n - CUMULATIVE\n monitoredResourceTypes:\n type: array\n x-dcl-go-name: MonitoredResourceTypes\n readOnly: true\n description: Read-only. If present, then a time series, which is identified\n partially by a metric type and a MonitoredResourceDescriptor, that is\n associated with this metric type can only be associated with one of the\n monitored resource types listed here.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: The resource name of the metric descriptor.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n description: 'The metric type, including its DNS name prefix. The type is\n not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com`\n or `external.googleapis.com`. Metric types should use a natural hierarchical\n grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\"\n \"appengine.googleapis.com/http/server/response_latencies\"'\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n unit:\n type: string\n x-dcl-go-name: Unit\n description: 'The units in which the metric value is reported. It is only\n applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`.\n The `unit` defines the representation of the stored metric values. Different\n systems might scale the values to be more easily displayed (so a value\n of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy`\n _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then\n the value of the metric is always in thousands of bytes, no matter how\n it might be displayed. If you want a custom metric to record the exact\n number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE`\n metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`).\n If the job uses 12,005 CPU-seconds, then the value is written as `12005`.\n Alternatively, if you want a custom metric to record data in a more granular\n way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`,\n and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}`\n and write `11.723` (which is `12005/1024`). The supported units are a\n subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html)\n standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second\n * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)**\n * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12)\n * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24)\n * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico\n (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21)\n * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi\n (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also\n includes these connectors: * `/` division or ratio (as an infix operator).\n For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost\n never have `/s` in a metric `unit`; rates should always be computed at\n query time from the underlying cumulative or delta value). * `.` multiplication\n or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`.\n The grammar for a unit is as follows: Expression = Component: { \".\" Component\n } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation\n ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation`\n is just a comment if it follows a `UNIT`. If the annotation is used alone,\n then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`,\n `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable\n ASCII characters not containing `{` or `}`. * `1` represents a unitary\n [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity)\n of 1, such as in `1/s`. It is typically used when none of the basic units\n are appropriate. For example, \"new users per day\" can be represented as\n `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5 new users).\n Alternatively, \"thousands of page views per day\" would be represented\n as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3`\n would mean \"5300 page views per day\"). * `%` represents dimensionless\n value of 1/100, and annotates values giving a percentage (so the metric\n values are typically in the range of 0..100, and a metric value `3` means\n \"3 percent\"). * `10^2.%` indicates a metric contains a ratio, typically\n in the range 0..1, that will be multiplied by 100 and displayed as a percentage\n (so a metric value `0.03` means \"3 percent\").'\n x-kubernetes-immutable: true\n valueType:\n type: string\n x-dcl-go-name: ValueType\n x-dcl-go-type: MetricDescriptorValueTypeEnum\n description: 'Whether the measurement is an integer, a floating-point number,\n etc. Some combinations of `metric_kind` and `value_type` might not be\n supported. Possible values: STRING, BOOL, INT64'\n x-kubernetes-immutable: true\n enum:\n - STRING\n - BOOL\n - INT64\n") -// 13406 bytes -// MD5: 3a70ebbbcc3cbcbe0f4509494dd4a49f +// 13431 bytes +// MD5: 903dd40696407fe27880f6176a0ac10a diff --git a/services/google/monitoring/metrics_scope.yaml b/services/google/monitoring/metrics_scope.yaml index 19ca86ba5c..83e424f5eb 100755 --- a/services/google/monitoring/metrics_scope.yaml +++ b/services/google/monitoring/metrics_scope.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/MetricsScope description: The Monitoring MetricsScope resource x-dcl-struct-name: MetricsScope + x-dcl-has-create: false x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/metrics_scope_yaml_embed.go b/services/google/monitoring/metrics_scope_yaml_embed.go index ce09766b5a..3a8a5215c1 100755 --- a/services/google/monitoring/metrics_scope_yaml_embed.go +++ b/services/google/monitoring/metrics_scope_yaml_embed.go @@ -17,7 +17,7 @@ package monitoring // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/metrics_scope.yaml -var YAML_metrics_scope = []byte("info:\n title: Monitoring/MetricsScope\n description: The Monitoring MetricsScope resource\n x-dcl-struct-name: MetricsScope\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetricsScope\n parameters:\n - name: MetricsScope\n required: true\n description: A full instance of a MetricsScope\n apply:\n description: The function used to apply information about a MetricsScope\n parameters:\n - name: MetricsScope\n required: true\n description: A full instance of a MetricsScope\ncomponents:\n schemas:\n MetricsScope:\n title: MetricsScope\n x-dcl-id: locations/global/metricsScopes/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `Metrics Scope` was created.\n x-kubernetes-immutable: true\n monitoredProjects:\n type: array\n x-dcl-go-name: MonitoredProjects\n readOnly: true\n description: Output only. The list of projects monitored by this `Metrics\n Scope`.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MetricsScopeMonitoredProjects\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `MonitoredProject` was\n created.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the `MonitoredProject`.\n On input, the resource name includes the scoping project ID and\n monitored project ID. On output, it contains the equivalent project\n numbers. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the Monitoring Metrics Scope.\n On input, the resource name can be specified with the scoping project\n ID or number. On output, the resource name is specified with the scoping\n project number. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when this `Metrics Scope` record was\n last updated.\n x-kubernetes-immutable: true\n") +var YAML_metrics_scope = []byte("info:\n title: Monitoring/MetricsScope\n description: The Monitoring MetricsScope resource\n x-dcl-struct-name: MetricsScope\n x-dcl-has-create: false\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetricsScope\n parameters:\n - name: MetricsScope\n required: true\n description: A full instance of a MetricsScope\n apply:\n description: The function used to apply information about a MetricsScope\n parameters:\n - name: MetricsScope\n required: true\n description: A full instance of a MetricsScope\ncomponents:\n schemas:\n MetricsScope:\n title: MetricsScope\n x-dcl-id: locations/global/metricsScopes/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `Metrics Scope` was created.\n x-kubernetes-immutable: true\n monitoredProjects:\n type: array\n x-dcl-go-name: MonitoredProjects\n readOnly: true\n description: Output only. The list of projects monitored by this `Metrics\n Scope`.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MetricsScopeMonitoredProjects\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `MonitoredProject` was\n created.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the `MonitoredProject`.\n On input, the resource name includes the scoping project ID and\n monitored project ID. On output, it contains the equivalent project\n numbers. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the Monitoring Metrics Scope.\n On input, the resource name can be specified with the scoping project\n ID or number. On output, the resource name is specified with the scoping\n project number. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when this `Metrics Scope` record was\n last updated.\n x-kubernetes-immutable: true\n") -// 3062 bytes -// MD5: 8e9abf69c4eaad37a08cd32ac8d19323 +// 3088 bytes +// MD5: 9e0ee81dd7f26f1db479c8b9ff885c28 diff --git a/services/google/monitoring/monitored_project.yaml b/services/google/monitoring/monitored_project.yaml index 3aac5dea08..51d114f89e 100755 --- a/services/google/monitoring/monitored_project.yaml +++ b/services/google/monitoring/monitored_project.yaml @@ -18,6 +18,7 @@ info: potentially across multiple organizations. This enables you to view these groups in the Monitoring page of the cloud console. x-dcl-struct-name: MonitoredProject + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/monitoring/monitored_project_schema.go b/services/google/monitoring/monitored_project_schema.go index 250b691d6b..d9078f3143 100755 --- a/services/google/monitoring/monitored_project_schema.go +++ b/services/google/monitoring/monitored_project_schema.go @@ -23,6 +23,7 @@ func DCLMonitoredProjectSchema() *dcl.Schema { Title: "Monitoring/MonitoredProject", Description: "Monitored Project allows you to set a project as monitored by a _metrics scope_, which is a term for a project used to group the metrics of multiple projects, potentially across multiple organizations. This enables you to view these groups in the Monitoring page of the cloud console.", StructName: "MonitoredProject", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes", diff --git a/services/google/monitoring/monitored_project_yaml_embed.go b/services/google/monitoring/monitored_project_yaml_embed.go index 9633b36322..1e1869b097 100755 --- a/services/google/monitoring/monitored_project_yaml_embed.go +++ b/services/google/monitoring/monitored_project_yaml_embed.go @@ -17,7 +17,7 @@ package monitoring // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/monitored_project.yaml -var YAML_monitored_project = []byte("info:\n title: Monitoring/MonitoredProject\n description: Monitored Project allows you to set a project as monitored by a _metrics\n scope_, which is a term for a project used to group the metrics of multiple projects,\n potentially across multiple organizations. This enables you to view these groups\n in the Monitoring page of the cloud console.\n x-dcl-struct-name: MonitoredProject\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes\n x-dcl-guides:\n - text: Understanding metrics scopes\n url: https://cloud.google.com/monitoring/settings#concept-scope\n - text: API notes\n url: https://cloud.google.com/monitoring/settings/manage-api\npaths:\n get:\n description: The function used to get information about a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n apply:\n description: The function used to apply information about a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n delete:\n description: The function used to delete a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n deleteAll:\n description: The function used to delete all MonitoredProject\n parameters:\n - name: metricsscope\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MonitoredProject\n parameters:\n - name: metricsscope\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MonitoredProject:\n title: MonitoredProject\n x-dcl-id: locations/global/metricsScopes/{{metrics_scope}}/projects/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - metricsScope\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `MonitoredProject` was created.\n x-kubernetes-immutable: true\n metricsScope:\n type: string\n x-dcl-go-name: MetricsScope\n description: 'Required. The resource name of the existing Metrics Scope\n that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the `MonitoredProject`. On\n input, the resource name includes the scoping project ID and monitored\n project ID. On output, it contains the equivalent project numbers. Example:\n `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n") +var YAML_monitored_project = []byte("info:\n title: Monitoring/MonitoredProject\n description: Monitored Project allows you to set a project as monitored by a _metrics\n scope_, which is a term for a project used to group the metrics of multiple projects,\n potentially across multiple organizations. This enables you to view these groups\n in the Monitoring page of the cloud console.\n x-dcl-struct-name: MonitoredProject\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes\n x-dcl-guides:\n - text: Understanding metrics scopes\n url: https://cloud.google.com/monitoring/settings#concept-scope\n - text: API notes\n url: https://cloud.google.com/monitoring/settings/manage-api\npaths:\n get:\n description: The function used to get information about a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n apply:\n description: The function used to apply information about a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n delete:\n description: The function used to delete a MonitoredProject\n parameters:\n - name: MonitoredProject\n required: true\n description: A full instance of a MonitoredProject\n deleteAll:\n description: The function used to delete all MonitoredProject\n parameters:\n - name: metricsscope\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MonitoredProject\n parameters:\n - name: metricsscope\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MonitoredProject:\n title: MonitoredProject\n x-dcl-id: locations/global/metricsScopes/{{metrics_scope}}/projects/{{name}}\n x-dcl-locations:\n - global\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - metricsScope\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when this `MonitoredProject` was created.\n x-kubernetes-immutable: true\n metricsScope:\n type: string\n x-dcl-go-name: MetricsScope\n description: 'Required. The resource name of the existing Metrics Scope\n that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the `MonitoredProject`. On\n input, the resource name includes the scoping project ID and monitored\n project ID. On output, it contains the equivalent project numbers. Example:\n `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`'\n x-kubernetes-immutable: true\n") -// 3109 bytes -// MD5: 079a551c4979ca26fae43d0c494af585 +// 3134 bytes +// MD5: ef4661285ee1af288bb203a2befa8dd6 diff --git a/services/google/monitoring/notification_channel.yaml b/services/google/monitoring/notification_channel.yaml index 05d05d6a1b..26c7735819 100755 --- a/services/google/monitoring/notification_channel.yaml +++ b/services/google/monitoring/notification_channel.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/NotificationChannel description: The Monitoring NotificationChannel resource x-dcl-struct-name: NotificationChannel + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/notification_channel_schema.go b/services/google/monitoring/notification_channel_schema.go index a779a8761d..2ad49ae4a6 100755 --- a/services/google/monitoring/notification_channel_schema.go +++ b/services/google/monitoring/notification_channel_schema.go @@ -23,6 +23,7 @@ func DCLNotificationChannelSchema() *dcl.Schema { Title: "Monitoring/NotificationChannel", Description: "The Monitoring NotificationChannel resource", StructName: "NotificationChannel", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/notification_channel_yaml_embed.go b/services/google/monitoring/notification_channel_yaml_embed.go index 58dfa7f442..23257e89e2 100755 --- a/services/google/monitoring/notification_channel_yaml_embed.go +++ b/services/google/monitoring/notification_channel_yaml_embed.go @@ -17,7 +17,7 @@ package monitoring // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/notification_channel.yaml -var YAML_notification_channel = []byte("info:\n title: Monitoring/NotificationChannel\n description: The Monitoring NotificationChannel resource\n x-dcl-struct-name: NotificationChannel\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n apply:\n description: The function used to apply information about a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n delete:\n description: The function used to delete a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n deleteAll:\n description: The function used to delete all NotificationChannel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NotificationChannel\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NotificationChannel:\n title: NotificationChannel\n x-dcl-id: projects/{{project}}/notificationChannels/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional human-readable description of this notification\n channel. This description may provide additional details, beyond the display\n name, for the channel. This may not exceed 1024 Unicode characters.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: An optional human-readable name for this notification channel.\n It is recommended that you specify a non-empty and unique name in order\n to make it easier to identify the channels in your project, though this\n is not enforced. The display name is limited to 512 Unicode characters.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether notifications are forwarded to the described channel.\n This makes it possible to disable delivery of notifications to a particular\n channel without removing the channel from all alerting policies that reference\n the channel. This is a more convenient approach when the change is temporary\n and you want to receive notifications from the same set of alerting policies\n on the channel at some point in the future.\n default: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Configuration fields that define the channel and its behavior.\n The permissible and required labels are specified in the [NotificationChannelDescriptor.labels][google.monitoring.v3.NotificationChannelDescriptor.labels]\n of the `NotificationChannelDescriptor` corresponding to the `type` field.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The full REST resource name for this channel. The format is:\n projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The\n `[CHANNEL_ID]` is automatically assigned by the server on creation.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this notification channel.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n type:\n type: string\n x-dcl-go-name: Type\n description: The type of the notification channel. This field matches the\n value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type]\n field.\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: User-supplied key/value data that does not need to conform\n to the corresponding `NotificationChannelDescriptor`'s schema, unlike\n the `labels` field. This field is intended to be used for orv3nizing and\n identifying the `NotificationChannel` objects. The field can contain up\n to 64 entries. Each key and value is limited to 63 Unicode characters\n or 128 bytes, whichever is smaller. Labels and values can contain only\n lowercase letters, numerals, underscores, and dashes. Keys must begin\n with a letter.\n verificationStatus:\n type: string\n x-dcl-go-name: VerificationStatus\n x-dcl-go-type: NotificationChannelVerificationStatusEnum\n readOnly: true\n description: 'Indicates whether this channel has been verified or not. On\n a [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]\n or [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]\n operation, this field is expected to be populated. If the value is `UNVERIFIED`,\n then it indicates that the channel is non-functioning (it both requires\n verification and lacks verification); otherwise, it is assumed that the\n channel works. If the channel is neither `VERIFIED` nor `UNVERIFIED`,\n it implies that the channel is of a type that does not require verification\n or that this specific channel has been exempted from verification because\n it was created prior to verification being required for channels of this\n type. This field cannot be modified using a standard [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel]\n operation. To change the value of this field, you must call [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].\n Possible values: VERIFICATION_STATUS_UNSPECIFIED, UNVERIFIED, VERIFIED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATUS_UNSPECIFIED\n - UNVERIFIED\n - VERIFIED\n") +var YAML_notification_channel = []byte("info:\n title: Monitoring/NotificationChannel\n description: The Monitoring NotificationChannel resource\n x-dcl-struct-name: NotificationChannel\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n apply:\n description: The function used to apply information about a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n delete:\n description: The function used to delete a NotificationChannel\n parameters:\n - name: NotificationChannel\n required: true\n description: A full instance of a NotificationChannel\n deleteAll:\n description: The function used to delete all NotificationChannel\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NotificationChannel\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NotificationChannel:\n title: NotificationChannel\n x-dcl-id: projects/{{project}}/notificationChannels/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional human-readable description of this notification\n channel. This description may provide additional details, beyond the display\n name, for the channel. This may not exceed 1024 Unicode characters.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: An optional human-readable name for this notification channel.\n It is recommended that you specify a non-empty and unique name in order\n to make it easier to identify the channels in your project, though this\n is not enforced. The display name is limited to 512 Unicode characters.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether notifications are forwarded to the described channel.\n This makes it possible to disable delivery of notifications to a particular\n channel without removing the channel from all alerting policies that reference\n the channel. This is a more convenient approach when the change is temporary\n and you want to receive notifications from the same set of alerting policies\n on the channel at some point in the future.\n default: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Configuration fields that define the channel and its behavior.\n The permissible and required labels are specified in the [NotificationChannelDescriptor.labels][google.monitoring.v3.NotificationChannelDescriptor.labels]\n of the `NotificationChannelDescriptor` corresponding to the `type` field.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The full REST resource name for this channel. The format is:\n projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The\n `[CHANNEL_ID]` is automatically assigned by the server on creation.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this notification channel.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n type:\n type: string\n x-dcl-go-name: Type\n description: The type of the notification channel. This field matches the\n value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type]\n field.\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: User-supplied key/value data that does not need to conform\n to the corresponding `NotificationChannelDescriptor`'s schema, unlike\n the `labels` field. This field is intended to be used for orv3nizing and\n identifying the `NotificationChannel` objects. The field can contain up\n to 64 entries. Each key and value is limited to 63 Unicode characters\n or 128 bytes, whichever is smaller. Labels and values can contain only\n lowercase letters, numerals, underscores, and dashes. Keys must begin\n with a letter.\n verificationStatus:\n type: string\n x-dcl-go-name: VerificationStatus\n x-dcl-go-type: NotificationChannelVerificationStatusEnum\n readOnly: true\n description: 'Indicates whether this channel has been verified or not. On\n a [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]\n or [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]\n operation, this field is expected to be populated. If the value is `UNVERIFIED`,\n then it indicates that the channel is non-functioning (it both requires\n verification and lacks verification); otherwise, it is assumed that the\n channel works. If the channel is neither `VERIFIED` nor `UNVERIFIED`,\n it implies that the channel is of a type that does not require verification\n or that this specific channel has been exempted from verification because\n it was created prior to verification being required for channels of this\n type. This field cannot be modified using a standard [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel]\n operation. To change the value of this field, you must call [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].\n Possible values: VERIFICATION_STATUS_UNSPECIFIED, UNVERIFIED, VERIFIED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATUS_UNSPECIFIED\n - UNVERIFIED\n - VERIFIED\n") -// 6667 bytes -// MD5: 5b182c32356888c1103c14b59e812a18 +// 6692 bytes +// MD5: 30cb09e30dff4dd556921d6de9e0070f diff --git a/services/google/monitoring/service.yaml b/services/google/monitoring/service.yaml index d702673139..3c0104d4e0 100755 --- a/services/google/monitoring/service.yaml +++ b/services/google/monitoring/service.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/Service description: The Monitoring Service resource x-dcl-struct-name: Service + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/service_level_objective.yaml b/services/google/monitoring/service_level_objective.yaml index f4d20b22b3..b3bde25207 100755 --- a/services/google/monitoring/service_level_objective.yaml +++ b/services/google/monitoring/service_level_objective.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/ServiceLevelObjective description: The Monitoring ServiceLevelObjective resource x-dcl-struct-name: ServiceLevelObjective + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/service_level_objective_schema.go b/services/google/monitoring/service_level_objective_schema.go index 86195d4bbc..0c29273b73 100755 --- a/services/google/monitoring/service_level_objective_schema.go +++ b/services/google/monitoring/service_level_objective_schema.go @@ -23,6 +23,7 @@ func DCLServiceLevelObjectiveSchema() *dcl.Schema { Title: "Monitoring/ServiceLevelObjective", Description: "The Monitoring ServiceLevelObjective resource", StructName: "ServiceLevelObjective", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/service_level_objective_yaml_embed.go b/services/google/monitoring/service_level_objective_yaml_embed.go index cc494cae2a..3b0be347df 100755 --- a/services/google/monitoring/service_level_objective_yaml_embed.go +++ b/services/google/monitoring/service_level_objective_yaml_embed.go @@ -17,7 +17,7 @@ package monitoring // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/service_level_objective.yaml -var YAML_service_level_objective = []byte("info:\n title: Monitoring/ServiceLevelObjective\n description: The Monitoring ServiceLevelObjective resource\n x-dcl-struct-name: ServiceLevelObjective\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n apply:\n description: The function used to apply information about a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n delete:\n description: The function used to delete a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n deleteAll:\n description: The function used to delete all ServiceLevelObjective\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: service\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceLevelObjective\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: service\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceLevelObjective:\n title: ServiceLevelObjective\n x-dcl-id: projects/{{project}}/services/{{service}}/serviceLevelObjectives/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: userLabels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - goal\n - project\n - service\n properties:\n calendarPeriod:\n type: string\n x-dcl-go-name: CalendarPeriod\n x-dcl-go-type: ServiceLevelObjectiveCalendarPeriodEnum\n description: 'A calendar period, semantically \"since the start of the current\n ``\". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and `MONTH` are supported.\n Possible values: CALENDAR_PERIOD_UNSPECIFIED, DAY, WEEK, FORTNIGHT, MONTH,\n QUARTER, HALF, YEAR'\n x-dcl-conflicts:\n - rollingPeriod\n enum:\n - CALENDAR_PERIOD_UNSPECIFIED\n - DAY\n - WEEK\n - FORTNIGHT\n - MONTH\n - QUARTER\n - HALF\n - YEAR\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Time stamp of the `Create` or most recent `Update` command\n on this `Slo`.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Time stamp of the `Update` or `Delete` command that made this\n no longer a current `Slo`. This field is not populated in `ServiceLevelObjective`s\n returned from calls to `GetServiceLevelObjective` and `ListServiceLevelObjectives`,\n because it is always empty in the current version. It is populated in\n `ServiceLevelObjective`s representing previous versions in the output\n of `ListServiceLevelObjectiveVersions`. Because all old configuration\n versions are stored, `Update` operations mark the obsoleted version as\n deleted.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Name used for UI elements listing this SLO.\n goal:\n type: number\n format: double\n x-dcl-go-name: Goal\n description: The fraction of service that must be good in order for this\n objective to be met. `0 < goal <= 0.999`.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Resource name for this `ServiceLevelObjective`. The format\n is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rollingPeriod:\n type: string\n x-dcl-go-name: RollingPeriod\n description: A rolling time period, semantically \"in the past ``\". Must\n be an integer multiple of 1 day no larger than 30 days.\n x-dcl-conflicts:\n - calendarPeriod\n service:\n type: string\n x-dcl-go-name: Service\n description: The service for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Monitoring/Service\n field: name\n parent: true\n serviceLevelIndicator:\n type: object\n x-dcl-go-name: ServiceLevelIndicator\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicator\n description: The definition of good service, used to measure and calculate\n the quality of the `Service`'s performance with respect to a single aspect\n of service quality.\n properties:\n basicSli:\n type: object\n x-dcl-go-name: BasicSli\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSli\n description: Basic SLI on a well-known service type.\n x-dcl-conflicts:\n - requestBased\n - windowsBased\n properties:\n availability:\n type: object\n x-dcl-go-name: Availability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliAvailability\n description: Good service is defined to be the count of requests\n made to this service that return successfully.\n x-dcl-conflicts:\n - latency\n - operationAvailability\n - operationLatency\n latency:\n type: object\n x-dcl-go-name: Latency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliLatency\n description: Good service is defined to be the count of requests\n made to this service that are fast enough with respect to `latency.threshold`.\n x-dcl-conflicts:\n - availability\n - operationAvailability\n - operationLatency\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliLatencyExperienceEnum\n description: 'A description of the experience associated with\n failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count of requests\n made to this service that return in no more than `threshold`.\n location:\n type: array\n x-dcl-go-name: Location\n description: 'OPTIONAL: The set of locations to which this SLI is\n relevant. Telemetry from other locations will not be used to calculate\n performance for this SLI. If omitted, this SLI applies to all\n locations in which the Service has activity. For service types\n that don''t support breaking down by location, setting this field\n will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n method:\n type: array\n x-dcl-go-name: Method\n description: 'OPTIONAL: The set of RPCs to which this SLI is relevant.\n Telemetry from other methods will not be used to calculate performance\n for this SLI. If omitted, this SLI applies to all the Service''s\n methods. For service types that don''t support breaking down by\n method, setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n operationAvailability:\n type: object\n x-dcl-go-name: OperationAvailability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationAvailability\n description: Good service is defined to be the count of operations\n performed by this service that return successfully\n x-dcl-conflicts:\n - availability\n - latency\n - operationLatency\n operationLatency:\n type: object\n x-dcl-go-name: OperationLatency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationLatency\n description: Good service is defined to be the count of operations\n performed by this service that are fast enough with respect to\n `operation_latency.threshold`.\n x-dcl-conflicts:\n - availability\n - latency\n - operationAvailability\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationLatencyExperienceEnum\n description: 'A description of the experience associated with\n failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count of operations\n that are completed in no more than `threshold`.\n version:\n type: array\n x-dcl-go-name: Version\n description: 'OPTIONAL: The set of API versions to which this SLI\n is relevant. Telemetry from other API versions will not be used\n to calculate performance for this SLI. If omitted, this SLI applies\n to all API versions. For service types that don''t support breaking\n down by version, setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n requestBased:\n type: object\n x-dcl-go-name: RequestBased\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBased\n description: Request-based SLIs\n x-dcl-conflicts:\n - basicSli\n - windowsBased\n properties:\n distributionCut:\n type: object\n x-dcl-go-name: DistributionCut\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedDistributionCut\n description: '`distribution_cut` is used when `good_service` is\n a count of values aggregated in a `Distribution` that fall into\n a good range. The `total_service` is the total count of all values\n aggregated in the `Distribution`.'\n x-dcl-conflicts:\n - goodTotalRatio\n properties:\n distributionFilter:\n type: string\n x-dcl-go-name: DistributionFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` aggregating values. Must have `ValueType\n = DISTRIBUTION` and `MetricKind = DELTA` or `MetricKind =\n CUMULATIVE`.\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedDistributionCutRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n goodTotalRatio:\n type: object\n x-dcl-go-name: GoodTotalRatio\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedGoodTotalRatio\n description: '`good_total_ratio` is used when the ratio of `good_service`\n to `total_service` is computed from two `TimeSeries`.'\n x-dcl-conflicts:\n - distributionCut\n properties:\n badServiceFilter:\n type: string\n x-dcl-go-name: BadServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying bad service, either\n demanded service that was not provided or demanded service\n that was of inadequate quality. Must have `ValueType = DOUBLE`\n or `ValueType = INT64` and must have `MetricKind = DELTA`\n or `MetricKind = CUMULATIVE`.\n goodServiceFilter:\n type: string\n x-dcl-go-name: GoodServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying good service provided.\n Must have `ValueType = DOUBLE` or `ValueType = INT64` and\n must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n totalServiceFilter:\n type: string\n x-dcl-go-name: TotalServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying total demanded service.\n Must have `ValueType = DOUBLE` or `ValueType = INT64` and\n must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n windowsBased:\n type: object\n x-dcl-go-name: WindowsBased\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBased\n description: Windows-based SLIs\n x-dcl-conflicts:\n - basicSli\n - requestBased\n properties:\n goodBadMetricFilter:\n type: string\n x-dcl-go-name: GoodBadMetricFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` with `ValueType = BOOL`. The window\n is good if any `true` values appear in the window.\n x-dcl-conflicts:\n - goodTotalRatioThreshold\n - metricMeanInRange\n - metricSumInRange\n goodTotalRatioThreshold:\n type: object\n x-dcl-go-name: GoodTotalRatioThreshold\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThreshold\n description: A window is good if its `performance` is high enough.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - metricMeanInRange\n - metricSumInRange\n properties:\n basicSliPerformance:\n type: object\n x-dcl-go-name: BasicSliPerformance\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformance\n description: '`BasicSli` to evaluate to judge window quality.'\n x-dcl-conflicts:\n - performance\n properties:\n availability:\n type: object\n x-dcl-go-name: Availability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceAvailability\n description: Good service is defined to be the count of\n requests made to this service that return successfully.\n x-dcl-conflicts:\n - latency\n - operationAvailability\n - operationLatency\n latency:\n type: object\n x-dcl-go-name: Latency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceLatency\n description: Good service is defined to be the count of\n requests made to this service that are fast enough with\n respect to `latency.threshold`.\n x-dcl-conflicts:\n - availability\n - operationAvailability\n - operationLatency\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceLatencyExperienceEnum\n description: 'A description of the experience associated\n with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count\n of requests made to this service that return in no\n more than `threshold`.\n location:\n type: array\n x-dcl-go-name: Location\n description: 'OPTIONAL: The set of locations to which this\n SLI is relevant. Telemetry from other locations will not\n be used to calculate performance for this SLI. If omitted,\n this SLI applies to all locations in which the Service\n has activity. For service types that don''t support breaking\n down by location, setting this field will result in an\n error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n method:\n type: array\n x-dcl-go-name: Method\n description: 'OPTIONAL: The set of RPCs to which this SLI\n is relevant. Telemetry from other methods will not be\n used to calculate performance for this SLI. If omitted,\n this SLI applies to all the Service''s methods. For service\n types that don''t support breaking down by method, setting\n this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n operationAvailability:\n type: object\n x-dcl-go-name: OperationAvailability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationAvailability\n description: Good service is defined to be the count of\n operations performed by this service that return successfully\n x-dcl-conflicts:\n - availability\n - latency\n - operationLatency\n operationLatency:\n type: object\n x-dcl-go-name: OperationLatency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationLatency\n description: Good service is defined to be the count of\n operations performed by this service that are fast enough\n with respect to `operation_latency.threshold`.\n x-dcl-conflicts:\n - availability\n - latency\n - operationAvailability\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationLatencyExperienceEnum\n description: 'A description of the experience associated\n with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count\n of operations that are completed in no more than `threshold`.\n version:\n type: array\n x-dcl-go-name: Version\n description: 'OPTIONAL: The set of API versions to which\n this SLI is relevant. Telemetry from other API versions\n will not be used to calculate performance for this SLI.\n If omitted, this SLI applies to all API versions. For\n service types that don''t support breaking down by version,\n setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n performance:\n type: object\n x-dcl-go-name: Performance\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformance\n description: '`RequestBasedSli` to evaluate to judge window\n quality.'\n x-dcl-conflicts:\n - basicSliPerformance\n properties:\n distributionCut:\n type: object\n x-dcl-go-name: DistributionCut\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceDistributionCut\n description: '`distribution_cut` is used when `good_service`\n is a count of values aggregated in a `Distribution` that\n fall into a good range. The `total_service` is the total\n count of all values aggregated in the `Distribution`.'\n x-dcl-conflicts:\n - goodTotalRatio\n properties:\n distributionFilter:\n type: string\n x-dcl-go-name: DistributionFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` aggregating values. Must\n have `ValueType = DISTRIBUTION` and `MetricKind =\n DELTA` or `MetricKind = CUMULATIVE`.\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceDistributionCutRange\n description: Range of values considered \"good.\" For\n a one-sided range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n goodTotalRatio:\n type: object\n x-dcl-go-name: GoodTotalRatio\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceGoodTotalRatio\n description: '`good_total_ratio` is used when the ratio\n of `good_service` to `total_service` is computed from\n two `TimeSeries`.'\n x-dcl-conflicts:\n - distributionCut\n properties:\n badServiceFilter:\n type: string\n x-dcl-go-name: BadServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying bad service,\n either demanded service that was not provided or demanded\n service that was of inadequate quality. Must have\n `ValueType = DOUBLE` or `ValueType = INT64` and must\n have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n goodServiceFilter:\n type: string\n x-dcl-go-name: GoodServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying good service\n provided. Must have `ValueType = DOUBLE` or `ValueType\n = INT64` and must have `MetricKind = DELTA` or `MetricKind\n = CUMULATIVE`.\n totalServiceFilter:\n type: string\n x-dcl-go-name: TotalServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying total demanded\n service. Must have `ValueType = DOUBLE` or `ValueType\n = INT64` and must have `MetricKind = DELTA` or `MetricKind\n = CUMULATIVE`.\n threshold:\n type: number\n format: double\n x-dcl-go-name: Threshold\n description: If window `performance >= threshold`, the window\n is counted as good.\n metricMeanInRange:\n type: object\n x-dcl-go-name: MetricMeanInRange\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricMeanInRange\n description: A window is good if the metric's value is in a good\n range, averaged across returned streams.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - goodTotalRatioThreshold\n - metricSumInRange\n properties:\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricMeanInRangeRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n timeSeries:\n type: string\n x-dcl-go-name: TimeSeries\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying the `TimeSeries` to use for evaluating window quality.\n metricSumInRange:\n type: object\n x-dcl-go-name: MetricSumInRange\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricSumInRange\n description: A window is good if the metric's value is in a good\n range, summed across returned streams.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - goodTotalRatioThreshold\n - metricMeanInRange\n properties:\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricSumInRangeRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n timeSeries:\n type: string\n x-dcl-go-name: TimeSeries\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying the `TimeSeries` to use for evaluating window quality.\n windowPeriod:\n type: string\n x-dcl-go-name: WindowPeriod\n description: Duration over which window quality is evaluated. Must\n be an integer fraction of a day and at least `60s`.\n serviceManagementOwned:\n type: boolean\n x-dcl-go-name: ServiceManagementOwned\n readOnly: true\n description: Output only. If set, this SLO is managed at the [Service Management](https://cloud.google.com/service-management/overview)\n level. Therefore the service yaml file is the source of truth for this\n SLO, and API `Update` and `Delete` operations are forbidden.\n x-kubernetes-immutable: true\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: Labels which have been used to annotate the service-level objective.\n Label keys must start with a letter. Label keys and values may contain\n lowercase letters, numbers, underscores, and dashes. Label keys and values\n have a maximum length of 63 characters, and must be less than 128 bytes\n in size. Up to 64 label entries may be stored. For labels which do not\n have a semantic value, the empty string may be supplied for the label\n value.\n") +var YAML_service_level_objective = []byte("info:\n title: Monitoring/ServiceLevelObjective\n description: The Monitoring ServiceLevelObjective resource\n x-dcl-struct-name: ServiceLevelObjective\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n apply:\n description: The function used to apply information about a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n delete:\n description: The function used to delete a ServiceLevelObjective\n parameters:\n - name: ServiceLevelObjective\n required: true\n description: A full instance of a ServiceLevelObjective\n deleteAll:\n description: The function used to delete all ServiceLevelObjective\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: service\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceLevelObjective\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: service\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceLevelObjective:\n title: ServiceLevelObjective\n x-dcl-id: projects/{{project}}/services/{{service}}/serviceLevelObjectives/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: userLabels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - goal\n - project\n - service\n properties:\n calendarPeriod:\n type: string\n x-dcl-go-name: CalendarPeriod\n x-dcl-go-type: ServiceLevelObjectiveCalendarPeriodEnum\n description: 'A calendar period, semantically \"since the start of the current\n ``\". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and `MONTH` are supported.\n Possible values: CALENDAR_PERIOD_UNSPECIFIED, DAY, WEEK, FORTNIGHT, MONTH,\n QUARTER, HALF, YEAR'\n x-dcl-conflicts:\n - rollingPeriod\n enum:\n - CALENDAR_PERIOD_UNSPECIFIED\n - DAY\n - WEEK\n - FORTNIGHT\n - MONTH\n - QUARTER\n - HALF\n - YEAR\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Time stamp of the `Create` or most recent `Update` command\n on this `Slo`.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Time stamp of the `Update` or `Delete` command that made this\n no longer a current `Slo`. This field is not populated in `ServiceLevelObjective`s\n returned from calls to `GetServiceLevelObjective` and `ListServiceLevelObjectives`,\n because it is always empty in the current version. It is populated in\n `ServiceLevelObjective`s representing previous versions in the output\n of `ListServiceLevelObjectiveVersions`. Because all old configuration\n versions are stored, `Update` operations mark the obsoleted version as\n deleted.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Name used for UI elements listing this SLO.\n goal:\n type: number\n format: double\n x-dcl-go-name: Goal\n description: The fraction of service that must be good in order for this\n objective to be met. `0 < goal <= 0.999`.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Resource name for this `ServiceLevelObjective`. The format\n is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rollingPeriod:\n type: string\n x-dcl-go-name: RollingPeriod\n description: A rolling time period, semantically \"in the past ``\". Must\n be an integer multiple of 1 day no larger than 30 days.\n x-dcl-conflicts:\n - calendarPeriod\n service:\n type: string\n x-dcl-go-name: Service\n description: The service for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Monitoring/Service\n field: name\n parent: true\n serviceLevelIndicator:\n type: object\n x-dcl-go-name: ServiceLevelIndicator\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicator\n description: The definition of good service, used to measure and calculate\n the quality of the `Service`'s performance with respect to a single aspect\n of service quality.\n properties:\n basicSli:\n type: object\n x-dcl-go-name: BasicSli\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSli\n description: Basic SLI on a well-known service type.\n x-dcl-conflicts:\n - requestBased\n - windowsBased\n properties:\n availability:\n type: object\n x-dcl-go-name: Availability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliAvailability\n description: Good service is defined to be the count of requests\n made to this service that return successfully.\n x-dcl-conflicts:\n - latency\n - operationAvailability\n - operationLatency\n latency:\n type: object\n x-dcl-go-name: Latency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliLatency\n description: Good service is defined to be the count of requests\n made to this service that are fast enough with respect to `latency.threshold`.\n x-dcl-conflicts:\n - availability\n - operationAvailability\n - operationLatency\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliLatencyExperienceEnum\n description: 'A description of the experience associated with\n failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count of requests\n made to this service that return in no more than `threshold`.\n location:\n type: array\n x-dcl-go-name: Location\n description: 'OPTIONAL: The set of locations to which this SLI is\n relevant. Telemetry from other locations will not be used to calculate\n performance for this SLI. If omitted, this SLI applies to all\n locations in which the Service has activity. For service types\n that don''t support breaking down by location, setting this field\n will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n method:\n type: array\n x-dcl-go-name: Method\n description: 'OPTIONAL: The set of RPCs to which this SLI is relevant.\n Telemetry from other methods will not be used to calculate performance\n for this SLI. If omitted, this SLI applies to all the Service''s\n methods. For service types that don''t support breaking down by\n method, setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n operationAvailability:\n type: object\n x-dcl-go-name: OperationAvailability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationAvailability\n description: Good service is defined to be the count of operations\n performed by this service that return successfully\n x-dcl-conflicts:\n - availability\n - latency\n - operationLatency\n operationLatency:\n type: object\n x-dcl-go-name: OperationLatency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationLatency\n description: Good service is defined to be the count of operations\n performed by this service that are fast enough with respect to\n `operation_latency.threshold`.\n x-dcl-conflicts:\n - availability\n - latency\n - operationAvailability\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorBasicSliOperationLatencyExperienceEnum\n description: 'A description of the experience associated with\n failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count of operations\n that are completed in no more than `threshold`.\n version:\n type: array\n x-dcl-go-name: Version\n description: 'OPTIONAL: The set of API versions to which this SLI\n is relevant. Telemetry from other API versions will not be used\n to calculate performance for this SLI. If omitted, this SLI applies\n to all API versions. For service types that don''t support breaking\n down by version, setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n requestBased:\n type: object\n x-dcl-go-name: RequestBased\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBased\n description: Request-based SLIs\n x-dcl-conflicts:\n - basicSli\n - windowsBased\n properties:\n distributionCut:\n type: object\n x-dcl-go-name: DistributionCut\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedDistributionCut\n description: '`distribution_cut` is used when `good_service` is\n a count of values aggregated in a `Distribution` that fall into\n a good range. The `total_service` is the total count of all values\n aggregated in the `Distribution`.'\n x-dcl-conflicts:\n - goodTotalRatio\n properties:\n distributionFilter:\n type: string\n x-dcl-go-name: DistributionFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` aggregating values. Must have `ValueType\n = DISTRIBUTION` and `MetricKind = DELTA` or `MetricKind =\n CUMULATIVE`.\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedDistributionCutRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n goodTotalRatio:\n type: object\n x-dcl-go-name: GoodTotalRatio\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorRequestBasedGoodTotalRatio\n description: '`good_total_ratio` is used when the ratio of `good_service`\n to `total_service` is computed from two `TimeSeries`.'\n x-dcl-conflicts:\n - distributionCut\n properties:\n badServiceFilter:\n type: string\n x-dcl-go-name: BadServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying bad service, either\n demanded service that was not provided or demanded service\n that was of inadequate quality. Must have `ValueType = DOUBLE`\n or `ValueType = INT64` and must have `MetricKind = DELTA`\n or `MetricKind = CUMULATIVE`.\n goodServiceFilter:\n type: string\n x-dcl-go-name: GoodServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying good service provided.\n Must have `ValueType = DOUBLE` or `ValueType = INT64` and\n must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n totalServiceFilter:\n type: string\n x-dcl-go-name: TotalServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying total demanded service.\n Must have `ValueType = DOUBLE` or `ValueType = INT64` and\n must have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n windowsBased:\n type: object\n x-dcl-go-name: WindowsBased\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBased\n description: Windows-based SLIs\n x-dcl-conflicts:\n - basicSli\n - requestBased\n properties:\n goodBadMetricFilter:\n type: string\n x-dcl-go-name: GoodBadMetricFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` with `ValueType = BOOL`. The window\n is good if any `true` values appear in the window.\n x-dcl-conflicts:\n - goodTotalRatioThreshold\n - metricMeanInRange\n - metricSumInRange\n goodTotalRatioThreshold:\n type: object\n x-dcl-go-name: GoodTotalRatioThreshold\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThreshold\n description: A window is good if its `performance` is high enough.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - metricMeanInRange\n - metricSumInRange\n properties:\n basicSliPerformance:\n type: object\n x-dcl-go-name: BasicSliPerformance\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformance\n description: '`BasicSli` to evaluate to judge window quality.'\n x-dcl-conflicts:\n - performance\n properties:\n availability:\n type: object\n x-dcl-go-name: Availability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceAvailability\n description: Good service is defined to be the count of\n requests made to this service that return successfully.\n x-dcl-conflicts:\n - latency\n - operationAvailability\n - operationLatency\n latency:\n type: object\n x-dcl-go-name: Latency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceLatency\n description: Good service is defined to be the count of\n requests made to this service that are fast enough with\n respect to `latency.threshold`.\n x-dcl-conflicts:\n - availability\n - operationAvailability\n - operationLatency\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceLatencyExperienceEnum\n description: 'A description of the experience associated\n with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count\n of requests made to this service that return in no\n more than `threshold`.\n location:\n type: array\n x-dcl-go-name: Location\n description: 'OPTIONAL: The set of locations to which this\n SLI is relevant. Telemetry from other locations will not\n be used to calculate performance for this SLI. If omitted,\n this SLI applies to all locations in which the Service\n has activity. For service types that don''t support breaking\n down by location, setting this field will result in an\n error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n method:\n type: array\n x-dcl-go-name: Method\n description: 'OPTIONAL: The set of RPCs to which this SLI\n is relevant. Telemetry from other methods will not be\n used to calculate performance for this SLI. If omitted,\n this SLI applies to all the Service''s methods. For service\n types that don''t support breaking down by method, setting\n this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n operationAvailability:\n type: object\n x-dcl-go-name: OperationAvailability\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationAvailability\n description: Good service is defined to be the count of\n operations performed by this service that return successfully\n x-dcl-conflicts:\n - availability\n - latency\n - operationLatency\n operationLatency:\n type: object\n x-dcl-go-name: OperationLatency\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationLatency\n description: Good service is defined to be the count of\n operations performed by this service that are fast enough\n with respect to `operation_latency.threshold`.\n x-dcl-conflicts:\n - availability\n - latency\n - operationAvailability\n properties:\n experience:\n type: string\n x-dcl-go-name: Experience\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdBasicSliPerformanceOperationLatencyExperienceEnum\n description: 'A description of the experience associated\n with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED,\n DELIGHTING, SATISFYING, ANNOYING'\n enum:\n - LATENCY_EXPERIENCE_UNSPECIFIED\n - DELIGHTING\n - SATISFYING\n - ANNOYING\n threshold:\n type: string\n x-dcl-go-name: Threshold\n description: Good service is defined to be the count\n of operations that are completed in no more than `threshold`.\n version:\n type: array\n x-dcl-go-name: Version\n description: 'OPTIONAL: The set of API versions to which\n this SLI is relevant. Telemetry from other API versions\n will not be used to calculate performance for this SLI.\n If omitted, this SLI applies to all API versions. For\n service types that don''t support breaking down by version,\n setting this field will result in an error.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n performance:\n type: object\n x-dcl-go-name: Performance\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformance\n description: '`RequestBasedSli` to evaluate to judge window\n quality.'\n x-dcl-conflicts:\n - basicSliPerformance\n properties:\n distributionCut:\n type: object\n x-dcl-go-name: DistributionCut\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceDistributionCut\n description: '`distribution_cut` is used when `good_service`\n is a count of values aggregated in a `Distribution` that\n fall into a good range. The `total_service` is the total\n count of all values aggregated in the `Distribution`.'\n x-dcl-conflicts:\n - goodTotalRatio\n properties:\n distributionFilter:\n type: string\n x-dcl-go-name: DistributionFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` aggregating values. Must\n have `ValueType = DISTRIBUTION` and `MetricKind =\n DELTA` or `MetricKind = CUMULATIVE`.\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceDistributionCutRange\n description: Range of values considered \"good.\" For\n a one-sided range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n goodTotalRatio:\n type: object\n x-dcl-go-name: GoodTotalRatio\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedGoodTotalRatioThresholdPerformanceGoodTotalRatio\n description: '`good_total_ratio` is used when the ratio\n of `good_service` to `total_service` is computed from\n two `TimeSeries`.'\n x-dcl-conflicts:\n - distributionCut\n properties:\n badServiceFilter:\n type: string\n x-dcl-go-name: BadServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying bad service,\n either demanded service that was not provided or demanded\n service that was of inadequate quality. Must have\n `ValueType = DOUBLE` or `ValueType = INT64` and must\n have `MetricKind = DELTA` or `MetricKind = CUMULATIVE`.\n goodServiceFilter:\n type: string\n x-dcl-go-name: GoodServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying good service\n provided. Must have `ValueType = DOUBLE` or `ValueType\n = INT64` and must have `MetricKind = DELTA` or `MetricKind\n = CUMULATIVE`.\n totalServiceFilter:\n type: string\n x-dcl-go-name: TotalServiceFilter\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying a `TimeSeries` quantifying total demanded\n service. Must have `ValueType = DOUBLE` or `ValueType\n = INT64` and must have `MetricKind = DELTA` or `MetricKind\n = CUMULATIVE`.\n threshold:\n type: number\n format: double\n x-dcl-go-name: Threshold\n description: If window `performance >= threshold`, the window\n is counted as good.\n metricMeanInRange:\n type: object\n x-dcl-go-name: MetricMeanInRange\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricMeanInRange\n description: A window is good if the metric's value is in a good\n range, averaged across returned streams.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - goodTotalRatioThreshold\n - metricSumInRange\n properties:\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricMeanInRangeRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n timeSeries:\n type: string\n x-dcl-go-name: TimeSeries\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying the `TimeSeries` to use for evaluating window quality.\n metricSumInRange:\n type: object\n x-dcl-go-name: MetricSumInRange\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricSumInRange\n description: A window is good if the metric's value is in a good\n range, summed across returned streams.\n x-dcl-conflicts:\n - goodBadMetricFilter\n - goodTotalRatioThreshold\n - metricMeanInRange\n properties:\n range:\n type: object\n x-dcl-go-name: Range\n x-dcl-go-type: ServiceLevelObjectiveServiceLevelIndicatorWindowsBasedMetricSumInRangeRange\n description: Range of values considered \"good.\" For a one-sided\n range, set one bound to an infinite value.\n properties:\n max:\n type: number\n format: double\n x-dcl-go-name: Max\n description: Range maximum.\n min:\n type: number\n format: double\n x-dcl-go-name: Min\n description: Range minimum.\n timeSeries:\n type: string\n x-dcl-go-name: TimeSeries\n description: A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)\n specifying the `TimeSeries` to use for evaluating window quality.\n windowPeriod:\n type: string\n x-dcl-go-name: WindowPeriod\n description: Duration over which window quality is evaluated. Must\n be an integer fraction of a day and at least `60s`.\n serviceManagementOwned:\n type: boolean\n x-dcl-go-name: ServiceManagementOwned\n readOnly: true\n description: Output only. If set, this SLO is managed at the [Service Management](https://cloud.google.com/service-management/overview)\n level. Therefore the service yaml file is the source of truth for this\n SLO, and API `Update` and `Delete` operations are forbidden.\n x-kubernetes-immutable: true\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: Labels which have been used to annotate the service-level objective.\n Label keys must start with a letter. Label keys and values may contain\n lowercase letters, numbers, underscores, and dashes. Label keys and values\n have a maximum length of 63 characters, and must be less than 128 bytes\n in size. Up to 64 label entries may be stored. For labels which do not\n have a semantic value, the empty string may be supplied for the label\n value.\n") -// 35870 bytes -// MD5: 3a16a4078396e9c8b930edfc33e07e70 +// 35895 bytes +// MD5: e0c78a0304e14d04eb32620f0b94294b diff --git a/services/google/monitoring/service_schema.go b/services/google/monitoring/service_schema.go index 320cf53b4c..c534d20029 100755 --- a/services/google/monitoring/service_schema.go +++ b/services/google/monitoring/service_schema.go @@ -23,6 +23,7 @@ func DCLServiceSchema() *dcl.Schema { Title: "Monitoring/Service", Description: "The Monitoring Service resource", StructName: "Service", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/service_yaml_embed.go b/services/google/monitoring/service_yaml_embed.go index 5a04c8a640..2e06f0cc5c 100755 --- a/services/google/monitoring/service_yaml_embed.go +++ b/services/google/monitoring/service_yaml_embed.go @@ -17,7 +17,7 @@ package monitoring // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/service.yaml -var YAML_service = []byte("info:\n title: Monitoring/Service\n description: The Monitoring Service resource\n x-dcl-struct-name: Service\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n apply:\n description: The function used to apply information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n delete:\n description: The function used to delete a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n deleteAll:\n description: The function used to delete all Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Service:\n title: Service\n x-dcl-id: projects/{{project}}/services/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: userLabels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Name used for UI elements listing this Service.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n telemetry:\n type: object\n x-dcl-go-name: Telemetry\n x-dcl-go-type: ServiceTelemetry\n description: Configuration for how to query telemetry on a Service.\n properties:\n resourceName:\n type: string\n x-dcl-go-name: ResourceName\n description: The full name of the resource that defines this service.\n Formatted as described in https://cloud.google.com/apis/design/resource_names.\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: Labels which have been used to annotate the service. Label\n keys must start with a letter. Label keys and values may contain lowercase\n letters, numbers, underscores, and dashes. Label keys and values have\n a maximum length of 63 characters, and must be less than 128 bytes in\n size. Up to 64 label entries may be stored. For labels which do not have\n a semantic value, the empty string may be supplied for the label value.\n") +var YAML_service = []byte("info:\n title: Monitoring/Service\n description: The Monitoring Service resource\n x-dcl-struct-name: Service\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n apply:\n description: The function used to apply information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n delete:\n description: The function used to delete a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n deleteAll:\n description: The function used to delete all Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Service:\n title: Service\n x-dcl-id: projects/{{project}}/services/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: userLabels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Name used for UI elements listing this Service.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n telemetry:\n type: object\n x-dcl-go-name: Telemetry\n x-dcl-go-type: ServiceTelemetry\n description: Configuration for how to query telemetry on a Service.\n properties:\n resourceName:\n type: string\n x-dcl-go-name: ResourceName\n description: The full name of the resource that defines this service.\n Formatted as described in https://cloud.google.com/apis/design/resource_names.\n userLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserLabels\n description: Labels which have been used to annotate the service. Label\n keys must start with a letter. Label keys and values may contain lowercase\n letters, numbers, underscores, and dashes. Label keys and values have\n a maximum length of 63 characters, and must be less than 128 bytes in\n size. Up to 64 label entries may be stored. For labels which do not have\n a semantic value, the empty string may be supplied for the label value.\n") -// 3111 bytes -// MD5: 525fac7e93189d3ca8fbdeeea7e15fa1 +// 3136 bytes +// MD5: 7122a74186f578f8b6e0c5d07672775d diff --git a/services/google/monitoring/uptime_check_config.yaml b/services/google/monitoring/uptime_check_config.yaml index cfbbffd5ef..55714b5cb3 100755 --- a/services/google/monitoring/uptime_check_config.yaml +++ b/services/google/monitoring/uptime_check_config.yaml @@ -15,6 +15,7 @@ info: title: Monitoring/UptimeCheckConfig description: The Monitoring UptimeCheckConfig resource x-dcl-struct-name: UptimeCheckConfig + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/monitoring/uptime_check_config_schema.go b/services/google/monitoring/uptime_check_config_schema.go index 27a87d9271..5e1bfdbd0c 100755 --- a/services/google/monitoring/uptime_check_config_schema.go +++ b/services/google/monitoring/uptime_check_config_schema.go @@ -23,6 +23,7 @@ func DCLUptimeCheckConfigSchema() *dcl.Schema { Title: "Monitoring/UptimeCheckConfig", Description: "The Monitoring UptimeCheckConfig resource", StructName: "UptimeCheckConfig", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/monitoring/uptime_check_config_yaml_embed.go b/services/google/monitoring/uptime_check_config_yaml_embed.go index bc44ae564a..72895841d9 100755 --- a/services/google/monitoring/uptime_check_config_yaml_embed.go +++ b/services/google/monitoring/uptime_check_config_yaml_embed.go @@ -17,7 +17,7 @@ package monitoring // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/monitoring/uptime_check_config.yaml -var YAML_uptime_check_config = []byte("info:\n title: Monitoring/UptimeCheckConfig\n description: The Monitoring UptimeCheckConfig resource\n x-dcl-struct-name: UptimeCheckConfig\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n apply:\n description: The function used to apply information about a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n delete:\n description: The function used to delete a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n deleteAll:\n description: The function used to delete all UptimeCheckConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many UptimeCheckConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n UptimeCheckConfig:\n title: UptimeCheckConfig\n x-dcl-id: projects/{{project}}/uptimeCheckConfigs/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - timeout\n properties:\n contentMatchers:\n type: array\n x-dcl-go-name: ContentMatchers\n description: The content that is expected to appear in the data returned\n by the target server against which the check is run. Currently, only\n the first entry in the `content_matchers` list is supported, and additional\n entries will be ignored. This field is optional and should only be specified\n if a content match is required as part of the/ Uptime check.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: UptimeCheckConfigContentMatchers\n required:\n - content\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n matcher:\n type: string\n x-dcl-go-name: Matcher\n x-dcl-go-type: UptimeCheckConfigContentMatchersMatcherEnum\n description: ' Possible values: CONTENT_MATCHER_OPTION_UNSPECIFIED,\n CONTAINS_STRING, NOT_CONTAINS_STRING, MATCHES_REGEX, NOT_MATCHES_REGEX'\n default: CONTAINS_STRING\n enum:\n - CONTENT_MATCHER_OPTION_UNSPECIFIED\n - CONTAINS_STRING\n - NOT_CONTAINS_STRING\n - MATCHES_REGEX\n - NOT_MATCHES_REGEX\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A human-friendly name for the Uptime check configuration. The\n display name should be unique within a Stackdriver Workspace in order\n to make it easier to identify; however, uniqueness is not enforced. Required.\n httpCheck:\n type: object\n x-dcl-go-name: HttpCheck\n x-dcl-go-type: UptimeCheckConfigHttpCheck\n description: Contains information needed to make an HTTP or HTTPS check.\n x-dcl-conflicts:\n - tcpCheck\n properties:\n authInfo:\n type: object\n x-dcl-go-name: AuthInfo\n x-dcl-go-type: UptimeCheckConfigHttpCheckAuthInfo\n description: The authentication information. Optional when creating\n an HTTP check; defaults to empty.\n required:\n - username\n - password\n properties:\n password:\n type: string\n x-dcl-go-name: Password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n username:\n type: string\n x-dcl-go-name: Username\n body:\n type: string\n x-dcl-go-name: Body\n description: 'The request body associated with the HTTP POST request.\n If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded.\n Users can provide a `Content-Length` header via the `headers` field\n or the API will do so. If the `request_method` is `GET` and `body`\n is not empty, the API will return an error. The maximum byte size\n is 1 megabyte. Note: As with all `bytes` fields JSON representations\n are base64 encoded. e.g.: \"foo=bar\" in URL-encoded form is \"foo%3Dbar\"\n and in base64 encoding is \"Zm9vJTI1M0RiYXI=\".'\n contentType:\n type: string\n x-dcl-go-name: ContentType\n x-dcl-go-type: UptimeCheckConfigHttpCheckContentTypeEnum\n description: 'The content type to use for the check. Possible values:\n TYPE_UNSPECIFIED, URL_ENCODED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - URL_ENCODED\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: The list of headers to send as part of the Uptime check\n request. If two headers have the same key and different values, they\n should be entered as a single header, with the value being a comma-separated\n list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt\n (page 31). Entering two separate headers with the same key in a Create\n call will cause the first to be overwritten by the second. The maximum\n number of headers allowed is 100.\n x-dcl-server-default: true\n x-dcl-mutable-unreadable: true\n maskHeaders:\n type: boolean\n x-dcl-go-name: MaskHeaders\n description: Boolean specifying whether to encrypt the header information.\n Encryption should be specified for any headers related to authentication\n that you do not wish to be seen when retrieving the configuration.\n The server will be responsible for encrypting the headers. On Get/List\n calls, if `mask_headers` is set to `true` then the headers will be\n obscured with `******.`\n x-kubernetes-immutable: true\n path:\n type: string\n x-dcl-go-name: Path\n description: Optional (defaults to \"/\"). The path to the page against\n which to run the check. Will be combined with the `host` (specified\n within the `monitored_resource`) and `port` to construct the full\n URL. If the provided path does not begin with \"/\", a \"/\" will be prepended\n automatically.\n default: /\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: Optional (defaults to 80 when `use_ssl` is `false`, and\n 443 when `use_ssl` is `true`). The TCP port on the HTTP server against\n which to run the check. Will be combined with host (specified within\n the `monitored_resource`) and `path` to construct the full URL.\n x-dcl-server-default: true\n requestMethod:\n type: string\n x-dcl-go-name: RequestMethod\n x-dcl-go-type: UptimeCheckConfigHttpCheckRequestMethodEnum\n description: The HTTP request method to use for the check. If set to\n `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.\n x-kubernetes-immutable: true\n default: GET\n enum:\n - METHOD_UNSPECIFIED\n - GET\n - POST\n useSsl:\n type: boolean\n x-dcl-go-name: UseSsl\n description: If `true`, use HTTPS instead of HTTP to run the check.\n validateSsl:\n type: boolean\n x-dcl-go-name: ValidateSsl\n description: Boolean specifying whether to include SSL certificate validation\n as a part of the Uptime check. Only applies to checks where `monitored_resource`\n is set to `uptime_url`. If `use_ssl` is `false`, setting `validate_ssl`\n to `true` has no effect.\n monitoredResource:\n type: object\n x-dcl-go-name: MonitoredResource\n x-dcl-go-type: UptimeCheckConfigMonitoredResource\n description: 'The [monitored resource](https://cloud.google.com/monitoring/api/resources)\n associated with the configuration. The following monitored resource types\n are supported for Uptime checks: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer`'\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - resourceGroup\n required:\n - type\n - filterLabels\n properties:\n filterLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: FilterLabels\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'A unique resource name for this Uptime check configuration.\n The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]\n This field should be omitted when creating the Uptime check configuration;\n on create, the resource name is assigned by the server and included in\n the response.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n period:\n type: string\n x-dcl-go-name: Period\n description: How often, in seconds, the Uptime check is performed. Currently,\n the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s`\n (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.\n default: 60s\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this uptime check config.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceGroup:\n type: object\n x-dcl-go-name: ResourceGroup\n x-dcl-go-type: UptimeCheckConfigResourceGroup\n description: The group resource associated with the configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - monitoredResource\n properties:\n groupId:\n type: string\n x-dcl-go-name: GroupId\n description: The group of resources being monitored. Should be only\n the `[GROUP_ID]`, and not the full-path `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Monitoring/Group\n field: name\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: UptimeCheckConfigResourceGroupResourceTypeEnum\n description: 'The resource type of the group members. Possible values:\n RESOURCE_TYPE_UNSPECIFIED, INSTANCE, AWS_ELB_LOAD_BALANCER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - INSTANCE\n - AWS_ELB_LOAD_BALANCER\n selectedRegions:\n type: array\n x-dcl-go-name: SelectedRegions\n description: The list of regions from which the check will be run. Some\n regions contain one location, and others contain more than one. If this\n field is specified, enough regions must be provided to include a minimum\n of 3 locations. Not specifying this field will result in Uptime checks\n running from all available regions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tcpCheck:\n type: object\n x-dcl-go-name: TcpCheck\n x-dcl-go-type: UptimeCheckConfigTcpCheck\n description: Contains information needed to make a TCP check.\n x-dcl-conflicts:\n - httpCheck\n required:\n - port\n properties:\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: The TCP port on the server against which to run the check.\n Will be combined with host (specified within the `monitored_resource`)\n to construct the full URL. Required.\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: The maximum amount of time to wait for the request to complete\n (must be between 1 and 60 seconds). Required.\n") +var YAML_uptime_check_config = []byte("info:\n title: Monitoring/UptimeCheckConfig\n description: The Monitoring UptimeCheckConfig resource\n x-dcl-struct-name: UptimeCheckConfig\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n apply:\n description: The function used to apply information about a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n delete:\n description: The function used to delete a UptimeCheckConfig\n parameters:\n - name: UptimeCheckConfig\n required: true\n description: A full instance of a UptimeCheckConfig\n deleteAll:\n description: The function used to delete all UptimeCheckConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many UptimeCheckConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n UptimeCheckConfig:\n title: UptimeCheckConfig\n x-dcl-id: projects/{{project}}/uptimeCheckConfigs/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - timeout\n properties:\n contentMatchers:\n type: array\n x-dcl-go-name: ContentMatchers\n description: The content that is expected to appear in the data returned\n by the target server against which the check is run. Currently, only\n the first entry in the `content_matchers` list is supported, and additional\n entries will be ignored. This field is optional and should only be specified\n if a content match is required as part of the/ Uptime check.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: UptimeCheckConfigContentMatchers\n required:\n - content\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n matcher:\n type: string\n x-dcl-go-name: Matcher\n x-dcl-go-type: UptimeCheckConfigContentMatchersMatcherEnum\n description: ' Possible values: CONTENT_MATCHER_OPTION_UNSPECIFIED,\n CONTAINS_STRING, NOT_CONTAINS_STRING, MATCHES_REGEX, NOT_MATCHES_REGEX'\n default: CONTAINS_STRING\n enum:\n - CONTENT_MATCHER_OPTION_UNSPECIFIED\n - CONTAINS_STRING\n - NOT_CONTAINS_STRING\n - MATCHES_REGEX\n - NOT_MATCHES_REGEX\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: A human-friendly name for the Uptime check configuration. The\n display name should be unique within a Stackdriver Workspace in order\n to make it easier to identify; however, uniqueness is not enforced. Required.\n httpCheck:\n type: object\n x-dcl-go-name: HttpCheck\n x-dcl-go-type: UptimeCheckConfigHttpCheck\n description: Contains information needed to make an HTTP or HTTPS check.\n x-dcl-conflicts:\n - tcpCheck\n properties:\n authInfo:\n type: object\n x-dcl-go-name: AuthInfo\n x-dcl-go-type: UptimeCheckConfigHttpCheckAuthInfo\n description: The authentication information. Optional when creating\n an HTTP check; defaults to empty.\n required:\n - username\n - password\n properties:\n password:\n type: string\n x-dcl-go-name: Password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n username:\n type: string\n x-dcl-go-name: Username\n body:\n type: string\n x-dcl-go-name: Body\n description: 'The request body associated with the HTTP POST request.\n If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded.\n Users can provide a `Content-Length` header via the `headers` field\n or the API will do so. If the `request_method` is `GET` and `body`\n is not empty, the API will return an error. The maximum byte size\n is 1 megabyte. Note: As with all `bytes` fields JSON representations\n are base64 encoded. e.g.: \"foo=bar\" in URL-encoded form is \"foo%3Dbar\"\n and in base64 encoding is \"Zm9vJTI1M0RiYXI=\".'\n contentType:\n type: string\n x-dcl-go-name: ContentType\n x-dcl-go-type: UptimeCheckConfigHttpCheckContentTypeEnum\n description: 'The content type to use for the check. Possible values:\n TYPE_UNSPECIFIED, URL_ENCODED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - URL_ENCODED\n headers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Headers\n description: The list of headers to send as part of the Uptime check\n request. If two headers have the same key and different values, they\n should be entered as a single header, with the value being a comma-separated\n list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt\n (page 31). Entering two separate headers with the same key in a Create\n call will cause the first to be overwritten by the second. The maximum\n number of headers allowed is 100.\n x-dcl-server-default: true\n x-dcl-mutable-unreadable: true\n maskHeaders:\n type: boolean\n x-dcl-go-name: MaskHeaders\n description: Boolean specifying whether to encrypt the header information.\n Encryption should be specified for any headers related to authentication\n that you do not wish to be seen when retrieving the configuration.\n The server will be responsible for encrypting the headers. On Get/List\n calls, if `mask_headers` is set to `true` then the headers will be\n obscured with `******.`\n x-kubernetes-immutable: true\n path:\n type: string\n x-dcl-go-name: Path\n description: Optional (defaults to \"/\"). The path to the page against\n which to run the check. Will be combined with the `host` (specified\n within the `monitored_resource`) and `port` to construct the full\n URL. If the provided path does not begin with \"/\", a \"/\" will be prepended\n automatically.\n default: /\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: Optional (defaults to 80 when `use_ssl` is `false`, and\n 443 when `use_ssl` is `true`). The TCP port on the HTTP server against\n which to run the check. Will be combined with host (specified within\n the `monitored_resource`) and `path` to construct the full URL.\n x-dcl-server-default: true\n requestMethod:\n type: string\n x-dcl-go-name: RequestMethod\n x-dcl-go-type: UptimeCheckConfigHttpCheckRequestMethodEnum\n description: The HTTP request method to use for the check. If set to\n `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.\n x-kubernetes-immutable: true\n default: GET\n enum:\n - METHOD_UNSPECIFIED\n - GET\n - POST\n useSsl:\n type: boolean\n x-dcl-go-name: UseSsl\n description: If `true`, use HTTPS instead of HTTP to run the check.\n validateSsl:\n type: boolean\n x-dcl-go-name: ValidateSsl\n description: Boolean specifying whether to include SSL certificate validation\n as a part of the Uptime check. Only applies to checks where `monitored_resource`\n is set to `uptime_url`. If `use_ssl` is `false`, setting `validate_ssl`\n to `true` has no effect.\n monitoredResource:\n type: object\n x-dcl-go-name: MonitoredResource\n x-dcl-go-type: UptimeCheckConfigMonitoredResource\n description: 'The [monitored resource](https://cloud.google.com/monitoring/api/resources)\n associated with the configuration. The following monitored resource types\n are supported for Uptime checks: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer`'\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - resourceGroup\n required:\n - type\n - filterLabels\n properties:\n filterLabels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: FilterLabels\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'A unique resource name for this Uptime check configuration.\n The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]\n This field should be omitted when creating the Uptime check configuration;\n on create, the resource name is assigned by the server and included in\n the response.'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n period:\n type: string\n x-dcl-go-name: Period\n description: How often, in seconds, the Uptime check is performed. Currently,\n the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s`\n (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.\n default: 60s\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for this uptime check config.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceGroup:\n type: object\n x-dcl-go-name: ResourceGroup\n x-dcl-go-type: UptimeCheckConfigResourceGroup\n description: The group resource associated with the configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - monitoredResource\n properties:\n groupId:\n type: string\n x-dcl-go-name: GroupId\n description: The group of resources being monitored. Should be only\n the `[GROUP_ID]`, and not the full-path `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Monitoring/Group\n field: name\n resourceType:\n type: string\n x-dcl-go-name: ResourceType\n x-dcl-go-type: UptimeCheckConfigResourceGroupResourceTypeEnum\n description: 'The resource type of the group members. Possible values:\n RESOURCE_TYPE_UNSPECIFIED, INSTANCE, AWS_ELB_LOAD_BALANCER'\n x-kubernetes-immutable: true\n enum:\n - RESOURCE_TYPE_UNSPECIFIED\n - INSTANCE\n - AWS_ELB_LOAD_BALANCER\n selectedRegions:\n type: array\n x-dcl-go-name: SelectedRegions\n description: The list of regions from which the check will be run. Some\n regions contain one location, and others contain more than one. If this\n field is specified, enough regions must be provided to include a minimum\n of 3 locations. Not specifying this field will result in Uptime checks\n running from all available regions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tcpCheck:\n type: object\n x-dcl-go-name: TcpCheck\n x-dcl-go-type: UptimeCheckConfigTcpCheck\n description: Contains information needed to make a TCP check.\n x-dcl-conflicts:\n - httpCheck\n required:\n - port\n properties:\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: The TCP port on the server against which to run the check.\n Will be combined with host (specified within the `monitored_resource`)\n to construct the full URL. Required.\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: The maximum amount of time to wait for the request to complete\n (must be between 1 and 60 seconds). Required.\n") -// 13728 bytes -// MD5: b69a989e00bd7ad58d29d796bb1ef505 +// 13753 bytes +// MD5: 9d5b7d4fea700826f18d41692fc984d7 diff --git a/services/google/networkconnectivity/alpha/hub.yaml b/services/google/networkconnectivity/alpha/hub.yaml index e1df71c0c1..4adadc39b1 100755 --- a/services/google/networkconnectivity/alpha/hub.yaml +++ b/services/google/networkconnectivity/alpha/hub.yaml @@ -15,6 +15,7 @@ info: title: NetworkConnectivity/Hub description: The NetworkConnectivity Hub resource x-dcl-struct-name: Hub + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkconnectivity/alpha/hub_alpha_yaml_embed.go b/services/google/networkconnectivity/alpha/hub_alpha_yaml_embed.go index e5f03ed8a4..088101f7d2 100755 --- a/services/google/networkconnectivity/alpha/hub_alpha_yaml_embed.go +++ b/services/google/networkconnectivity/alpha/hub_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkconnectivity/alpha/hub.yaml -var YAML_hub = []byte("info:\n title: NetworkConnectivity/Hub\n description: The NetworkConnectivity Hub resource\n x-dcl-struct-name: Hub\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n apply:\n description: The function used to apply information about a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n delete:\n description: The function used to delete a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n deleteAll:\n description: The function used to delete all Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Hub:\n title: Hub\n x-dcl-id: projects/{{project}}/locations/global/hubs/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the hub was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the hub.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The name of the hub. Hub names must be unique.\n They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routingVpcs:\n type: array\n x-dcl-go-name: RoutingVpcs\n readOnly: true\n description: The VPC network associated with this hub's spokes. All of the\n VPN tunnels, VLAN attachments, and router appliance instances referenced\n by this hub's spokes must belong to this VPC network. This field is read-only.\n Network Connectivity Center automatically populates it based on the set\n of spokes attached to the hub.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HubRoutingVpcs\n properties:\n uri:\n type: string\n x-dcl-go-name: Uri\n description: The URI of the VPC network.\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: HubStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this hub. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the hub. This value\n is unique across all hub resources. If a hub is deleted and another with\n the same name is created, the new hub is assigned a different unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the hub was last updated.\n x-kubernetes-immutable: true\n") +var YAML_hub = []byte("info:\n title: NetworkConnectivity/Hub\n description: The NetworkConnectivity Hub resource\n x-dcl-struct-name: Hub\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n apply:\n description: The function used to apply information about a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n delete:\n description: The function used to delete a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n deleteAll:\n description: The function used to delete all Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Hub:\n title: Hub\n x-dcl-id: projects/{{project}}/locations/global/hubs/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the hub was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the hub.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The name of the hub. Hub names must be unique.\n They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routingVpcs:\n type: array\n x-dcl-go-name: RoutingVpcs\n readOnly: true\n description: The VPC network associated with this hub's spokes. All of the\n VPN tunnels, VLAN attachments, and router appliance instances referenced\n by this hub's spokes must belong to this VPC network. This field is read-only.\n Network Connectivity Center automatically populates it based on the set\n of spokes attached to the hub.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HubRoutingVpcs\n properties:\n uri:\n type: string\n x-dcl-go-name: Uri\n description: The URI of the VPC network.\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: HubStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this hub. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the hub. This value\n is unique across all hub resources. If a hub is deleted and another with\n the same name is created, the new hub is assigned a different unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the hub was last updated.\n x-kubernetes-immutable: true\n") -// 4608 bytes -// MD5: f69ccf12633136998919024356f7d98c +// 4633 bytes +// MD5: 05633decff09e06a396fc2c93511004d diff --git a/services/google/networkconnectivity/alpha/hub_schema.go b/services/google/networkconnectivity/alpha/hub_schema.go index 5eeb009d80..ab391ea678 100755 --- a/services/google/networkconnectivity/alpha/hub_schema.go +++ b/services/google/networkconnectivity/alpha/hub_schema.go @@ -23,6 +23,7 @@ func DCLHubSchema() *dcl.Schema { Title: "NetworkConnectivity/Hub", Description: "The NetworkConnectivity Hub resource", StructName: "Hub", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkconnectivity/alpha/spoke.yaml b/services/google/networkconnectivity/alpha/spoke.yaml index 0efcd042cf..da4c16ada1 100755 --- a/services/google/networkconnectivity/alpha/spoke.yaml +++ b/services/google/networkconnectivity/alpha/spoke.yaml @@ -15,6 +15,7 @@ info: title: NetworkConnectivity/Spoke description: The NetworkConnectivity Spoke resource x-dcl-struct-name: Spoke + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkconnectivity/alpha/spoke_alpha_yaml_embed.go b/services/google/networkconnectivity/alpha/spoke_alpha_yaml_embed.go index 48e514ef2a..ea4698a464 100755 --- a/services/google/networkconnectivity/alpha/spoke_alpha_yaml_embed.go +++ b/services/google/networkconnectivity/alpha/spoke_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkconnectivity/alpha/spoke.yaml -var YAML_spoke = []byte("info:\n title: NetworkConnectivity/Spoke\n description: The NetworkConnectivity Spoke resource\n x-dcl-struct-name: Spoke\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n apply:\n description: The function used to apply information about a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n delete:\n description: The function used to delete a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n deleteAll:\n description: The function used to delete all Spoke\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Spoke\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Spoke:\n title: Spoke\n x-dcl-id: projects/{{project}}/locations/{{location}}/spokes/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hub\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the spoke was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the spoke.\n hub:\n type: string\n x-dcl-go-name: Hub\n description: Immutable. The URI of the hub that this spoke is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Networkconnectivity/Hub\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n linkedInterconnectAttachments:\n type: object\n x-dcl-go-name: LinkedInterconnectAttachments\n x-dcl-go-type: SpokeLinkedInterconnectAttachments\n description: A collection of VLAN attachment resources. These resources\n should be redundant attachments that all advertise the same prefixes to\n Google Cloud. Alternatively, in active/passive configurations, all attachments\n should be capable of advertising the same prefixes.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedRouterApplianceInstances\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked interconnect attachment resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/InterconnectAttachment\n field: selfLink\n linkedRouterApplianceInstances:\n type: object\n x-dcl-go-name: LinkedRouterApplianceInstances\n x-dcl-go-type: SpokeLinkedRouterApplianceInstances\n description: The URIs of linked Router appliance resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedInterconnectAttachments\n required:\n - instances\n - siteToSiteDataTransfer\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: The list of router appliance instances\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SpokeLinkedRouterApplianceInstancesInstances\n properties:\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: The IP address on the VM to use for peering.\n x-kubernetes-immutable: true\n virtualMachine:\n type: string\n x-dcl-go-name: VirtualMachine\n description: The URI of the virtual machine resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n linkedVpnTunnels:\n type: object\n x-dcl-go-name: LinkedVpnTunnels\n x-dcl-go-type: SpokeLinkedVpnTunnels\n description: The URIs of linked VPN tunnel resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedInterconnectAttachments\n - linkedRouterApplianceInstances\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked VPN tunnel resources.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/VpnTunnel\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The name of the spoke. Spoke names must be unique.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: SpokeStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this spoke. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the spoke. This\n value is unique across all spoke resources. If a spoke is deleted and\n another with the same name is created, the new spoke is assigned a different\n unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the spoke was last updated.\n x-kubernetes-immutable: true\n") +var YAML_spoke = []byte("info:\n title: NetworkConnectivity/Spoke\n description: The NetworkConnectivity Spoke resource\n x-dcl-struct-name: Spoke\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n apply:\n description: The function used to apply information about a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n delete:\n description: The function used to delete a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n deleteAll:\n description: The function used to delete all Spoke\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Spoke\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Spoke:\n title: Spoke\n x-dcl-id: projects/{{project}}/locations/{{location}}/spokes/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hub\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the spoke was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the spoke.\n hub:\n type: string\n x-dcl-go-name: Hub\n description: Immutable. The URI of the hub that this spoke is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Networkconnectivity/Hub\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n linkedInterconnectAttachments:\n type: object\n x-dcl-go-name: LinkedInterconnectAttachments\n x-dcl-go-type: SpokeLinkedInterconnectAttachments\n description: A collection of VLAN attachment resources. These resources\n should be redundant attachments that all advertise the same prefixes to\n Google Cloud. Alternatively, in active/passive configurations, all attachments\n should be capable of advertising the same prefixes.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedRouterApplianceInstances\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked interconnect attachment resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/InterconnectAttachment\n field: selfLink\n linkedRouterApplianceInstances:\n type: object\n x-dcl-go-name: LinkedRouterApplianceInstances\n x-dcl-go-type: SpokeLinkedRouterApplianceInstances\n description: The URIs of linked Router appliance resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedInterconnectAttachments\n required:\n - instances\n - siteToSiteDataTransfer\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: The list of router appliance instances\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SpokeLinkedRouterApplianceInstancesInstances\n properties:\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: The IP address on the VM to use for peering.\n x-kubernetes-immutable: true\n virtualMachine:\n type: string\n x-dcl-go-name: VirtualMachine\n description: The URI of the virtual machine resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n linkedVpnTunnels:\n type: object\n x-dcl-go-name: LinkedVpnTunnels\n x-dcl-go-type: SpokeLinkedVpnTunnels\n description: The URIs of linked VPN tunnel resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedInterconnectAttachments\n - linkedRouterApplianceInstances\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked VPN tunnel resources.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/VpnTunnel\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The name of the spoke. Spoke names must be unique.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: SpokeStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this spoke. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the spoke. This\n value is unique across all spoke resources. If a spoke is deleted and\n another with the same name is created, the new spoke is assigned a different\n unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the spoke was last updated.\n x-kubernetes-immutable: true\n") -// 9010 bytes -// MD5: 26d4cc4fb91ae2b152107a98be14ed64 +// 9035 bytes +// MD5: 565ae51c576213d769f2d0634560de66 diff --git a/services/google/networkconnectivity/alpha/spoke_schema.go b/services/google/networkconnectivity/alpha/spoke_schema.go index 0685e425e5..6d4dd19d03 100755 --- a/services/google/networkconnectivity/alpha/spoke_schema.go +++ b/services/google/networkconnectivity/alpha/spoke_schema.go @@ -23,6 +23,7 @@ func DCLSpokeSchema() *dcl.Schema { Title: "NetworkConnectivity/Spoke", Description: "The NetworkConnectivity Spoke resource", StructName: "Spoke", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkconnectivity/beta/hub.yaml b/services/google/networkconnectivity/beta/hub.yaml index e1df71c0c1..4adadc39b1 100755 --- a/services/google/networkconnectivity/beta/hub.yaml +++ b/services/google/networkconnectivity/beta/hub.yaml @@ -15,6 +15,7 @@ info: title: NetworkConnectivity/Hub description: The NetworkConnectivity Hub resource x-dcl-struct-name: Hub + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkconnectivity/beta/hub_beta_yaml_embed.go b/services/google/networkconnectivity/beta/hub_beta_yaml_embed.go index 9258cd3a52..01bc66b288 100755 --- a/services/google/networkconnectivity/beta/hub_beta_yaml_embed.go +++ b/services/google/networkconnectivity/beta/hub_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkconnectivity/beta/hub.yaml -var YAML_hub = []byte("info:\n title: NetworkConnectivity/Hub\n description: The NetworkConnectivity Hub resource\n x-dcl-struct-name: Hub\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n apply:\n description: The function used to apply information about a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n delete:\n description: The function used to delete a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n deleteAll:\n description: The function used to delete all Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Hub:\n title: Hub\n x-dcl-id: projects/{{project}}/locations/global/hubs/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the hub was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the hub.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The name of the hub. Hub names must be unique.\n They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routingVpcs:\n type: array\n x-dcl-go-name: RoutingVpcs\n readOnly: true\n description: The VPC network associated with this hub's spokes. All of the\n VPN tunnels, VLAN attachments, and router appliance instances referenced\n by this hub's spokes must belong to this VPC network. This field is read-only.\n Network Connectivity Center automatically populates it based on the set\n of spokes attached to the hub.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HubRoutingVpcs\n properties:\n uri:\n type: string\n x-dcl-go-name: Uri\n description: The URI of the VPC network.\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: HubStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this hub. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the hub. This value\n is unique across all hub resources. If a hub is deleted and another with\n the same name is created, the new hub is assigned a different unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the hub was last updated.\n x-kubernetes-immutable: true\n") +var YAML_hub = []byte("info:\n title: NetworkConnectivity/Hub\n description: The NetworkConnectivity Hub resource\n x-dcl-struct-name: Hub\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n apply:\n description: The function used to apply information about a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n delete:\n description: The function used to delete a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n deleteAll:\n description: The function used to delete all Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Hub:\n title: Hub\n x-dcl-id: projects/{{project}}/locations/global/hubs/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the hub was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the hub.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The name of the hub. Hub names must be unique.\n They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routingVpcs:\n type: array\n x-dcl-go-name: RoutingVpcs\n readOnly: true\n description: The VPC network associated with this hub's spokes. All of the\n VPN tunnels, VLAN attachments, and router appliance instances referenced\n by this hub's spokes must belong to this VPC network. This field is read-only.\n Network Connectivity Center automatically populates it based on the set\n of spokes attached to the hub.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HubRoutingVpcs\n properties:\n uri:\n type: string\n x-dcl-go-name: Uri\n description: The URI of the VPC network.\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: HubStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this hub. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the hub. This value\n is unique across all hub resources. If a hub is deleted and another with\n the same name is created, the new hub is assigned a different unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the hub was last updated.\n x-kubernetes-immutable: true\n") -// 4608 bytes -// MD5: f69ccf12633136998919024356f7d98c +// 4633 bytes +// MD5: 05633decff09e06a396fc2c93511004d diff --git a/services/google/networkconnectivity/beta/hub_schema.go b/services/google/networkconnectivity/beta/hub_schema.go index 6548f4d8d8..de30ec75d8 100755 --- a/services/google/networkconnectivity/beta/hub_schema.go +++ b/services/google/networkconnectivity/beta/hub_schema.go @@ -23,6 +23,7 @@ func DCLHubSchema() *dcl.Schema { Title: "NetworkConnectivity/Hub", Description: "The NetworkConnectivity Hub resource", StructName: "Hub", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkconnectivity/beta/spoke.yaml b/services/google/networkconnectivity/beta/spoke.yaml index 0efcd042cf..da4c16ada1 100755 --- a/services/google/networkconnectivity/beta/spoke.yaml +++ b/services/google/networkconnectivity/beta/spoke.yaml @@ -15,6 +15,7 @@ info: title: NetworkConnectivity/Spoke description: The NetworkConnectivity Spoke resource x-dcl-struct-name: Spoke + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkconnectivity/beta/spoke_beta_yaml_embed.go b/services/google/networkconnectivity/beta/spoke_beta_yaml_embed.go index 2133000a26..14571332cb 100755 --- a/services/google/networkconnectivity/beta/spoke_beta_yaml_embed.go +++ b/services/google/networkconnectivity/beta/spoke_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkconnectivity/beta/spoke.yaml -var YAML_spoke = []byte("info:\n title: NetworkConnectivity/Spoke\n description: The NetworkConnectivity Spoke resource\n x-dcl-struct-name: Spoke\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n apply:\n description: The function used to apply information about a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n delete:\n description: The function used to delete a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n deleteAll:\n description: The function used to delete all Spoke\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Spoke\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Spoke:\n title: Spoke\n x-dcl-id: projects/{{project}}/locations/{{location}}/spokes/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hub\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the spoke was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the spoke.\n hub:\n type: string\n x-dcl-go-name: Hub\n description: Immutable. The URI of the hub that this spoke is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Networkconnectivity/Hub\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n linkedInterconnectAttachments:\n type: object\n x-dcl-go-name: LinkedInterconnectAttachments\n x-dcl-go-type: SpokeLinkedInterconnectAttachments\n description: A collection of VLAN attachment resources. These resources\n should be redundant attachments that all advertise the same prefixes to\n Google Cloud. Alternatively, in active/passive configurations, all attachments\n should be capable of advertising the same prefixes.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedRouterApplianceInstances\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked interconnect attachment resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/InterconnectAttachment\n field: selfLink\n linkedRouterApplianceInstances:\n type: object\n x-dcl-go-name: LinkedRouterApplianceInstances\n x-dcl-go-type: SpokeLinkedRouterApplianceInstances\n description: The URIs of linked Router appliance resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedInterconnectAttachments\n required:\n - instances\n - siteToSiteDataTransfer\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: The list of router appliance instances\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SpokeLinkedRouterApplianceInstancesInstances\n properties:\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: The IP address on the VM to use for peering.\n x-kubernetes-immutable: true\n virtualMachine:\n type: string\n x-dcl-go-name: VirtualMachine\n description: The URI of the virtual machine resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n linkedVpnTunnels:\n type: object\n x-dcl-go-name: LinkedVpnTunnels\n x-dcl-go-type: SpokeLinkedVpnTunnels\n description: The URIs of linked VPN tunnel resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedInterconnectAttachments\n - linkedRouterApplianceInstances\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked VPN tunnel resources.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/VpnTunnel\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The name of the spoke. Spoke names must be unique.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: SpokeStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this spoke. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the spoke. This\n value is unique across all spoke resources. If a spoke is deleted and\n another with the same name is created, the new spoke is assigned a different\n unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the spoke was last updated.\n x-kubernetes-immutable: true\n") +var YAML_spoke = []byte("info:\n title: NetworkConnectivity/Spoke\n description: The NetworkConnectivity Spoke resource\n x-dcl-struct-name: Spoke\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n apply:\n description: The function used to apply information about a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n delete:\n description: The function used to delete a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n deleteAll:\n description: The function used to delete all Spoke\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Spoke\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Spoke:\n title: Spoke\n x-dcl-id: projects/{{project}}/locations/{{location}}/spokes/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hub\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the spoke was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the spoke.\n hub:\n type: string\n x-dcl-go-name: Hub\n description: Immutable. The URI of the hub that this spoke is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Networkconnectivity/Hub\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n linkedInterconnectAttachments:\n type: object\n x-dcl-go-name: LinkedInterconnectAttachments\n x-dcl-go-type: SpokeLinkedInterconnectAttachments\n description: A collection of VLAN attachment resources. These resources\n should be redundant attachments that all advertise the same prefixes to\n Google Cloud. Alternatively, in active/passive configurations, all attachments\n should be capable of advertising the same prefixes.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedRouterApplianceInstances\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked interconnect attachment resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/InterconnectAttachment\n field: selfLink\n linkedRouterApplianceInstances:\n type: object\n x-dcl-go-name: LinkedRouterApplianceInstances\n x-dcl-go-type: SpokeLinkedRouterApplianceInstances\n description: The URIs of linked Router appliance resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedInterconnectAttachments\n required:\n - instances\n - siteToSiteDataTransfer\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: The list of router appliance instances\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SpokeLinkedRouterApplianceInstancesInstances\n properties:\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: The IP address on the VM to use for peering.\n x-kubernetes-immutable: true\n virtualMachine:\n type: string\n x-dcl-go-name: VirtualMachine\n description: The URI of the virtual machine resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n linkedVpnTunnels:\n type: object\n x-dcl-go-name: LinkedVpnTunnels\n x-dcl-go-type: SpokeLinkedVpnTunnels\n description: The URIs of linked VPN tunnel resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedInterconnectAttachments\n - linkedRouterApplianceInstances\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked VPN tunnel resources.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/VpnTunnel\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The name of the spoke. Spoke names must be unique.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: SpokeStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this spoke. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the spoke. This\n value is unique across all spoke resources. If a spoke is deleted and\n another with the same name is created, the new spoke is assigned a different\n unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the spoke was last updated.\n x-kubernetes-immutable: true\n") -// 9010 bytes -// MD5: 26d4cc4fb91ae2b152107a98be14ed64 +// 9035 bytes +// MD5: 565ae51c576213d769f2d0634560de66 diff --git a/services/google/networkconnectivity/beta/spoke_schema.go b/services/google/networkconnectivity/beta/spoke_schema.go index a553fadaef..e44ff36e02 100755 --- a/services/google/networkconnectivity/beta/spoke_schema.go +++ b/services/google/networkconnectivity/beta/spoke_schema.go @@ -23,6 +23,7 @@ func DCLSpokeSchema() *dcl.Schema { Title: "NetworkConnectivity/Spoke", Description: "The NetworkConnectivity Spoke resource", StructName: "Spoke", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkconnectivity/hub.yaml b/services/google/networkconnectivity/hub.yaml index e1df71c0c1..4adadc39b1 100755 --- a/services/google/networkconnectivity/hub.yaml +++ b/services/google/networkconnectivity/hub.yaml @@ -15,6 +15,7 @@ info: title: NetworkConnectivity/Hub description: The NetworkConnectivity Hub resource x-dcl-struct-name: Hub + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkconnectivity/hub_schema.go b/services/google/networkconnectivity/hub_schema.go index 84aa45e88b..4f77037fe8 100755 --- a/services/google/networkconnectivity/hub_schema.go +++ b/services/google/networkconnectivity/hub_schema.go @@ -23,6 +23,7 @@ func DCLHubSchema() *dcl.Schema { Title: "NetworkConnectivity/Hub", Description: "The NetworkConnectivity Hub resource", StructName: "Hub", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkconnectivity/hub_yaml_embed.go b/services/google/networkconnectivity/hub_yaml_embed.go index 4594240a7b..88b886fe16 100755 --- a/services/google/networkconnectivity/hub_yaml_embed.go +++ b/services/google/networkconnectivity/hub_yaml_embed.go @@ -17,7 +17,7 @@ package networkconnectivity // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkconnectivity/hub.yaml -var YAML_hub = []byte("info:\n title: NetworkConnectivity/Hub\n description: The NetworkConnectivity Hub resource\n x-dcl-struct-name: Hub\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n apply:\n description: The function used to apply information about a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n delete:\n description: The function used to delete a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n deleteAll:\n description: The function used to delete all Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Hub:\n title: Hub\n x-dcl-id: projects/{{project}}/locations/global/hubs/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the hub was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the hub.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The name of the hub. Hub names must be unique.\n They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routingVpcs:\n type: array\n x-dcl-go-name: RoutingVpcs\n readOnly: true\n description: The VPC network associated with this hub's spokes. All of the\n VPN tunnels, VLAN attachments, and router appliance instances referenced\n by this hub's spokes must belong to this VPC network. This field is read-only.\n Network Connectivity Center automatically populates it based on the set\n of spokes attached to the hub.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HubRoutingVpcs\n properties:\n uri:\n type: string\n x-dcl-go-name: Uri\n description: The URI of the VPC network.\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: HubStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this hub. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the hub. This value\n is unique across all hub resources. If a hub is deleted and another with\n the same name is created, the new hub is assigned a different unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the hub was last updated.\n x-kubernetes-immutable: true\n") +var YAML_hub = []byte("info:\n title: NetworkConnectivity/Hub\n description: The NetworkConnectivity Hub resource\n x-dcl-struct-name: Hub\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n apply:\n description: The function used to apply information about a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n delete:\n description: The function used to delete a Hub\n parameters:\n - name: Hub\n required: true\n description: A full instance of a Hub\n deleteAll:\n description: The function used to delete all Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Hub:\n title: Hub\n x-dcl-id: projects/{{project}}/locations/global/hubs/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the hub was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the hub.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The name of the hub. Hub names must be unique.\n They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routingVpcs:\n type: array\n x-dcl-go-name: RoutingVpcs\n readOnly: true\n description: The VPC network associated with this hub's spokes. All of the\n VPN tunnels, VLAN attachments, and router appliance instances referenced\n by this hub's spokes must belong to this VPC network. This field is read-only.\n Network Connectivity Center automatically populates it based on the set\n of spokes attached to the hub.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HubRoutingVpcs\n properties:\n uri:\n type: string\n x-dcl-go-name: Uri\n description: The URI of the VPC network.\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: HubStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this hub. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the hub. This value\n is unique across all hub resources. If a hub is deleted and another with\n the same name is created, the new hub is assigned a different unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the hub was last updated.\n x-kubernetes-immutable: true\n") -// 4608 bytes -// MD5: f69ccf12633136998919024356f7d98c +// 4633 bytes +// MD5: 05633decff09e06a396fc2c93511004d diff --git a/services/google/networkconnectivity/spoke.yaml b/services/google/networkconnectivity/spoke.yaml index 0efcd042cf..da4c16ada1 100755 --- a/services/google/networkconnectivity/spoke.yaml +++ b/services/google/networkconnectivity/spoke.yaml @@ -15,6 +15,7 @@ info: title: NetworkConnectivity/Spoke description: The NetworkConnectivity Spoke resource x-dcl-struct-name: Spoke + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkconnectivity/spoke_schema.go b/services/google/networkconnectivity/spoke_schema.go index edb92375da..b8392e6bbb 100755 --- a/services/google/networkconnectivity/spoke_schema.go +++ b/services/google/networkconnectivity/spoke_schema.go @@ -23,6 +23,7 @@ func DCLSpokeSchema() *dcl.Schema { Title: "NetworkConnectivity/Spoke", Description: "The NetworkConnectivity Spoke resource", StructName: "Spoke", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkconnectivity/spoke_yaml_embed.go b/services/google/networkconnectivity/spoke_yaml_embed.go index 189b5a2e88..c440e482e5 100755 --- a/services/google/networkconnectivity/spoke_yaml_embed.go +++ b/services/google/networkconnectivity/spoke_yaml_embed.go @@ -17,7 +17,7 @@ package networkconnectivity // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkconnectivity/spoke.yaml -var YAML_spoke = []byte("info:\n title: NetworkConnectivity/Spoke\n description: The NetworkConnectivity Spoke resource\n x-dcl-struct-name: Spoke\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n apply:\n description: The function used to apply information about a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n delete:\n description: The function used to delete a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n deleteAll:\n description: The function used to delete all Spoke\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Spoke\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Spoke:\n title: Spoke\n x-dcl-id: projects/{{project}}/locations/{{location}}/spokes/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hub\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the spoke was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the spoke.\n hub:\n type: string\n x-dcl-go-name: Hub\n description: Immutable. The URI of the hub that this spoke is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Networkconnectivity/Hub\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n linkedInterconnectAttachments:\n type: object\n x-dcl-go-name: LinkedInterconnectAttachments\n x-dcl-go-type: SpokeLinkedInterconnectAttachments\n description: A collection of VLAN attachment resources. These resources\n should be redundant attachments that all advertise the same prefixes to\n Google Cloud. Alternatively, in active/passive configurations, all attachments\n should be capable of advertising the same prefixes.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedRouterApplianceInstances\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked interconnect attachment resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/InterconnectAttachment\n field: selfLink\n linkedRouterApplianceInstances:\n type: object\n x-dcl-go-name: LinkedRouterApplianceInstances\n x-dcl-go-type: SpokeLinkedRouterApplianceInstances\n description: The URIs of linked Router appliance resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedInterconnectAttachments\n required:\n - instances\n - siteToSiteDataTransfer\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: The list of router appliance instances\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SpokeLinkedRouterApplianceInstancesInstances\n properties:\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: The IP address on the VM to use for peering.\n x-kubernetes-immutable: true\n virtualMachine:\n type: string\n x-dcl-go-name: VirtualMachine\n description: The URI of the virtual machine resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n linkedVpnTunnels:\n type: object\n x-dcl-go-name: LinkedVpnTunnels\n x-dcl-go-type: SpokeLinkedVpnTunnels\n description: The URIs of linked VPN tunnel resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedInterconnectAttachments\n - linkedRouterApplianceInstances\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked VPN tunnel resources.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/VpnTunnel\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The name of the spoke. Spoke names must be unique.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: SpokeStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this spoke. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the spoke. This\n value is unique across all spoke resources. If a spoke is deleted and\n another with the same name is created, the new spoke is assigned a different\n unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the spoke was last updated.\n x-kubernetes-immutable: true\n") +var YAML_spoke = []byte("info:\n title: NetworkConnectivity/Spoke\n description: The NetworkConnectivity Spoke resource\n x-dcl-struct-name: Spoke\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n apply:\n description: The function used to apply information about a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n delete:\n description: The function used to delete a Spoke\n parameters:\n - name: Spoke\n required: true\n description: A full instance of a Spoke\n deleteAll:\n description: The function used to delete all Spoke\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Spoke\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Spoke:\n title: Spoke\n x-dcl-id: projects/{{project}}/locations/{{location}}/spokes/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hub\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the spoke was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the spoke.\n hub:\n type: string\n x-dcl-go-name: Hub\n description: Immutable. The URI of the hub that this spoke is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Networkconnectivity/Hub\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n linkedInterconnectAttachments:\n type: object\n x-dcl-go-name: LinkedInterconnectAttachments\n x-dcl-go-type: SpokeLinkedInterconnectAttachments\n description: A collection of VLAN attachment resources. These resources\n should be redundant attachments that all advertise the same prefixes to\n Google Cloud. Alternatively, in active/passive configurations, all attachments\n should be capable of advertising the same prefixes.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedRouterApplianceInstances\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked interconnect attachment resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/InterconnectAttachment\n field: selfLink\n linkedRouterApplianceInstances:\n type: object\n x-dcl-go-name: LinkedRouterApplianceInstances\n x-dcl-go-type: SpokeLinkedRouterApplianceInstances\n description: The URIs of linked Router appliance resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedInterconnectAttachments\n required:\n - instances\n - siteToSiteDataTransfer\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: The list of router appliance instances\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SpokeLinkedRouterApplianceInstancesInstances\n properties:\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: The IP address on the VM to use for peering.\n x-kubernetes-immutable: true\n virtualMachine:\n type: string\n x-dcl-go-name: VirtualMachine\n description: The URI of the virtual machine resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n linkedVpnTunnels:\n type: object\n x-dcl-go-name: LinkedVpnTunnels\n x-dcl-go-type: SpokeLinkedVpnTunnels\n description: The URIs of linked VPN tunnel resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedInterconnectAttachments\n - linkedRouterApplianceInstances\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked VPN tunnel resources.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/VpnTunnel\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The name of the spoke. Spoke names must be unique.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: SpokeStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this spoke. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the spoke. This\n value is unique across all spoke resources. If a spoke is deleted and\n another with the same name is created, the new spoke is assigned a different\n unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the spoke was last updated.\n x-kubernetes-immutable: true\n") -// 9010 bytes -// MD5: 26d4cc4fb91ae2b152107a98be14ed64 +// 9035 bytes +// MD5: 565ae51c576213d769f2d0634560de66 diff --git a/services/google/networksecurity/alpha/authorization_policy.yaml b/services/google/networksecurity/alpha/authorization_policy.yaml index dfe8c03c4a..b4b0b6eccc 100755 --- a/services/google/networksecurity/alpha/authorization_policy.yaml +++ b/services/google/networksecurity/alpha/authorization_policy.yaml @@ -15,6 +15,7 @@ info: title: NetworkSecurity/AuthorizationPolicy description: The NetworkSecurity AuthorizationPolicy resource x-dcl-struct-name: AuthorizationPolicy + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/networksecurity/alpha/authorization_policy_alpha_yaml_embed.go b/services/google/networksecurity/alpha/authorization_policy_alpha_yaml_embed.go index 7b4395510f..80774c5c98 100755 --- a/services/google/networksecurity/alpha/authorization_policy_alpha_yaml_embed.go +++ b/services/google/networksecurity/alpha/authorization_policy_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/alpha/authorization_policy.yaml -var YAML_authorization_policy = []byte("info:\n title: NetworkSecurity/AuthorizationPolicy\n description: The NetworkSecurity AuthorizationPolicy resource\n x-dcl-struct-name: AuthorizationPolicy\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a AuthorizationPolicy\n parameters:\n - name: AuthorizationPolicy\n required: true\n description: A full instance of a AuthorizationPolicy\n apply:\n description: The function used to apply information about a AuthorizationPolicy\n parameters:\n - name: AuthorizationPolicy\n required: true\n description: A full instance of a AuthorizationPolicy\n delete:\n description: The function used to delete a AuthorizationPolicy\n parameters:\n - name: AuthorizationPolicy\n required: true\n description: A full instance of a AuthorizationPolicy\n deleteAll:\n description: The function used to delete all AuthorizationPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many AuthorizationPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n AuthorizationPolicy:\n title: AuthorizationPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/authorizationPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - action\n - project\n - location\n properties:\n action:\n type: string\n x-dcl-go-name: Action\n x-dcl-go-type: AuthorizationPolicyActionEnum\n description: 'Required. The action to take when a rule match is found. Possible\n values are \"ALLOW\" or \"DENY\". Possible values: ACTION_UNSPECIFIED, ALLOW,\n DENY'\n enum:\n - ACTION_UNSPECIFIED\n - ALLOW\n - DENY\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the AuthorizationPolicy\n resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the AuthorizationPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Optional. List of rules to match. If not set, the action specified\n in the ‘action’ field will be applied without any additional rule checks.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AuthorizationPolicyRules\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Optional. List of attributes for the traffic destination.\n If not set, the action specified in the ‘action’ field will be applied\n without any rule checks for the destination.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AuthorizationPolicyRulesDestinations\n required:\n - hosts\n - ports\n properties:\n hosts:\n type: array\n x-dcl-go-name: Hosts\n description: Required. List of host names to match. Matched\n against HOST header in http requests. Each host can be an\n exact match, or a prefix match (example, “mydomain.*”) or\n a suffix match (example, *.myorg.com”) or a presence(any)\n match “*”.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n httpHeaderMatch:\n type: object\n x-dcl-go-name: HttpHeaderMatch\n x-dcl-go-type: AuthorizationPolicyRulesDestinationsHttpHeaderMatch\n description: Optional. Match against key:value pair in http\n header. Provides a flexible match based on HTTP headers, for\n potentially advanced use cases.\n required:\n - headerName\n - regexMatch\n properties:\n headerName:\n type: string\n x-dcl-go-name: HeaderName\n description: Required. The name of the HTTP header to match.\n For matching against the HTTP request's authority, use\n a headerMatch with the header name \":authority\". For matching\n a request's method, use the headerName \":method\".\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: 'Required. The value of the header must match\n the regular expression specified in regexMatch. For regular\n expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript\n For matching against a port specified in the HTTP request,\n use a headerMatch with headerName set to Host and a regular\n expression that satisfies the RFC2616 Host header''s port\n specifier.'\n methods:\n type: array\n x-dcl-go-name: Methods\n description: Optional. A list of HTTP methods to match. Should\n not be set for gRPC services.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ports:\n type: array\n x-dcl-go-name: Ports\n description: Required. List of destination ports to match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n sources:\n type: array\n x-dcl-go-name: Sources\n description: Optional. List of attributes for the traffic source.\n If not set, the action specified in the ‘action’ field will be applied\n without any rule checks for the source.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AuthorizationPolicyRulesSources\n properties:\n ipBlocks:\n type: array\n x-dcl-go-name: IPBlocks\n description: Optional. List of CIDR ranges to match based on\n source IP address. Single IP (e.g., \"1.2.3.4\") and CIDR (e.g.,\n \"1.2.3.0/24\") are supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n principals:\n type: array\n x-dcl-go-name: Principals\n description: Optional. List of peer identities to match for\n authorization. Each peer can be an exact match, or a prefix\n match (example, “namespace/*”) or a suffix match (example,\n */service-account”) or a presence match “*”.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_authorization_policy = []byte("info:\n title: NetworkSecurity/AuthorizationPolicy\n description: The NetworkSecurity AuthorizationPolicy resource\n x-dcl-struct-name: AuthorizationPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a AuthorizationPolicy\n parameters:\n - name: AuthorizationPolicy\n required: true\n description: A full instance of a AuthorizationPolicy\n apply:\n description: The function used to apply information about a AuthorizationPolicy\n parameters:\n - name: AuthorizationPolicy\n required: true\n description: A full instance of a AuthorizationPolicy\n delete:\n description: The function used to delete a AuthorizationPolicy\n parameters:\n - name: AuthorizationPolicy\n required: true\n description: A full instance of a AuthorizationPolicy\n deleteAll:\n description: The function used to delete all AuthorizationPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many AuthorizationPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n AuthorizationPolicy:\n title: AuthorizationPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/authorizationPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - action\n - project\n - location\n properties:\n action:\n type: string\n x-dcl-go-name: Action\n x-dcl-go-type: AuthorizationPolicyActionEnum\n description: 'Required. The action to take when a rule match is found. Possible\n values are \"ALLOW\" or \"DENY\". Possible values: ACTION_UNSPECIFIED, ALLOW,\n DENY'\n enum:\n - ACTION_UNSPECIFIED\n - ALLOW\n - DENY\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the AuthorizationPolicy\n resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the AuthorizationPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Optional. List of rules to match. If not set, the action specified\n in the ‘action’ field will be applied without any additional rule checks.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AuthorizationPolicyRules\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Optional. List of attributes for the traffic destination.\n If not set, the action specified in the ‘action’ field will be applied\n without any rule checks for the destination.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AuthorizationPolicyRulesDestinations\n required:\n - hosts\n - ports\n properties:\n hosts:\n type: array\n x-dcl-go-name: Hosts\n description: Required. List of host names to match. Matched\n against HOST header in http requests. Each host can be an\n exact match, or a prefix match (example, “mydomain.*”) or\n a suffix match (example, *.myorg.com”) or a presence(any)\n match “*”.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n httpHeaderMatch:\n type: object\n x-dcl-go-name: HttpHeaderMatch\n x-dcl-go-type: AuthorizationPolicyRulesDestinationsHttpHeaderMatch\n description: Optional. Match against key:value pair in http\n header. Provides a flexible match based on HTTP headers, for\n potentially advanced use cases.\n required:\n - headerName\n - regexMatch\n properties:\n headerName:\n type: string\n x-dcl-go-name: HeaderName\n description: Required. The name of the HTTP header to match.\n For matching against the HTTP request's authority, use\n a headerMatch with the header name \":authority\". For matching\n a request's method, use the headerName \":method\".\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: 'Required. The value of the header must match\n the regular expression specified in regexMatch. For regular\n expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript\n For matching against a port specified in the HTTP request,\n use a headerMatch with headerName set to Host and a regular\n expression that satisfies the RFC2616 Host header''s port\n specifier.'\n methods:\n type: array\n x-dcl-go-name: Methods\n description: Optional. A list of HTTP methods to match. Should\n not be set for gRPC services.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ports:\n type: array\n x-dcl-go-name: Ports\n description: Required. List of destination ports to match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n sources:\n type: array\n x-dcl-go-name: Sources\n description: Optional. List of attributes for the traffic source.\n If not set, the action specified in the ‘action’ field will be applied\n without any rule checks for the source.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AuthorizationPolicyRulesSources\n properties:\n ipBlocks:\n type: array\n x-dcl-go-name: IPBlocks\n description: Optional. List of CIDR ranges to match based on\n source IP address. Single IP (e.g., \"1.2.3.4\") and CIDR (e.g.,\n \"1.2.3.0/24\") are supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n principals:\n type: array\n x-dcl-go-name: Principals\n description: Optional. List of peer identities to match for\n authorization. Each peer can be an exact match, or a prefix\n match (example, “namespace/*”) or a suffix match (example,\n */service-account”) or a presence match “*”.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 9765 bytes -// MD5: 0c97810eb262f450d2ee8340ccf0ed27 +// 9790 bytes +// MD5: ae9181d95a4525b5ee333698c7f80e27 diff --git a/services/google/networksecurity/alpha/authorization_policy_schema.go b/services/google/networksecurity/alpha/authorization_policy_schema.go index 7952f06a6e..bf5e166bcc 100755 --- a/services/google/networksecurity/alpha/authorization_policy_schema.go +++ b/services/google/networksecurity/alpha/authorization_policy_schema.go @@ -23,6 +23,7 @@ func DCLAuthorizationPolicySchema() *dcl.Schema { Title: "NetworkSecurity/AuthorizationPolicy", Description: "The NetworkSecurity AuthorizationPolicy resource", StructName: "AuthorizationPolicy", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/networksecurity/alpha/client_tls_policy.yaml b/services/google/networksecurity/alpha/client_tls_policy.yaml index c36991e174..7002f8c362 100755 --- a/services/google/networksecurity/alpha/client_tls_policy.yaml +++ b/services/google/networksecurity/alpha/client_tls_policy.yaml @@ -15,6 +15,7 @@ info: title: NetworkSecurity/ClientTlsPolicy description: The NetworkSecurity ClientTlsPolicy resource x-dcl-struct-name: ClientTlsPolicy + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/networksecurity/alpha/client_tls_policy_alpha_yaml_embed.go b/services/google/networksecurity/alpha/client_tls_policy_alpha_yaml_embed.go index de5a1361c4..69f347a968 100755 --- a/services/google/networksecurity/alpha/client_tls_policy_alpha_yaml_embed.go +++ b/services/google/networksecurity/alpha/client_tls_policy_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/alpha/client_tls_policy.yaml -var YAML_client_tls_policy = []byte("info:\n title: NetworkSecurity/ClientTlsPolicy\n description: The NetworkSecurity ClientTlsPolicy resource\n x-dcl-struct-name: ClientTlsPolicy\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ClientTlsPolicy\n parameters:\n - name: ClientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n apply:\n description: The function used to apply information about a ClientTlsPolicy\n parameters:\n - name: ClientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n delete:\n description: The function used to delete a ClientTlsPolicy\n parameters:\n - name: ClientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n deleteAll:\n description: The function used to delete all ClientTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ClientTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ClientTlsPolicy:\n title: ClientTlsPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/clientTlsPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - project\n - location\n properties:\n clientCertificate:\n type: object\n x-dcl-go-name: ClientCertificate\n x-dcl-go-type: ClientTlsPolicyClientCertificate\n description: Optional. Defines a mechanism to provision client identity\n (public and private keys) for peer to peer authentication. The presence\n of this dictates mTLS.\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ClientTlsPolicyClientCertificateCertificateProviderInstance\n description: The certificate provider instance specification that will\n be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - localFilepath\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ClientTlsPolicyClientCertificateGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server to\n obtain the cert and private key.\n x-dcl-conflicts:\n - localFilepath\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n localFilepath:\n type: object\n x-dcl-go-name: LocalFilepath\n x-dcl-go-type: ClientTlsPolicyClientCertificateLocalFilepath\n description: Obtain certificates and private key from a locally mounted\n filesystem path.\n x-dcl-conflicts:\n - grpcEndpoint\n - certificateProviderInstance\n required:\n - certificatePath\n - privateKeyPath\n properties:\n certificatePath:\n type: string\n x-dcl-go-name: CertificatePath\n description: Required. The path to the file that has the certificate\n containing public key.\n privateKeyPath:\n type: string\n x-dcl-go-name: PrivateKeyPath\n description: Required. The path to the file that has the private\n key.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ClientTlsPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverValidationCa:\n type: array\n x-dcl-go-name: ServerValidationCa\n description: Required. Defines the mechanism to obtain the Certificate Authority\n certificate to validate the server certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClientTlsPolicyServerValidationCa\n properties:\n caCertPath:\n type: string\n x-dcl-go-name: CaCertPath\n description: The path to the file holding the CA certificate to validate\n the client or server certificate.\n x-dcl-conflicts:\n - grpcEndpoint\n - certificateProviderInstance\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ClientTlsPolicyServerValidationCaCertificateProviderInstance\n description: The certificate provider instance specification that\n will be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - caCertPath\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ClientTlsPolicyServerValidationCaGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server\n to obtain the CA certificate.\n x-dcl-conflicts:\n - caCertPath\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n sni:\n type: string\n x-dcl-go-name: Sni\n description: 'Optional. Server Name Indication string to present to the\n server during TLS handshake. E.g: \"secure.example.com\".'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_client_tls_policy = []byte("info:\n title: NetworkSecurity/ClientTlsPolicy\n description: The NetworkSecurity ClientTlsPolicy resource\n x-dcl-struct-name: ClientTlsPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ClientTlsPolicy\n parameters:\n - name: ClientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n apply:\n description: The function used to apply information about a ClientTlsPolicy\n parameters:\n - name: ClientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n delete:\n description: The function used to delete a ClientTlsPolicy\n parameters:\n - name: ClientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n deleteAll:\n description: The function used to delete all ClientTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ClientTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ClientTlsPolicy:\n title: ClientTlsPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/clientTlsPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - project\n - location\n properties:\n clientCertificate:\n type: object\n x-dcl-go-name: ClientCertificate\n x-dcl-go-type: ClientTlsPolicyClientCertificate\n description: Optional. Defines a mechanism to provision client identity\n (public and private keys) for peer to peer authentication. The presence\n of this dictates mTLS.\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ClientTlsPolicyClientCertificateCertificateProviderInstance\n description: The certificate provider instance specification that will\n be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - localFilepath\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ClientTlsPolicyClientCertificateGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server to\n obtain the cert and private key.\n x-dcl-conflicts:\n - localFilepath\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n localFilepath:\n type: object\n x-dcl-go-name: LocalFilepath\n x-dcl-go-type: ClientTlsPolicyClientCertificateLocalFilepath\n description: Obtain certificates and private key from a locally mounted\n filesystem path.\n x-dcl-conflicts:\n - grpcEndpoint\n - certificateProviderInstance\n required:\n - certificatePath\n - privateKeyPath\n properties:\n certificatePath:\n type: string\n x-dcl-go-name: CertificatePath\n description: Required. The path to the file that has the certificate\n containing public key.\n privateKeyPath:\n type: string\n x-dcl-go-name: PrivateKeyPath\n description: Required. The path to the file that has the private\n key.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ClientTlsPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverValidationCa:\n type: array\n x-dcl-go-name: ServerValidationCa\n description: Required. Defines the mechanism to obtain the Certificate Authority\n certificate to validate the server certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClientTlsPolicyServerValidationCa\n properties:\n caCertPath:\n type: string\n x-dcl-go-name: CaCertPath\n description: The path to the file holding the CA certificate to validate\n the client or server certificate.\n x-dcl-conflicts:\n - grpcEndpoint\n - certificateProviderInstance\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ClientTlsPolicyServerValidationCaCertificateProviderInstance\n description: The certificate provider instance specification that\n will be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - caCertPath\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ClientTlsPolicyServerValidationCaGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server\n to obtain the CA certificate.\n x-dcl-conflicts:\n - caCertPath\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n sni:\n type: string\n x-dcl-go-name: Sni\n description: 'Optional. Server Name Indication string to present to the\n server during TLS handshake. E.g: \"secure.example.com\".'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 8996 bytes -// MD5: 060abe29cc16a0f1b5c035c3213b1c2f +// 9021 bytes +// MD5: b9c9531a3f2b2a7cb6f570c4517ebf73 diff --git a/services/google/networksecurity/alpha/client_tls_policy_schema.go b/services/google/networksecurity/alpha/client_tls_policy_schema.go index 7e2676e337..e17d490377 100755 --- a/services/google/networksecurity/alpha/client_tls_policy_schema.go +++ b/services/google/networksecurity/alpha/client_tls_policy_schema.go @@ -23,6 +23,7 @@ func DCLClientTlsPolicySchema() *dcl.Schema { Title: "NetworkSecurity/ClientTlsPolicy", Description: "The NetworkSecurity ClientTlsPolicy resource", StructName: "ClientTlsPolicy", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/networksecurity/alpha/server_tls_policy.yaml b/services/google/networksecurity/alpha/server_tls_policy.yaml index da3b1d41be..e2b5fd50c7 100755 --- a/services/google/networksecurity/alpha/server_tls_policy.yaml +++ b/services/google/networksecurity/alpha/server_tls_policy.yaml @@ -15,6 +15,7 @@ info: title: NetworkSecurity/ServerTlsPolicy description: The NetworkSecurity ServerTlsPolicy resource x-dcl-struct-name: ServerTlsPolicy + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/networksecurity/alpha/server_tls_policy_alpha_yaml_embed.go b/services/google/networksecurity/alpha/server_tls_policy_alpha_yaml_embed.go index 0e6c8b7821..617774fa8d 100755 --- a/services/google/networksecurity/alpha/server_tls_policy_alpha_yaml_embed.go +++ b/services/google/networksecurity/alpha/server_tls_policy_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/alpha/server_tls_policy.yaml -var YAML_server_tls_policy = []byte("info:\n title: NetworkSecurity/ServerTlsPolicy\n description: The NetworkSecurity ServerTlsPolicy resource\n x-dcl-struct-name: ServerTlsPolicy\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ServerTlsPolicy\n parameters:\n - name: ServerTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n apply:\n description: The function used to apply information about a ServerTlsPolicy\n parameters:\n - name: ServerTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n delete:\n description: The function used to delete a ServerTlsPolicy\n parameters:\n - name: ServerTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n deleteAll:\n description: The function used to delete all ServerTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServerTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServerTlsPolicy:\n title: ServerTlsPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/serverTlsPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - project\n - location\n properties:\n allowOpen:\n type: boolean\n x-dcl-go-name: AllowOpen\n description: Optional. Determines if server allows plaintext connections.\n If set to true, server allows plain text connections. By default, it is\n set to false. This setting is not exclusive of other encryption modes.\n For example, if allow_open and mtls_policy are set, server allows both\n plain text and mTLS connections. See documentation of other encryption\n modes to confirm compatibility.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n mtlsPolicy:\n type: object\n x-dcl-go-name: MtlsPolicy\n x-dcl-go-type: ServerTlsPolicyMtlsPolicy\n description: Optional. Defines a mechanism to provision peer validation\n certificates for peer to peer authentication (Mutual TLS - mTLS). If not\n specified, client certificate will not be requested. The connection is\n treated as TLS and not mTLS. If allow_open and mtls_policy are set, server\n allows both plain text and mTLS connections.\n required:\n - clientValidationCa\n properties:\n clientValidationCa:\n type: array\n x-dcl-go-name: ClientValidationCa\n description: Required. Defines the mechanism to obtain the Certificate\n Authority certificate to validate the client certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCa\n properties:\n caCertPath:\n type: string\n x-dcl-go-name: CaCertPath\n description: The path to the file holding the CA certificate to\n validate the client or server certificate.\n x-dcl-conflicts:\n - grpcEndpoint\n - certificateProviderInstance\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance\n description: The certificate provider instance specification that\n will be passed to the data plane, which will be used to load\n necessary credential information.\n x-dcl-conflicts:\n - caCertPath\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate\n and load CertificateProvider instance configuration. Set\n to \"google_cloud_private_spiffe\" to use Certificate Authority\n Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server\n to obtain the CA certificate.\n x-dcl-conflicts:\n - caCertPath\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint.\n Only UDS path is supported, and should start with “unix:”.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ServerTlsPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverCertificate:\n type: object\n x-dcl-go-name: ServerCertificate\n x-dcl-go-type: ServerTlsPolicyServerCertificate\n description: Optional. Defines a mechanism to provision server identity\n (public and private keys). Cannot be combined with allow_open as a permissive\n mode that allows both plain text and TLS is not supported.\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ServerTlsPolicyServerCertificateCertificateProviderInstance\n description: The certificate provider instance specification that will\n be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - localFilepath\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ServerTlsPolicyServerCertificateGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server to\n obtain the cert and private key.\n x-dcl-conflicts:\n - localFilepath\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n localFilepath:\n type: object\n x-dcl-go-name: LocalFilepath\n x-dcl-go-type: ServerTlsPolicyServerCertificateLocalFilepath\n description: Obtain certificates and private key from a locally mounted\n filesystem path.\n x-dcl-conflicts:\n - grpcEndpoint\n - certificateProviderInstance\n required:\n - certificatePath\n - privateKeyPath\n properties:\n certificatePath:\n type: string\n x-dcl-go-name: CertificatePath\n description: Required. The path to the file that has the certificate\n containing public key.\n privateKeyPath:\n type: string\n x-dcl-go-name: PrivateKeyPath\n description: Required. The path to the file that has the private\n key.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_server_tls_policy = []byte("info:\n title: NetworkSecurity/ServerTlsPolicy\n description: The NetworkSecurity ServerTlsPolicy resource\n x-dcl-struct-name: ServerTlsPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ServerTlsPolicy\n parameters:\n - name: ServerTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n apply:\n description: The function used to apply information about a ServerTlsPolicy\n parameters:\n - name: ServerTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n delete:\n description: The function used to delete a ServerTlsPolicy\n parameters:\n - name: ServerTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n deleteAll:\n description: The function used to delete all ServerTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServerTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServerTlsPolicy:\n title: ServerTlsPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/serverTlsPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - project\n - location\n properties:\n allowOpen:\n type: boolean\n x-dcl-go-name: AllowOpen\n description: Optional. Determines if server allows plaintext connections.\n If set to true, server allows plain text connections. By default, it is\n set to false. This setting is not exclusive of other encryption modes.\n For example, if allow_open and mtls_policy are set, server allows both\n plain text and mTLS connections. See documentation of other encryption\n modes to confirm compatibility.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n mtlsPolicy:\n type: object\n x-dcl-go-name: MtlsPolicy\n x-dcl-go-type: ServerTlsPolicyMtlsPolicy\n description: Optional. Defines a mechanism to provision peer validation\n certificates for peer to peer authentication (Mutual TLS - mTLS). If not\n specified, client certificate will not be requested. The connection is\n treated as TLS and not mTLS. If allow_open and mtls_policy are set, server\n allows both plain text and mTLS connections.\n required:\n - clientValidationCa\n properties:\n clientValidationCa:\n type: array\n x-dcl-go-name: ClientValidationCa\n description: Required. Defines the mechanism to obtain the Certificate\n Authority certificate to validate the client certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCa\n properties:\n caCertPath:\n type: string\n x-dcl-go-name: CaCertPath\n description: The path to the file holding the CA certificate to\n validate the client or server certificate.\n x-dcl-conflicts:\n - grpcEndpoint\n - certificateProviderInstance\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance\n description: The certificate provider instance specification that\n will be passed to the data plane, which will be used to load\n necessary credential information.\n x-dcl-conflicts:\n - caCertPath\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate\n and load CertificateProvider instance configuration. Set\n to \"google_cloud_private_spiffe\" to use Certificate Authority\n Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server\n to obtain the CA certificate.\n x-dcl-conflicts:\n - caCertPath\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint.\n Only UDS path is supported, and should start with “unix:”.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ServerTlsPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverCertificate:\n type: object\n x-dcl-go-name: ServerCertificate\n x-dcl-go-type: ServerTlsPolicyServerCertificate\n description: Optional. Defines a mechanism to provision server identity\n (public and private keys). Cannot be combined with allow_open as a permissive\n mode that allows both plain text and TLS is not supported.\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ServerTlsPolicyServerCertificateCertificateProviderInstance\n description: The certificate provider instance specification that will\n be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - localFilepath\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ServerTlsPolicyServerCertificateGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server to\n obtain the cert and private key.\n x-dcl-conflicts:\n - localFilepath\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n localFilepath:\n type: object\n x-dcl-go-name: LocalFilepath\n x-dcl-go-type: ServerTlsPolicyServerCertificateLocalFilepath\n description: Obtain certificates and private key from a locally mounted\n filesystem path.\n x-dcl-conflicts:\n - grpcEndpoint\n - certificateProviderInstance\n required:\n - certificatePath\n - privateKeyPath\n properties:\n certificatePath:\n type: string\n x-dcl-go-name: CertificatePath\n description: Required. The path to the file that has the certificate\n containing public key.\n privateKeyPath:\n type: string\n x-dcl-go-name: PrivateKeyPath\n description: Required. The path to the file that has the private\n key.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 10234 bytes -// MD5: b7fe8e036b2505cb47f266271380e8d8 +// 10259 bytes +// MD5: bf9d1bf80c19a99b51680eb0f9b72379 diff --git a/services/google/networksecurity/alpha/server_tls_policy_schema.go b/services/google/networksecurity/alpha/server_tls_policy_schema.go index 3e4d9bd512..80e4a6abe0 100755 --- a/services/google/networksecurity/alpha/server_tls_policy_schema.go +++ b/services/google/networksecurity/alpha/server_tls_policy_schema.go @@ -23,6 +23,7 @@ func DCLServerTlsPolicySchema() *dcl.Schema { Title: "NetworkSecurity/ServerTlsPolicy", Description: "The NetworkSecurity ServerTlsPolicy resource", StructName: "ServerTlsPolicy", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/networksecurity/beta/authorization_policy.yaml b/services/google/networksecurity/beta/authorization_policy.yaml index dfe8c03c4a..b4b0b6eccc 100755 --- a/services/google/networksecurity/beta/authorization_policy.yaml +++ b/services/google/networksecurity/beta/authorization_policy.yaml @@ -15,6 +15,7 @@ info: title: NetworkSecurity/AuthorizationPolicy description: The NetworkSecurity AuthorizationPolicy resource x-dcl-struct-name: AuthorizationPolicy + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/networksecurity/beta/authorization_policy_beta_yaml_embed.go b/services/google/networksecurity/beta/authorization_policy_beta_yaml_embed.go index f0b737cc25..c85ccdedc0 100755 --- a/services/google/networksecurity/beta/authorization_policy_beta_yaml_embed.go +++ b/services/google/networksecurity/beta/authorization_policy_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/beta/authorization_policy.yaml -var YAML_authorization_policy = []byte("info:\n title: NetworkSecurity/AuthorizationPolicy\n description: The NetworkSecurity AuthorizationPolicy resource\n x-dcl-struct-name: AuthorizationPolicy\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a AuthorizationPolicy\n parameters:\n - name: AuthorizationPolicy\n required: true\n description: A full instance of a AuthorizationPolicy\n apply:\n description: The function used to apply information about a AuthorizationPolicy\n parameters:\n - name: AuthorizationPolicy\n required: true\n description: A full instance of a AuthorizationPolicy\n delete:\n description: The function used to delete a AuthorizationPolicy\n parameters:\n - name: AuthorizationPolicy\n required: true\n description: A full instance of a AuthorizationPolicy\n deleteAll:\n description: The function used to delete all AuthorizationPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many AuthorizationPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n AuthorizationPolicy:\n title: AuthorizationPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/authorizationPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - action\n - project\n - location\n properties:\n action:\n type: string\n x-dcl-go-name: Action\n x-dcl-go-type: AuthorizationPolicyActionEnum\n description: 'Required. The action to take when a rule match is found. Possible\n values are \"ALLOW\" or \"DENY\". Possible values: ACTION_UNSPECIFIED, ALLOW,\n DENY'\n enum:\n - ACTION_UNSPECIFIED\n - ALLOW\n - DENY\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the AuthorizationPolicy\n resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the AuthorizationPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Optional. List of rules to match. If not set, the action specified\n in the ‘action’ field will be applied without any additional rule checks.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AuthorizationPolicyRules\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Optional. List of attributes for the traffic destination.\n If not set, the action specified in the ‘action’ field will be applied\n without any rule checks for the destination.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AuthorizationPolicyRulesDestinations\n required:\n - hosts\n - ports\n properties:\n hosts:\n type: array\n x-dcl-go-name: Hosts\n description: Required. List of host names to match. Matched\n against HOST header in http requests. Each host can be an\n exact match, or a prefix match (example, “mydomain.*”) or\n a suffix match (example, *.myorg.com”) or a presence(any)\n match “*”.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n httpHeaderMatch:\n type: object\n x-dcl-go-name: HttpHeaderMatch\n x-dcl-go-type: AuthorizationPolicyRulesDestinationsHttpHeaderMatch\n description: Optional. Match against key:value pair in http\n header. Provides a flexible match based on HTTP headers, for\n potentially advanced use cases.\n required:\n - headerName\n - regexMatch\n properties:\n headerName:\n type: string\n x-dcl-go-name: HeaderName\n description: Required. The name of the HTTP header to match.\n For matching against the HTTP request's authority, use\n a headerMatch with the header name \":authority\". For matching\n a request's method, use the headerName \":method\".\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: 'Required. The value of the header must match\n the regular expression specified in regexMatch. For regular\n expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript\n For matching against a port specified in the HTTP request,\n use a headerMatch with headerName set to Host and a regular\n expression that satisfies the RFC2616 Host header''s port\n specifier.'\n methods:\n type: array\n x-dcl-go-name: Methods\n description: Optional. A list of HTTP methods to match. Should\n not be set for gRPC services.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ports:\n type: array\n x-dcl-go-name: Ports\n description: Required. List of destination ports to match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n sources:\n type: array\n x-dcl-go-name: Sources\n description: Optional. List of attributes for the traffic source.\n If not set, the action specified in the ‘action’ field will be applied\n without any rule checks for the source.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AuthorizationPolicyRulesSources\n properties:\n ipBlocks:\n type: array\n x-dcl-go-name: IPBlocks\n description: Optional. List of CIDR ranges to match based on\n source IP address. Single IP (e.g., \"1.2.3.4\") and CIDR (e.g.,\n \"1.2.3.0/24\") are supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n principals:\n type: array\n x-dcl-go-name: Principals\n description: Optional. List of peer identities to match for\n authorization. Each peer can be an exact match, or a prefix\n match (example, “namespace/*”) or a suffix match (example,\n */service-account”) or a presence match “*”.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_authorization_policy = []byte("info:\n title: NetworkSecurity/AuthorizationPolicy\n description: The NetworkSecurity AuthorizationPolicy resource\n x-dcl-struct-name: AuthorizationPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a AuthorizationPolicy\n parameters:\n - name: AuthorizationPolicy\n required: true\n description: A full instance of a AuthorizationPolicy\n apply:\n description: The function used to apply information about a AuthorizationPolicy\n parameters:\n - name: AuthorizationPolicy\n required: true\n description: A full instance of a AuthorizationPolicy\n delete:\n description: The function used to delete a AuthorizationPolicy\n parameters:\n - name: AuthorizationPolicy\n required: true\n description: A full instance of a AuthorizationPolicy\n deleteAll:\n description: The function used to delete all AuthorizationPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many AuthorizationPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n AuthorizationPolicy:\n title: AuthorizationPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/authorizationPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - action\n - project\n - location\n properties:\n action:\n type: string\n x-dcl-go-name: Action\n x-dcl-go-type: AuthorizationPolicyActionEnum\n description: 'Required. The action to take when a rule match is found. Possible\n values are \"ALLOW\" or \"DENY\". Possible values: ACTION_UNSPECIFIED, ALLOW,\n DENY'\n enum:\n - ACTION_UNSPECIFIED\n - ALLOW\n - DENY\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the AuthorizationPolicy\n resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the AuthorizationPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Optional. List of rules to match. If not set, the action specified\n in the ‘action’ field will be applied without any additional rule checks.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AuthorizationPolicyRules\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Optional. List of attributes for the traffic destination.\n If not set, the action specified in the ‘action’ field will be applied\n without any rule checks for the destination.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AuthorizationPolicyRulesDestinations\n required:\n - hosts\n - ports\n properties:\n hosts:\n type: array\n x-dcl-go-name: Hosts\n description: Required. List of host names to match. Matched\n against HOST header in http requests. Each host can be an\n exact match, or a prefix match (example, “mydomain.*”) or\n a suffix match (example, *.myorg.com”) or a presence(any)\n match “*”.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n httpHeaderMatch:\n type: object\n x-dcl-go-name: HttpHeaderMatch\n x-dcl-go-type: AuthorizationPolicyRulesDestinationsHttpHeaderMatch\n description: Optional. Match against key:value pair in http\n header. Provides a flexible match based on HTTP headers, for\n potentially advanced use cases.\n required:\n - headerName\n - regexMatch\n properties:\n headerName:\n type: string\n x-dcl-go-name: HeaderName\n description: Required. The name of the HTTP header to match.\n For matching against the HTTP request's authority, use\n a headerMatch with the header name \":authority\". For matching\n a request's method, use the headerName \":method\".\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: 'Required. The value of the header must match\n the regular expression specified in regexMatch. For regular\n expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript\n For matching against a port specified in the HTTP request,\n use a headerMatch with headerName set to Host and a regular\n expression that satisfies the RFC2616 Host header''s port\n specifier.'\n methods:\n type: array\n x-dcl-go-name: Methods\n description: Optional. A list of HTTP methods to match. Should\n not be set for gRPC services.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ports:\n type: array\n x-dcl-go-name: Ports\n description: Required. List of destination ports to match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n sources:\n type: array\n x-dcl-go-name: Sources\n description: Optional. List of attributes for the traffic source.\n If not set, the action specified in the ‘action’ field will be applied\n without any rule checks for the source.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: AuthorizationPolicyRulesSources\n properties:\n ipBlocks:\n type: array\n x-dcl-go-name: IPBlocks\n description: Optional. List of CIDR ranges to match based on\n source IP address. Single IP (e.g., \"1.2.3.4\") and CIDR (e.g.,\n \"1.2.3.0/24\") are supported.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n principals:\n type: array\n x-dcl-go-name: Principals\n description: Optional. List of peer identities to match for\n authorization. Each peer can be an exact match, or a prefix\n match (example, “namespace/*”) or a suffix match (example,\n */service-account”) or a presence match “*”.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 9765 bytes -// MD5: 0c97810eb262f450d2ee8340ccf0ed27 +// 9790 bytes +// MD5: ae9181d95a4525b5ee333698c7f80e27 diff --git a/services/google/networksecurity/beta/authorization_policy_schema.go b/services/google/networksecurity/beta/authorization_policy_schema.go index 3e39ad035d..2bd5e7eac7 100755 --- a/services/google/networksecurity/beta/authorization_policy_schema.go +++ b/services/google/networksecurity/beta/authorization_policy_schema.go @@ -23,6 +23,7 @@ func DCLAuthorizationPolicySchema() *dcl.Schema { Title: "NetworkSecurity/AuthorizationPolicy", Description: "The NetworkSecurity AuthorizationPolicy resource", StructName: "AuthorizationPolicy", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/networksecurity/beta/client_tls_policy.yaml b/services/google/networksecurity/beta/client_tls_policy.yaml index 37b4af7fcb..664a1d4eaa 100755 --- a/services/google/networksecurity/beta/client_tls_policy.yaml +++ b/services/google/networksecurity/beta/client_tls_policy.yaml @@ -15,6 +15,7 @@ info: title: NetworkSecurity/ClientTlsPolicy description: The NetworkSecurity ClientTlsPolicy resource x-dcl-struct-name: ClientTlsPolicy + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/networksecurity/beta/client_tls_policy_beta_yaml_embed.go b/services/google/networksecurity/beta/client_tls_policy_beta_yaml_embed.go index 009021a791..e32e7effc5 100755 --- a/services/google/networksecurity/beta/client_tls_policy_beta_yaml_embed.go +++ b/services/google/networksecurity/beta/client_tls_policy_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/beta/client_tls_policy.yaml -var YAML_client_tls_policy = []byte("info:\n title: NetworkSecurity/ClientTlsPolicy\n description: The NetworkSecurity ClientTlsPolicy resource\n x-dcl-struct-name: ClientTlsPolicy\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ClientTlsPolicy\n parameters:\n - name: ClientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n apply:\n description: The function used to apply information about a ClientTlsPolicy\n parameters:\n - name: ClientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n delete:\n description: The function used to delete a ClientTlsPolicy\n parameters:\n - name: ClientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n deleteAll:\n description: The function used to delete all ClientTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ClientTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ClientTlsPolicy:\n title: ClientTlsPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/clientTlsPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - project\n - location\n properties:\n clientCertificate:\n type: object\n x-dcl-go-name: ClientCertificate\n x-dcl-go-type: ClientTlsPolicyClientCertificate\n description: Optional. Defines a mechanism to provision client identity\n (public and private keys) for peer to peer authentication. The presence\n of this dictates mTLS.\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ClientTlsPolicyClientCertificateCertificateProviderInstance\n description: The certificate provider instance specification that will\n be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ClientTlsPolicyClientCertificateGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server to\n obtain the cert and private key.\n x-dcl-conflicts:\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ClientTlsPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverValidationCa:\n type: array\n x-dcl-go-name: ServerValidationCa\n description: Required. Defines the mechanism to obtain the Certificate Authority\n certificate to validate the server certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClientTlsPolicyServerValidationCa\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ClientTlsPolicyServerValidationCaCertificateProviderInstance\n description: The certificate provider instance specification that\n will be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ClientTlsPolicyServerValidationCaGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server\n to obtain the CA certificate.\n x-dcl-conflicts:\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n sni:\n type: string\n x-dcl-go-name: Sni\n description: 'Optional. Server Name Indication string to present to the\n server during TLS handshake. E.g: \"secure.example.com\".'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_client_tls_policy = []byte("info:\n title: NetworkSecurity/ClientTlsPolicy\n description: The NetworkSecurity ClientTlsPolicy resource\n x-dcl-struct-name: ClientTlsPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ClientTlsPolicy\n parameters:\n - name: ClientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n apply:\n description: The function used to apply information about a ClientTlsPolicy\n parameters:\n - name: ClientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n delete:\n description: The function used to delete a ClientTlsPolicy\n parameters:\n - name: ClientTlsPolicy\n required: true\n description: A full instance of a ClientTlsPolicy\n deleteAll:\n description: The function used to delete all ClientTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ClientTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ClientTlsPolicy:\n title: ClientTlsPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/clientTlsPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - project\n - location\n properties:\n clientCertificate:\n type: object\n x-dcl-go-name: ClientCertificate\n x-dcl-go-type: ClientTlsPolicyClientCertificate\n description: Optional. Defines a mechanism to provision client identity\n (public and private keys) for peer to peer authentication. The presence\n of this dictates mTLS.\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ClientTlsPolicyClientCertificateCertificateProviderInstance\n description: The certificate provider instance specification that will\n be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ClientTlsPolicyClientCertificateGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server to\n obtain the cert and private key.\n x-dcl-conflicts:\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ClientTlsPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverValidationCa:\n type: array\n x-dcl-go-name: ServerValidationCa\n description: Required. Defines the mechanism to obtain the Certificate Authority\n certificate to validate the server certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClientTlsPolicyServerValidationCa\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ClientTlsPolicyServerValidationCaCertificateProviderInstance\n description: The certificate provider instance specification that\n will be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ClientTlsPolicyServerValidationCaGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server\n to obtain the CA certificate.\n x-dcl-conflicts:\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n sni:\n type: string\n x-dcl-go-name: Sni\n description: 'Optional. Server Name Indication string to present to the\n server during TLS handshake. E.g: \"secure.example.com\".'\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 7560 bytes -// MD5: 584bccad185030c3f9b9fa73c67bd0d6 +// 7585 bytes +// MD5: e48bb9d6d51c4314a76900b30aa77768 diff --git a/services/google/networksecurity/beta/client_tls_policy_schema.go b/services/google/networksecurity/beta/client_tls_policy_schema.go index b0970c3a5a..a55473bf50 100755 --- a/services/google/networksecurity/beta/client_tls_policy_schema.go +++ b/services/google/networksecurity/beta/client_tls_policy_schema.go @@ -23,6 +23,7 @@ func DCLClientTlsPolicySchema() *dcl.Schema { Title: "NetworkSecurity/ClientTlsPolicy", Description: "The NetworkSecurity ClientTlsPolicy resource", StructName: "ClientTlsPolicy", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/networksecurity/beta/server_tls_policy.yaml b/services/google/networksecurity/beta/server_tls_policy.yaml index 565f009987..b8c91b6f59 100755 --- a/services/google/networksecurity/beta/server_tls_policy.yaml +++ b/services/google/networksecurity/beta/server_tls_policy.yaml @@ -15,6 +15,7 @@ info: title: NetworkSecurity/ServerTlsPolicy description: The NetworkSecurity ServerTlsPolicy resource x-dcl-struct-name: ServerTlsPolicy + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/networksecurity/beta/server_tls_policy_beta_yaml_embed.go b/services/google/networksecurity/beta/server_tls_policy_beta_yaml_embed.go index fa74dd9b14..88eb88a0f6 100755 --- a/services/google/networksecurity/beta/server_tls_policy_beta_yaml_embed.go +++ b/services/google/networksecurity/beta/server_tls_policy_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/beta/server_tls_policy.yaml -var YAML_server_tls_policy = []byte("info:\n title: NetworkSecurity/ServerTlsPolicy\n description: The NetworkSecurity ServerTlsPolicy resource\n x-dcl-struct-name: ServerTlsPolicy\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ServerTlsPolicy\n parameters:\n - name: ServerTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n apply:\n description: The function used to apply information about a ServerTlsPolicy\n parameters:\n - name: ServerTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n delete:\n description: The function used to delete a ServerTlsPolicy\n parameters:\n - name: ServerTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n deleteAll:\n description: The function used to delete all ServerTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServerTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServerTlsPolicy:\n title: ServerTlsPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/serverTlsPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - project\n - location\n properties:\n allowOpen:\n type: boolean\n x-dcl-go-name: AllowOpen\n description: Optional. Determines if server allows plaintext connections.\n If set to true, server allows plain text connections. By default, it is\n set to false. This setting is not exclusive of other encryption modes.\n For example, if allow_open and mtls_policy are set, server allows both\n plain text and mTLS connections. See documentation of other encryption\n modes to confirm compatibility.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n mtlsPolicy:\n type: object\n x-dcl-go-name: MtlsPolicy\n x-dcl-go-type: ServerTlsPolicyMtlsPolicy\n description: Optional. Defines a mechanism to provision peer validation\n certificates for peer to peer authentication (Mutual TLS - mTLS). If not\n specified, client certificate will not be requested. The connection is\n treated as TLS and not mTLS. If allow_open and mtls_policy are set, server\n allows both plain text and mTLS connections.\n required:\n - clientValidationCa\n properties:\n clientValidationCa:\n type: array\n x-dcl-go-name: ClientValidationCa\n description: Required. Defines the mechanism to obtain the Certificate\n Authority certificate to validate the client certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCa\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance\n description: The certificate provider instance specification that\n will be passed to the data plane, which will be used to load\n necessary credential information.\n x-dcl-conflicts:\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate\n and load CertificateProvider instance configuration. Set\n to \"google_cloud_private_spiffe\" to use Certificate Authority\n Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server\n to obtain the CA certificate.\n x-dcl-conflicts:\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint.\n Only UDS path is supported, and should start with “unix:”.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ServerTlsPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverCertificate:\n type: object\n x-dcl-go-name: ServerCertificate\n x-dcl-go-type: ServerTlsPolicyServerCertificate\n description: Optional. Defines a mechanism to provision server identity\n (public and private keys). Cannot be combined with allow_open as a permissive\n mode that allows both plain text and TLS is not supported.\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ServerTlsPolicyServerCertificateCertificateProviderInstance\n description: The certificate provider instance specification that will\n be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ServerTlsPolicyServerCertificateGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server to\n obtain the cert and private key.\n x-dcl-conflicts:\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_server_tls_policy = []byte("info:\n title: NetworkSecurity/ServerTlsPolicy\n description: The NetworkSecurity ServerTlsPolicy resource\n x-dcl-struct-name: ServerTlsPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a ServerTlsPolicy\n parameters:\n - name: ServerTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n apply:\n description: The function used to apply information about a ServerTlsPolicy\n parameters:\n - name: ServerTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n delete:\n description: The function used to delete a ServerTlsPolicy\n parameters:\n - name: ServerTlsPolicy\n required: true\n description: A full instance of a ServerTlsPolicy\n deleteAll:\n description: The function used to delete all ServerTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServerTlsPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServerTlsPolicy:\n title: ServerTlsPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/serverTlsPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - project\n - location\n properties:\n allowOpen:\n type: boolean\n x-dcl-go-name: AllowOpen\n description: Optional. Determines if server allows plaintext connections.\n If set to true, server allows plain text connections. By default, it is\n set to false. This setting is not exclusive of other encryption modes.\n For example, if allow_open and mtls_policy are set, server allows both\n plain text and mTLS connections. See documentation of other encryption\n modes to confirm compatibility.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Free-text description of the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n mtlsPolicy:\n type: object\n x-dcl-go-name: MtlsPolicy\n x-dcl-go-type: ServerTlsPolicyMtlsPolicy\n description: Optional. Defines a mechanism to provision peer validation\n certificates for peer to peer authentication (Mutual TLS - mTLS). If not\n specified, client certificate will not be requested. The connection is\n treated as TLS and not mTLS. If allow_open and mtls_policy are set, server\n allows both plain text and mTLS connections.\n required:\n - clientValidationCa\n properties:\n clientValidationCa:\n type: array\n x-dcl-go-name: ClientValidationCa\n description: Required. Defines the mechanism to obtain the Certificate\n Authority certificate to validate the client certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCa\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance\n description: The certificate provider instance specification that\n will be passed to the data plane, which will be used to load\n necessary credential information.\n x-dcl-conflicts:\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate\n and load CertificateProvider instance configuration. Set\n to \"google_cloud_private_spiffe\" to use Certificate Authority\n Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server\n to obtain the CA certificate.\n x-dcl-conflicts:\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint.\n Only UDS path is supported, and should start with “unix:”.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ServerTlsPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverCertificate:\n type: object\n x-dcl-go-name: ServerCertificate\n x-dcl-go-type: ServerTlsPolicyServerCertificate\n description: Optional. Defines a mechanism to provision server identity\n (public and private keys). Cannot be combined with allow_open as a permissive\n mode that allows both plain text and TLS is not supported.\n properties:\n certificateProviderInstance:\n type: object\n x-dcl-go-name: CertificateProviderInstance\n x-dcl-go-type: ServerTlsPolicyServerCertificateCertificateProviderInstance\n description: The certificate provider instance specification that will\n be passed to the data plane, which will be used to load necessary\n credential information.\n x-dcl-conflicts:\n - grpcEndpoint\n required:\n - pluginInstance\n properties:\n pluginInstance:\n type: string\n x-dcl-go-name: PluginInstance\n description: Required. Plugin instance name, used to locate and\n load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n to use Certificate Authority Service certificate provider instance.\n grpcEndpoint:\n type: object\n x-dcl-go-name: GrpcEndpoint\n x-dcl-go-type: ServerTlsPolicyServerCertificateGrpcEndpoint\n description: gRPC specific configuration to access the gRPC server to\n obtain the cert and private key.\n x-dcl-conflicts:\n - certificateProviderInstance\n required:\n - targetUri\n properties:\n targetUri:\n type: string\n x-dcl-go-name: TargetUri\n description: Required. The target URI of the gRPC endpoint. Only\n UDS path is supported, and should start with “unix:”.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 8758 bytes -// MD5: a0b31c329f0e674aa03868b5965311da +// 8783 bytes +// MD5: 490f8c678a55b1a308e235162adac02f diff --git a/services/google/networksecurity/beta/server_tls_policy_schema.go b/services/google/networksecurity/beta/server_tls_policy_schema.go index 2b30fea553..82def1d6d1 100755 --- a/services/google/networksecurity/beta/server_tls_policy_schema.go +++ b/services/google/networksecurity/beta/server_tls_policy_schema.go @@ -23,6 +23,7 @@ func DCLServerTlsPolicySchema() *dcl.Schema { Title: "NetworkSecurity/ServerTlsPolicy", Description: "The NetworkSecurity ServerTlsPolicy resource", StructName: "ServerTlsPolicy", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/networkservices/alpha/endpoint_policy.yaml b/services/google/networkservices/alpha/endpoint_policy.yaml index 5d1b5be0ef..f50bf8dd7e 100755 --- a/services/google/networkservices/alpha/endpoint_policy.yaml +++ b/services/google/networkservices/alpha/endpoint_policy.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/EndpointPolicy description: The NetworkServices EndpointPolicy resource x-dcl-struct-name: EndpointPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/alpha/endpoint_policy_alpha_yaml_embed.go b/services/google/networkservices/alpha/endpoint_policy_alpha_yaml_embed.go index 30d0a80ada..b3d33729ee 100755 --- a/services/google/networkservices/alpha/endpoint_policy_alpha_yaml_embed.go +++ b/services/google/networkservices/alpha/endpoint_policy_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/alpha/endpoint_policy.yaml -var YAML_endpoint_policy = []byte("info:\n title: NetworkServices/EndpointPolicy\n description: The NetworkServices EndpointPolicy resource\n x-dcl-struct-name: EndpointPolicy\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EndpointPolicy\n parameters:\n - name: EndpointPolicy\n required: true\n description: A full instance of a EndpointPolicy\n apply:\n description: The function used to apply information about a EndpointPolicy\n parameters:\n - name: EndpointPolicy\n required: true\n description: A full instance of a EndpointPolicy\n delete:\n description: The function used to delete a EndpointPolicy\n parameters:\n - name: EndpointPolicy\n required: true\n description: A full instance of a EndpointPolicy\n deleteAll:\n description: The function used to delete all EndpointPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EndpointPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EndpointPolicy:\n title: EndpointPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpointPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - endpointMatcher\n - project\n - location\n properties:\n authorizationPolicy:\n type: string\n x-dcl-go-name: AuthorizationPolicy\n description: Optional. This field specifies the URL of AuthorizationPolicy\n resource that applies authorization policies to the inbound traffic at\n the matched endpoints. Refer to Authorization. If this field is not specified,\n authorization is disabled(no authz checks) for this endpoint.\n x-dcl-references:\n - resource: Networksecurity/AuthorizationPolicy\n field: name\n clientTlsPolicy:\n type: string\n x-dcl-go-name: ClientTlsPolicy\n description: Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy\n can be set to specify the authentication for traffic from the proxy to\n the actual endpoints. More specifically, it is applied to the outgoing\n traffic from the proxy to the endpoint. This is typically used for sidecar\n model where the proxy identifies itself as endpoint to the control plane,\n with the connection between sidecar and endpoint requiring authentication.\n If this field is not set, authentication is disabled(open). Applicable\n only when EndpointPolicyType is SIDECAR_PROXY.\n x-dcl-references:\n - resource: Networksecurity/ClientTlsPolicy\n field: name\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n endpointMatcher:\n type: object\n x-dcl-go-name: EndpointMatcher\n x-dcl-go-type: EndpointPolicyEndpointMatcher\n description: Required. A matcher that selects endpoints to which the policies\n should be applied.\n properties:\n metadataLabelMatcher:\n type: object\n x-dcl-go-name: MetadataLabelMatcher\n x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcher\n description: The matcher is based on node metadata presented by xDS\n clients.\n properties:\n metadataLabelMatchCriteria:\n type: string\n x-dcl-go-name: MetadataLabelMatchCriteria\n x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnum\n description: 'Specifies how matching should be done. Supported values\n are: MATCH_ANY: At least one of the Labels specified in the matcher\n should match the metadata presented by xDS client. MATCH_ALL:\n The metadata presented by the xDS client should contain all of\n the labels specified here. The selection is determined based on\n the best match. For example, suppose there are three EndpointPolicy\n resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY\n , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label\n connects, the config from P1 will be selected. If a client with\n label connects, the config from P2 will be selected. If a client\n with label connects, the config from P3 will be selected. If there\n is more than one best match, (for example, if a config P4 with\n selector exists and if a client with label connects), an error\n will be thrown. Possible values: METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED,\n MATCH_ANY, MATCH_ALL'\n enum:\n - METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n metadataLabels:\n type: array\n x-dcl-go-name: MetadataLabels\n description: The list of label value pairs that must match labels\n in the provided metadata based on filterMatchCriteria This list\n can have at most 64 entries. The list can be empty if the match\n criteria is MATCH_ANY, to specify a wildcard match (i.e this matches\n any client).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels\n required:\n - labelName\n - labelValue\n properties:\n labelName:\n type: string\n x-dcl-go-name: LabelName\n description: Required. Label name presented as key in xDS\n Node Metadata.\n labelValue:\n type: string\n x-dcl-go-name: LabelValue\n description: Required. Label value presented as value corresponding\n to the above key, in xDS Node Metadata.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the EndpointPolicy\n resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the EndpointPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverTlsPolicy:\n type: string\n x-dcl-go-name: ServerTlsPolicy\n description: Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy\n is used to determine the authentication policy to be applied to terminate\n the inbound traffic at the identified backends. If this field is not set,\n authentication is disabled(open) for this endpoint.\n x-dcl-references:\n - resource: Networksecurity/ServerTlsPolicy\n field: name\n trafficPortSelector:\n type: object\n x-dcl-go-name: TrafficPortSelector\n x-dcl-go-type: EndpointPolicyTrafficPortSelector\n description: Optional. Port selector for the (matched) endpoints. If no\n port selector is provided, the matched config is applied to all ports.\n properties:\n ports:\n type: array\n x-dcl-go-name: Ports\n description: Optional. A list of ports. Can be port numbers or port\n range (example, specifies all ports from 80 to 90, including 80 and\n 90) or named ports or * to specify all ports. If the list is empty,\n all ports are selected.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: EndpointPolicyTypeEnum\n description: 'Required. The type of endpoint config. This is primarily used\n to validate the configuration. Possible values: ENDPOINT_CONFIG_SELECTOR_TYPE_UNSPECIFIED,\n SIDECAR_PROXY, GRPC_SERVER'\n enum:\n - ENDPOINT_CONFIG_SELECTOR_TYPE_UNSPECIFIED\n - SIDECAR_PROXY\n - GRPC_SERVER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_endpoint_policy = []byte("info:\n title: NetworkServices/EndpointPolicy\n description: The NetworkServices EndpointPolicy resource\n x-dcl-struct-name: EndpointPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EndpointPolicy\n parameters:\n - name: EndpointPolicy\n required: true\n description: A full instance of a EndpointPolicy\n apply:\n description: The function used to apply information about a EndpointPolicy\n parameters:\n - name: EndpointPolicy\n required: true\n description: A full instance of a EndpointPolicy\n delete:\n description: The function used to delete a EndpointPolicy\n parameters:\n - name: EndpointPolicy\n required: true\n description: A full instance of a EndpointPolicy\n deleteAll:\n description: The function used to delete all EndpointPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EndpointPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EndpointPolicy:\n title: EndpointPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpointPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - endpointMatcher\n - project\n - location\n properties:\n authorizationPolicy:\n type: string\n x-dcl-go-name: AuthorizationPolicy\n description: Optional. This field specifies the URL of AuthorizationPolicy\n resource that applies authorization policies to the inbound traffic at\n the matched endpoints. Refer to Authorization. If this field is not specified,\n authorization is disabled(no authz checks) for this endpoint.\n x-dcl-references:\n - resource: Networksecurity/AuthorizationPolicy\n field: name\n clientTlsPolicy:\n type: string\n x-dcl-go-name: ClientTlsPolicy\n description: Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy\n can be set to specify the authentication for traffic from the proxy to\n the actual endpoints. More specifically, it is applied to the outgoing\n traffic from the proxy to the endpoint. This is typically used for sidecar\n model where the proxy identifies itself as endpoint to the control plane,\n with the connection between sidecar and endpoint requiring authentication.\n If this field is not set, authentication is disabled(open). Applicable\n only when EndpointPolicyType is SIDECAR_PROXY.\n x-dcl-references:\n - resource: Networksecurity/ClientTlsPolicy\n field: name\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n endpointMatcher:\n type: object\n x-dcl-go-name: EndpointMatcher\n x-dcl-go-type: EndpointPolicyEndpointMatcher\n description: Required. A matcher that selects endpoints to which the policies\n should be applied.\n properties:\n metadataLabelMatcher:\n type: object\n x-dcl-go-name: MetadataLabelMatcher\n x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcher\n description: The matcher is based on node metadata presented by xDS\n clients.\n properties:\n metadataLabelMatchCriteria:\n type: string\n x-dcl-go-name: MetadataLabelMatchCriteria\n x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnum\n description: 'Specifies how matching should be done. Supported values\n are: MATCH_ANY: At least one of the Labels specified in the matcher\n should match the metadata presented by xDS client. MATCH_ALL:\n The metadata presented by the xDS client should contain all of\n the labels specified here. The selection is determined based on\n the best match. For example, suppose there are three EndpointPolicy\n resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY\n , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label\n connects, the config from P1 will be selected. If a client with\n label connects, the config from P2 will be selected. If a client\n with label connects, the config from P3 will be selected. If there\n is more than one best match, (for example, if a config P4 with\n selector exists and if a client with label connects), an error\n will be thrown. Possible values: METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED,\n MATCH_ANY, MATCH_ALL'\n enum:\n - METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n metadataLabels:\n type: array\n x-dcl-go-name: MetadataLabels\n description: The list of label value pairs that must match labels\n in the provided metadata based on filterMatchCriteria This list\n can have at most 64 entries. The list can be empty if the match\n criteria is MATCH_ANY, to specify a wildcard match (i.e this matches\n any client).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels\n required:\n - labelName\n - labelValue\n properties:\n labelName:\n type: string\n x-dcl-go-name: LabelName\n description: Required. Label name presented as key in xDS\n Node Metadata.\n labelValue:\n type: string\n x-dcl-go-name: LabelValue\n description: Required. Label value presented as value corresponding\n to the above key, in xDS Node Metadata.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the EndpointPolicy\n resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the EndpointPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverTlsPolicy:\n type: string\n x-dcl-go-name: ServerTlsPolicy\n description: Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy\n is used to determine the authentication policy to be applied to terminate\n the inbound traffic at the identified backends. If this field is not set,\n authentication is disabled(open) for this endpoint.\n x-dcl-references:\n - resource: Networksecurity/ServerTlsPolicy\n field: name\n trafficPortSelector:\n type: object\n x-dcl-go-name: TrafficPortSelector\n x-dcl-go-type: EndpointPolicyTrafficPortSelector\n description: Optional. Port selector for the (matched) endpoints. If no\n port selector is provided, the matched config is applied to all ports.\n properties:\n ports:\n type: array\n x-dcl-go-name: Ports\n description: Optional. A list of ports. Can be port numbers or port\n range (example, specifies all ports from 80 to 90, including 80 and\n 90) or named ports or * to specify all ports. If the list is empty,\n all ports are selected.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: EndpointPolicyTypeEnum\n description: 'Required. The type of endpoint config. This is primarily used\n to validate the configuration. Possible values: ENDPOINT_CONFIG_SELECTOR_TYPE_UNSPECIFIED,\n SIDECAR_PROXY, GRPC_SERVER'\n enum:\n - ENDPOINT_CONFIG_SELECTOR_TYPE_UNSPECIFIED\n - SIDECAR_PROXY\n - GRPC_SERVER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 10110 bytes -// MD5: 154dae52ea7e7ebb93f3b0a965b59786 +// 10135 bytes +// MD5: 40cc55b108d6b134dcd33225db71b5ce diff --git a/services/google/networkservices/alpha/endpoint_policy_schema.go b/services/google/networkservices/alpha/endpoint_policy_schema.go index 29449ecd5e..f0233a9958 100755 --- a/services/google/networkservices/alpha/endpoint_policy_schema.go +++ b/services/google/networkservices/alpha/endpoint_policy_schema.go @@ -23,6 +23,7 @@ func DCLEndpointPolicySchema() *dcl.Schema { Title: "NetworkServices/EndpointPolicy", Description: "The NetworkServices EndpointPolicy resource", StructName: "EndpointPolicy", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/alpha/gateway.yaml b/services/google/networkservices/alpha/gateway.yaml index 2f8db4d51a..1156d2a87f 100755 --- a/services/google/networkservices/alpha/gateway.yaml +++ b/services/google/networkservices/alpha/gateway.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/Gateway description: The NetworkServices Gateway resource x-dcl-struct-name: Gateway + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/alpha/gateway_alpha_yaml_embed.go b/services/google/networkservices/alpha/gateway_alpha_yaml_embed.go index db4017611b..21cd8d0ee2 100755 --- a/services/google/networkservices/alpha/gateway_alpha_yaml_embed.go +++ b/services/google/networkservices/alpha/gateway_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/alpha/gateway.yaml -var YAML_gateway = []byte("info:\n title: NetworkServices/Gateway\n description: The NetworkServices Gateway resource\n x-dcl-struct-name: Gateway\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Gateway\n parameters:\n - name: Gateway\n required: true\n description: A full instance of a Gateway\n apply:\n description: The function used to apply information about a Gateway\n parameters:\n - name: Gateway\n required: true\n description: A full instance of a Gateway\n delete:\n description: The function used to delete a Gateway\n parameters:\n - name: Gateway\n required: true\n description: A full instance of a Gateway\n deleteAll:\n description: The function used to delete all Gateway\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Gateway\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Gateway:\n title: Gateway\n x-dcl-id: projects/{{project}}/locations/{{location}}/gateways/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - ports\n - scope\n - project\n - location\n properties:\n addresses:\n type: array\n x-dcl-go-name: Addresses\n description: One or more addresses with ports in format of \":\" that the\n Gateway must receive traffic on. The proxy binds to the ports specified.\n IP address can be anything that is allowed by the underlying infrastructure\n (auto-allocation, static IP, BYOIP).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorizationPolicy:\n type: string\n x-dcl-go-name: AuthorizationPolicy\n description: Optional. A fully-qualified AuthorizationPolicy URL reference.\n Specifies how traffic is authorized. If empty, authorization checks are\n disabled.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the Gateway resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the Gateway resource. It matches pattern\n `projects/*/locations/global/gateways/`.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: Required. One or more ports that the Gateway must receive traffic\n on. The proxy binds to the ports specified. Gateway listen on 0.0.0.0\n on the ports specified below.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n scope:\n type: string\n x-dcl-go-name: Scope\n description: Required. Immutable. Scope determines how configuration across\n multiple Gateway instances are merged. The configuration for multiple\n Gateway instances with the same scope will be merged as presented as a\n single coniguration to the proxy/load balancer. Max length 64 characters.\n Scope should start with a letter and can only have letters, numbers, hyphens.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n serverTlsPolicy:\n type: string\n x-dcl-go-name: ServerTlsPolicy\n description: Optional. A fully-qualified ServerTLSPolicy URL reference.\n Specifies how TLS traffic is terminated. If empty, TLS termination is\n disabled.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GatewayTypeEnum\n description: 'Immutable. The type of the customer managed gateway. Possible\n values: MATCH_TYPE_UNSPECIFIED, MATCH_ANY, MATCH_ALL'\n x-kubernetes-immutable: true\n enum:\n - MATCH_TYPE_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_gateway = []byte("info:\n title: NetworkServices/Gateway\n description: The NetworkServices Gateway resource\n x-dcl-struct-name: Gateway\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Gateway\n parameters:\n - name: Gateway\n required: true\n description: A full instance of a Gateway\n apply:\n description: The function used to apply information about a Gateway\n parameters:\n - name: Gateway\n required: true\n description: A full instance of a Gateway\n delete:\n description: The function used to delete a Gateway\n parameters:\n - name: Gateway\n required: true\n description: A full instance of a Gateway\n deleteAll:\n description: The function used to delete all Gateway\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Gateway\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Gateway:\n title: Gateway\n x-dcl-id: projects/{{project}}/locations/{{location}}/gateways/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - ports\n - scope\n - project\n - location\n properties:\n addresses:\n type: array\n x-dcl-go-name: Addresses\n description: One or more addresses with ports in format of \":\" that the\n Gateway must receive traffic on. The proxy binds to the ports specified.\n IP address can be anything that is allowed by the underlying infrastructure\n (auto-allocation, static IP, BYOIP).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorizationPolicy:\n type: string\n x-dcl-go-name: AuthorizationPolicy\n description: Optional. A fully-qualified AuthorizationPolicy URL reference.\n Specifies how traffic is authorized. If empty, authorization checks are\n disabled.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the Gateway resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the Gateway resource. It matches pattern\n `projects/*/locations/global/gateways/`.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: Required. One or more ports that the Gateway must receive traffic\n on. The proxy binds to the ports specified. Gateway listen on 0.0.0.0\n on the ports specified below.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n scope:\n type: string\n x-dcl-go-name: Scope\n description: Required. Immutable. Scope determines how configuration across\n multiple Gateway instances are merged. The configuration for multiple\n Gateway instances with the same scope will be merged as presented as a\n single coniguration to the proxy/load balancer. Max length 64 characters.\n Scope should start with a letter and can only have letters, numbers, hyphens.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n serverTlsPolicy:\n type: string\n x-dcl-go-name: ServerTlsPolicy\n description: Optional. A fully-qualified ServerTLSPolicy URL reference.\n Specifies how TLS traffic is terminated. If empty, TLS termination is\n disabled.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GatewayTypeEnum\n description: 'Immutable. The type of the customer managed gateway. Possible\n values: MATCH_TYPE_UNSPECIFIED, MATCH_ANY, MATCH_ALL'\n x-kubernetes-immutable: true\n enum:\n - MATCH_TYPE_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 5755 bytes -// MD5: ea1352da2aecdffc343ae0036e6bc2a5 +// 5780 bytes +// MD5: c91fa13d7fcb32508a1e8d50ac40cac6 diff --git a/services/google/networkservices/alpha/gateway_schema.go b/services/google/networkservices/alpha/gateway_schema.go index e2409df272..12ed7e902c 100755 --- a/services/google/networkservices/alpha/gateway_schema.go +++ b/services/google/networkservices/alpha/gateway_schema.go @@ -23,6 +23,7 @@ func DCLGatewaySchema() *dcl.Schema { Title: "NetworkServices/Gateway", Description: "The NetworkServices Gateway resource", StructName: "Gateway", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/alpha/grpc_route.yaml b/services/google/networkservices/alpha/grpc_route.yaml index edd6227ce6..ac6b2c9cc2 100755 --- a/services/google/networkservices/alpha/grpc_route.yaml +++ b/services/google/networkservices/alpha/grpc_route.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/GrpcRoute description: The NetworkServices GrpcRoute resource x-dcl-struct-name: GrpcRoute + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/alpha/grpc_route_alpha_yaml_embed.go b/services/google/networkservices/alpha/grpc_route_alpha_yaml_embed.go index a657416f3a..a178c4b905 100755 --- a/services/google/networkservices/alpha/grpc_route_alpha_yaml_embed.go +++ b/services/google/networkservices/alpha/grpc_route_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/alpha/grpc_route.yaml -var YAML_grpc_route = []byte("info:\n title: NetworkServices/GrpcRoute\n description: The NetworkServices GrpcRoute resource\n x-dcl-struct-name: GrpcRoute\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a GrpcRoute\n parameters:\n - name: GrpcRoute\n required: true\n description: A full instance of a GrpcRoute\n apply:\n description: The function used to apply information about a GrpcRoute\n parameters:\n - name: GrpcRoute\n required: true\n description: A full instance of a GrpcRoute\n delete:\n description: The function used to delete a GrpcRoute\n parameters:\n - name: GrpcRoute\n required: true\n description: A full instance of a GrpcRoute\n deleteAll:\n description: The function used to delete all GrpcRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many GrpcRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n GrpcRoute:\n title: GrpcRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/grpcRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this GrpcRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: 'Required. Service hostnames with an optional port for which\n this route describes traffic. Format: [:] Hostname is the fully qualified\n domain name of a network host. This matches the RFC 1123 definition of\n a hostname with 2 notable exceptions: - IPs are not allowed. - A hostname\n may be prefixed with a wildcard label (*.). The wildcard label must appear\n by itself as the first label. Hostname can be “precise” which is a domain\n name without the terminating dot of a network host (e.g. “foo.example.com”)\n or “wildcard”, which is a domain name prefixed with a single wildcard\n label (e.g. *.example.com). Note that as per RFC1035 and RFC1123, a label\n must consist of lower case alphanumeric characters or ‘-’, and must start\n and end with an alphanumeric character. No other punctuation is allowed.\n The routes associated with a Router must have unique hostnames. If you\n attempt to attach multiple routes with conflicting hostnames, the configuration\n will be rejected. For example, while it is acceptable for routes for the\n hostnames \"*.foo.bar.com\" and \"*.bar.com\" to be associated with the same\n route, it is not possible to associate two routes both with \"*.bar.com\"\n or both with \"bar.com\". In the case that multiple routes match the hostname,\n the most specific match will be selected. For example, \"foo.bar.baz.com\"\n will take precedence over \"*.bar.baz.com\" and \"*.bar.baz.com\" will take\n precedence over \"*.baz.com\". If a port is specified, then gRPC clients\n must use the channel URI with the port to match this rule (i.e. \"xds:///service:123\"),\n otherwise they must supply the URI without a port (i.e. \"xds:///service\").'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the GrpcRoute resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this GrpcRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the GrpcRoute resource. It matches pattern\n `projects/*/locations/global/grpcRoutes/`\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routers:\n type: array\n x-dcl-go-name: Routers\n description: 'Optional. Routers define a list of routers this GrpcRoute\n should be served by. Each router reference should match the pattern: `projects/*/locations/global/routers/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. A list of detailed rules defining how to route traffic.\n Within a single GrpcRoute, the GrpcRoute.RouteAction associated with the\n first matching GrpcRoute.RouteRule will be executed. At least one rule\n must be supplied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRules\n required:\n - action\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: GrpcRouteRulesAction\n description: Required. A detailed rule defining how to route traffic.\n This field is required.\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Optional. The destination services to which traffic\n should be forwarded. If multiple destinations are specified,\n traffic will be split between Backend Service(s) according to\n the weight field of these destinations.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRulesActionDestinations\n required:\n - serviceName\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: Required. The URL of a destination service\n to which to route traffic. Must refer to either a BackendService\n or ServiceDirectoryService.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Specifies the proportion of requests\n forwarded to the backend referenced by the serviceName\n field. This is computed as: weight/Sum(weights in this\n destination list). For non-zero values, there may be some\n epsilon from the exact proportion defined here depending\n on the precision an implementation supports. If only one\n serviceName is specified and it has a weight greater than\n 0, 100% of the traffic is forwarded to that backend. If\n weights are specified for any one service name, they need\n to be specified for all of them. If weights are unspecified\n for all services, then, traffic is distributed in equal\n proportions to all of them.'\n faultInjectionPolicy:\n type: object\n x-dcl-go-name: FaultInjectionPolicy\n x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicy\n description: Optional. The specification for fault injection introduced\n into traffic to test the resiliency of clients to destination\n service failure. As part of fault injection, when clients send\n requests to a destination, delays can be introduced on a percentage\n of requests before sending those requests to the destination\n service. Similarly requests from clients can be aborted by for\n a percentage of requests. timeout and retry_policy will be ignored\n by clients that are configured with a fault_injection_policy\n properties:\n abort:\n type: object\n x-dcl-go-name: Abort\n x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicyAbort\n description: The specification for aborting to client requests.\n properties:\n httpStatus:\n type: integer\n format: int64\n x-dcl-go-name: HttpStatus\n description: The HTTP status code used to abort the request.\n The value must be between 200 and 599 inclusive.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic which will be aborted.\n The value must be between [0, 100]\n delay:\n type: object\n x-dcl-go-name: Delay\n x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicyDelay\n description: The specification for injecting delay to client\n requests.\n properties:\n fixedDelay:\n type: string\n x-dcl-go-name: FixedDelay\n description: Specify a fixed delay before forwarding the\n request.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic on which delay\n will be injected. The value must be between [0, 100]\n retryPolicy:\n type: object\n x-dcl-go-name: RetryPolicy\n x-dcl-go-type: GrpcRouteRulesActionRetryPolicy\n description: Optional. Specifies the retry policy associated with\n this route.\n properties:\n numRetries:\n type: integer\n format: int64\n x-dcl-go-name: NumRetries\n description: Specifies the allowed number of retries. This\n number must be > 0. If not specpfied, default to 1.\n retryConditions:\n type: array\n x-dcl-go-name: RetryConditions\n description: '- connect-failure: Router will retry on failures\n connecting to Backend Services, for example due to connection\n timeouts. - refused-stream: Router will retry if the backend\n service resets the stream with a REFUSED_STREAM error code.\n This reset type indicates that it is safe to retry. - cancelled:\n Router will retry if the gRPC status code in the response\n header is set to cancelled - deadline-exceeded: Router will\n retry if the gRPC status code in the response header is\n set to deadline-exceeded - resource-exhausted: Router will\n retry if the gRPC status code in the response header is\n set to resource-exhausted - unavailable: Router will retry\n if the gRPC status code in the response header is set to\n unavailable'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Optional. Specifies the timeout for selected route.\n Timeout is computed from the time the request has been fully\n processed (i.e. end of stream) up until the response has been\n completely processed. Timeout includes all retries.\n matches:\n type: array\n x-dcl-go-name: Matches\n description: Optional. Matches define conditions used for matching\n the rule against incoming gRPC requests. Each match is independent,\n i.e. this rule will be matched if ANY one of the matches is satisfied.\n If no matches field is specified, this rule will unconditionally\n match traffic.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRulesMatches\n properties:\n headers:\n type: array\n x-dcl-go-name: Headers\n description: Optional. Specifies a collection of headers to\n match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRulesMatchesHeaders\n required:\n - key\n - value\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. The key of the header.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GrpcRouteRulesMatchesHeadersTypeEnum\n description: 'Optional. Specifies how to match against\n the value of the header. If not specified, a default\n value of EXACT is used. Possible values: MATCH_TYPE_UNSPECIFIED,\n MATCH_ANY, MATCH_ALL'\n enum:\n - MATCH_TYPE_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of the header.\n method:\n type: object\n x-dcl-go-name: Method\n x-dcl-go-type: GrpcRouteRulesMatchesMethod\n description: Optional. A gRPC method to match against. If this\n field is empty or omitted, will match all methods.\n required:\n - grpcService\n - grpcMethod\n properties:\n caseSensitive:\n type: boolean\n x-dcl-go-name: CaseSensitive\n description: Optional. Specifies that matches are case sensitive.\n The default value is true. case_sensitive must not be\n used with a type of REGULAR_EXPRESSION.\n grpcMethod:\n type: string\n x-dcl-go-name: GrpcMethod\n description: Required. Name of the method to match against.\n If unspecified, will match all methods.\n grpcService:\n type: string\n x-dcl-go-name: GrpcService\n description: Required. Name of the service to match against.\n If unspecified, will match all services.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GrpcRouteRulesMatchesMethodTypeEnum\n description: 'Optional. Specifies how to match against the\n name. If not specified, a default value of \"EXACT\" is\n used. Possible values: MATCH_TYPE_UNSPECIFIED, MATCH_ANY,\n MATCH_ALL'\n enum:\n - MATCH_TYPE_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_grpc_route = []byte("info:\n title: NetworkServices/GrpcRoute\n description: The NetworkServices GrpcRoute resource\n x-dcl-struct-name: GrpcRoute\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a GrpcRoute\n parameters:\n - name: GrpcRoute\n required: true\n description: A full instance of a GrpcRoute\n apply:\n description: The function used to apply information about a GrpcRoute\n parameters:\n - name: GrpcRoute\n required: true\n description: A full instance of a GrpcRoute\n delete:\n description: The function used to delete a GrpcRoute\n parameters:\n - name: GrpcRoute\n required: true\n description: A full instance of a GrpcRoute\n deleteAll:\n description: The function used to delete all GrpcRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many GrpcRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n GrpcRoute:\n title: GrpcRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/grpcRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this GrpcRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: 'Required. Service hostnames with an optional port for which\n this route describes traffic. Format: [:] Hostname is the fully qualified\n domain name of a network host. This matches the RFC 1123 definition of\n a hostname with 2 notable exceptions: - IPs are not allowed. - A hostname\n may be prefixed with a wildcard label (*.). The wildcard label must appear\n by itself as the first label. Hostname can be “precise” which is a domain\n name without the terminating dot of a network host (e.g. “foo.example.com”)\n or “wildcard”, which is a domain name prefixed with a single wildcard\n label (e.g. *.example.com). Note that as per RFC1035 and RFC1123, a label\n must consist of lower case alphanumeric characters or ‘-’, and must start\n and end with an alphanumeric character. No other punctuation is allowed.\n The routes associated with a Router must have unique hostnames. If you\n attempt to attach multiple routes with conflicting hostnames, the configuration\n will be rejected. For example, while it is acceptable for routes for the\n hostnames \"*.foo.bar.com\" and \"*.bar.com\" to be associated with the same\n route, it is not possible to associate two routes both with \"*.bar.com\"\n or both with \"bar.com\". In the case that multiple routes match the hostname,\n the most specific match will be selected. For example, \"foo.bar.baz.com\"\n will take precedence over \"*.bar.baz.com\" and \"*.bar.baz.com\" will take\n precedence over \"*.baz.com\". If a port is specified, then gRPC clients\n must use the channel URI with the port to match this rule (i.e. \"xds:///service:123\"),\n otherwise they must supply the URI without a port (i.e. \"xds:///service\").'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the GrpcRoute resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this GrpcRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the GrpcRoute resource. It matches pattern\n `projects/*/locations/global/grpcRoutes/`\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routers:\n type: array\n x-dcl-go-name: Routers\n description: 'Optional. Routers define a list of routers this GrpcRoute\n should be served by. Each router reference should match the pattern: `projects/*/locations/global/routers/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. A list of detailed rules defining how to route traffic.\n Within a single GrpcRoute, the GrpcRoute.RouteAction associated with the\n first matching GrpcRoute.RouteRule will be executed. At least one rule\n must be supplied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRules\n required:\n - action\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: GrpcRouteRulesAction\n description: Required. A detailed rule defining how to route traffic.\n This field is required.\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Optional. The destination services to which traffic\n should be forwarded. If multiple destinations are specified,\n traffic will be split between Backend Service(s) according to\n the weight field of these destinations.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRulesActionDestinations\n required:\n - serviceName\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: Required. The URL of a destination service\n to which to route traffic. Must refer to either a BackendService\n or ServiceDirectoryService.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Specifies the proportion of requests\n forwarded to the backend referenced by the serviceName\n field. This is computed as: weight/Sum(weights in this\n destination list). For non-zero values, there may be some\n epsilon from the exact proportion defined here depending\n on the precision an implementation supports. If only one\n serviceName is specified and it has a weight greater than\n 0, 100% of the traffic is forwarded to that backend. If\n weights are specified for any one service name, they need\n to be specified for all of them. If weights are unspecified\n for all services, then, traffic is distributed in equal\n proportions to all of them.'\n faultInjectionPolicy:\n type: object\n x-dcl-go-name: FaultInjectionPolicy\n x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicy\n description: Optional. The specification for fault injection introduced\n into traffic to test the resiliency of clients to destination\n service failure. As part of fault injection, when clients send\n requests to a destination, delays can be introduced on a percentage\n of requests before sending those requests to the destination\n service. Similarly requests from clients can be aborted by for\n a percentage of requests. timeout and retry_policy will be ignored\n by clients that are configured with a fault_injection_policy\n properties:\n abort:\n type: object\n x-dcl-go-name: Abort\n x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicyAbort\n description: The specification for aborting to client requests.\n properties:\n httpStatus:\n type: integer\n format: int64\n x-dcl-go-name: HttpStatus\n description: The HTTP status code used to abort the request.\n The value must be between 200 and 599 inclusive.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic which will be aborted.\n The value must be between [0, 100]\n delay:\n type: object\n x-dcl-go-name: Delay\n x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicyDelay\n description: The specification for injecting delay to client\n requests.\n properties:\n fixedDelay:\n type: string\n x-dcl-go-name: FixedDelay\n description: Specify a fixed delay before forwarding the\n request.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic on which delay\n will be injected. The value must be between [0, 100]\n retryPolicy:\n type: object\n x-dcl-go-name: RetryPolicy\n x-dcl-go-type: GrpcRouteRulesActionRetryPolicy\n description: Optional. Specifies the retry policy associated with\n this route.\n properties:\n numRetries:\n type: integer\n format: int64\n x-dcl-go-name: NumRetries\n description: Specifies the allowed number of retries. This\n number must be > 0. If not specpfied, default to 1.\n retryConditions:\n type: array\n x-dcl-go-name: RetryConditions\n description: '- connect-failure: Router will retry on failures\n connecting to Backend Services, for example due to connection\n timeouts. - refused-stream: Router will retry if the backend\n service resets the stream with a REFUSED_STREAM error code.\n This reset type indicates that it is safe to retry. - cancelled:\n Router will retry if the gRPC status code in the response\n header is set to cancelled - deadline-exceeded: Router will\n retry if the gRPC status code in the response header is\n set to deadline-exceeded - resource-exhausted: Router will\n retry if the gRPC status code in the response header is\n set to resource-exhausted - unavailable: Router will retry\n if the gRPC status code in the response header is set to\n unavailable'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Optional. Specifies the timeout for selected route.\n Timeout is computed from the time the request has been fully\n processed (i.e. end of stream) up until the response has been\n completely processed. Timeout includes all retries.\n matches:\n type: array\n x-dcl-go-name: Matches\n description: Optional. Matches define conditions used for matching\n the rule against incoming gRPC requests. Each match is independent,\n i.e. this rule will be matched if ANY one of the matches is satisfied.\n If no matches field is specified, this rule will unconditionally\n match traffic.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRulesMatches\n properties:\n headers:\n type: array\n x-dcl-go-name: Headers\n description: Optional. Specifies a collection of headers to\n match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRulesMatchesHeaders\n required:\n - key\n - value\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. The key of the header.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GrpcRouteRulesMatchesHeadersTypeEnum\n description: 'Optional. Specifies how to match against\n the value of the header. If not specified, a default\n value of EXACT is used. Possible values: MATCH_TYPE_UNSPECIFIED,\n MATCH_ANY, MATCH_ALL'\n enum:\n - MATCH_TYPE_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of the header.\n method:\n type: object\n x-dcl-go-name: Method\n x-dcl-go-type: GrpcRouteRulesMatchesMethod\n description: Optional. A gRPC method to match against. If this\n field is empty or omitted, will match all methods.\n required:\n - grpcService\n - grpcMethod\n properties:\n caseSensitive:\n type: boolean\n x-dcl-go-name: CaseSensitive\n description: Optional. Specifies that matches are case sensitive.\n The default value is true. case_sensitive must not be\n used with a type of REGULAR_EXPRESSION.\n grpcMethod:\n type: string\n x-dcl-go-name: GrpcMethod\n description: Required. Name of the method to match against.\n If unspecified, will match all methods.\n grpcService:\n type: string\n x-dcl-go-name: GrpcService\n description: Required. Name of the service to match against.\n If unspecified, will match all services.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GrpcRouteRulesMatchesMethodTypeEnum\n description: 'Optional. Specifies how to match against the\n name. If not specified, a default value of \"EXACT\" is\n used. Possible values: MATCH_TYPE_UNSPECIFIED, MATCH_ANY,\n MATCH_ALL'\n enum:\n - MATCH_TYPE_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 20198 bytes -// MD5: e0bdfa43d83da3c333817d8bc6251a78 +// 20223 bytes +// MD5: 4b00be9ac23de5f486f8f038c5f1cd0c diff --git a/services/google/networkservices/alpha/grpc_route_schema.go b/services/google/networkservices/alpha/grpc_route_schema.go index 32cc97700b..23d54393bd 100755 --- a/services/google/networkservices/alpha/grpc_route_schema.go +++ b/services/google/networkservices/alpha/grpc_route_schema.go @@ -23,6 +23,7 @@ func DCLGrpcRouteSchema() *dcl.Schema { Title: "NetworkServices/GrpcRoute", Description: "The NetworkServices GrpcRoute resource", StructName: "GrpcRoute", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/alpha/http_filter.yaml b/services/google/networkservices/alpha/http_filter.yaml index 84f1abe298..8e11735679 100755 --- a/services/google/networkservices/alpha/http_filter.yaml +++ b/services/google/networkservices/alpha/http_filter.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/HttpFilter description: The NetworkServices HttpFilter resource x-dcl-struct-name: HttpFilter + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/alpha/http_filter_alpha_yaml_embed.go b/services/google/networkservices/alpha/http_filter_alpha_yaml_embed.go index 5be4134ad3..e86305cc03 100755 --- a/services/google/networkservices/alpha/http_filter_alpha_yaml_embed.go +++ b/services/google/networkservices/alpha/http_filter_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/alpha/http_filter.yaml -var YAML_http_filter = []byte("info:\n title: NetworkServices/HttpFilter\n description: The NetworkServices HttpFilter resource\n x-dcl-struct-name: HttpFilter\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a HttpFilter\n parameters:\n - name: HttpFilter\n required: true\n description: A full instance of a HttpFilter\n apply:\n description: The function used to apply information about a HttpFilter\n parameters:\n - name: HttpFilter\n required: true\n description: A full instance of a HttpFilter\n delete:\n description: The function used to delete a HttpFilter\n parameters:\n - name: HttpFilter\n required: true\n description: A full instance of a HttpFilter\n deleteAll:\n description: The function used to delete all HttpFilter\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many HttpFilter\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n HttpFilter:\n title: HttpFilter\n x-dcl-id: projects/{{project}}/locations/{{location}}/httpFilters/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - filterName\n - configTypeUrl\n - config\n - project\n - location\n properties:\n config:\n type: string\n x-dcl-go-name: Config\n description: Required. The configuration needed to enable the HTTP filter.\n The configuration must be JSON formatted and only contain fields defined\n in the protobuf identified in config_type_url.\n configTypeUrl:\n type: string\n x-dcl-go-name: ConfigTypeUrl\n description: 'Required. The fully qualified versioned proto3 type url that\n the filter expects for its configuration. For example: ''type.googleapis.com/envoy.config.wasm.v2.WasmService''.'\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n filterName:\n type: string\n x-dcl-go-name: FilterName\n description: 'Required. Name of the HTTP filter defined in the `config`\n field. It is used by the xDS API client to identify specific filter implementation\n the `config` must be applied to. It is different from the name of the\n HttpFilter resource and does not have to be unique. Example: ''envoy.wasm''.'\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the HttpFilter\n resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the HttpFilter resource.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_http_filter = []byte("info:\n title: NetworkServices/HttpFilter\n description: The NetworkServices HttpFilter resource\n x-dcl-struct-name: HttpFilter\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a HttpFilter\n parameters:\n - name: HttpFilter\n required: true\n description: A full instance of a HttpFilter\n apply:\n description: The function used to apply information about a HttpFilter\n parameters:\n - name: HttpFilter\n required: true\n description: A full instance of a HttpFilter\n delete:\n description: The function used to delete a HttpFilter\n parameters:\n - name: HttpFilter\n required: true\n description: A full instance of a HttpFilter\n deleteAll:\n description: The function used to delete all HttpFilter\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many HttpFilter\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n HttpFilter:\n title: HttpFilter\n x-dcl-id: projects/{{project}}/locations/{{location}}/httpFilters/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - filterName\n - configTypeUrl\n - config\n - project\n - location\n properties:\n config:\n type: string\n x-dcl-go-name: Config\n description: Required. The configuration needed to enable the HTTP filter.\n The configuration must be JSON formatted and only contain fields defined\n in the protobuf identified in config_type_url.\n configTypeUrl:\n type: string\n x-dcl-go-name: ConfigTypeUrl\n description: 'Required. The fully qualified versioned proto3 type url that\n the filter expects for its configuration. For example: ''type.googleapis.com/envoy.config.wasm.v2.WasmService''.'\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n filterName:\n type: string\n x-dcl-go-name: FilterName\n description: 'Required. Name of the HTTP filter defined in the `config`\n field. It is used by the xDS API client to identify specific filter implementation\n the `config` must be applied to. It is different from the name of the\n HttpFilter resource and does not have to be unique. Example: ''envoy.wasm''.'\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the HttpFilter\n resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the HttpFilter resource.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 4158 bytes -// MD5: 2a2e5a7af1d5c171f060c654a6e73782 +// 4183 bytes +// MD5: fea90061d767f4cbd0c6f2ed418a3a4f diff --git a/services/google/networkservices/alpha/http_filter_schema.go b/services/google/networkservices/alpha/http_filter_schema.go index a09bd1fbd4..1bb74c378b 100755 --- a/services/google/networkservices/alpha/http_filter_schema.go +++ b/services/google/networkservices/alpha/http_filter_schema.go @@ -23,6 +23,7 @@ func DCLHttpFilterSchema() *dcl.Schema { Title: "NetworkServices/HttpFilter", Description: "The NetworkServices HttpFilter resource", StructName: "HttpFilter", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/alpha/http_route.yaml b/services/google/networkservices/alpha/http_route.yaml index f936299af6..e9ee74932c 100755 --- a/services/google/networkservices/alpha/http_route.yaml +++ b/services/google/networkservices/alpha/http_route.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/HttpRoute description: The NetworkServices HttpRoute resource x-dcl-struct-name: HttpRoute + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/alpha/http_route_alpha_yaml_embed.go b/services/google/networkservices/alpha/http_route_alpha_yaml_embed.go index d44295391b..ffaa2f8230 100755 --- a/services/google/networkservices/alpha/http_route_alpha_yaml_embed.go +++ b/services/google/networkservices/alpha/http_route_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/alpha/http_route.yaml -var YAML_http_route = []byte("info:\n title: NetworkServices/HttpRoute\n description: The NetworkServices HttpRoute resource\n x-dcl-struct-name: HttpRoute\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a HttpRoute\n parameters:\n - name: HttpRoute\n required: true\n description: A full instance of a HttpRoute\n apply:\n description: The function used to apply information about a HttpRoute\n parameters:\n - name: HttpRoute\n required: true\n description: A full instance of a HttpRoute\n delete:\n description: The function used to delete a HttpRoute\n parameters:\n - name: HttpRoute\n required: true\n description: A full instance of a HttpRoute\n deleteAll:\n description: The function used to delete all HttpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many HttpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n HttpRoute:\n title: HttpRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/httpRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this HttpRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: Required. Hostnames define a set of hosts that should match\n against the HTTP host header to select a HttpRoute to process the request.\n Hostname is the fully qualified domain name of a network host, as defined\n by RFC 1123 with the exception that ip addresses are not allowed. Wildcard\n hosts are supported as \"*\" (no prefix or suffix allowed).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the HttpRoute resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this HttpRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n The attached Mesh should be of a type SIDECAR'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the HttpRoute resource. It matches pattern\n `projects/*/locations/global/httpRoutes/http_route_name>`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routers:\n type: array\n x-dcl-go-name: Routers\n description: 'Optional. Routers define a list of routers this HttpRoute\n should be served by. Each router reference should match the pattern: `projects/*/locations/global/routers/`\n The attached Router should be of a type PROXY'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. Rules that define how traffic is routed and handled.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRules\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: HttpRouteRulesAction\n description: The detailed rule defining how to route matched traffic.\n properties:\n corsPolicy:\n type: object\n x-dcl-go-name: CorsPolicy\n x-dcl-go-type: HttpRouteRulesActionCorsPolicy\n description: The specification for allowing client side cross-origin\n requests.\n properties:\n allowCredentials:\n type: boolean\n x-dcl-go-name: AllowCredentials\n description: In response to a preflight request, setting this\n to true indicates that the actual request can include user\n credentials. This translates to the Access-Control-Allow-Credentials\n header. Default value is false.\n allowHeaders:\n type: array\n x-dcl-go-name: AllowHeaders\n description: Specifies the content for Access-Control-Allow-Headers\n header.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n allowMethods:\n type: array\n x-dcl-go-name: AllowMethods\n description: Specifies the content for Access-Control-Allow-Methods\n header.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n allowOriginRegexes:\n type: array\n x-dcl-go-name: AllowOriginRegexes\n description: Specifies the regular expression patterns that\n match allowed origins. For regular expression grammar, please\n see https://github.com/google/re2/wiki/Syntax.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n allowOrigins:\n type: array\n x-dcl-go-name: AllowOrigins\n description: Specifies the list of origins that will be allowed\n to do CORS requests. An origin is allowed if it matches\n either an item in allow_origins or an item in allow_origin_regexes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: If true, the CORS policy is disabled. The default\n value is false, which indicates that the CORS policy is\n in effect.\n exposeHeaders:\n type: array\n x-dcl-go-name: ExposeHeaders\n description: Specifies the content for Access-Control-Expose-Headers\n header.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n maxAge:\n type: string\n x-dcl-go-name: MaxAge\n description: Specifies how long result of a preflight request\n can be cached in seconds. This translates to the Access-Control-Max-Age\n header.\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: The destination to which traffic should be forwarded.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesActionDestinations\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: The URL of a BackendService to route traffic\n to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Specifies the proportion of requests forwarded\n to the backend referenced by the serviceName field. This\n is computed as: weight/Sum(weights in this destination\n list). For non-zero values, there may be some epsilon\n from the exact proportion defined here depending on the\n precision an implementation supports. If only one serviceName\n is specified and it has a weight greater than 0, 100%\n of the traffic is forwarded to that backend. If weights\n are specified for any one service name, they need to be\n specified for all of them. If weights are unspecified\n for all services, then, traffic is distributed in equal\n proportions to all of them.'\n faultInjectionPolicy:\n type: object\n x-dcl-go-name: FaultInjectionPolicy\n x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicy\n description: The specification for fault injection introduced\n into traffic to test the resiliency of clients to backend service\n failure. As part of fault injection, when clients send requests\n to a backend service, delays can be introduced on a percentage\n of requests before sending those requests to the backend service.\n Similarly requests from clients can be aborted for a percentage\n of requests. timeout and retry_policy will be ignored by clients\n that are configured with a fault_injection_policy\n properties:\n abort:\n type: object\n x-dcl-go-name: Abort\n x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicyAbort\n description: The specification for aborting to client requests.\n properties:\n httpStatus:\n type: integer\n format: int64\n x-dcl-go-name: HttpStatus\n description: The HTTP status code used to abort the request.\n The value must be between 200 and 599 inclusive.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic which will be aborted.\n The value must be between [0, 100]\n delay:\n type: object\n x-dcl-go-name: Delay\n x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicyDelay\n description: The specification for injecting delay to client\n requests.\n properties:\n fixedDelay:\n type: string\n x-dcl-go-name: FixedDelay\n description: Specify a fixed delay before forwarding the\n request.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic on which delay\n will be injected. The value must be between [0, 100]\n originalDestination:\n type: boolean\n x-dcl-go-name: OriginalDestination\n description: If true, the matched traffic will use the destination\n ip and port of the original connection (as it was not processed\n by proxy) as the destination of the request. Only one of destinations,\n redirect, original_destination can be set.\n redirect:\n type: object\n x-dcl-go-name: Redirect\n x-dcl-go-type: HttpRouteRulesActionRedirect\n description: If set, the request is directed as configured by\n this field.\n properties:\n hostRedirect:\n type: string\n x-dcl-go-name: HostRedirect\n description: The host that will be used in the redirect response\n instead of the one that was supplied in the request.\n httpsRedirect:\n type: boolean\n x-dcl-go-name: HttpsRedirect\n description: If set to true, the URL scheme in the redirected\n request is set to https. If set to false, the URL scheme\n of the redirected request will remain the same as that of\n the request. The default is set to false.\n pathRedirect:\n type: string\n x-dcl-go-name: PathRedirect\n description: The path that will be used in the redirect response\n instead of the one that was supplied in the request. path_redirect\n can not be supplied together with prefix_redirect. Supply\n one alone or neither. If neither is supplied, the path of\n the original request will be used for the redirect.\n portRedirect:\n type: integer\n format: int64\n x-dcl-go-name: PortRedirect\n description: The port that will be used in the redirected\n request instead of the one that was supplied in the request.\n prefixRewrite:\n type: string\n x-dcl-go-name: PrefixRewrite\n description: Indicates that during redirection, the matched\n prefix (or path) should be swapped with this value. This\n option allows URLs be dynamically created based on the request.\n responseCode:\n type: string\n x-dcl-go-name: ResponseCode\n x-dcl-go-type: HttpRouteRulesActionRedirectResponseCodeEnum\n description: 'The HTTP Status code to use for the redirect.\n Possible values: MOVED_PERMANENTLY_DEFAULT, FOUND, SEE_OTHER,\n TEMPORARY_REDIRECT, PERMANENT_REDIRECT'\n enum:\n - MOVED_PERMANENTLY_DEFAULT\n - FOUND\n - SEE_OTHER\n - TEMPORARY_REDIRECT\n - PERMANENT_REDIRECT\n stripQuery:\n type: boolean\n x-dcl-go-name: StripQuery\n description: if set to true, any accompanying query portion\n of the original URL is removed prior to redirecting the\n request. If set to false, the query portion of the original\n URL is retained. The default is set to false.\n requestHeaderModifier:\n type: object\n x-dcl-go-name: RequestHeaderModifier\n x-dcl-go-type: HttpRouteRulesActionRequestHeaderModifier\n description: The specification for modifying the headers of a\n matching request prior to delivery of the request to the destination.\n properties:\n add:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Add\n description: Add the headers with given map where key is the\n name of the header, value is the value of the header.\n remove:\n type: array\n x-dcl-go-name: Remove\n description: Remove headers (matching by header names) specified\n in the list.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n set:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Set\n description: Completely overwrite/replace the headers with\n given map where key is the name of the header, value is\n the value of the header.\n requestMirrorPolicy:\n type: object\n x-dcl-go-name: RequestMirrorPolicy\n x-dcl-go-type: HttpRouteRulesActionRequestMirrorPolicy\n description: Specifies the policy on how requests intended for\n the routes destination are shadowed to a separate mirrored destination.\n Proxy will not wait for the shadow destination to respond before\n returning the response. Prior to sending traffic to the shadow\n service, the host/authority header is suffixed with -shadow.\n properties:\n destination:\n type: object\n x-dcl-go-name: Destination\n x-dcl-go-type: HttpRouteRulesActionRequestMirrorPolicyDestination\n description: The destination the requests will be mirrored\n to. The weight of the destination will be ignored.\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: The URL of a BackendService to route traffic\n to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Specifies the proportion of requests forwarded\n to the backend referenced by the serviceName field.\n This is computed as: weight/Sum(weights in this destination\n list). For non-zero values, there may be some epsilon\n from the exact proportion defined here depending on\n the precision an implementation supports. If only one\n serviceName is specified and it has a weight greater\n than 0, 100% of the traffic is forwarded to that backend.\n If weights are specified for any one service name, they\n need to be specified for all of them. If weights are\n unspecified for all services, then, traffic is distributed\n in equal proportions to all of them.'\n responseHeaderModifier:\n type: object\n x-dcl-go-name: ResponseHeaderModifier\n x-dcl-go-type: HttpRouteRulesActionResponseHeaderModifier\n description: The specification for modifying the headers of a\n response prior to sending the response back to the client.\n properties:\n add:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Add\n description: Add the headers with given map where key is the\n name of the header, value is the value of the header.\n remove:\n type: array\n x-dcl-go-name: Remove\n description: Remove headers (matching by header names) specified\n in the list.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n set:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Set\n description: Completely overwrite/replace the headers with\n given map where key is the name of the header, value is\n the value of the header.\n retryPolicy:\n type: object\n x-dcl-go-name: RetryPolicy\n x-dcl-go-type: HttpRouteRulesActionRetryPolicy\n description: Specifies the retry policy associated with this route.\n properties:\n numRetries:\n type: integer\n format: int64\n x-dcl-go-name: NumRetries\n description: Specifies the allowed number of retries. This\n number must be > 0. If not specified, default to 1.\n perTryTimeout:\n type: string\n x-dcl-go-name: PerTryTimeout\n description: Specifies a non-zero timeout per retry attempt.\n retryConditions:\n type: array\n x-dcl-go-name: RetryConditions\n description: 'Specifies one or more conditions when this retry\n policy applies. Valid values are: 5xx: Proxy will attempt\n a retry if the destination service responds with any 5xx\n response code, of if the destination service does not respond\n at all, example: disconnect, reset, read timeout, connection\n failure and refused streams. gateway-error: Similar to 5xx,\n but only applies to response codes 502, 503, 504. reset:\n Proxy will attempt a retry if the destination service does\n not respond at all (disconnect/reset/read timeout) connect-failure:\n Proxy will retry on failures connecting to destination for\n example due to connection timeouts. retriable-4xx: Proxy\n will retry fro retriable 4xx response codes. Currently the\n only retriable error supported is 409. refused-stream: Proxy\n will retry if the destination resets the stream with a REFUSED_STREAM\n error code. This reset type indicates that it is safe to\n retry.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Specifies the timeout for selected route. Timeout\n is computed from the time the request has been fully processed\n (i.e. end of stream) up until the response has been completely\n processed. Timeout includes all retries.\n urlRewrite:\n type: object\n x-dcl-go-name: UrlRewrite\n x-dcl-go-type: HttpRouteRulesActionUrlRewrite\n description: The specification for rewrite URL before forwarding\n requests to the destination.\n properties:\n hostRewrite:\n type: string\n x-dcl-go-name: HostRewrite\n description: Prior to forwarding the request to the selected\n destination, the requests host header is replaced by this\n value.\n pathPrefixRewrite:\n type: string\n x-dcl-go-name: PathPrefixRewrite\n description: Prior to forwarding the request to the selected\n destination, the matching portion of the requests path is\n replaced by this value.\n matches:\n type: array\n x-dcl-go-name: Matches\n description: A list of matches define conditions used for matching\n the rule against incoming HTTP requests. Each match is independent,\n i.e. this rule will be matched if ANY one of the matches is satisfied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesMatches\n properties:\n fullPathMatch:\n type: string\n x-dcl-go-name: FullPathMatch\n description: The HTTP request path value should exactly match\n this value. Only one of full_path_match, prefix_match, or\n regex_match should be used.\n x-dcl-conflicts:\n - prefixMatch\n - regexMatch\n headers:\n type: array\n x-dcl-go-name: Headers\n description: Specifies a list of HTTP request headers to match\n against. ALL of the supplied headers must be matched.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesMatchesHeaders\n properties:\n exactMatch:\n type: string\n x-dcl-go-name: ExactMatch\n description: The value of the header should match exactly\n the content of exact_match.\n x-dcl-conflicts:\n - regexMatch\n - prefixMatch\n - presentMatch\n - suffixMatch\n - rangeMatch\n header:\n type: string\n x-dcl-go-name: Header\n description: The name of the HTTP header to match against.\n invertMatch:\n type: boolean\n x-dcl-go-name: InvertMatch\n description: If specified, the match result will be inverted\n before checking. Default value is set to false.\n prefixMatch:\n type: string\n x-dcl-go-name: PrefixMatch\n description: The value of the header must start with the\n contents of prefix_match.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - presentMatch\n - suffixMatch\n - rangeMatch\n presentMatch:\n type: boolean\n x-dcl-go-name: PresentMatch\n description: A header with header_name must exist. The\n match takes place whether or not the header has a value.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - prefixMatch\n - suffixMatch\n - rangeMatch\n rangeMatch:\n type: object\n x-dcl-go-name: RangeMatch\n x-dcl-go-type: HttpRouteRulesMatchesHeadersRangeMatch\n description: If specified, the rule will match if the\n request header value is within the range.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - prefixMatch\n - presentMatch\n - suffixMatch\n properties:\n end:\n type: integer\n format: int64\n x-dcl-go-name: End\n description: End of the range (exclusive)\n start:\n type: integer\n format: int64\n x-dcl-go-name: Start\n description: Start of the range (inclusive)\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: 'The value of the header must match the regular\n expression specified in regex_match. For regular expression\n grammar, please see: https://github.com/google/re2/wiki/Syntax'\n x-dcl-conflicts:\n - exactMatch\n - prefixMatch\n - presentMatch\n - suffixMatch\n - rangeMatch\n suffixMatch:\n type: string\n x-dcl-go-name: SuffixMatch\n description: The value of the header must end with the\n contents of suffix_match.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - prefixMatch\n - presentMatch\n - rangeMatch\n ignoreCase:\n type: boolean\n x-dcl-go-name: IgnoreCase\n description: Specifies if prefix_match and full_path_match matches\n are case sensitive. The default value is false.\n prefixMatch:\n type: string\n x-dcl-go-name: PrefixMatch\n description: The HTTP request path value must begin with specified\n prefix_match. prefix_match must begin with a /. Only one of\n full_path_match, prefix_match, or regex_match should be used.\n x-dcl-conflicts:\n - fullPathMatch\n - regexMatch\n queryParameters:\n type: array\n x-dcl-go-name: QueryParameters\n description: Specifies a list of query parameters to match against.\n ALL of the query parameters must be matched.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesMatchesQueryParameters\n properties:\n exactMatch:\n type: string\n x-dcl-go-name: ExactMatch\n description: The value of the query parameter must exactly\n match the contents of exact_match. Only one of exact_match,\n regex_match, or present_match must be set.\n x-dcl-conflicts:\n - regexMatch\n - presentMatch\n presentMatch:\n type: boolean\n x-dcl-go-name: PresentMatch\n description: Specifies that the QueryParameterMatcher\n matches if request contains query parameter, irrespective\n of whether the parameter has a value or not. Only one\n of exact_match, regex_match, or present_match must be\n set.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n queryParameter:\n type: string\n x-dcl-go-name: QueryParameter\n description: The name of the query parameter to match.\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: The value of the query parameter must match\n the regular expression specified by regex_match. For\n regular expression grammar, please see https://github.com/google/re2/wiki/Syntax\n Only one of exact_match, regex_match, or present_match\n must be set.\n x-dcl-conflicts:\n - exactMatch\n - presentMatch\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: The HTTP request path value must satisfy the regular\n expression specified by regex_match after removing any query\n parameters and anchor supplied with the original URL. For\n regular expression grammar, please see https://github.com/google/re2/wiki/Syntax\n Only one of full_path_match, prefix_match, or regex_match\n should be used.\n x-dcl-conflicts:\n - fullPathMatch\n - prefixMatch\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_http_route = []byte("info:\n title: NetworkServices/HttpRoute\n description: The NetworkServices HttpRoute resource\n x-dcl-struct-name: HttpRoute\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a HttpRoute\n parameters:\n - name: HttpRoute\n required: true\n description: A full instance of a HttpRoute\n apply:\n description: The function used to apply information about a HttpRoute\n parameters:\n - name: HttpRoute\n required: true\n description: A full instance of a HttpRoute\n delete:\n description: The function used to delete a HttpRoute\n parameters:\n - name: HttpRoute\n required: true\n description: A full instance of a HttpRoute\n deleteAll:\n description: The function used to delete all HttpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many HttpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n HttpRoute:\n title: HttpRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/httpRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this HttpRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: Required. Hostnames define a set of hosts that should match\n against the HTTP host header to select a HttpRoute to process the request.\n Hostname is the fully qualified domain name of a network host, as defined\n by RFC 1123 with the exception that ip addresses are not allowed. Wildcard\n hosts are supported as \"*\" (no prefix or suffix allowed).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the HttpRoute resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this HttpRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n The attached Mesh should be of a type SIDECAR'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the HttpRoute resource. It matches pattern\n `projects/*/locations/global/httpRoutes/http_route_name>`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routers:\n type: array\n x-dcl-go-name: Routers\n description: 'Optional. Routers define a list of routers this HttpRoute\n should be served by. Each router reference should match the pattern: `projects/*/locations/global/routers/`\n The attached Router should be of a type PROXY'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. Rules that define how traffic is routed and handled.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRules\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: HttpRouteRulesAction\n description: The detailed rule defining how to route matched traffic.\n properties:\n corsPolicy:\n type: object\n x-dcl-go-name: CorsPolicy\n x-dcl-go-type: HttpRouteRulesActionCorsPolicy\n description: The specification for allowing client side cross-origin\n requests.\n properties:\n allowCredentials:\n type: boolean\n x-dcl-go-name: AllowCredentials\n description: In response to a preflight request, setting this\n to true indicates that the actual request can include user\n credentials. This translates to the Access-Control-Allow-Credentials\n header. Default value is false.\n allowHeaders:\n type: array\n x-dcl-go-name: AllowHeaders\n description: Specifies the content for Access-Control-Allow-Headers\n header.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n allowMethods:\n type: array\n x-dcl-go-name: AllowMethods\n description: Specifies the content for Access-Control-Allow-Methods\n header.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n allowOriginRegexes:\n type: array\n x-dcl-go-name: AllowOriginRegexes\n description: Specifies the regular expression patterns that\n match allowed origins. For regular expression grammar, please\n see https://github.com/google/re2/wiki/Syntax.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n allowOrigins:\n type: array\n x-dcl-go-name: AllowOrigins\n description: Specifies the list of origins that will be allowed\n to do CORS requests. An origin is allowed if it matches\n either an item in allow_origins or an item in allow_origin_regexes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: If true, the CORS policy is disabled. The default\n value is false, which indicates that the CORS policy is\n in effect.\n exposeHeaders:\n type: array\n x-dcl-go-name: ExposeHeaders\n description: Specifies the content for Access-Control-Expose-Headers\n header.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n maxAge:\n type: string\n x-dcl-go-name: MaxAge\n description: Specifies how long result of a preflight request\n can be cached in seconds. This translates to the Access-Control-Max-Age\n header.\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: The destination to which traffic should be forwarded.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesActionDestinations\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: The URL of a BackendService to route traffic\n to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Specifies the proportion of requests forwarded\n to the backend referenced by the serviceName field. This\n is computed as: weight/Sum(weights in this destination\n list). For non-zero values, there may be some epsilon\n from the exact proportion defined here depending on the\n precision an implementation supports. If only one serviceName\n is specified and it has a weight greater than 0, 100%\n of the traffic is forwarded to that backend. If weights\n are specified for any one service name, they need to be\n specified for all of them. If weights are unspecified\n for all services, then, traffic is distributed in equal\n proportions to all of them.'\n faultInjectionPolicy:\n type: object\n x-dcl-go-name: FaultInjectionPolicy\n x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicy\n description: The specification for fault injection introduced\n into traffic to test the resiliency of clients to backend service\n failure. As part of fault injection, when clients send requests\n to a backend service, delays can be introduced on a percentage\n of requests before sending those requests to the backend service.\n Similarly requests from clients can be aborted for a percentage\n of requests. timeout and retry_policy will be ignored by clients\n that are configured with a fault_injection_policy\n properties:\n abort:\n type: object\n x-dcl-go-name: Abort\n x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicyAbort\n description: The specification for aborting to client requests.\n properties:\n httpStatus:\n type: integer\n format: int64\n x-dcl-go-name: HttpStatus\n description: The HTTP status code used to abort the request.\n The value must be between 200 and 599 inclusive.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic which will be aborted.\n The value must be between [0, 100]\n delay:\n type: object\n x-dcl-go-name: Delay\n x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicyDelay\n description: The specification for injecting delay to client\n requests.\n properties:\n fixedDelay:\n type: string\n x-dcl-go-name: FixedDelay\n description: Specify a fixed delay before forwarding the\n request.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic on which delay\n will be injected. The value must be between [0, 100]\n originalDestination:\n type: boolean\n x-dcl-go-name: OriginalDestination\n description: If true, the matched traffic will use the destination\n ip and port of the original connection (as it was not processed\n by proxy) as the destination of the request. Only one of destinations,\n redirect, original_destination can be set.\n redirect:\n type: object\n x-dcl-go-name: Redirect\n x-dcl-go-type: HttpRouteRulesActionRedirect\n description: If set, the request is directed as configured by\n this field.\n properties:\n hostRedirect:\n type: string\n x-dcl-go-name: HostRedirect\n description: The host that will be used in the redirect response\n instead of the one that was supplied in the request.\n httpsRedirect:\n type: boolean\n x-dcl-go-name: HttpsRedirect\n description: If set to true, the URL scheme in the redirected\n request is set to https. If set to false, the URL scheme\n of the redirected request will remain the same as that of\n the request. The default is set to false.\n pathRedirect:\n type: string\n x-dcl-go-name: PathRedirect\n description: The path that will be used in the redirect response\n instead of the one that was supplied in the request. path_redirect\n can not be supplied together with prefix_redirect. Supply\n one alone or neither. If neither is supplied, the path of\n the original request will be used for the redirect.\n portRedirect:\n type: integer\n format: int64\n x-dcl-go-name: PortRedirect\n description: The port that will be used in the redirected\n request instead of the one that was supplied in the request.\n prefixRewrite:\n type: string\n x-dcl-go-name: PrefixRewrite\n description: Indicates that during redirection, the matched\n prefix (or path) should be swapped with this value. This\n option allows URLs be dynamically created based on the request.\n responseCode:\n type: string\n x-dcl-go-name: ResponseCode\n x-dcl-go-type: HttpRouteRulesActionRedirectResponseCodeEnum\n description: 'The HTTP Status code to use for the redirect.\n Possible values: MOVED_PERMANENTLY_DEFAULT, FOUND, SEE_OTHER,\n TEMPORARY_REDIRECT, PERMANENT_REDIRECT'\n enum:\n - MOVED_PERMANENTLY_DEFAULT\n - FOUND\n - SEE_OTHER\n - TEMPORARY_REDIRECT\n - PERMANENT_REDIRECT\n stripQuery:\n type: boolean\n x-dcl-go-name: StripQuery\n description: if set to true, any accompanying query portion\n of the original URL is removed prior to redirecting the\n request. If set to false, the query portion of the original\n URL is retained. The default is set to false.\n requestHeaderModifier:\n type: object\n x-dcl-go-name: RequestHeaderModifier\n x-dcl-go-type: HttpRouteRulesActionRequestHeaderModifier\n description: The specification for modifying the headers of a\n matching request prior to delivery of the request to the destination.\n properties:\n add:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Add\n description: Add the headers with given map where key is the\n name of the header, value is the value of the header.\n remove:\n type: array\n x-dcl-go-name: Remove\n description: Remove headers (matching by header names) specified\n in the list.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n set:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Set\n description: Completely overwrite/replace the headers with\n given map where key is the name of the header, value is\n the value of the header.\n requestMirrorPolicy:\n type: object\n x-dcl-go-name: RequestMirrorPolicy\n x-dcl-go-type: HttpRouteRulesActionRequestMirrorPolicy\n description: Specifies the policy on how requests intended for\n the routes destination are shadowed to a separate mirrored destination.\n Proxy will not wait for the shadow destination to respond before\n returning the response. Prior to sending traffic to the shadow\n service, the host/authority header is suffixed with -shadow.\n properties:\n destination:\n type: object\n x-dcl-go-name: Destination\n x-dcl-go-type: HttpRouteRulesActionRequestMirrorPolicyDestination\n description: The destination the requests will be mirrored\n to. The weight of the destination will be ignored.\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: The URL of a BackendService to route traffic\n to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Specifies the proportion of requests forwarded\n to the backend referenced by the serviceName field.\n This is computed as: weight/Sum(weights in this destination\n list). For non-zero values, there may be some epsilon\n from the exact proportion defined here depending on\n the precision an implementation supports. If only one\n serviceName is specified and it has a weight greater\n than 0, 100% of the traffic is forwarded to that backend.\n If weights are specified for any one service name, they\n need to be specified for all of them. If weights are\n unspecified for all services, then, traffic is distributed\n in equal proportions to all of them.'\n responseHeaderModifier:\n type: object\n x-dcl-go-name: ResponseHeaderModifier\n x-dcl-go-type: HttpRouteRulesActionResponseHeaderModifier\n description: The specification for modifying the headers of a\n response prior to sending the response back to the client.\n properties:\n add:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Add\n description: Add the headers with given map where key is the\n name of the header, value is the value of the header.\n remove:\n type: array\n x-dcl-go-name: Remove\n description: Remove headers (matching by header names) specified\n in the list.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n set:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Set\n description: Completely overwrite/replace the headers with\n given map where key is the name of the header, value is\n the value of the header.\n retryPolicy:\n type: object\n x-dcl-go-name: RetryPolicy\n x-dcl-go-type: HttpRouteRulesActionRetryPolicy\n description: Specifies the retry policy associated with this route.\n properties:\n numRetries:\n type: integer\n format: int64\n x-dcl-go-name: NumRetries\n description: Specifies the allowed number of retries. This\n number must be > 0. If not specified, default to 1.\n perTryTimeout:\n type: string\n x-dcl-go-name: PerTryTimeout\n description: Specifies a non-zero timeout per retry attempt.\n retryConditions:\n type: array\n x-dcl-go-name: RetryConditions\n description: 'Specifies one or more conditions when this retry\n policy applies. Valid values are: 5xx: Proxy will attempt\n a retry if the destination service responds with any 5xx\n response code, of if the destination service does not respond\n at all, example: disconnect, reset, read timeout, connection\n failure and refused streams. gateway-error: Similar to 5xx,\n but only applies to response codes 502, 503, 504. reset:\n Proxy will attempt a retry if the destination service does\n not respond at all (disconnect/reset/read timeout) connect-failure:\n Proxy will retry on failures connecting to destination for\n example due to connection timeouts. retriable-4xx: Proxy\n will retry fro retriable 4xx response codes. Currently the\n only retriable error supported is 409. refused-stream: Proxy\n will retry if the destination resets the stream with a REFUSED_STREAM\n error code. This reset type indicates that it is safe to\n retry.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Specifies the timeout for selected route. Timeout\n is computed from the time the request has been fully processed\n (i.e. end of stream) up until the response has been completely\n processed. Timeout includes all retries.\n urlRewrite:\n type: object\n x-dcl-go-name: UrlRewrite\n x-dcl-go-type: HttpRouteRulesActionUrlRewrite\n description: The specification for rewrite URL before forwarding\n requests to the destination.\n properties:\n hostRewrite:\n type: string\n x-dcl-go-name: HostRewrite\n description: Prior to forwarding the request to the selected\n destination, the requests host header is replaced by this\n value.\n pathPrefixRewrite:\n type: string\n x-dcl-go-name: PathPrefixRewrite\n description: Prior to forwarding the request to the selected\n destination, the matching portion of the requests path is\n replaced by this value.\n matches:\n type: array\n x-dcl-go-name: Matches\n description: A list of matches define conditions used for matching\n the rule against incoming HTTP requests. Each match is independent,\n i.e. this rule will be matched if ANY one of the matches is satisfied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesMatches\n properties:\n fullPathMatch:\n type: string\n x-dcl-go-name: FullPathMatch\n description: The HTTP request path value should exactly match\n this value. Only one of full_path_match, prefix_match, or\n regex_match should be used.\n x-dcl-conflicts:\n - prefixMatch\n - regexMatch\n headers:\n type: array\n x-dcl-go-name: Headers\n description: Specifies a list of HTTP request headers to match\n against. ALL of the supplied headers must be matched.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesMatchesHeaders\n properties:\n exactMatch:\n type: string\n x-dcl-go-name: ExactMatch\n description: The value of the header should match exactly\n the content of exact_match.\n x-dcl-conflicts:\n - regexMatch\n - prefixMatch\n - presentMatch\n - suffixMatch\n - rangeMatch\n header:\n type: string\n x-dcl-go-name: Header\n description: The name of the HTTP header to match against.\n invertMatch:\n type: boolean\n x-dcl-go-name: InvertMatch\n description: If specified, the match result will be inverted\n before checking. Default value is set to false.\n prefixMatch:\n type: string\n x-dcl-go-name: PrefixMatch\n description: The value of the header must start with the\n contents of prefix_match.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - presentMatch\n - suffixMatch\n - rangeMatch\n presentMatch:\n type: boolean\n x-dcl-go-name: PresentMatch\n description: A header with header_name must exist. The\n match takes place whether or not the header has a value.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - prefixMatch\n - suffixMatch\n - rangeMatch\n rangeMatch:\n type: object\n x-dcl-go-name: RangeMatch\n x-dcl-go-type: HttpRouteRulesMatchesHeadersRangeMatch\n description: If specified, the rule will match if the\n request header value is within the range.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - prefixMatch\n - presentMatch\n - suffixMatch\n properties:\n end:\n type: integer\n format: int64\n x-dcl-go-name: End\n description: End of the range (exclusive)\n start:\n type: integer\n format: int64\n x-dcl-go-name: Start\n description: Start of the range (inclusive)\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: 'The value of the header must match the regular\n expression specified in regex_match. For regular expression\n grammar, please see: https://github.com/google/re2/wiki/Syntax'\n x-dcl-conflicts:\n - exactMatch\n - prefixMatch\n - presentMatch\n - suffixMatch\n - rangeMatch\n suffixMatch:\n type: string\n x-dcl-go-name: SuffixMatch\n description: The value of the header must end with the\n contents of suffix_match.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - prefixMatch\n - presentMatch\n - rangeMatch\n ignoreCase:\n type: boolean\n x-dcl-go-name: IgnoreCase\n description: Specifies if prefix_match and full_path_match matches\n are case sensitive. The default value is false.\n prefixMatch:\n type: string\n x-dcl-go-name: PrefixMatch\n description: The HTTP request path value must begin with specified\n prefix_match. prefix_match must begin with a /. Only one of\n full_path_match, prefix_match, or regex_match should be used.\n x-dcl-conflicts:\n - fullPathMatch\n - regexMatch\n queryParameters:\n type: array\n x-dcl-go-name: QueryParameters\n description: Specifies a list of query parameters to match against.\n ALL of the query parameters must be matched.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesMatchesQueryParameters\n properties:\n exactMatch:\n type: string\n x-dcl-go-name: ExactMatch\n description: The value of the query parameter must exactly\n match the contents of exact_match. Only one of exact_match,\n regex_match, or present_match must be set.\n x-dcl-conflicts:\n - regexMatch\n - presentMatch\n presentMatch:\n type: boolean\n x-dcl-go-name: PresentMatch\n description: Specifies that the QueryParameterMatcher\n matches if request contains query parameter, irrespective\n of whether the parameter has a value or not. Only one\n of exact_match, regex_match, or present_match must be\n set.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n queryParameter:\n type: string\n x-dcl-go-name: QueryParameter\n description: The name of the query parameter to match.\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: The value of the query parameter must match\n the regular expression specified by regex_match. For\n regular expression grammar, please see https://github.com/google/re2/wiki/Syntax\n Only one of exact_match, regex_match, or present_match\n must be set.\n x-dcl-conflicts:\n - exactMatch\n - presentMatch\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: The HTTP request path value must satisfy the regular\n expression specified by regex_match after removing any query\n parameters and anchor supplied with the original URL. For\n regular expression grammar, please see https://github.com/google/re2/wiki/Syntax\n Only one of full_path_match, prefix_match, or regex_match\n should be used.\n x-dcl-conflicts:\n - fullPathMatch\n - prefixMatch\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 39238 bytes -// MD5: 9f4e139deddeabc6f66b83479ae31487 +// 39263 bytes +// MD5: 28c3850dd95b9a504c8f41ee2739561d diff --git a/services/google/networkservices/alpha/http_route_schema.go b/services/google/networkservices/alpha/http_route_schema.go index 1243064cfc..68cd619d53 100755 --- a/services/google/networkservices/alpha/http_route_schema.go +++ b/services/google/networkservices/alpha/http_route_schema.go @@ -23,6 +23,7 @@ func DCLHttpRouteSchema() *dcl.Schema { Title: "NetworkServices/HttpRoute", Description: "The NetworkServices HttpRoute resource", StructName: "HttpRoute", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/alpha/mesh.yaml b/services/google/networkservices/alpha/mesh.yaml index 1a61c53308..7073ec7071 100755 --- a/services/google/networkservices/alpha/mesh.yaml +++ b/services/google/networkservices/alpha/mesh.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/Mesh description: The NetworkServices Mesh resource x-dcl-struct-name: Mesh + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/alpha/mesh_alpha_yaml_embed.go b/services/google/networkservices/alpha/mesh_alpha_yaml_embed.go index 02536bc544..c36d69c91e 100755 --- a/services/google/networkservices/alpha/mesh_alpha_yaml_embed.go +++ b/services/google/networkservices/alpha/mesh_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/alpha/mesh.yaml -var YAML_mesh = []byte("info:\n title: NetworkServices/Mesh\n description: The NetworkServices Mesh resource\n x-dcl-struct-name: Mesh\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Mesh\n parameters:\n - name: Mesh\n required: true\n description: A full instance of a Mesh\n apply:\n description: The function used to apply information about a Mesh\n parameters:\n - name: Mesh\n required: true\n description: A full instance of a Mesh\n delete:\n description: The function used to delete a Mesh\n parameters:\n - name: Mesh\n required: true\n description: A full instance of a Mesh\n deleteAll:\n description: The function used to delete all Mesh\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Mesh\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Mesh:\n title: Mesh\n x-dcl-id: projects/{{project}}/locations/{{location}}/meshes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n interceptionPort:\n type: integer\n format: int64\n x-dcl-go-name: InterceptionPort\n description: Optional. If set to a valid TCP port (1-65535), instructs the\n SIDECAR proxy to listen on the specified port of localhost (127.0.0.1)\n address. The SIDECAR proxy will expect all traffic to be redirected to\n this port regardless of its actual ip:port destination. If unset, a port\n '15001' is used as the interception port. This field is only valid if\n the type of Mesh is SIDECAR.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the Mesh resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the Mesh resource. It matches pattern `projects/*/locations/global/meshes/`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_mesh = []byte("info:\n title: NetworkServices/Mesh\n description: The NetworkServices Mesh resource\n x-dcl-struct-name: Mesh\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Mesh\n parameters:\n - name: Mesh\n required: true\n description: A full instance of a Mesh\n apply:\n description: The function used to apply information about a Mesh\n parameters:\n - name: Mesh\n required: true\n description: A full instance of a Mesh\n delete:\n description: The function used to delete a Mesh\n parameters:\n - name: Mesh\n required: true\n description: A full instance of a Mesh\n deleteAll:\n description: The function used to delete all Mesh\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Mesh\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Mesh:\n title: Mesh\n x-dcl-id: projects/{{project}}/locations/{{location}}/meshes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n interceptionPort:\n type: integer\n format: int64\n x-dcl-go-name: InterceptionPort\n description: Optional. If set to a valid TCP port (1-65535), instructs the\n SIDECAR proxy to listen on the specified port of localhost (127.0.0.1)\n address. The SIDECAR proxy will expect all traffic to be redirected to\n this port regardless of its actual ip:port destination. If unset, a port\n '15001' is used as the interception port. This field is only valid if\n the type of Mesh is SIDECAR.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the Mesh resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the Mesh resource. It matches pattern `projects/*/locations/global/meshes/`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 3770 bytes -// MD5: e503bd9b3436d0cb4a28a06ecfd8837e +// 3795 bytes +// MD5: 0396761d29896b568ee138d078aafa33 diff --git a/services/google/networkservices/alpha/mesh_schema.go b/services/google/networkservices/alpha/mesh_schema.go index aec3f2861b..e0e45205ff 100755 --- a/services/google/networkservices/alpha/mesh_schema.go +++ b/services/google/networkservices/alpha/mesh_schema.go @@ -23,6 +23,7 @@ func DCLMeshSchema() *dcl.Schema { Title: "NetworkServices/Mesh", Description: "The NetworkServices Mesh resource", StructName: "Mesh", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/alpha/service_binding.yaml b/services/google/networkservices/alpha/service_binding.yaml index cf47877886..20ac45b7ee 100755 --- a/services/google/networkservices/alpha/service_binding.yaml +++ b/services/google/networkservices/alpha/service_binding.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/ServiceBinding description: The NetworkServices ServiceBinding resource x-dcl-struct-name: ServiceBinding + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/alpha/service_binding_alpha_yaml_embed.go b/services/google/networkservices/alpha/service_binding_alpha_yaml_embed.go index 3a40398fb7..941d039cdc 100755 --- a/services/google/networkservices/alpha/service_binding_alpha_yaml_embed.go +++ b/services/google/networkservices/alpha/service_binding_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/alpha/service_binding.yaml -var YAML_service_binding = []byte("info:\n title: NetworkServices/ServiceBinding\n description: The NetworkServices ServiceBinding resource\n x-dcl-struct-name: ServiceBinding\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ServiceBinding\n parameters:\n - name: ServiceBinding\n required: true\n description: A full instance of a ServiceBinding\n apply:\n description: The function used to apply information about a ServiceBinding\n parameters:\n - name: ServiceBinding\n required: true\n description: A full instance of a ServiceBinding\n delete:\n description: The function used to delete a ServiceBinding\n parameters:\n - name: ServiceBinding\n required: true\n description: A full instance of a ServiceBinding\n deleteAll:\n description: The function used to delete all ServiceBinding\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceBinding\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceBinding:\n title: ServiceBinding\n x-dcl-id: projects/{{project}}/locations/{{location}}/serviceBindings/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - service\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the ServiceBinding\n resource.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ServiceBinding resource. It matches pattern\n `projects/*/locations/global/serviceBindings/service_binding_name>`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. The full service directory service name of the format\n /projects/*/locations/*/namespaces/*/services/*\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_service_binding = []byte("info:\n title: NetworkServices/ServiceBinding\n description: The NetworkServices ServiceBinding resource\n x-dcl-struct-name: ServiceBinding\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ServiceBinding\n parameters:\n - name: ServiceBinding\n required: true\n description: A full instance of a ServiceBinding\n apply:\n description: The function used to apply information about a ServiceBinding\n parameters:\n - name: ServiceBinding\n required: true\n description: A full instance of a ServiceBinding\n delete:\n description: The function used to delete a ServiceBinding\n parameters:\n - name: ServiceBinding\n required: true\n description: A full instance of a ServiceBinding\n deleteAll:\n description: The function used to delete all ServiceBinding\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceBinding\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceBinding:\n title: ServiceBinding\n x-dcl-id: projects/{{project}}/locations/{{location}}/serviceBindings/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - service\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the ServiceBinding\n resource.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ServiceBinding resource. It matches pattern\n `projects/*/locations/global/serviceBindings/service_binding_name>`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. The full service directory service name of the format\n /projects/*/locations/*/namespaces/*/services/*\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 3619 bytes -// MD5: e84514468f79b3bdb71bf06bd6dd413d +// 3644 bytes +// MD5: ee308c86b1a2a4b935418bc6d3cafc56 diff --git a/services/google/networkservices/alpha/service_binding_schema.go b/services/google/networkservices/alpha/service_binding_schema.go index e12c67e66a..b3c49c83b0 100755 --- a/services/google/networkservices/alpha/service_binding_schema.go +++ b/services/google/networkservices/alpha/service_binding_schema.go @@ -23,6 +23,7 @@ func DCLServiceBindingSchema() *dcl.Schema { Title: "NetworkServices/ServiceBinding", Description: "The NetworkServices ServiceBinding resource", StructName: "ServiceBinding", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/alpha/tcp_route.yaml b/services/google/networkservices/alpha/tcp_route.yaml index 04e21ac086..3a3a13bca9 100755 --- a/services/google/networkservices/alpha/tcp_route.yaml +++ b/services/google/networkservices/alpha/tcp_route.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/TcpRoute description: The NetworkServices TcpRoute resource x-dcl-struct-name: TcpRoute + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/alpha/tcp_route_alpha_yaml_embed.go b/services/google/networkservices/alpha/tcp_route_alpha_yaml_embed.go index 8f47fa50ba..d1311f5718 100755 --- a/services/google/networkservices/alpha/tcp_route_alpha_yaml_embed.go +++ b/services/google/networkservices/alpha/tcp_route_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/alpha/tcp_route.yaml -var YAML_tcp_route = []byte("info:\n title: NetworkServices/TcpRoute\n description: The NetworkServices TcpRoute resource\n x-dcl-struct-name: TcpRoute\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TcpRoute\n parameters:\n - name: TcpRoute\n required: true\n description: A full instance of a TcpRoute\n apply:\n description: The function used to apply information about a TcpRoute\n parameters:\n - name: TcpRoute\n required: true\n description: A full instance of a TcpRoute\n delete:\n description: The function used to delete a TcpRoute\n parameters:\n - name: TcpRoute\n required: true\n description: A full instance of a TcpRoute\n deleteAll:\n description: The function used to delete all TcpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TcpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TcpRoute:\n title: TcpRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/tcpRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this TcpRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the TcpRoute resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this TcpRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n The attached Mesh should be of a type SIDECAR'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the TcpRoute resource. It matches pattern\n `projects/*/locations/global/tcpRoutes/tcp_route_name>`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routers:\n type: array\n x-dcl-go-name: Routers\n description: 'Optional. Routers define a list of routers this TcpRoute should\n be served by. Each router reference should match the pattern: `projects/*/locations/global/routers/`\n The attached Router should be of a type PROXY'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. Rules that define how traffic is routed and handled.\n At least one RouteRule must be supplied. If there are multiple rules then\n the action taken will be the first rule to match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TcpRouteRules\n required:\n - action\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: TcpRouteRulesAction\n description: Required. The detailed rule defining how to route matched\n traffic.\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Optional. The destination services to which traffic\n should be forwarded. At least one destination service is required.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TcpRouteRulesActionDestinations\n required:\n - serviceName\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: Required. The URL of a BackendService to route\n traffic to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Specifies the proportion of requests\n forwarded to the backend referenced by the serviceName\n field. This is computed as: weight/Sum(weights in this\n destination list). For non-zero values, there may be some\n epsilon from the exact proportion defined here depending\n on the precision an implementation supports. If only one\n serviceName is specified and it has a weight greater than\n 0, 100% of the traffic is forwarded to that backend. If\n weights are specified for any one service name, they need\n to be specified for all of them. If weights are unspecified\n for all services, then, traffic is distributed in equal\n proportions to all of them.'\n originalDestination:\n type: boolean\n x-dcl-go-name: OriginalDestination\n description: Optional. If true, Router will use the destination\n IP and port of the original connection as the destination of\n the request. Default is false.\n matches:\n type: array\n x-dcl-go-name: Matches\n description: Optional. RouteMatch defines the predicate used to match\n requests to a given action. Multiple match types are “OR”ed for\n evaluation. If no routeMatch field is specified, this rule will\n unconditionally match traffic.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TcpRouteRulesMatches\n required:\n - address\n - port\n properties:\n address:\n type: string\n x-dcl-go-name: Address\n description: 'Required. Must be specified in the CIDR range\n format. A CIDR range consists of an IP Address and a prefix\n length to construct the subnet mask. By default, the prefix\n length is 32 (i.e. matches a single IP address). Only IPV4\n addresses are supported. Examples: “10.0.0.1” - matches against\n this exact IP address. “10.0.0.0/8\" - matches against any\n IP address within the 10.0.0.0 subnet and 255.255.255.0 mask.\n \"0.0.0.0/0\" - matches against any IP address''.'\n port:\n type: string\n x-dcl-go-name: Port\n description: Required. Specifies the destination port to match\n against.\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_tcp_route = []byte("info:\n title: NetworkServices/TcpRoute\n description: The NetworkServices TcpRoute resource\n x-dcl-struct-name: TcpRoute\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TcpRoute\n parameters:\n - name: TcpRoute\n required: true\n description: A full instance of a TcpRoute\n apply:\n description: The function used to apply information about a TcpRoute\n parameters:\n - name: TcpRoute\n required: true\n description: A full instance of a TcpRoute\n delete:\n description: The function used to delete a TcpRoute\n parameters:\n - name: TcpRoute\n required: true\n description: A full instance of a TcpRoute\n deleteAll:\n description: The function used to delete all TcpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TcpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TcpRoute:\n title: TcpRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/tcpRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this TcpRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the TcpRoute resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this TcpRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n The attached Mesh should be of a type SIDECAR'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the TcpRoute resource. It matches pattern\n `projects/*/locations/global/tcpRoutes/tcp_route_name>`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routers:\n type: array\n x-dcl-go-name: Routers\n description: 'Optional. Routers define a list of routers this TcpRoute should\n be served by. Each router reference should match the pattern: `projects/*/locations/global/routers/`\n The attached Router should be of a type PROXY'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. Rules that define how traffic is routed and handled.\n At least one RouteRule must be supplied. If there are multiple rules then\n the action taken will be the first rule to match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TcpRouteRules\n required:\n - action\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: TcpRouteRulesAction\n description: Required. The detailed rule defining how to route matched\n traffic.\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Optional. The destination services to which traffic\n should be forwarded. At least one destination service is required.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TcpRouteRulesActionDestinations\n required:\n - serviceName\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: Required. The URL of a BackendService to route\n traffic to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Specifies the proportion of requests\n forwarded to the backend referenced by the serviceName\n field. This is computed as: weight/Sum(weights in this\n destination list). For non-zero values, there may be some\n epsilon from the exact proportion defined here depending\n on the precision an implementation supports. If only one\n serviceName is specified and it has a weight greater than\n 0, 100% of the traffic is forwarded to that backend. If\n weights are specified for any one service name, they need\n to be specified for all of them. If weights are unspecified\n for all services, then, traffic is distributed in equal\n proportions to all of them.'\n originalDestination:\n type: boolean\n x-dcl-go-name: OriginalDestination\n description: Optional. If true, Router will use the destination\n IP and port of the original connection as the destination of\n the request. Default is false.\n matches:\n type: array\n x-dcl-go-name: Matches\n description: Optional. RouteMatch defines the predicate used to match\n requests to a given action. Multiple match types are “OR”ed for\n evaluation. If no routeMatch field is specified, this rule will\n unconditionally match traffic.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TcpRouteRulesMatches\n required:\n - address\n - port\n properties:\n address:\n type: string\n x-dcl-go-name: Address\n description: 'Required. Must be specified in the CIDR range\n format. A CIDR range consists of an IP Address and a prefix\n length to construct the subnet mask. By default, the prefix\n length is 32 (i.e. matches a single IP address). Only IPV4\n addresses are supported. Examples: “10.0.0.1” - matches against\n this exact IP address. “10.0.0.0/8\" - matches against any\n IP address within the 10.0.0.0 subnet and 255.255.255.0 mask.\n \"0.0.0.0/0\" - matches against any IP address''.'\n port:\n type: string\n x-dcl-go-name: Port\n description: Required. Specifies the destination port to match\n against.\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 10137 bytes -// MD5: f1e9ad715ea5a842ccd04e7038eed7b7 +// 10162 bytes +// MD5: 63e5402720b43091ec11a71b20e313bf diff --git a/services/google/networkservices/alpha/tcp_route_schema.go b/services/google/networkservices/alpha/tcp_route_schema.go index d8f93361ba..a299082bf8 100755 --- a/services/google/networkservices/alpha/tcp_route_schema.go +++ b/services/google/networkservices/alpha/tcp_route_schema.go @@ -23,6 +23,7 @@ func DCLTcpRouteSchema() *dcl.Schema { Title: "NetworkServices/TcpRoute", Description: "The NetworkServices TcpRoute resource", StructName: "TcpRoute", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/alpha/tls_route.yaml b/services/google/networkservices/alpha/tls_route.yaml index 0a50640bf6..b1b5fc08f6 100755 --- a/services/google/networkservices/alpha/tls_route.yaml +++ b/services/google/networkservices/alpha/tls_route.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/TlsRoute description: The NetworkServices TlsRoute resource x-dcl-struct-name: TlsRoute + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/alpha/tls_route_alpha_yaml_embed.go b/services/google/networkservices/alpha/tls_route_alpha_yaml_embed.go index 9e889ad0b1..1008633d66 100755 --- a/services/google/networkservices/alpha/tls_route_alpha_yaml_embed.go +++ b/services/google/networkservices/alpha/tls_route_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/alpha/tls_route.yaml -var YAML_tls_route = []byte("info:\n title: NetworkServices/TlsRoute\n description: The NetworkServices TlsRoute resource\n x-dcl-struct-name: TlsRoute\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TlsRoute\n parameters:\n - name: TlsRoute\n required: true\n description: A full instance of a TlsRoute\n apply:\n description: The function used to apply information about a TlsRoute\n parameters:\n - name: TlsRoute\n required: true\n description: A full instance of a TlsRoute\n delete:\n description: The function used to delete a TlsRoute\n parameters:\n - name: TlsRoute\n required: true\n description: A full instance of a TlsRoute\n deleteAll:\n description: The function used to delete all TlsRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TlsRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TlsRoute:\n title: TlsRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/tlsRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this TlsRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this TlsRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n The attached Mesh should be of a type SIDECAR'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the TlsRoute resource. It matches pattern\n `projects/*/locations/global/tlsRoutes/tls_route_name>`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. Rules that define how traffic is routed and handled.\n At least one RouteRule must be supplied. If there are multiple rules then\n the action taken will be the first rule to match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TlsRouteRules\n required:\n - matches\n - action\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: TlsRouteRulesAction\n description: Required. The detailed rule defining how to route matched\n traffic.\n required:\n - destinations\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Required. The destination services to which traffic\n should be forwarded. At least one destination service is required.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TlsRouteRulesActionDestinations\n required:\n - serviceName\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: Required. The URL of a BackendService to route\n traffic to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Specifies the proportion of requests\n forwareded to the backend referenced by the service_name\n field. This is computed as: weight/Sum(weights in destinations)\n Weights in all destinations does not need to sum up to\n 100.'\n matches:\n type: array\n x-dcl-go-name: Matches\n description: Required. RouteMatch defines the predicate used to match\n requests to a given action. Multiple match types are \"OR\"ed for\n evaluation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TlsRouteRulesMatches\n properties:\n alpn:\n type: array\n x-dcl-go-name: Alpn\n description: 'Optional. ALPN (Application-Layer Protocol Negotiation)\n to match against. Examples: \"http/1.1\", \"h2\". At least one\n of sni_host and alpn is required. Up to 5 alpns across all\n matches can be set.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sniHost:\n type: array\n x-dcl-go-name: SniHost\n description: Optional. SNI (server name indicator) to match\n against. SNI will be matched against all wildcard domains,\n i.e. www.example.com will be first matched against www.example.com,\n then *.example.com, then *.com. Partial wildcards are not\n supported, and values like *w.example.com are invalid. At\n least one of sni_host and alpn is required. Up to 5 sni hosts\n across all matches can be set.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_tls_route = []byte("info:\n title: NetworkServices/TlsRoute\n description: The NetworkServices TlsRoute resource\n x-dcl-struct-name: TlsRoute\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TlsRoute\n parameters:\n - name: TlsRoute\n required: true\n description: A full instance of a TlsRoute\n apply:\n description: The function used to apply information about a TlsRoute\n parameters:\n - name: TlsRoute\n required: true\n description: A full instance of a TlsRoute\n delete:\n description: The function used to delete a TlsRoute\n parameters:\n - name: TlsRoute\n required: true\n description: A full instance of a TlsRoute\n deleteAll:\n description: The function used to delete all TlsRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TlsRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TlsRoute:\n title: TlsRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/tlsRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this TlsRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this TlsRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n The attached Mesh should be of a type SIDECAR'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the TlsRoute resource. It matches pattern\n `projects/*/locations/global/tlsRoutes/tls_route_name>`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. Rules that define how traffic is routed and handled.\n At least one RouteRule must be supplied. If there are multiple rules then\n the action taken will be the first rule to match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TlsRouteRules\n required:\n - matches\n - action\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: TlsRouteRulesAction\n description: Required. The detailed rule defining how to route matched\n traffic.\n required:\n - destinations\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Required. The destination services to which traffic\n should be forwarded. At least one destination service is required.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TlsRouteRulesActionDestinations\n required:\n - serviceName\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: Required. The URL of a BackendService to route\n traffic to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Specifies the proportion of requests\n forwareded to the backend referenced by the service_name\n field. This is computed as: weight/Sum(weights in destinations)\n Weights in all destinations does not need to sum up to\n 100.'\n matches:\n type: array\n x-dcl-go-name: Matches\n description: Required. RouteMatch defines the predicate used to match\n requests to a given action. Multiple match types are \"OR\"ed for\n evaluation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TlsRouteRulesMatches\n properties:\n alpn:\n type: array\n x-dcl-go-name: Alpn\n description: 'Optional. ALPN (Application-Layer Protocol Negotiation)\n to match against. Examples: \"http/1.1\", \"h2\". At least one\n of sni_host and alpn is required. Up to 5 alpns across all\n matches can be set.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sniHost:\n type: array\n x-dcl-go-name: SniHost\n description: Optional. SNI (server name indicator) to match\n against. SNI will be matched against all wildcard domains,\n i.e. www.example.com will be first matched against www.example.com,\n then *.example.com, then *.com. Partial wildcards are not\n supported, and values like *w.example.com are invalid. At\n least one of sni_host and alpn is required. Up to 5 sni hosts\n across all matches can be set.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 8857 bytes -// MD5: 96b0f6c32f0bf2b202dc163c10fb6e39 +// 8882 bytes +// MD5: afafa1a921a80a11ef3e7c876bf3bb28 diff --git a/services/google/networkservices/alpha/tls_route_schema.go b/services/google/networkservices/alpha/tls_route_schema.go index 4245ce6cff..b7d54fa9a8 100755 --- a/services/google/networkservices/alpha/tls_route_schema.go +++ b/services/google/networkservices/alpha/tls_route_schema.go @@ -23,6 +23,7 @@ func DCLTlsRouteSchema() *dcl.Schema { Title: "NetworkServices/TlsRoute", Description: "The NetworkServices TlsRoute resource", StructName: "TlsRoute", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/beta/endpoint_policy.yaml b/services/google/networkservices/beta/endpoint_policy.yaml index 5d1b5be0ef..f50bf8dd7e 100755 --- a/services/google/networkservices/beta/endpoint_policy.yaml +++ b/services/google/networkservices/beta/endpoint_policy.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/EndpointPolicy description: The NetworkServices EndpointPolicy resource x-dcl-struct-name: EndpointPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/beta/endpoint_policy_beta_yaml_embed.go b/services/google/networkservices/beta/endpoint_policy_beta_yaml_embed.go index 94fb021b0e..9507f007f0 100755 --- a/services/google/networkservices/beta/endpoint_policy_beta_yaml_embed.go +++ b/services/google/networkservices/beta/endpoint_policy_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/endpoint_policy.yaml -var YAML_endpoint_policy = []byte("info:\n title: NetworkServices/EndpointPolicy\n description: The NetworkServices EndpointPolicy resource\n x-dcl-struct-name: EndpointPolicy\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EndpointPolicy\n parameters:\n - name: EndpointPolicy\n required: true\n description: A full instance of a EndpointPolicy\n apply:\n description: The function used to apply information about a EndpointPolicy\n parameters:\n - name: EndpointPolicy\n required: true\n description: A full instance of a EndpointPolicy\n delete:\n description: The function used to delete a EndpointPolicy\n parameters:\n - name: EndpointPolicy\n required: true\n description: A full instance of a EndpointPolicy\n deleteAll:\n description: The function used to delete all EndpointPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EndpointPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EndpointPolicy:\n title: EndpointPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpointPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - endpointMatcher\n - project\n - location\n properties:\n authorizationPolicy:\n type: string\n x-dcl-go-name: AuthorizationPolicy\n description: Optional. This field specifies the URL of AuthorizationPolicy\n resource that applies authorization policies to the inbound traffic at\n the matched endpoints. Refer to Authorization. If this field is not specified,\n authorization is disabled(no authz checks) for this endpoint.\n x-dcl-references:\n - resource: Networksecurity/AuthorizationPolicy\n field: name\n clientTlsPolicy:\n type: string\n x-dcl-go-name: ClientTlsPolicy\n description: Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy\n can be set to specify the authentication for traffic from the proxy to\n the actual endpoints. More specifically, it is applied to the outgoing\n traffic from the proxy to the endpoint. This is typically used for sidecar\n model where the proxy identifies itself as endpoint to the control plane,\n with the connection between sidecar and endpoint requiring authentication.\n If this field is not set, authentication is disabled(open). Applicable\n only when EndpointPolicyType is SIDECAR_PROXY.\n x-dcl-references:\n - resource: Networksecurity/ClientTlsPolicy\n field: name\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n endpointMatcher:\n type: object\n x-dcl-go-name: EndpointMatcher\n x-dcl-go-type: EndpointPolicyEndpointMatcher\n description: Required. A matcher that selects endpoints to which the policies\n should be applied.\n properties:\n metadataLabelMatcher:\n type: object\n x-dcl-go-name: MetadataLabelMatcher\n x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcher\n description: The matcher is based on node metadata presented by xDS\n clients.\n properties:\n metadataLabelMatchCriteria:\n type: string\n x-dcl-go-name: MetadataLabelMatchCriteria\n x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnum\n description: 'Specifies how matching should be done. Supported values\n are: MATCH_ANY: At least one of the Labels specified in the matcher\n should match the metadata presented by xDS client. MATCH_ALL:\n The metadata presented by the xDS client should contain all of\n the labels specified here. The selection is determined based on\n the best match. For example, suppose there are three EndpointPolicy\n resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY\n , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label\n connects, the config from P1 will be selected. If a client with\n label connects, the config from P2 will be selected. If a client\n with label connects, the config from P3 will be selected. If there\n is more than one best match, (for example, if a config P4 with\n selector exists and if a client with label connects), an error\n will be thrown. Possible values: METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED,\n MATCH_ANY, MATCH_ALL'\n enum:\n - METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n metadataLabels:\n type: array\n x-dcl-go-name: MetadataLabels\n description: The list of label value pairs that must match labels\n in the provided metadata based on filterMatchCriteria This list\n can have at most 64 entries. The list can be empty if the match\n criteria is MATCH_ANY, to specify a wildcard match (i.e this matches\n any client).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels\n required:\n - labelName\n - labelValue\n properties:\n labelName:\n type: string\n x-dcl-go-name: LabelName\n description: Required. Label name presented as key in xDS\n Node Metadata.\n labelValue:\n type: string\n x-dcl-go-name: LabelValue\n description: Required. Label value presented as value corresponding\n to the above key, in xDS Node Metadata.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the EndpointPolicy\n resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the EndpointPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverTlsPolicy:\n type: string\n x-dcl-go-name: ServerTlsPolicy\n description: Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy\n is used to determine the authentication policy to be applied to terminate\n the inbound traffic at the identified backends. If this field is not set,\n authentication is disabled(open) for this endpoint.\n x-dcl-references:\n - resource: Networksecurity/ServerTlsPolicy\n field: name\n trafficPortSelector:\n type: object\n x-dcl-go-name: TrafficPortSelector\n x-dcl-go-type: EndpointPolicyTrafficPortSelector\n description: Optional. Port selector for the (matched) endpoints. If no\n port selector is provided, the matched config is applied to all ports.\n properties:\n ports:\n type: array\n x-dcl-go-name: Ports\n description: Optional. A list of ports. Can be port numbers or port\n range (example, specifies all ports from 80 to 90, including 80 and\n 90) or named ports or * to specify all ports. If the list is empty,\n all ports are selected.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: EndpointPolicyTypeEnum\n description: 'Required. The type of endpoint config. This is primarily used\n to validate the configuration. Possible values: ENDPOINT_CONFIG_SELECTOR_TYPE_UNSPECIFIED,\n SIDECAR_PROXY, GRPC_SERVER'\n enum:\n - ENDPOINT_CONFIG_SELECTOR_TYPE_UNSPECIFIED\n - SIDECAR_PROXY\n - GRPC_SERVER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_endpoint_policy = []byte("info:\n title: NetworkServices/EndpointPolicy\n description: The NetworkServices EndpointPolicy resource\n x-dcl-struct-name: EndpointPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EndpointPolicy\n parameters:\n - name: EndpointPolicy\n required: true\n description: A full instance of a EndpointPolicy\n apply:\n description: The function used to apply information about a EndpointPolicy\n parameters:\n - name: EndpointPolicy\n required: true\n description: A full instance of a EndpointPolicy\n delete:\n description: The function used to delete a EndpointPolicy\n parameters:\n - name: EndpointPolicy\n required: true\n description: A full instance of a EndpointPolicy\n deleteAll:\n description: The function used to delete all EndpointPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many EndpointPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n EndpointPolicy:\n title: EndpointPolicy\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpointPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - endpointMatcher\n - project\n - location\n properties:\n authorizationPolicy:\n type: string\n x-dcl-go-name: AuthorizationPolicy\n description: Optional. This field specifies the URL of AuthorizationPolicy\n resource that applies authorization policies to the inbound traffic at\n the matched endpoints. Refer to Authorization. If this field is not specified,\n authorization is disabled(no authz checks) for this endpoint.\n x-dcl-references:\n - resource: Networksecurity/AuthorizationPolicy\n field: name\n clientTlsPolicy:\n type: string\n x-dcl-go-name: ClientTlsPolicy\n description: Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy\n can be set to specify the authentication for traffic from the proxy to\n the actual endpoints. More specifically, it is applied to the outgoing\n traffic from the proxy to the endpoint. This is typically used for sidecar\n model where the proxy identifies itself as endpoint to the control plane,\n with the connection between sidecar and endpoint requiring authentication.\n If this field is not set, authentication is disabled(open). Applicable\n only when EndpointPolicyType is SIDECAR_PROXY.\n x-dcl-references:\n - resource: Networksecurity/ClientTlsPolicy\n field: name\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n endpointMatcher:\n type: object\n x-dcl-go-name: EndpointMatcher\n x-dcl-go-type: EndpointPolicyEndpointMatcher\n description: Required. A matcher that selects endpoints to which the policies\n should be applied.\n properties:\n metadataLabelMatcher:\n type: object\n x-dcl-go-name: MetadataLabelMatcher\n x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcher\n description: The matcher is based on node metadata presented by xDS\n clients.\n properties:\n metadataLabelMatchCriteria:\n type: string\n x-dcl-go-name: MetadataLabelMatchCriteria\n x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnum\n description: 'Specifies how matching should be done. Supported values\n are: MATCH_ANY: At least one of the Labels specified in the matcher\n should match the metadata presented by xDS client. MATCH_ALL:\n The metadata presented by the xDS client should contain all of\n the labels specified here. The selection is determined based on\n the best match. For example, suppose there are three EndpointPolicy\n resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY\n , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label\n connects, the config from P1 will be selected. If a client with\n label connects, the config from P2 will be selected. If a client\n with label connects, the config from P3 will be selected. If there\n is more than one best match, (for example, if a config P4 with\n selector exists and if a client with label connects), an error\n will be thrown. Possible values: METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED,\n MATCH_ANY, MATCH_ALL'\n enum:\n - METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n metadataLabels:\n type: array\n x-dcl-go-name: MetadataLabels\n description: The list of label value pairs that must match labels\n in the provided metadata based on filterMatchCriteria This list\n can have at most 64 entries. The list can be empty if the match\n criteria is MATCH_ANY, to specify a wildcard match (i.e this matches\n any client).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels\n required:\n - labelName\n - labelValue\n properties:\n labelName:\n type: string\n x-dcl-go-name: LabelName\n description: Required. Label name presented as key in xDS\n Node Metadata.\n labelValue:\n type: string\n x-dcl-go-name: LabelValue\n description: Required. Label value presented as value corresponding\n to the above key, in xDS Node Metadata.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the EndpointPolicy\n resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the EndpointPolicy resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n serverTlsPolicy:\n type: string\n x-dcl-go-name: ServerTlsPolicy\n description: Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy\n is used to determine the authentication policy to be applied to terminate\n the inbound traffic at the identified backends. If this field is not set,\n authentication is disabled(open) for this endpoint.\n x-dcl-references:\n - resource: Networksecurity/ServerTlsPolicy\n field: name\n trafficPortSelector:\n type: object\n x-dcl-go-name: TrafficPortSelector\n x-dcl-go-type: EndpointPolicyTrafficPortSelector\n description: Optional. Port selector for the (matched) endpoints. If no\n port selector is provided, the matched config is applied to all ports.\n properties:\n ports:\n type: array\n x-dcl-go-name: Ports\n description: Optional. A list of ports. Can be port numbers or port\n range (example, specifies all ports from 80 to 90, including 80 and\n 90) or named ports or * to specify all ports. If the list is empty,\n all ports are selected.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: EndpointPolicyTypeEnum\n description: 'Required. The type of endpoint config. This is primarily used\n to validate the configuration. Possible values: ENDPOINT_CONFIG_SELECTOR_TYPE_UNSPECIFIED,\n SIDECAR_PROXY, GRPC_SERVER'\n enum:\n - ENDPOINT_CONFIG_SELECTOR_TYPE_UNSPECIFIED\n - SIDECAR_PROXY\n - GRPC_SERVER\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 10110 bytes -// MD5: 154dae52ea7e7ebb93f3b0a965b59786 +// 10135 bytes +// MD5: 40cc55b108d6b134dcd33225db71b5ce diff --git a/services/google/networkservices/beta/endpoint_policy_schema.go b/services/google/networkservices/beta/endpoint_policy_schema.go index ef13c5d5d3..499090e813 100755 --- a/services/google/networkservices/beta/endpoint_policy_schema.go +++ b/services/google/networkservices/beta/endpoint_policy_schema.go @@ -23,6 +23,7 @@ func DCLEndpointPolicySchema() *dcl.Schema { Title: "NetworkServices/EndpointPolicy", Description: "The NetworkServices EndpointPolicy resource", StructName: "EndpointPolicy", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/beta/gateway.yaml b/services/google/networkservices/beta/gateway.yaml index 2f8db4d51a..1156d2a87f 100755 --- a/services/google/networkservices/beta/gateway.yaml +++ b/services/google/networkservices/beta/gateway.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/Gateway description: The NetworkServices Gateway resource x-dcl-struct-name: Gateway + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/beta/gateway_beta_yaml_embed.go b/services/google/networkservices/beta/gateway_beta_yaml_embed.go index aaa8188b24..9e7693fd88 100755 --- a/services/google/networkservices/beta/gateway_beta_yaml_embed.go +++ b/services/google/networkservices/beta/gateway_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/gateway.yaml -var YAML_gateway = []byte("info:\n title: NetworkServices/Gateway\n description: The NetworkServices Gateway resource\n x-dcl-struct-name: Gateway\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Gateway\n parameters:\n - name: Gateway\n required: true\n description: A full instance of a Gateway\n apply:\n description: The function used to apply information about a Gateway\n parameters:\n - name: Gateway\n required: true\n description: A full instance of a Gateway\n delete:\n description: The function used to delete a Gateway\n parameters:\n - name: Gateway\n required: true\n description: A full instance of a Gateway\n deleteAll:\n description: The function used to delete all Gateway\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Gateway\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Gateway:\n title: Gateway\n x-dcl-id: projects/{{project}}/locations/{{location}}/gateways/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - ports\n - scope\n - project\n - location\n properties:\n addresses:\n type: array\n x-dcl-go-name: Addresses\n description: One or more addresses with ports in format of \":\" that the\n Gateway must receive traffic on. The proxy binds to the ports specified.\n IP address can be anything that is allowed by the underlying infrastructure\n (auto-allocation, static IP, BYOIP).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorizationPolicy:\n type: string\n x-dcl-go-name: AuthorizationPolicy\n description: Optional. A fully-qualified AuthorizationPolicy URL reference.\n Specifies how traffic is authorized. If empty, authorization checks are\n disabled.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the Gateway resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the Gateway resource. It matches pattern\n `projects/*/locations/global/gateways/`.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: Required. One or more ports that the Gateway must receive traffic\n on. The proxy binds to the ports specified. Gateway listen on 0.0.0.0\n on the ports specified below.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n scope:\n type: string\n x-dcl-go-name: Scope\n description: Required. Immutable. Scope determines how configuration across\n multiple Gateway instances are merged. The configuration for multiple\n Gateway instances with the same scope will be merged as presented as a\n single coniguration to the proxy/load balancer. Max length 64 characters.\n Scope should start with a letter and can only have letters, numbers, hyphens.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n serverTlsPolicy:\n type: string\n x-dcl-go-name: ServerTlsPolicy\n description: Optional. A fully-qualified ServerTLSPolicy URL reference.\n Specifies how TLS traffic is terminated. If empty, TLS termination is\n disabled.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GatewayTypeEnum\n description: 'Immutable. The type of the customer managed gateway. Possible\n values: MATCH_TYPE_UNSPECIFIED, MATCH_ANY, MATCH_ALL'\n x-kubernetes-immutable: true\n enum:\n - MATCH_TYPE_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_gateway = []byte("info:\n title: NetworkServices/Gateway\n description: The NetworkServices Gateway resource\n x-dcl-struct-name: Gateway\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Gateway\n parameters:\n - name: Gateway\n required: true\n description: A full instance of a Gateway\n apply:\n description: The function used to apply information about a Gateway\n parameters:\n - name: Gateway\n required: true\n description: A full instance of a Gateway\n delete:\n description: The function used to delete a Gateway\n parameters:\n - name: Gateway\n required: true\n description: A full instance of a Gateway\n deleteAll:\n description: The function used to delete all Gateway\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Gateway\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Gateway:\n title: Gateway\n x-dcl-id: projects/{{project}}/locations/{{location}}/gateways/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - ports\n - scope\n - project\n - location\n properties:\n addresses:\n type: array\n x-dcl-go-name: Addresses\n description: One or more addresses with ports in format of \":\" that the\n Gateway must receive traffic on. The proxy binds to the ports specified.\n IP address can be anything that is allowed by the underlying infrastructure\n (auto-allocation, static IP, BYOIP).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorizationPolicy:\n type: string\n x-dcl-go-name: AuthorizationPolicy\n description: Optional. A fully-qualified AuthorizationPolicy URL reference.\n Specifies how traffic is authorized. If empty, authorization checks are\n disabled.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the Gateway resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the Gateway resource. It matches pattern\n `projects/*/locations/global/gateways/`.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: Required. One or more ports that the Gateway must receive traffic\n on. The proxy binds to the ports specified. Gateway listen on 0.0.0.0\n on the ports specified below.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n scope:\n type: string\n x-dcl-go-name: Scope\n description: Required. Immutable. Scope determines how configuration across\n multiple Gateway instances are merged. The configuration for multiple\n Gateway instances with the same scope will be merged as presented as a\n single coniguration to the proxy/load balancer. Max length 64 characters.\n Scope should start with a letter and can only have letters, numbers, hyphens.\n x-kubernetes-immutable: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n serverTlsPolicy:\n type: string\n x-dcl-go-name: ServerTlsPolicy\n description: Optional. A fully-qualified ServerTLSPolicy URL reference.\n Specifies how TLS traffic is terminated. If empty, TLS termination is\n disabled.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GatewayTypeEnum\n description: 'Immutable. The type of the customer managed gateway. Possible\n values: MATCH_TYPE_UNSPECIFIED, MATCH_ANY, MATCH_ALL'\n x-kubernetes-immutable: true\n enum:\n - MATCH_TYPE_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 5755 bytes -// MD5: ea1352da2aecdffc343ae0036e6bc2a5 +// 5780 bytes +// MD5: c91fa13d7fcb32508a1e8d50ac40cac6 diff --git a/services/google/networkservices/beta/gateway_schema.go b/services/google/networkservices/beta/gateway_schema.go index 031c7dbda6..7823c4b2ee 100755 --- a/services/google/networkservices/beta/gateway_schema.go +++ b/services/google/networkservices/beta/gateway_schema.go @@ -23,6 +23,7 @@ func DCLGatewaySchema() *dcl.Schema { Title: "NetworkServices/Gateway", Description: "The NetworkServices Gateway resource", StructName: "Gateway", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/beta/grpc_route.yaml b/services/google/networkservices/beta/grpc_route.yaml index edd6227ce6..ac6b2c9cc2 100755 --- a/services/google/networkservices/beta/grpc_route.yaml +++ b/services/google/networkservices/beta/grpc_route.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/GrpcRoute description: The NetworkServices GrpcRoute resource x-dcl-struct-name: GrpcRoute + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/beta/grpc_route_beta_yaml_embed.go b/services/google/networkservices/beta/grpc_route_beta_yaml_embed.go index 65e42afe9e..21eadb946a 100755 --- a/services/google/networkservices/beta/grpc_route_beta_yaml_embed.go +++ b/services/google/networkservices/beta/grpc_route_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/grpc_route.yaml -var YAML_grpc_route = []byte("info:\n title: NetworkServices/GrpcRoute\n description: The NetworkServices GrpcRoute resource\n x-dcl-struct-name: GrpcRoute\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a GrpcRoute\n parameters:\n - name: GrpcRoute\n required: true\n description: A full instance of a GrpcRoute\n apply:\n description: The function used to apply information about a GrpcRoute\n parameters:\n - name: GrpcRoute\n required: true\n description: A full instance of a GrpcRoute\n delete:\n description: The function used to delete a GrpcRoute\n parameters:\n - name: GrpcRoute\n required: true\n description: A full instance of a GrpcRoute\n deleteAll:\n description: The function used to delete all GrpcRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many GrpcRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n GrpcRoute:\n title: GrpcRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/grpcRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this GrpcRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: 'Required. Service hostnames with an optional port for which\n this route describes traffic. Format: [:] Hostname is the fully qualified\n domain name of a network host. This matches the RFC 1123 definition of\n a hostname with 2 notable exceptions: - IPs are not allowed. - A hostname\n may be prefixed with a wildcard label (*.). The wildcard label must appear\n by itself as the first label. Hostname can be “precise” which is a domain\n name without the terminating dot of a network host (e.g. “foo.example.com”)\n or “wildcard”, which is a domain name prefixed with a single wildcard\n label (e.g. *.example.com). Note that as per RFC1035 and RFC1123, a label\n must consist of lower case alphanumeric characters or ‘-’, and must start\n and end with an alphanumeric character. No other punctuation is allowed.\n The routes associated with a Router must have unique hostnames. If you\n attempt to attach multiple routes with conflicting hostnames, the configuration\n will be rejected. For example, while it is acceptable for routes for the\n hostnames \"*.foo.bar.com\" and \"*.bar.com\" to be associated with the same\n route, it is not possible to associate two routes both with \"*.bar.com\"\n or both with \"bar.com\". In the case that multiple routes match the hostname,\n the most specific match will be selected. For example, \"foo.bar.baz.com\"\n will take precedence over \"*.bar.baz.com\" and \"*.bar.baz.com\" will take\n precedence over \"*.baz.com\". If a port is specified, then gRPC clients\n must use the channel URI with the port to match this rule (i.e. \"xds:///service:123\"),\n otherwise they must supply the URI without a port (i.e. \"xds:///service\").'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the GrpcRoute resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this GrpcRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the GrpcRoute resource. It matches pattern\n `projects/*/locations/global/grpcRoutes/`\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routers:\n type: array\n x-dcl-go-name: Routers\n description: 'Optional. Routers define a list of routers this GrpcRoute\n should be served by. Each router reference should match the pattern: `projects/*/locations/global/routers/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. A list of detailed rules defining how to route traffic.\n Within a single GrpcRoute, the GrpcRoute.RouteAction associated with the\n first matching GrpcRoute.RouteRule will be executed. At least one rule\n must be supplied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRules\n required:\n - action\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: GrpcRouteRulesAction\n description: Required. A detailed rule defining how to route traffic.\n This field is required.\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Optional. The destination services to which traffic\n should be forwarded. If multiple destinations are specified,\n traffic will be split between Backend Service(s) according to\n the weight field of these destinations.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRulesActionDestinations\n required:\n - serviceName\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: Required. The URL of a destination service\n to which to route traffic. Must refer to either a BackendService\n or ServiceDirectoryService.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Specifies the proportion of requests\n forwarded to the backend referenced by the serviceName\n field. This is computed as: weight/Sum(weights in this\n destination list). For non-zero values, there may be some\n epsilon from the exact proportion defined here depending\n on the precision an implementation supports. If only one\n serviceName is specified and it has a weight greater than\n 0, 100% of the traffic is forwarded to that backend. If\n weights are specified for any one service name, they need\n to be specified for all of them. If weights are unspecified\n for all services, then, traffic is distributed in equal\n proportions to all of them.'\n faultInjectionPolicy:\n type: object\n x-dcl-go-name: FaultInjectionPolicy\n x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicy\n description: Optional. The specification for fault injection introduced\n into traffic to test the resiliency of clients to destination\n service failure. As part of fault injection, when clients send\n requests to a destination, delays can be introduced on a percentage\n of requests before sending those requests to the destination\n service. Similarly requests from clients can be aborted by for\n a percentage of requests. timeout and retry_policy will be ignored\n by clients that are configured with a fault_injection_policy\n properties:\n abort:\n type: object\n x-dcl-go-name: Abort\n x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicyAbort\n description: The specification for aborting to client requests.\n properties:\n httpStatus:\n type: integer\n format: int64\n x-dcl-go-name: HttpStatus\n description: The HTTP status code used to abort the request.\n The value must be between 200 and 599 inclusive.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic which will be aborted.\n The value must be between [0, 100]\n delay:\n type: object\n x-dcl-go-name: Delay\n x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicyDelay\n description: The specification for injecting delay to client\n requests.\n properties:\n fixedDelay:\n type: string\n x-dcl-go-name: FixedDelay\n description: Specify a fixed delay before forwarding the\n request.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic on which delay\n will be injected. The value must be between [0, 100]\n retryPolicy:\n type: object\n x-dcl-go-name: RetryPolicy\n x-dcl-go-type: GrpcRouteRulesActionRetryPolicy\n description: Optional. Specifies the retry policy associated with\n this route.\n properties:\n numRetries:\n type: integer\n format: int64\n x-dcl-go-name: NumRetries\n description: Specifies the allowed number of retries. This\n number must be > 0. If not specpfied, default to 1.\n retryConditions:\n type: array\n x-dcl-go-name: RetryConditions\n description: '- connect-failure: Router will retry on failures\n connecting to Backend Services, for example due to connection\n timeouts. - refused-stream: Router will retry if the backend\n service resets the stream with a REFUSED_STREAM error code.\n This reset type indicates that it is safe to retry. - cancelled:\n Router will retry if the gRPC status code in the response\n header is set to cancelled - deadline-exceeded: Router will\n retry if the gRPC status code in the response header is\n set to deadline-exceeded - resource-exhausted: Router will\n retry if the gRPC status code in the response header is\n set to resource-exhausted - unavailable: Router will retry\n if the gRPC status code in the response header is set to\n unavailable'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Optional. Specifies the timeout for selected route.\n Timeout is computed from the time the request has been fully\n processed (i.e. end of stream) up until the response has been\n completely processed. Timeout includes all retries.\n matches:\n type: array\n x-dcl-go-name: Matches\n description: Optional. Matches define conditions used for matching\n the rule against incoming gRPC requests. Each match is independent,\n i.e. this rule will be matched if ANY one of the matches is satisfied.\n If no matches field is specified, this rule will unconditionally\n match traffic.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRulesMatches\n properties:\n headers:\n type: array\n x-dcl-go-name: Headers\n description: Optional. Specifies a collection of headers to\n match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRulesMatchesHeaders\n required:\n - key\n - value\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. The key of the header.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GrpcRouteRulesMatchesHeadersTypeEnum\n description: 'Optional. Specifies how to match against\n the value of the header. If not specified, a default\n value of EXACT is used. Possible values: MATCH_TYPE_UNSPECIFIED,\n MATCH_ANY, MATCH_ALL'\n enum:\n - MATCH_TYPE_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of the header.\n method:\n type: object\n x-dcl-go-name: Method\n x-dcl-go-type: GrpcRouteRulesMatchesMethod\n description: Optional. A gRPC method to match against. If this\n field is empty or omitted, will match all methods.\n required:\n - grpcService\n - grpcMethod\n properties:\n caseSensitive:\n type: boolean\n x-dcl-go-name: CaseSensitive\n description: Optional. Specifies that matches are case sensitive.\n The default value is true. case_sensitive must not be\n used with a type of REGULAR_EXPRESSION.\n grpcMethod:\n type: string\n x-dcl-go-name: GrpcMethod\n description: Required. Name of the method to match against.\n If unspecified, will match all methods.\n grpcService:\n type: string\n x-dcl-go-name: GrpcService\n description: Required. Name of the service to match against.\n If unspecified, will match all services.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GrpcRouteRulesMatchesMethodTypeEnum\n description: 'Optional. Specifies how to match against the\n name. If not specified, a default value of \"EXACT\" is\n used. Possible values: MATCH_TYPE_UNSPECIFIED, MATCH_ANY,\n MATCH_ALL'\n enum:\n - MATCH_TYPE_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_grpc_route = []byte("info:\n title: NetworkServices/GrpcRoute\n description: The NetworkServices GrpcRoute resource\n x-dcl-struct-name: GrpcRoute\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a GrpcRoute\n parameters:\n - name: GrpcRoute\n required: true\n description: A full instance of a GrpcRoute\n apply:\n description: The function used to apply information about a GrpcRoute\n parameters:\n - name: GrpcRoute\n required: true\n description: A full instance of a GrpcRoute\n delete:\n description: The function used to delete a GrpcRoute\n parameters:\n - name: GrpcRoute\n required: true\n description: A full instance of a GrpcRoute\n deleteAll:\n description: The function used to delete all GrpcRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many GrpcRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n GrpcRoute:\n title: GrpcRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/grpcRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this GrpcRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: 'Required. Service hostnames with an optional port for which\n this route describes traffic. Format: [:] Hostname is the fully qualified\n domain name of a network host. This matches the RFC 1123 definition of\n a hostname with 2 notable exceptions: - IPs are not allowed. - A hostname\n may be prefixed with a wildcard label (*.). The wildcard label must appear\n by itself as the first label. Hostname can be “precise” which is a domain\n name without the terminating dot of a network host (e.g. “foo.example.com”)\n or “wildcard”, which is a domain name prefixed with a single wildcard\n label (e.g. *.example.com). Note that as per RFC1035 and RFC1123, a label\n must consist of lower case alphanumeric characters or ‘-’, and must start\n and end with an alphanumeric character. No other punctuation is allowed.\n The routes associated with a Router must have unique hostnames. If you\n attempt to attach multiple routes with conflicting hostnames, the configuration\n will be rejected. For example, while it is acceptable for routes for the\n hostnames \"*.foo.bar.com\" and \"*.bar.com\" to be associated with the same\n route, it is not possible to associate two routes both with \"*.bar.com\"\n or both with \"bar.com\". In the case that multiple routes match the hostname,\n the most specific match will be selected. For example, \"foo.bar.baz.com\"\n will take precedence over \"*.bar.baz.com\" and \"*.bar.baz.com\" will take\n precedence over \"*.baz.com\". If a port is specified, then gRPC clients\n must use the channel URI with the port to match this rule (i.e. \"xds:///service:123\"),\n otherwise they must supply the URI without a port (i.e. \"xds:///service\").'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the GrpcRoute resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this GrpcRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the GrpcRoute resource. It matches pattern\n `projects/*/locations/global/grpcRoutes/`\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routers:\n type: array\n x-dcl-go-name: Routers\n description: 'Optional. Routers define a list of routers this GrpcRoute\n should be served by. Each router reference should match the pattern: `projects/*/locations/global/routers/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. A list of detailed rules defining how to route traffic.\n Within a single GrpcRoute, the GrpcRoute.RouteAction associated with the\n first matching GrpcRoute.RouteRule will be executed. At least one rule\n must be supplied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRules\n required:\n - action\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: GrpcRouteRulesAction\n description: Required. A detailed rule defining how to route traffic.\n This field is required.\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Optional. The destination services to which traffic\n should be forwarded. If multiple destinations are specified,\n traffic will be split between Backend Service(s) according to\n the weight field of these destinations.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRulesActionDestinations\n required:\n - serviceName\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: Required. The URL of a destination service\n to which to route traffic. Must refer to either a BackendService\n or ServiceDirectoryService.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Specifies the proportion of requests\n forwarded to the backend referenced by the serviceName\n field. This is computed as: weight/Sum(weights in this\n destination list). For non-zero values, there may be some\n epsilon from the exact proportion defined here depending\n on the precision an implementation supports. If only one\n serviceName is specified and it has a weight greater than\n 0, 100% of the traffic is forwarded to that backend. If\n weights are specified for any one service name, they need\n to be specified for all of them. If weights are unspecified\n for all services, then, traffic is distributed in equal\n proportions to all of them.'\n faultInjectionPolicy:\n type: object\n x-dcl-go-name: FaultInjectionPolicy\n x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicy\n description: Optional. The specification for fault injection introduced\n into traffic to test the resiliency of clients to destination\n service failure. As part of fault injection, when clients send\n requests to a destination, delays can be introduced on a percentage\n of requests before sending those requests to the destination\n service. Similarly requests from clients can be aborted by for\n a percentage of requests. timeout and retry_policy will be ignored\n by clients that are configured with a fault_injection_policy\n properties:\n abort:\n type: object\n x-dcl-go-name: Abort\n x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicyAbort\n description: The specification for aborting to client requests.\n properties:\n httpStatus:\n type: integer\n format: int64\n x-dcl-go-name: HttpStatus\n description: The HTTP status code used to abort the request.\n The value must be between 200 and 599 inclusive.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic which will be aborted.\n The value must be between [0, 100]\n delay:\n type: object\n x-dcl-go-name: Delay\n x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicyDelay\n description: The specification for injecting delay to client\n requests.\n properties:\n fixedDelay:\n type: string\n x-dcl-go-name: FixedDelay\n description: Specify a fixed delay before forwarding the\n request.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic on which delay\n will be injected. The value must be between [0, 100]\n retryPolicy:\n type: object\n x-dcl-go-name: RetryPolicy\n x-dcl-go-type: GrpcRouteRulesActionRetryPolicy\n description: Optional. Specifies the retry policy associated with\n this route.\n properties:\n numRetries:\n type: integer\n format: int64\n x-dcl-go-name: NumRetries\n description: Specifies the allowed number of retries. This\n number must be > 0. If not specpfied, default to 1.\n retryConditions:\n type: array\n x-dcl-go-name: RetryConditions\n description: '- connect-failure: Router will retry on failures\n connecting to Backend Services, for example due to connection\n timeouts. - refused-stream: Router will retry if the backend\n service resets the stream with a REFUSED_STREAM error code.\n This reset type indicates that it is safe to retry. - cancelled:\n Router will retry if the gRPC status code in the response\n header is set to cancelled - deadline-exceeded: Router will\n retry if the gRPC status code in the response header is\n set to deadline-exceeded - resource-exhausted: Router will\n retry if the gRPC status code in the response header is\n set to resource-exhausted - unavailable: Router will retry\n if the gRPC status code in the response header is set to\n unavailable'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Optional. Specifies the timeout for selected route.\n Timeout is computed from the time the request has been fully\n processed (i.e. end of stream) up until the response has been\n completely processed. Timeout includes all retries.\n matches:\n type: array\n x-dcl-go-name: Matches\n description: Optional. Matches define conditions used for matching\n the rule against incoming gRPC requests. Each match is independent,\n i.e. this rule will be matched if ANY one of the matches is satisfied.\n If no matches field is specified, this rule will unconditionally\n match traffic.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRulesMatches\n properties:\n headers:\n type: array\n x-dcl-go-name: Headers\n description: Optional. Specifies a collection of headers to\n match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GrpcRouteRulesMatchesHeaders\n required:\n - key\n - value\n properties:\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. The key of the header.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GrpcRouteRulesMatchesHeadersTypeEnum\n description: 'Optional. Specifies how to match against\n the value of the header. If not specified, a default\n value of EXACT is used. Possible values: MATCH_TYPE_UNSPECIFIED,\n MATCH_ANY, MATCH_ALL'\n enum:\n - MATCH_TYPE_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of the header.\n method:\n type: object\n x-dcl-go-name: Method\n x-dcl-go-type: GrpcRouteRulesMatchesMethod\n description: Optional. A gRPC method to match against. If this\n field is empty or omitted, will match all methods.\n required:\n - grpcService\n - grpcMethod\n properties:\n caseSensitive:\n type: boolean\n x-dcl-go-name: CaseSensitive\n description: Optional. Specifies that matches are case sensitive.\n The default value is true. case_sensitive must not be\n used with a type of REGULAR_EXPRESSION.\n grpcMethod:\n type: string\n x-dcl-go-name: GrpcMethod\n description: Required. Name of the method to match against.\n If unspecified, will match all methods.\n grpcService:\n type: string\n x-dcl-go-name: GrpcService\n description: Required. Name of the service to match against.\n If unspecified, will match all services.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GrpcRouteRulesMatchesMethodTypeEnum\n description: 'Optional. Specifies how to match against the\n name. If not specified, a default value of \"EXACT\" is\n used. Possible values: MATCH_TYPE_UNSPECIFIED, MATCH_ANY,\n MATCH_ALL'\n enum:\n - MATCH_TYPE_UNSPECIFIED\n - MATCH_ANY\n - MATCH_ALL\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 20198 bytes -// MD5: e0bdfa43d83da3c333817d8bc6251a78 +// 20223 bytes +// MD5: 4b00be9ac23de5f486f8f038c5f1cd0c diff --git a/services/google/networkservices/beta/grpc_route_schema.go b/services/google/networkservices/beta/grpc_route_schema.go index 8bfb9a8d7a..f3a50e625c 100755 --- a/services/google/networkservices/beta/grpc_route_schema.go +++ b/services/google/networkservices/beta/grpc_route_schema.go @@ -23,6 +23,7 @@ func DCLGrpcRouteSchema() *dcl.Schema { Title: "NetworkServices/GrpcRoute", Description: "The NetworkServices GrpcRoute resource", StructName: "GrpcRoute", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/beta/http_route.yaml b/services/google/networkservices/beta/http_route.yaml index f936299af6..e9ee74932c 100755 --- a/services/google/networkservices/beta/http_route.yaml +++ b/services/google/networkservices/beta/http_route.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/HttpRoute description: The NetworkServices HttpRoute resource x-dcl-struct-name: HttpRoute + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/beta/http_route_beta_yaml_embed.go b/services/google/networkservices/beta/http_route_beta_yaml_embed.go index 72754213c9..57594cfc12 100755 --- a/services/google/networkservices/beta/http_route_beta_yaml_embed.go +++ b/services/google/networkservices/beta/http_route_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/http_route.yaml -var YAML_http_route = []byte("info:\n title: NetworkServices/HttpRoute\n description: The NetworkServices HttpRoute resource\n x-dcl-struct-name: HttpRoute\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a HttpRoute\n parameters:\n - name: HttpRoute\n required: true\n description: A full instance of a HttpRoute\n apply:\n description: The function used to apply information about a HttpRoute\n parameters:\n - name: HttpRoute\n required: true\n description: A full instance of a HttpRoute\n delete:\n description: The function used to delete a HttpRoute\n parameters:\n - name: HttpRoute\n required: true\n description: A full instance of a HttpRoute\n deleteAll:\n description: The function used to delete all HttpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many HttpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n HttpRoute:\n title: HttpRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/httpRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this HttpRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: Required. Hostnames define a set of hosts that should match\n against the HTTP host header to select a HttpRoute to process the request.\n Hostname is the fully qualified domain name of a network host, as defined\n by RFC 1123 with the exception that ip addresses are not allowed. Wildcard\n hosts are supported as \"*\" (no prefix or suffix allowed).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the HttpRoute resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this HttpRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n The attached Mesh should be of a type SIDECAR'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the HttpRoute resource. It matches pattern\n `projects/*/locations/global/httpRoutes/http_route_name>`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routers:\n type: array\n x-dcl-go-name: Routers\n description: 'Optional. Routers define a list of routers this HttpRoute\n should be served by. Each router reference should match the pattern: `projects/*/locations/global/routers/`\n The attached Router should be of a type PROXY'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. Rules that define how traffic is routed and handled.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRules\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: HttpRouteRulesAction\n description: The detailed rule defining how to route matched traffic.\n properties:\n corsPolicy:\n type: object\n x-dcl-go-name: CorsPolicy\n x-dcl-go-type: HttpRouteRulesActionCorsPolicy\n description: The specification for allowing client side cross-origin\n requests.\n properties:\n allowCredentials:\n type: boolean\n x-dcl-go-name: AllowCredentials\n description: In response to a preflight request, setting this\n to true indicates that the actual request can include user\n credentials. This translates to the Access-Control-Allow-Credentials\n header. Default value is false.\n allowHeaders:\n type: array\n x-dcl-go-name: AllowHeaders\n description: Specifies the content for Access-Control-Allow-Headers\n header.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n allowMethods:\n type: array\n x-dcl-go-name: AllowMethods\n description: Specifies the content for Access-Control-Allow-Methods\n header.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n allowOriginRegexes:\n type: array\n x-dcl-go-name: AllowOriginRegexes\n description: Specifies the regular expression patterns that\n match allowed origins. For regular expression grammar, please\n see https://github.com/google/re2/wiki/Syntax.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n allowOrigins:\n type: array\n x-dcl-go-name: AllowOrigins\n description: Specifies the list of origins that will be allowed\n to do CORS requests. An origin is allowed if it matches\n either an item in allow_origins or an item in allow_origin_regexes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: If true, the CORS policy is disabled. The default\n value is false, which indicates that the CORS policy is\n in effect.\n exposeHeaders:\n type: array\n x-dcl-go-name: ExposeHeaders\n description: Specifies the content for Access-Control-Expose-Headers\n header.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n maxAge:\n type: string\n x-dcl-go-name: MaxAge\n description: Specifies how long result of a preflight request\n can be cached in seconds. This translates to the Access-Control-Max-Age\n header.\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: The destination to which traffic should be forwarded.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesActionDestinations\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: The URL of a BackendService to route traffic\n to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Specifies the proportion of requests forwarded\n to the backend referenced by the serviceName field. This\n is computed as: weight/Sum(weights in this destination\n list). For non-zero values, there may be some epsilon\n from the exact proportion defined here depending on the\n precision an implementation supports. If only one serviceName\n is specified and it has a weight greater than 0, 100%\n of the traffic is forwarded to that backend. If weights\n are specified for any one service name, they need to be\n specified for all of them. If weights are unspecified\n for all services, then, traffic is distributed in equal\n proportions to all of them.'\n faultInjectionPolicy:\n type: object\n x-dcl-go-name: FaultInjectionPolicy\n x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicy\n description: The specification for fault injection introduced\n into traffic to test the resiliency of clients to backend service\n failure. As part of fault injection, when clients send requests\n to a backend service, delays can be introduced on a percentage\n of requests before sending those requests to the backend service.\n Similarly requests from clients can be aborted for a percentage\n of requests. timeout and retry_policy will be ignored by clients\n that are configured with a fault_injection_policy\n properties:\n abort:\n type: object\n x-dcl-go-name: Abort\n x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicyAbort\n description: The specification for aborting to client requests.\n properties:\n httpStatus:\n type: integer\n format: int64\n x-dcl-go-name: HttpStatus\n description: The HTTP status code used to abort the request.\n The value must be between 200 and 599 inclusive.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic which will be aborted.\n The value must be between [0, 100]\n delay:\n type: object\n x-dcl-go-name: Delay\n x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicyDelay\n description: The specification for injecting delay to client\n requests.\n properties:\n fixedDelay:\n type: string\n x-dcl-go-name: FixedDelay\n description: Specify a fixed delay before forwarding the\n request.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic on which delay\n will be injected. The value must be between [0, 100]\n originalDestination:\n type: boolean\n x-dcl-go-name: OriginalDestination\n description: If true, the matched traffic will use the destination\n ip and port of the original connection (as it was not processed\n by proxy) as the destination of the request. Only one of destinations,\n redirect, original_destination can be set.\n redirect:\n type: object\n x-dcl-go-name: Redirect\n x-dcl-go-type: HttpRouteRulesActionRedirect\n description: If set, the request is directed as configured by\n this field.\n properties:\n hostRedirect:\n type: string\n x-dcl-go-name: HostRedirect\n description: The host that will be used in the redirect response\n instead of the one that was supplied in the request.\n httpsRedirect:\n type: boolean\n x-dcl-go-name: HttpsRedirect\n description: If set to true, the URL scheme in the redirected\n request is set to https. If set to false, the URL scheme\n of the redirected request will remain the same as that of\n the request. The default is set to false.\n pathRedirect:\n type: string\n x-dcl-go-name: PathRedirect\n description: The path that will be used in the redirect response\n instead of the one that was supplied in the request. path_redirect\n can not be supplied together with prefix_redirect. Supply\n one alone or neither. If neither is supplied, the path of\n the original request will be used for the redirect.\n portRedirect:\n type: integer\n format: int64\n x-dcl-go-name: PortRedirect\n description: The port that will be used in the redirected\n request instead of the one that was supplied in the request.\n prefixRewrite:\n type: string\n x-dcl-go-name: PrefixRewrite\n description: Indicates that during redirection, the matched\n prefix (or path) should be swapped with this value. This\n option allows URLs be dynamically created based on the request.\n responseCode:\n type: string\n x-dcl-go-name: ResponseCode\n x-dcl-go-type: HttpRouteRulesActionRedirectResponseCodeEnum\n description: 'The HTTP Status code to use for the redirect.\n Possible values: MOVED_PERMANENTLY_DEFAULT, FOUND, SEE_OTHER,\n TEMPORARY_REDIRECT, PERMANENT_REDIRECT'\n enum:\n - MOVED_PERMANENTLY_DEFAULT\n - FOUND\n - SEE_OTHER\n - TEMPORARY_REDIRECT\n - PERMANENT_REDIRECT\n stripQuery:\n type: boolean\n x-dcl-go-name: StripQuery\n description: if set to true, any accompanying query portion\n of the original URL is removed prior to redirecting the\n request. If set to false, the query portion of the original\n URL is retained. The default is set to false.\n requestHeaderModifier:\n type: object\n x-dcl-go-name: RequestHeaderModifier\n x-dcl-go-type: HttpRouteRulesActionRequestHeaderModifier\n description: The specification for modifying the headers of a\n matching request prior to delivery of the request to the destination.\n properties:\n add:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Add\n description: Add the headers with given map where key is the\n name of the header, value is the value of the header.\n remove:\n type: array\n x-dcl-go-name: Remove\n description: Remove headers (matching by header names) specified\n in the list.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n set:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Set\n description: Completely overwrite/replace the headers with\n given map where key is the name of the header, value is\n the value of the header.\n requestMirrorPolicy:\n type: object\n x-dcl-go-name: RequestMirrorPolicy\n x-dcl-go-type: HttpRouteRulesActionRequestMirrorPolicy\n description: Specifies the policy on how requests intended for\n the routes destination are shadowed to a separate mirrored destination.\n Proxy will not wait for the shadow destination to respond before\n returning the response. Prior to sending traffic to the shadow\n service, the host/authority header is suffixed with -shadow.\n properties:\n destination:\n type: object\n x-dcl-go-name: Destination\n x-dcl-go-type: HttpRouteRulesActionRequestMirrorPolicyDestination\n description: The destination the requests will be mirrored\n to. The weight of the destination will be ignored.\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: The URL of a BackendService to route traffic\n to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Specifies the proportion of requests forwarded\n to the backend referenced by the serviceName field.\n This is computed as: weight/Sum(weights in this destination\n list). For non-zero values, there may be some epsilon\n from the exact proportion defined here depending on\n the precision an implementation supports. If only one\n serviceName is specified and it has a weight greater\n than 0, 100% of the traffic is forwarded to that backend.\n If weights are specified for any one service name, they\n need to be specified for all of them. If weights are\n unspecified for all services, then, traffic is distributed\n in equal proportions to all of them.'\n responseHeaderModifier:\n type: object\n x-dcl-go-name: ResponseHeaderModifier\n x-dcl-go-type: HttpRouteRulesActionResponseHeaderModifier\n description: The specification for modifying the headers of a\n response prior to sending the response back to the client.\n properties:\n add:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Add\n description: Add the headers with given map where key is the\n name of the header, value is the value of the header.\n remove:\n type: array\n x-dcl-go-name: Remove\n description: Remove headers (matching by header names) specified\n in the list.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n set:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Set\n description: Completely overwrite/replace the headers with\n given map where key is the name of the header, value is\n the value of the header.\n retryPolicy:\n type: object\n x-dcl-go-name: RetryPolicy\n x-dcl-go-type: HttpRouteRulesActionRetryPolicy\n description: Specifies the retry policy associated with this route.\n properties:\n numRetries:\n type: integer\n format: int64\n x-dcl-go-name: NumRetries\n description: Specifies the allowed number of retries. This\n number must be > 0. If not specified, default to 1.\n perTryTimeout:\n type: string\n x-dcl-go-name: PerTryTimeout\n description: Specifies a non-zero timeout per retry attempt.\n retryConditions:\n type: array\n x-dcl-go-name: RetryConditions\n description: 'Specifies one or more conditions when this retry\n policy applies. Valid values are: 5xx: Proxy will attempt\n a retry if the destination service responds with any 5xx\n response code, of if the destination service does not respond\n at all, example: disconnect, reset, read timeout, connection\n failure and refused streams. gateway-error: Similar to 5xx,\n but only applies to response codes 502, 503, 504. reset:\n Proxy will attempt a retry if the destination service does\n not respond at all (disconnect/reset/read timeout) connect-failure:\n Proxy will retry on failures connecting to destination for\n example due to connection timeouts. retriable-4xx: Proxy\n will retry fro retriable 4xx response codes. Currently the\n only retriable error supported is 409. refused-stream: Proxy\n will retry if the destination resets the stream with a REFUSED_STREAM\n error code. This reset type indicates that it is safe to\n retry.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Specifies the timeout for selected route. Timeout\n is computed from the time the request has been fully processed\n (i.e. end of stream) up until the response has been completely\n processed. Timeout includes all retries.\n urlRewrite:\n type: object\n x-dcl-go-name: UrlRewrite\n x-dcl-go-type: HttpRouteRulesActionUrlRewrite\n description: The specification for rewrite URL before forwarding\n requests to the destination.\n properties:\n hostRewrite:\n type: string\n x-dcl-go-name: HostRewrite\n description: Prior to forwarding the request to the selected\n destination, the requests host header is replaced by this\n value.\n pathPrefixRewrite:\n type: string\n x-dcl-go-name: PathPrefixRewrite\n description: Prior to forwarding the request to the selected\n destination, the matching portion of the requests path is\n replaced by this value.\n matches:\n type: array\n x-dcl-go-name: Matches\n description: A list of matches define conditions used for matching\n the rule against incoming HTTP requests. Each match is independent,\n i.e. this rule will be matched if ANY one of the matches is satisfied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesMatches\n properties:\n fullPathMatch:\n type: string\n x-dcl-go-name: FullPathMatch\n description: The HTTP request path value should exactly match\n this value. Only one of full_path_match, prefix_match, or\n regex_match should be used.\n x-dcl-conflicts:\n - prefixMatch\n - regexMatch\n headers:\n type: array\n x-dcl-go-name: Headers\n description: Specifies a list of HTTP request headers to match\n against. ALL of the supplied headers must be matched.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesMatchesHeaders\n properties:\n exactMatch:\n type: string\n x-dcl-go-name: ExactMatch\n description: The value of the header should match exactly\n the content of exact_match.\n x-dcl-conflicts:\n - regexMatch\n - prefixMatch\n - presentMatch\n - suffixMatch\n - rangeMatch\n header:\n type: string\n x-dcl-go-name: Header\n description: The name of the HTTP header to match against.\n invertMatch:\n type: boolean\n x-dcl-go-name: InvertMatch\n description: If specified, the match result will be inverted\n before checking. Default value is set to false.\n prefixMatch:\n type: string\n x-dcl-go-name: PrefixMatch\n description: The value of the header must start with the\n contents of prefix_match.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - presentMatch\n - suffixMatch\n - rangeMatch\n presentMatch:\n type: boolean\n x-dcl-go-name: PresentMatch\n description: A header with header_name must exist. The\n match takes place whether or not the header has a value.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - prefixMatch\n - suffixMatch\n - rangeMatch\n rangeMatch:\n type: object\n x-dcl-go-name: RangeMatch\n x-dcl-go-type: HttpRouteRulesMatchesHeadersRangeMatch\n description: If specified, the rule will match if the\n request header value is within the range.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - prefixMatch\n - presentMatch\n - suffixMatch\n properties:\n end:\n type: integer\n format: int64\n x-dcl-go-name: End\n description: End of the range (exclusive)\n start:\n type: integer\n format: int64\n x-dcl-go-name: Start\n description: Start of the range (inclusive)\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: 'The value of the header must match the regular\n expression specified in regex_match. For regular expression\n grammar, please see: https://github.com/google/re2/wiki/Syntax'\n x-dcl-conflicts:\n - exactMatch\n - prefixMatch\n - presentMatch\n - suffixMatch\n - rangeMatch\n suffixMatch:\n type: string\n x-dcl-go-name: SuffixMatch\n description: The value of the header must end with the\n contents of suffix_match.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - prefixMatch\n - presentMatch\n - rangeMatch\n ignoreCase:\n type: boolean\n x-dcl-go-name: IgnoreCase\n description: Specifies if prefix_match and full_path_match matches\n are case sensitive. The default value is false.\n prefixMatch:\n type: string\n x-dcl-go-name: PrefixMatch\n description: The HTTP request path value must begin with specified\n prefix_match. prefix_match must begin with a /. Only one of\n full_path_match, prefix_match, or regex_match should be used.\n x-dcl-conflicts:\n - fullPathMatch\n - regexMatch\n queryParameters:\n type: array\n x-dcl-go-name: QueryParameters\n description: Specifies a list of query parameters to match against.\n ALL of the query parameters must be matched.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesMatchesQueryParameters\n properties:\n exactMatch:\n type: string\n x-dcl-go-name: ExactMatch\n description: The value of the query parameter must exactly\n match the contents of exact_match. Only one of exact_match,\n regex_match, or present_match must be set.\n x-dcl-conflicts:\n - regexMatch\n - presentMatch\n presentMatch:\n type: boolean\n x-dcl-go-name: PresentMatch\n description: Specifies that the QueryParameterMatcher\n matches if request contains query parameter, irrespective\n of whether the parameter has a value or not. Only one\n of exact_match, regex_match, or present_match must be\n set.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n queryParameter:\n type: string\n x-dcl-go-name: QueryParameter\n description: The name of the query parameter to match.\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: The value of the query parameter must match\n the regular expression specified by regex_match. For\n regular expression grammar, please see https://github.com/google/re2/wiki/Syntax\n Only one of exact_match, regex_match, or present_match\n must be set.\n x-dcl-conflicts:\n - exactMatch\n - presentMatch\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: The HTTP request path value must satisfy the regular\n expression specified by regex_match after removing any query\n parameters and anchor supplied with the original URL. For\n regular expression grammar, please see https://github.com/google/re2/wiki/Syntax\n Only one of full_path_match, prefix_match, or regex_match\n should be used.\n x-dcl-conflicts:\n - fullPathMatch\n - prefixMatch\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_http_route = []byte("info:\n title: NetworkServices/HttpRoute\n description: The NetworkServices HttpRoute resource\n x-dcl-struct-name: HttpRoute\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a HttpRoute\n parameters:\n - name: HttpRoute\n required: true\n description: A full instance of a HttpRoute\n apply:\n description: The function used to apply information about a HttpRoute\n parameters:\n - name: HttpRoute\n required: true\n description: A full instance of a HttpRoute\n delete:\n description: The function used to delete a HttpRoute\n parameters:\n - name: HttpRoute\n required: true\n description: A full instance of a HttpRoute\n deleteAll:\n description: The function used to delete all HttpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many HttpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n HttpRoute:\n title: HttpRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/httpRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - hostnames\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this HttpRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n hostnames:\n type: array\n x-dcl-go-name: Hostnames\n description: Required. Hostnames define a set of hosts that should match\n against the HTTP host header to select a HttpRoute to process the request.\n Hostname is the fully qualified domain name of a network host, as defined\n by RFC 1123 with the exception that ip addresses are not allowed. Wildcard\n hosts are supported as \"*\" (no prefix or suffix allowed).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the HttpRoute resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this HttpRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n The attached Mesh should be of a type SIDECAR'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the HttpRoute resource. It matches pattern\n `projects/*/locations/global/httpRoutes/http_route_name>`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routers:\n type: array\n x-dcl-go-name: Routers\n description: 'Optional. Routers define a list of routers this HttpRoute\n should be served by. Each router reference should match the pattern: `projects/*/locations/global/routers/`\n The attached Router should be of a type PROXY'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. Rules that define how traffic is routed and handled.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRules\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: HttpRouteRulesAction\n description: The detailed rule defining how to route matched traffic.\n properties:\n corsPolicy:\n type: object\n x-dcl-go-name: CorsPolicy\n x-dcl-go-type: HttpRouteRulesActionCorsPolicy\n description: The specification for allowing client side cross-origin\n requests.\n properties:\n allowCredentials:\n type: boolean\n x-dcl-go-name: AllowCredentials\n description: In response to a preflight request, setting this\n to true indicates that the actual request can include user\n credentials. This translates to the Access-Control-Allow-Credentials\n header. Default value is false.\n allowHeaders:\n type: array\n x-dcl-go-name: AllowHeaders\n description: Specifies the content for Access-Control-Allow-Headers\n header.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n allowMethods:\n type: array\n x-dcl-go-name: AllowMethods\n description: Specifies the content for Access-Control-Allow-Methods\n header.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n allowOriginRegexes:\n type: array\n x-dcl-go-name: AllowOriginRegexes\n description: Specifies the regular expression patterns that\n match allowed origins. For regular expression grammar, please\n see https://github.com/google/re2/wiki/Syntax.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n allowOrigins:\n type: array\n x-dcl-go-name: AllowOrigins\n description: Specifies the list of origins that will be allowed\n to do CORS requests. An origin is allowed if it matches\n either an item in allow_origins or an item in allow_origin_regexes.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: If true, the CORS policy is disabled. The default\n value is false, which indicates that the CORS policy is\n in effect.\n exposeHeaders:\n type: array\n x-dcl-go-name: ExposeHeaders\n description: Specifies the content for Access-Control-Expose-Headers\n header.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n maxAge:\n type: string\n x-dcl-go-name: MaxAge\n description: Specifies how long result of a preflight request\n can be cached in seconds. This translates to the Access-Control-Max-Age\n header.\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: The destination to which traffic should be forwarded.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesActionDestinations\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: The URL of a BackendService to route traffic\n to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Specifies the proportion of requests forwarded\n to the backend referenced by the serviceName field. This\n is computed as: weight/Sum(weights in this destination\n list). For non-zero values, there may be some epsilon\n from the exact proportion defined here depending on the\n precision an implementation supports. If only one serviceName\n is specified and it has a weight greater than 0, 100%\n of the traffic is forwarded to that backend. If weights\n are specified for any one service name, they need to be\n specified for all of them. If weights are unspecified\n for all services, then, traffic is distributed in equal\n proportions to all of them.'\n faultInjectionPolicy:\n type: object\n x-dcl-go-name: FaultInjectionPolicy\n x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicy\n description: The specification for fault injection introduced\n into traffic to test the resiliency of clients to backend service\n failure. As part of fault injection, when clients send requests\n to a backend service, delays can be introduced on a percentage\n of requests before sending those requests to the backend service.\n Similarly requests from clients can be aborted for a percentage\n of requests. timeout and retry_policy will be ignored by clients\n that are configured with a fault_injection_policy\n properties:\n abort:\n type: object\n x-dcl-go-name: Abort\n x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicyAbort\n description: The specification for aborting to client requests.\n properties:\n httpStatus:\n type: integer\n format: int64\n x-dcl-go-name: HttpStatus\n description: The HTTP status code used to abort the request.\n The value must be between 200 and 599 inclusive.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic which will be aborted.\n The value must be between [0, 100]\n delay:\n type: object\n x-dcl-go-name: Delay\n x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicyDelay\n description: The specification for injecting delay to client\n requests.\n properties:\n fixedDelay:\n type: string\n x-dcl-go-name: FixedDelay\n description: Specify a fixed delay before forwarding the\n request.\n percentage:\n type: integer\n format: int64\n x-dcl-go-name: Percentage\n description: The percentage of traffic on which delay\n will be injected. The value must be between [0, 100]\n originalDestination:\n type: boolean\n x-dcl-go-name: OriginalDestination\n description: If true, the matched traffic will use the destination\n ip and port of the original connection (as it was not processed\n by proxy) as the destination of the request. Only one of destinations,\n redirect, original_destination can be set.\n redirect:\n type: object\n x-dcl-go-name: Redirect\n x-dcl-go-type: HttpRouteRulesActionRedirect\n description: If set, the request is directed as configured by\n this field.\n properties:\n hostRedirect:\n type: string\n x-dcl-go-name: HostRedirect\n description: The host that will be used in the redirect response\n instead of the one that was supplied in the request.\n httpsRedirect:\n type: boolean\n x-dcl-go-name: HttpsRedirect\n description: If set to true, the URL scheme in the redirected\n request is set to https. If set to false, the URL scheme\n of the redirected request will remain the same as that of\n the request. The default is set to false.\n pathRedirect:\n type: string\n x-dcl-go-name: PathRedirect\n description: The path that will be used in the redirect response\n instead of the one that was supplied in the request. path_redirect\n can not be supplied together with prefix_redirect. Supply\n one alone or neither. If neither is supplied, the path of\n the original request will be used for the redirect.\n portRedirect:\n type: integer\n format: int64\n x-dcl-go-name: PortRedirect\n description: The port that will be used in the redirected\n request instead of the one that was supplied in the request.\n prefixRewrite:\n type: string\n x-dcl-go-name: PrefixRewrite\n description: Indicates that during redirection, the matched\n prefix (or path) should be swapped with this value. This\n option allows URLs be dynamically created based on the request.\n responseCode:\n type: string\n x-dcl-go-name: ResponseCode\n x-dcl-go-type: HttpRouteRulesActionRedirectResponseCodeEnum\n description: 'The HTTP Status code to use for the redirect.\n Possible values: MOVED_PERMANENTLY_DEFAULT, FOUND, SEE_OTHER,\n TEMPORARY_REDIRECT, PERMANENT_REDIRECT'\n enum:\n - MOVED_PERMANENTLY_DEFAULT\n - FOUND\n - SEE_OTHER\n - TEMPORARY_REDIRECT\n - PERMANENT_REDIRECT\n stripQuery:\n type: boolean\n x-dcl-go-name: StripQuery\n description: if set to true, any accompanying query portion\n of the original URL is removed prior to redirecting the\n request. If set to false, the query portion of the original\n URL is retained. The default is set to false.\n requestHeaderModifier:\n type: object\n x-dcl-go-name: RequestHeaderModifier\n x-dcl-go-type: HttpRouteRulesActionRequestHeaderModifier\n description: The specification for modifying the headers of a\n matching request prior to delivery of the request to the destination.\n properties:\n add:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Add\n description: Add the headers with given map where key is the\n name of the header, value is the value of the header.\n remove:\n type: array\n x-dcl-go-name: Remove\n description: Remove headers (matching by header names) specified\n in the list.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n set:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Set\n description: Completely overwrite/replace the headers with\n given map where key is the name of the header, value is\n the value of the header.\n requestMirrorPolicy:\n type: object\n x-dcl-go-name: RequestMirrorPolicy\n x-dcl-go-type: HttpRouteRulesActionRequestMirrorPolicy\n description: Specifies the policy on how requests intended for\n the routes destination are shadowed to a separate mirrored destination.\n Proxy will not wait for the shadow destination to respond before\n returning the response. Prior to sending traffic to the shadow\n service, the host/authority header is suffixed with -shadow.\n properties:\n destination:\n type: object\n x-dcl-go-name: Destination\n x-dcl-go-type: HttpRouteRulesActionRequestMirrorPolicyDestination\n description: The destination the requests will be mirrored\n to. The weight of the destination will be ignored.\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: The URL of a BackendService to route traffic\n to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Specifies the proportion of requests forwarded\n to the backend referenced by the serviceName field.\n This is computed as: weight/Sum(weights in this destination\n list). For non-zero values, there may be some epsilon\n from the exact proportion defined here depending on\n the precision an implementation supports. If only one\n serviceName is specified and it has a weight greater\n than 0, 100% of the traffic is forwarded to that backend.\n If weights are specified for any one service name, they\n need to be specified for all of them. If weights are\n unspecified for all services, then, traffic is distributed\n in equal proportions to all of them.'\n responseHeaderModifier:\n type: object\n x-dcl-go-name: ResponseHeaderModifier\n x-dcl-go-type: HttpRouteRulesActionResponseHeaderModifier\n description: The specification for modifying the headers of a\n response prior to sending the response back to the client.\n properties:\n add:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Add\n description: Add the headers with given map where key is the\n name of the header, value is the value of the header.\n remove:\n type: array\n x-dcl-go-name: Remove\n description: Remove headers (matching by header names) specified\n in the list.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n set:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Set\n description: Completely overwrite/replace the headers with\n given map where key is the name of the header, value is\n the value of the header.\n retryPolicy:\n type: object\n x-dcl-go-name: RetryPolicy\n x-dcl-go-type: HttpRouteRulesActionRetryPolicy\n description: Specifies the retry policy associated with this route.\n properties:\n numRetries:\n type: integer\n format: int64\n x-dcl-go-name: NumRetries\n description: Specifies the allowed number of retries. This\n number must be > 0. If not specified, default to 1.\n perTryTimeout:\n type: string\n x-dcl-go-name: PerTryTimeout\n description: Specifies a non-zero timeout per retry attempt.\n retryConditions:\n type: array\n x-dcl-go-name: RetryConditions\n description: 'Specifies one or more conditions when this retry\n policy applies. Valid values are: 5xx: Proxy will attempt\n a retry if the destination service responds with any 5xx\n response code, of if the destination service does not respond\n at all, example: disconnect, reset, read timeout, connection\n failure and refused streams. gateway-error: Similar to 5xx,\n but only applies to response codes 502, 503, 504. reset:\n Proxy will attempt a retry if the destination service does\n not respond at all (disconnect/reset/read timeout) connect-failure:\n Proxy will retry on failures connecting to destination for\n example due to connection timeouts. retriable-4xx: Proxy\n will retry fro retriable 4xx response codes. Currently the\n only retriable error supported is 409. refused-stream: Proxy\n will retry if the destination resets the stream with a REFUSED_STREAM\n error code. This reset type indicates that it is safe to\n retry.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Specifies the timeout for selected route. Timeout\n is computed from the time the request has been fully processed\n (i.e. end of stream) up until the response has been completely\n processed. Timeout includes all retries.\n urlRewrite:\n type: object\n x-dcl-go-name: UrlRewrite\n x-dcl-go-type: HttpRouteRulesActionUrlRewrite\n description: The specification for rewrite URL before forwarding\n requests to the destination.\n properties:\n hostRewrite:\n type: string\n x-dcl-go-name: HostRewrite\n description: Prior to forwarding the request to the selected\n destination, the requests host header is replaced by this\n value.\n pathPrefixRewrite:\n type: string\n x-dcl-go-name: PathPrefixRewrite\n description: Prior to forwarding the request to the selected\n destination, the matching portion of the requests path is\n replaced by this value.\n matches:\n type: array\n x-dcl-go-name: Matches\n description: A list of matches define conditions used for matching\n the rule against incoming HTTP requests. Each match is independent,\n i.e. this rule will be matched if ANY one of the matches is satisfied.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesMatches\n properties:\n fullPathMatch:\n type: string\n x-dcl-go-name: FullPathMatch\n description: The HTTP request path value should exactly match\n this value. Only one of full_path_match, prefix_match, or\n regex_match should be used.\n x-dcl-conflicts:\n - prefixMatch\n - regexMatch\n headers:\n type: array\n x-dcl-go-name: Headers\n description: Specifies a list of HTTP request headers to match\n against. ALL of the supplied headers must be matched.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesMatchesHeaders\n properties:\n exactMatch:\n type: string\n x-dcl-go-name: ExactMatch\n description: The value of the header should match exactly\n the content of exact_match.\n x-dcl-conflicts:\n - regexMatch\n - prefixMatch\n - presentMatch\n - suffixMatch\n - rangeMatch\n header:\n type: string\n x-dcl-go-name: Header\n description: The name of the HTTP header to match against.\n invertMatch:\n type: boolean\n x-dcl-go-name: InvertMatch\n description: If specified, the match result will be inverted\n before checking. Default value is set to false.\n prefixMatch:\n type: string\n x-dcl-go-name: PrefixMatch\n description: The value of the header must start with the\n contents of prefix_match.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - presentMatch\n - suffixMatch\n - rangeMatch\n presentMatch:\n type: boolean\n x-dcl-go-name: PresentMatch\n description: A header with header_name must exist. The\n match takes place whether or not the header has a value.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - prefixMatch\n - suffixMatch\n - rangeMatch\n rangeMatch:\n type: object\n x-dcl-go-name: RangeMatch\n x-dcl-go-type: HttpRouteRulesMatchesHeadersRangeMatch\n description: If specified, the rule will match if the\n request header value is within the range.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - prefixMatch\n - presentMatch\n - suffixMatch\n properties:\n end:\n type: integer\n format: int64\n x-dcl-go-name: End\n description: End of the range (exclusive)\n start:\n type: integer\n format: int64\n x-dcl-go-name: Start\n description: Start of the range (inclusive)\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: 'The value of the header must match the regular\n expression specified in regex_match. For regular expression\n grammar, please see: https://github.com/google/re2/wiki/Syntax'\n x-dcl-conflicts:\n - exactMatch\n - prefixMatch\n - presentMatch\n - suffixMatch\n - rangeMatch\n suffixMatch:\n type: string\n x-dcl-go-name: SuffixMatch\n description: The value of the header must end with the\n contents of suffix_match.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n - prefixMatch\n - presentMatch\n - rangeMatch\n ignoreCase:\n type: boolean\n x-dcl-go-name: IgnoreCase\n description: Specifies if prefix_match and full_path_match matches\n are case sensitive. The default value is false.\n prefixMatch:\n type: string\n x-dcl-go-name: PrefixMatch\n description: The HTTP request path value must begin with specified\n prefix_match. prefix_match must begin with a /. Only one of\n full_path_match, prefix_match, or regex_match should be used.\n x-dcl-conflicts:\n - fullPathMatch\n - regexMatch\n queryParameters:\n type: array\n x-dcl-go-name: QueryParameters\n description: Specifies a list of query parameters to match against.\n ALL of the query parameters must be matched.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HttpRouteRulesMatchesQueryParameters\n properties:\n exactMatch:\n type: string\n x-dcl-go-name: ExactMatch\n description: The value of the query parameter must exactly\n match the contents of exact_match. Only one of exact_match,\n regex_match, or present_match must be set.\n x-dcl-conflicts:\n - regexMatch\n - presentMatch\n presentMatch:\n type: boolean\n x-dcl-go-name: PresentMatch\n description: Specifies that the QueryParameterMatcher\n matches if request contains query parameter, irrespective\n of whether the parameter has a value or not. Only one\n of exact_match, regex_match, or present_match must be\n set.\n x-dcl-conflicts:\n - exactMatch\n - regexMatch\n queryParameter:\n type: string\n x-dcl-go-name: QueryParameter\n description: The name of the query parameter to match.\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: The value of the query parameter must match\n the regular expression specified by regex_match. For\n regular expression grammar, please see https://github.com/google/re2/wiki/Syntax\n Only one of exact_match, regex_match, or present_match\n must be set.\n x-dcl-conflicts:\n - exactMatch\n - presentMatch\n regexMatch:\n type: string\n x-dcl-go-name: RegexMatch\n description: The HTTP request path value must satisfy the regular\n expression specified by regex_match after removing any query\n parameters and anchor supplied with the original URL. For\n regular expression grammar, please see https://github.com/google/re2/wiki/Syntax\n Only one of full_path_match, prefix_match, or regex_match\n should be used.\n x-dcl-conflicts:\n - fullPathMatch\n - prefixMatch\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 39238 bytes -// MD5: 9f4e139deddeabc6f66b83479ae31487 +// 39263 bytes +// MD5: 28c3850dd95b9a504c8f41ee2739561d diff --git a/services/google/networkservices/beta/http_route_schema.go b/services/google/networkservices/beta/http_route_schema.go index d4861d34a2..ebb3748ac6 100755 --- a/services/google/networkservices/beta/http_route_schema.go +++ b/services/google/networkservices/beta/http_route_schema.go @@ -23,6 +23,7 @@ func DCLHttpRouteSchema() *dcl.Schema { Title: "NetworkServices/HttpRoute", Description: "The NetworkServices HttpRoute resource", StructName: "HttpRoute", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/beta/mesh.yaml b/services/google/networkservices/beta/mesh.yaml index 1a61c53308..7073ec7071 100755 --- a/services/google/networkservices/beta/mesh.yaml +++ b/services/google/networkservices/beta/mesh.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/Mesh description: The NetworkServices Mesh resource x-dcl-struct-name: Mesh + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/beta/mesh_beta_yaml_embed.go b/services/google/networkservices/beta/mesh_beta_yaml_embed.go index daeee72a30..6cbf61f86d 100755 --- a/services/google/networkservices/beta/mesh_beta_yaml_embed.go +++ b/services/google/networkservices/beta/mesh_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/mesh.yaml -var YAML_mesh = []byte("info:\n title: NetworkServices/Mesh\n description: The NetworkServices Mesh resource\n x-dcl-struct-name: Mesh\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Mesh\n parameters:\n - name: Mesh\n required: true\n description: A full instance of a Mesh\n apply:\n description: The function used to apply information about a Mesh\n parameters:\n - name: Mesh\n required: true\n description: A full instance of a Mesh\n delete:\n description: The function used to delete a Mesh\n parameters:\n - name: Mesh\n required: true\n description: A full instance of a Mesh\n deleteAll:\n description: The function used to delete all Mesh\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Mesh\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Mesh:\n title: Mesh\n x-dcl-id: projects/{{project}}/locations/{{location}}/meshes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n interceptionPort:\n type: integer\n format: int64\n x-dcl-go-name: InterceptionPort\n description: Optional. If set to a valid TCP port (1-65535), instructs the\n SIDECAR proxy to listen on the specified port of localhost (127.0.0.1)\n address. The SIDECAR proxy will expect all traffic to be redirected to\n this port regardless of its actual ip:port destination. If unset, a port\n '15001' is used as the interception port. This field is only valid if\n the type of Mesh is SIDECAR.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the Mesh resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the Mesh resource. It matches pattern `projects/*/locations/global/meshes/`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_mesh = []byte("info:\n title: NetworkServices/Mesh\n description: The NetworkServices Mesh resource\n x-dcl-struct-name: Mesh\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Mesh\n parameters:\n - name: Mesh\n required: true\n description: A full instance of a Mesh\n apply:\n description: The function used to apply information about a Mesh\n parameters:\n - name: Mesh\n required: true\n description: A full instance of a Mesh\n delete:\n description: The function used to delete a Mesh\n parameters:\n - name: Mesh\n required: true\n description: A full instance of a Mesh\n deleteAll:\n description: The function used to delete all Mesh\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Mesh\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Mesh:\n title: Mesh\n x-dcl-id: projects/{{project}}/locations/{{location}}/meshes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n interceptionPort:\n type: integer\n format: int64\n x-dcl-go-name: InterceptionPort\n description: Optional. If set to a valid TCP port (1-65535), instructs the\n SIDECAR proxy to listen on the specified port of localhost (127.0.0.1)\n address. The SIDECAR proxy will expect all traffic to be redirected to\n this port regardless of its actual ip:port destination. If unset, a port\n '15001' is used as the interception port. This field is only valid if\n the type of Mesh is SIDECAR.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the Mesh resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the Mesh resource. It matches pattern `projects/*/locations/global/meshes/`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 3770 bytes -// MD5: e503bd9b3436d0cb4a28a06ecfd8837e +// 3795 bytes +// MD5: 0396761d29896b568ee138d078aafa33 diff --git a/services/google/networkservices/beta/mesh_schema.go b/services/google/networkservices/beta/mesh_schema.go index 9174a78137..5c46f50df4 100755 --- a/services/google/networkservices/beta/mesh_schema.go +++ b/services/google/networkservices/beta/mesh_schema.go @@ -23,6 +23,7 @@ func DCLMeshSchema() *dcl.Schema { Title: "NetworkServices/Mesh", Description: "The NetworkServices Mesh resource", StructName: "Mesh", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/beta/service_binding.yaml b/services/google/networkservices/beta/service_binding.yaml index cf47877886..20ac45b7ee 100755 --- a/services/google/networkservices/beta/service_binding.yaml +++ b/services/google/networkservices/beta/service_binding.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/ServiceBinding description: The NetworkServices ServiceBinding resource x-dcl-struct-name: ServiceBinding + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/beta/service_binding_beta_yaml_embed.go b/services/google/networkservices/beta/service_binding_beta_yaml_embed.go index 629516992c..8a92d0e5d8 100755 --- a/services/google/networkservices/beta/service_binding_beta_yaml_embed.go +++ b/services/google/networkservices/beta/service_binding_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/service_binding.yaml -var YAML_service_binding = []byte("info:\n title: NetworkServices/ServiceBinding\n description: The NetworkServices ServiceBinding resource\n x-dcl-struct-name: ServiceBinding\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ServiceBinding\n parameters:\n - name: ServiceBinding\n required: true\n description: A full instance of a ServiceBinding\n apply:\n description: The function used to apply information about a ServiceBinding\n parameters:\n - name: ServiceBinding\n required: true\n description: A full instance of a ServiceBinding\n delete:\n description: The function used to delete a ServiceBinding\n parameters:\n - name: ServiceBinding\n required: true\n description: A full instance of a ServiceBinding\n deleteAll:\n description: The function used to delete all ServiceBinding\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceBinding\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceBinding:\n title: ServiceBinding\n x-dcl-id: projects/{{project}}/locations/{{location}}/serviceBindings/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - service\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the ServiceBinding\n resource.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ServiceBinding resource. It matches pattern\n `projects/*/locations/global/serviceBindings/service_binding_name>`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. The full service directory service name of the format\n /projects/*/locations/*/namespaces/*/services/*\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_service_binding = []byte("info:\n title: NetworkServices/ServiceBinding\n description: The NetworkServices ServiceBinding resource\n x-dcl-struct-name: ServiceBinding\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ServiceBinding\n parameters:\n - name: ServiceBinding\n required: true\n description: A full instance of a ServiceBinding\n apply:\n description: The function used to apply information about a ServiceBinding\n parameters:\n - name: ServiceBinding\n required: true\n description: A full instance of a ServiceBinding\n delete:\n description: The function used to delete a ServiceBinding\n parameters:\n - name: ServiceBinding\n required: true\n description: A full instance of a ServiceBinding\n deleteAll:\n description: The function used to delete all ServiceBinding\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ServiceBinding\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ServiceBinding:\n title: ServiceBinding\n x-dcl-id: projects/{{project}}/locations/{{location}}/serviceBindings/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - service\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the ServiceBinding\n resource.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the ServiceBinding resource. It matches pattern\n `projects/*/locations/global/serviceBindings/service_binding_name>`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n service:\n type: string\n x-dcl-go-name: Service\n description: Required. The full service directory service name of the format\n /projects/*/locations/*/namespaces/*/services/*\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 3619 bytes -// MD5: e84514468f79b3bdb71bf06bd6dd413d +// 3644 bytes +// MD5: ee308c86b1a2a4b935418bc6d3cafc56 diff --git a/services/google/networkservices/beta/service_binding_schema.go b/services/google/networkservices/beta/service_binding_schema.go index 3be69e0c36..d3bef996f7 100755 --- a/services/google/networkservices/beta/service_binding_schema.go +++ b/services/google/networkservices/beta/service_binding_schema.go @@ -23,6 +23,7 @@ func DCLServiceBindingSchema() *dcl.Schema { Title: "NetworkServices/ServiceBinding", Description: "The NetworkServices ServiceBinding resource", StructName: "ServiceBinding", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/beta/tcp_route.yaml b/services/google/networkservices/beta/tcp_route.yaml index 04e21ac086..3a3a13bca9 100755 --- a/services/google/networkservices/beta/tcp_route.yaml +++ b/services/google/networkservices/beta/tcp_route.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/TcpRoute description: The NetworkServices TcpRoute resource x-dcl-struct-name: TcpRoute + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/beta/tcp_route_beta_yaml_embed.go b/services/google/networkservices/beta/tcp_route_beta_yaml_embed.go index 6ab67ccce0..217300a538 100755 --- a/services/google/networkservices/beta/tcp_route_beta_yaml_embed.go +++ b/services/google/networkservices/beta/tcp_route_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/tcp_route.yaml -var YAML_tcp_route = []byte("info:\n title: NetworkServices/TcpRoute\n description: The NetworkServices TcpRoute resource\n x-dcl-struct-name: TcpRoute\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TcpRoute\n parameters:\n - name: TcpRoute\n required: true\n description: A full instance of a TcpRoute\n apply:\n description: The function used to apply information about a TcpRoute\n parameters:\n - name: TcpRoute\n required: true\n description: A full instance of a TcpRoute\n delete:\n description: The function used to delete a TcpRoute\n parameters:\n - name: TcpRoute\n required: true\n description: A full instance of a TcpRoute\n deleteAll:\n description: The function used to delete all TcpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TcpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TcpRoute:\n title: TcpRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/tcpRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this TcpRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the TcpRoute resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this TcpRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n The attached Mesh should be of a type SIDECAR'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the TcpRoute resource. It matches pattern\n `projects/*/locations/global/tcpRoutes/tcp_route_name>`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routers:\n type: array\n x-dcl-go-name: Routers\n description: 'Optional. Routers define a list of routers this TcpRoute should\n be served by. Each router reference should match the pattern: `projects/*/locations/global/routers/`\n The attached Router should be of a type PROXY'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. Rules that define how traffic is routed and handled.\n At least one RouteRule must be supplied. If there are multiple rules then\n the action taken will be the first rule to match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TcpRouteRules\n required:\n - action\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: TcpRouteRulesAction\n description: Required. The detailed rule defining how to route matched\n traffic.\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Optional. The destination services to which traffic\n should be forwarded. At least one destination service is required.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TcpRouteRulesActionDestinations\n required:\n - serviceName\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: Required. The URL of a BackendService to route\n traffic to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Specifies the proportion of requests\n forwarded to the backend referenced by the serviceName\n field. This is computed as: weight/Sum(weights in this\n destination list). For non-zero values, there may be some\n epsilon from the exact proportion defined here depending\n on the precision an implementation supports. If only one\n serviceName is specified and it has a weight greater than\n 0, 100% of the traffic is forwarded to that backend. If\n weights are specified for any one service name, they need\n to be specified for all of them. If weights are unspecified\n for all services, then, traffic is distributed in equal\n proportions to all of them.'\n originalDestination:\n type: boolean\n x-dcl-go-name: OriginalDestination\n description: Optional. If true, Router will use the destination\n IP and port of the original connection as the destination of\n the request. Default is false.\n matches:\n type: array\n x-dcl-go-name: Matches\n description: Optional. RouteMatch defines the predicate used to match\n requests to a given action. Multiple match types are “OR”ed for\n evaluation. If no routeMatch field is specified, this rule will\n unconditionally match traffic.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TcpRouteRulesMatches\n required:\n - address\n - port\n properties:\n address:\n type: string\n x-dcl-go-name: Address\n description: 'Required. Must be specified in the CIDR range\n format. A CIDR range consists of an IP Address and a prefix\n length to construct the subnet mask. By default, the prefix\n length is 32 (i.e. matches a single IP address). Only IPV4\n addresses are supported. Examples: “10.0.0.1” - matches against\n this exact IP address. “10.0.0.0/8\" - matches against any\n IP address within the 10.0.0.0 subnet and 255.255.255.0 mask.\n \"0.0.0.0/0\" - matches against any IP address''.'\n port:\n type: string\n x-dcl-go-name: Port\n description: Required. Specifies the destination port to match\n against.\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_tcp_route = []byte("info:\n title: NetworkServices/TcpRoute\n description: The NetworkServices TcpRoute resource\n x-dcl-struct-name: TcpRoute\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TcpRoute\n parameters:\n - name: TcpRoute\n required: true\n description: A full instance of a TcpRoute\n apply:\n description: The function used to apply information about a TcpRoute\n parameters:\n - name: TcpRoute\n required: true\n description: A full instance of a TcpRoute\n delete:\n description: The function used to delete a TcpRoute\n parameters:\n - name: TcpRoute\n required: true\n description: A full instance of a TcpRoute\n deleteAll:\n description: The function used to delete all TcpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TcpRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TcpRoute:\n title: TcpRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/tcpRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this TcpRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Set of label tags associated with the TcpRoute resource.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this TcpRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n The attached Mesh should be of a type SIDECAR'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the TcpRoute resource. It matches pattern\n `projects/*/locations/global/tcpRoutes/tcp_route_name>`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n routers:\n type: array\n x-dcl-go-name: Routers\n description: 'Optional. Routers define a list of routers this TcpRoute should\n be served by. Each router reference should match the pattern: `projects/*/locations/global/routers/`\n The attached Router should be of a type PROXY'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. Rules that define how traffic is routed and handled.\n At least one RouteRule must be supplied. If there are multiple rules then\n the action taken will be the first rule to match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TcpRouteRules\n required:\n - action\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: TcpRouteRulesAction\n description: Required. The detailed rule defining how to route matched\n traffic.\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Optional. The destination services to which traffic\n should be forwarded. At least one destination service is required.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TcpRouteRulesActionDestinations\n required:\n - serviceName\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: Required. The URL of a BackendService to route\n traffic to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Specifies the proportion of requests\n forwarded to the backend referenced by the serviceName\n field. This is computed as: weight/Sum(weights in this\n destination list). For non-zero values, there may be some\n epsilon from the exact proportion defined here depending\n on the precision an implementation supports. If only one\n serviceName is specified and it has a weight greater than\n 0, 100% of the traffic is forwarded to that backend. If\n weights are specified for any one service name, they need\n to be specified for all of them. If weights are unspecified\n for all services, then, traffic is distributed in equal\n proportions to all of them.'\n originalDestination:\n type: boolean\n x-dcl-go-name: OriginalDestination\n description: Optional. If true, Router will use the destination\n IP and port of the original connection as the destination of\n the request. Default is false.\n matches:\n type: array\n x-dcl-go-name: Matches\n description: Optional. RouteMatch defines the predicate used to match\n requests to a given action. Multiple match types are “OR”ed for\n evaluation. If no routeMatch field is specified, this rule will\n unconditionally match traffic.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TcpRouteRulesMatches\n required:\n - address\n - port\n properties:\n address:\n type: string\n x-dcl-go-name: Address\n description: 'Required. Must be specified in the CIDR range\n format. A CIDR range consists of an IP Address and a prefix\n length to construct the subnet mask. By default, the prefix\n length is 32 (i.e. matches a single IP address). Only IPV4\n addresses are supported. Examples: “10.0.0.1” - matches against\n this exact IP address. “10.0.0.0/8\" - matches against any\n IP address within the 10.0.0.0 subnet and 255.255.255.0 mask.\n \"0.0.0.0/0\" - matches against any IP address''.'\n port:\n type: string\n x-dcl-go-name: Port\n description: Required. Specifies the destination port to match\n against.\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 10137 bytes -// MD5: f1e9ad715ea5a842ccd04e7038eed7b7 +// 10162 bytes +// MD5: 63e5402720b43091ec11a71b20e313bf diff --git a/services/google/networkservices/beta/tcp_route_schema.go b/services/google/networkservices/beta/tcp_route_schema.go index 28e2f28d84..c482ef7d6e 100755 --- a/services/google/networkservices/beta/tcp_route_schema.go +++ b/services/google/networkservices/beta/tcp_route_schema.go @@ -23,6 +23,7 @@ func DCLTcpRouteSchema() *dcl.Schema { Title: "NetworkServices/TcpRoute", Description: "The NetworkServices TcpRoute resource", StructName: "TcpRoute", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/networkservices/beta/tls_route.yaml b/services/google/networkservices/beta/tls_route.yaml index 0a50640bf6..b1b5fc08f6 100755 --- a/services/google/networkservices/beta/tls_route.yaml +++ b/services/google/networkservices/beta/tls_route.yaml @@ -15,6 +15,7 @@ info: title: NetworkServices/TlsRoute description: The NetworkServices TlsRoute resource x-dcl-struct-name: TlsRoute + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/networkservices/beta/tls_route_beta_yaml_embed.go b/services/google/networkservices/beta/tls_route_beta_yaml_embed.go index 71c9d6557f..3d4ff0ea7e 100755 --- a/services/google/networkservices/beta/tls_route_beta_yaml_embed.go +++ b/services/google/networkservices/beta/tls_route_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/tls_route.yaml -var YAML_tls_route = []byte("info:\n title: NetworkServices/TlsRoute\n description: The NetworkServices TlsRoute resource\n x-dcl-struct-name: TlsRoute\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TlsRoute\n parameters:\n - name: TlsRoute\n required: true\n description: A full instance of a TlsRoute\n apply:\n description: The function used to apply information about a TlsRoute\n parameters:\n - name: TlsRoute\n required: true\n description: A full instance of a TlsRoute\n delete:\n description: The function used to delete a TlsRoute\n parameters:\n - name: TlsRoute\n required: true\n description: A full instance of a TlsRoute\n deleteAll:\n description: The function used to delete all TlsRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TlsRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TlsRoute:\n title: TlsRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/tlsRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this TlsRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this TlsRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n The attached Mesh should be of a type SIDECAR'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the TlsRoute resource. It matches pattern\n `projects/*/locations/global/tlsRoutes/tls_route_name>`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. Rules that define how traffic is routed and handled.\n At least one RouteRule must be supplied. If there are multiple rules then\n the action taken will be the first rule to match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TlsRouteRules\n required:\n - matches\n - action\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: TlsRouteRulesAction\n description: Required. The detailed rule defining how to route matched\n traffic.\n required:\n - destinations\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Required. The destination services to which traffic\n should be forwarded. At least one destination service is required.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TlsRouteRulesActionDestinations\n required:\n - serviceName\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: Required. The URL of a BackendService to route\n traffic to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Specifies the proportion of requests\n forwareded to the backend referenced by the service_name\n field. This is computed as: weight/Sum(weights in destinations)\n Weights in all destinations does not need to sum up to\n 100.'\n matches:\n type: array\n x-dcl-go-name: Matches\n description: Required. RouteMatch defines the predicate used to match\n requests to a given action. Multiple match types are \"OR\"ed for\n evaluation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TlsRouteRulesMatches\n properties:\n alpn:\n type: array\n x-dcl-go-name: Alpn\n description: 'Optional. ALPN (Application-Layer Protocol Negotiation)\n to match against. Examples: \"http/1.1\", \"h2\". At least one\n of sni_host and alpn is required. Up to 5 alpns across all\n matches can be set.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sniHost:\n type: array\n x-dcl-go-name: SniHost\n description: Optional. SNI (server name indicator) to match\n against. SNI will be matched against all wildcard domains,\n i.e. www.example.com will be first matched against www.example.com,\n then *.example.com, then *.com. Partial wildcards are not\n supported, and values like *w.example.com are invalid. At\n least one of sni_host and alpn is required. Up to 5 sni hosts\n across all matches can be set.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") +var YAML_tls_route = []byte("info:\n title: NetworkServices/TlsRoute\n description: The NetworkServices TlsRoute resource\n x-dcl-struct-name: TlsRoute\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TlsRoute\n parameters:\n - name: TlsRoute\n required: true\n description: A full instance of a TlsRoute\n apply:\n description: The function used to apply information about a TlsRoute\n parameters:\n - name: TlsRoute\n required: true\n description: A full instance of a TlsRoute\n delete:\n description: The function used to delete a TlsRoute\n parameters:\n - name: TlsRoute\n required: true\n description: A full instance of a TlsRoute\n deleteAll:\n description: The function used to delete all TlsRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TlsRoute\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TlsRoute:\n title: TlsRoute\n x-dcl-id: projects/{{project}}/locations/{{location}}/tlsRoutes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - rules\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The timestamp when the resource was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A free-text description of the resource. Max length\n 1024 characters.\n gateways:\n type: array\n x-dcl-go-name: Gateways\n description: 'Optional. Gateways defines a list of gateways this TlsRoute\n is attached to, as one of the routing rules to route the requests served\n by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Gateway\n field: selfLink\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n meshes:\n type: array\n x-dcl-go-name: Meshes\n description: 'Optional. Meshes defines a list of meshes this TlsRoute is\n attached to, as one of the routing rules to route the requests served\n by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n The attached Mesh should be of a type SIDECAR'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Networkservices/Mesh\n field: selfLink\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the TlsRoute resource. It matches pattern\n `projects/*/locations/global/tlsRoutes/tls_route_name>`.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n rules:\n type: array\n x-dcl-go-name: Rules\n description: Required. Rules that define how traffic is routed and handled.\n At least one RouteRule must be supplied. If there are multiple rules then\n the action taken will be the first rule to match.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TlsRouteRules\n required:\n - matches\n - action\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: TlsRouteRulesAction\n description: Required. The detailed rule defining how to route matched\n traffic.\n required:\n - destinations\n properties:\n destinations:\n type: array\n x-dcl-go-name: Destinations\n description: Required. The destination services to which traffic\n should be forwarded. At least one destination service is required.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TlsRouteRulesActionDestinations\n required:\n - serviceName\n properties:\n serviceName:\n type: string\n x-dcl-go-name: ServiceName\n description: Required. The URL of a BackendService to route\n traffic to.\n x-dcl-references:\n - resource: Compute/BackendService\n field: name\n format: projects/{{project}}/locations/global/backendServices/{{name}}\n weight:\n type: integer\n format: int64\n x-dcl-go-name: Weight\n description: 'Optional. Specifies the proportion of requests\n forwareded to the backend referenced by the service_name\n field. This is computed as: weight/Sum(weights in destinations)\n Weights in all destinations does not need to sum up to\n 100.'\n matches:\n type: array\n x-dcl-go-name: Matches\n description: Required. RouteMatch defines the predicate used to match\n requests to a given action. Multiple match types are \"OR\"ed for\n evaluation.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: TlsRouteRulesMatches\n properties:\n alpn:\n type: array\n x-dcl-go-name: Alpn\n description: 'Optional. ALPN (Application-Layer Protocol Negotiation)\n to match against. Examples: \"http/1.1\", \"h2\". At least one\n of sni_host and alpn is required. Up to 5 alpns across all\n matches can be set.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n sniHost:\n type: array\n x-dcl-go-name: SniHost\n description: Optional. SNI (server name indicator) to match\n against. SNI will be matched against all wildcard domains,\n i.e. www.example.com will be first matched against www.example.com,\n then *.example.com, then *.com. Partial wildcards are not\n supported, and values like *w.example.com are invalid. At\n least one of sni_host and alpn is required. Up to 5 sni hosts\n across all matches can be set.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n selfLink:\n type: string\n x-dcl-go-name: SelfLink\n readOnly: true\n description: Output only. Server-defined URL of this resource\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The timestamp when the resource was updated.\n x-kubernetes-immutable: true\n") -// 8857 bytes -// MD5: 96b0f6c32f0bf2b202dc163c10fb6e39 +// 8882 bytes +// MD5: afafa1a921a80a11ef3e7c876bf3bb28 diff --git a/services/google/networkservices/beta/tls_route_schema.go b/services/google/networkservices/beta/tls_route_schema.go index 587e8c0518..85300d5c01 100755 --- a/services/google/networkservices/beta/tls_route_schema.go +++ b/services/google/networkservices/beta/tls_route_schema.go @@ -23,6 +23,7 @@ func DCLTlsRouteSchema() *dcl.Schema { Title: "NetworkServices/TlsRoute", Description: "The NetworkServices TlsRoute resource", StructName: "TlsRoute", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/orgpolicy/alpha/policy.yaml b/services/google/orgpolicy/alpha/policy.yaml index d7e05026cb..0f5ad24605 100755 --- a/services/google/orgpolicy/alpha/policy.yaml +++ b/services/google/orgpolicy/alpha/policy.yaml @@ -17,6 +17,7 @@ info: cloud resources. Using Organization Policies, you will be able to configure constraints across your entire resource hierarchy. x-dcl-struct-name: Policy + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/orgpolicy/alpha/policy_alpha_yaml_embed.go b/services/google/orgpolicy/alpha/policy_alpha_yaml_embed.go index bb4f177b75..cf04bd994b 100755 --- a/services/google/orgpolicy/alpha/policy_alpha_yaml_embed.go +++ b/services/google/orgpolicy/alpha/policy_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/orgpolicy/alpha/policy.yaml -var YAML_policy = []byte("info:\n title: OrgPolicy/Policy\n description: An organization policy gives you programmatic control over your organization's\n cloud resources. Using Organization Policies, you will be able to configure constraints\n across your entire resource hierarchy.\n x-dcl-struct-name: Policy\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.policies\n x-dcl-guides:\n - text: Understanding Org Policy concepts\n url: https://cloud.google.com/resource-manager/docs/organization-policy/overview\n - text: The resource hierarchy\n url: https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy\n - text: All valid constraints\n url: https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints\npaths:\n get:\n description: The function used to get information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n apply:\n description: The function used to apply information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n delete:\n description: The function used to delete a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n deleteAll:\n description: The function used to delete all Policy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Policy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Policy:\n title: Policy\n x-dcl-id: '{{parent}}/policies/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - parent\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the Policy. Must be one of\n the following forms, where constraint_name is the name of the constraint\n which this Policy configures: * `projects/{project_number}/policies/{constraint_name}`\n * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`\n For example, \"projects/123/policies/compute.disableSerialPortAccess\".\n Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable\n name for API requests, but responses will return the name using the equivalent\n project number.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n spec:\n type: object\n x-dcl-go-name: Spec\n x-dcl-go-type: PolicySpec\n description: Basic information about the Organization Policy.\n properties:\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: An opaque tag indicating the current version of the `Policy`,\n used for concurrency control. This field is ignored if used in a `CreatePolicy`\n request. When the `Policy` is returned from either a `GetPolicy` or\n a `ListPolicies` request, this `etag` indicates the version of the\n current `Policy` to use when executing a read-modify-write loop. When\n the `Policy` is returned from a `GetEffectivePolicy` request, the\n `etag` will be unset.\n inheritFromParent:\n type: boolean\n x-dcl-go-name: InheritFromParent\n description: Determines the inheritance behavior for this `Policy`.\n If `inherit_from_parent` is true, PolicyRules set higher up in the\n hierarchy (up to the closest root) are inherited and present in the\n effective policy. If it is false, then no rules are inherited, and\n this Policy becomes the new root for evaluation. This field can be\n set only for Policies which configure list constraints.\n reset:\n type: boolean\n x-dcl-go-name: Reset\n description: Ignores policies set above this resource and restores the\n `constraint_default` enforcement behavior of the specific `Constraint`\n at this resource. This field can be set in policies for either list\n or boolean constraints. If set, `rules` must be empty and `inherit_from_parent`\n must be set to false.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: 'Up to 10 PolicyRules are allowed. In Policies for boolean\n constraints, the following requirements apply: - There must be one\n and only one PolicyRule where condition is unset. - BooleanPolicyRules\n with conditions must set `enforced` to the opposite of the PolicyRule\n without a condition. - During policy evaluation, PolicyRules with\n conditions that are true for a target resource take precedence.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PolicySpecRules\n properties:\n allowAll:\n type: boolean\n x-dcl-go-name: AllowAll\n description: Setting this to true means that all values are allowed.\n This field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - values\n - denyAll\n - enforce\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: PolicySpecRulesCondition\n description: 'A condition which determines whether this rule is\n used in the evaluation of the policy. When set, the `expression`\n field in the `Expr'' must include from 1 to 10 subexpressions,\n joined by the \"||\" or \"&&\" operators. Each subexpression must\n be of the form \"resource.matchTag(''/tag_key_short_name, ''tag_value_short_name'')\".\n or \"resource.matchTagId(''tagKeys/key_id'', ''tagValues/value_id'')\".\n where key_name and value_name are the resource names for Label\n Keys and Values. These names are available from the Tag Manager\n Service. An example expression is: \"resource.matchTag(''123456789/environment,\n ''prod'')\". or \"resource.matchTagId(''tagKeys/123'', ''tagValues/456'')\".'\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This\n is a longer text which describes the expression, e.g. when\n hovered over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common\n Expression Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the\n expression for error reporting, e.g. a file name and a position\n in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short\n string describing its purpose. This can be used e.g. in\n UIs which allow to enter the expression.\n denyAll:\n type: boolean\n x-dcl-go-name: DenyAll\n description: Setting this to true means that all values are denied.\n This field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - values\n - allowAll\n - enforce\n enforce:\n type: boolean\n x-dcl-go-name: Enforce\n description: If `true`, then the `Policy` is enforced. If `false`,\n then any configuration is acceptable. This field can be set\n only in Policies for boolean constraints.\n x-dcl-conflicts:\n - values\n - allowAll\n - denyAll\n values:\n type: object\n x-dcl-go-name: Values\n x-dcl-go-type: PolicySpecRulesValues\n description: List of values to be used for this PolicyRule. This\n field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - allowAll\n - denyAll\n - enforce\n properties:\n allowedValues:\n type: array\n x-dcl-go-name: AllowedValues\n description: List of values allowed at this resource.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n deniedValues:\n type: array\n x-dcl-go-name: DeniedValues\n description: List of values denied at this resource.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time stamp this was previously updated.\n This represents the last time a call to `CreatePolicy` or `UpdatePolicy`\n was made for that `Policy`.\n") +var YAML_policy = []byte("info:\n title: OrgPolicy/Policy\n description: An organization policy gives you programmatic control over your organization's\n cloud resources. Using Organization Policies, you will be able to configure constraints\n across your entire resource hierarchy.\n x-dcl-struct-name: Policy\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.policies\n x-dcl-guides:\n - text: Understanding Org Policy concepts\n url: https://cloud.google.com/resource-manager/docs/organization-policy/overview\n - text: The resource hierarchy\n url: https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy\n - text: All valid constraints\n url: https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints\npaths:\n get:\n description: The function used to get information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n apply:\n description: The function used to apply information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n delete:\n description: The function used to delete a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n deleteAll:\n description: The function used to delete all Policy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Policy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Policy:\n title: Policy\n x-dcl-id: '{{parent}}/policies/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - parent\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the Policy. Must be one of\n the following forms, where constraint_name is the name of the constraint\n which this Policy configures: * `projects/{project_number}/policies/{constraint_name}`\n * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`\n For example, \"projects/123/policies/compute.disableSerialPortAccess\".\n Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable\n name for API requests, but responses will return the name using the equivalent\n project number.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n spec:\n type: object\n x-dcl-go-name: Spec\n x-dcl-go-type: PolicySpec\n description: Basic information about the Organization Policy.\n properties:\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: An opaque tag indicating the current version of the `Policy`,\n used for concurrency control. This field is ignored if used in a `CreatePolicy`\n request. When the `Policy` is returned from either a `GetPolicy` or\n a `ListPolicies` request, this `etag` indicates the version of the\n current `Policy` to use when executing a read-modify-write loop. When\n the `Policy` is returned from a `GetEffectivePolicy` request, the\n `etag` will be unset.\n inheritFromParent:\n type: boolean\n x-dcl-go-name: InheritFromParent\n description: Determines the inheritance behavior for this `Policy`.\n If `inherit_from_parent` is true, PolicyRules set higher up in the\n hierarchy (up to the closest root) are inherited and present in the\n effective policy. If it is false, then no rules are inherited, and\n this Policy becomes the new root for evaluation. This field can be\n set only for Policies which configure list constraints.\n reset:\n type: boolean\n x-dcl-go-name: Reset\n description: Ignores policies set above this resource and restores the\n `constraint_default` enforcement behavior of the specific `Constraint`\n at this resource. This field can be set in policies for either list\n or boolean constraints. If set, `rules` must be empty and `inherit_from_parent`\n must be set to false.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: 'Up to 10 PolicyRules are allowed. In Policies for boolean\n constraints, the following requirements apply: - There must be one\n and only one PolicyRule where condition is unset. - BooleanPolicyRules\n with conditions must set `enforced` to the opposite of the PolicyRule\n without a condition. - During policy evaluation, PolicyRules with\n conditions that are true for a target resource take precedence.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PolicySpecRules\n properties:\n allowAll:\n type: boolean\n x-dcl-go-name: AllowAll\n description: Setting this to true means that all values are allowed.\n This field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - values\n - denyAll\n - enforce\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: PolicySpecRulesCondition\n description: 'A condition which determines whether this rule is\n used in the evaluation of the policy. When set, the `expression`\n field in the `Expr'' must include from 1 to 10 subexpressions,\n joined by the \"||\" or \"&&\" operators. Each subexpression must\n be of the form \"resource.matchTag(''/tag_key_short_name, ''tag_value_short_name'')\".\n or \"resource.matchTagId(''tagKeys/key_id'', ''tagValues/value_id'')\".\n where key_name and value_name are the resource names for Label\n Keys and Values. These names are available from the Tag Manager\n Service. An example expression is: \"resource.matchTag(''123456789/environment,\n ''prod'')\". or \"resource.matchTagId(''tagKeys/123'', ''tagValues/456'')\".'\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This\n is a longer text which describes the expression, e.g. when\n hovered over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common\n Expression Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the\n expression for error reporting, e.g. a file name and a position\n in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short\n string describing its purpose. This can be used e.g. in\n UIs which allow to enter the expression.\n denyAll:\n type: boolean\n x-dcl-go-name: DenyAll\n description: Setting this to true means that all values are denied.\n This field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - values\n - allowAll\n - enforce\n enforce:\n type: boolean\n x-dcl-go-name: Enforce\n description: If `true`, then the `Policy` is enforced. If `false`,\n then any configuration is acceptable. This field can be set\n only in Policies for boolean constraints.\n x-dcl-conflicts:\n - values\n - allowAll\n - denyAll\n values:\n type: object\n x-dcl-go-name: Values\n x-dcl-go-type: PolicySpecRulesValues\n description: List of values to be used for this PolicyRule. This\n field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - allowAll\n - denyAll\n - enforce\n properties:\n allowedValues:\n type: array\n x-dcl-go-name: AllowedValues\n description: List of values allowed at this resource.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n deniedValues:\n type: array\n x-dcl-go-name: DeniedValues\n description: List of values denied at this resource.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time stamp this was previously updated.\n This represents the last time a call to `CreatePolicy` or `UpdatePolicy`\n was made for that `Policy`.\n") -// 11304 bytes -// MD5: 87b7e11f0c266d7e8ee4b34a163ae9e6 +// 11329 bytes +// MD5: b83de5cb502065cf1aab427568c3af91 diff --git a/services/google/orgpolicy/alpha/policy_schema.go b/services/google/orgpolicy/alpha/policy_schema.go index 1483559874..a2baba32bc 100755 --- a/services/google/orgpolicy/alpha/policy_schema.go +++ b/services/google/orgpolicy/alpha/policy_schema.go @@ -23,6 +23,7 @@ func DCLPolicySchema() *dcl.Schema { Title: "OrgPolicy/Policy", Description: "An organization policy gives you programmatic control over your organization's cloud resources. Using Organization Policies, you will be able to configure constraints across your entire resource hierarchy.", StructName: "Policy", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.policies", diff --git a/services/google/orgpolicy/beta/policy.yaml b/services/google/orgpolicy/beta/policy.yaml index d7e05026cb..0f5ad24605 100755 --- a/services/google/orgpolicy/beta/policy.yaml +++ b/services/google/orgpolicy/beta/policy.yaml @@ -17,6 +17,7 @@ info: cloud resources. Using Organization Policies, you will be able to configure constraints across your entire resource hierarchy. x-dcl-struct-name: Policy + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/orgpolicy/beta/policy_beta_yaml_embed.go b/services/google/orgpolicy/beta/policy_beta_yaml_embed.go index d7a719725f..23a002acac 100755 --- a/services/google/orgpolicy/beta/policy_beta_yaml_embed.go +++ b/services/google/orgpolicy/beta/policy_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/orgpolicy/beta/policy.yaml -var YAML_policy = []byte("info:\n title: OrgPolicy/Policy\n description: An organization policy gives you programmatic control over your organization's\n cloud resources. Using Organization Policies, you will be able to configure constraints\n across your entire resource hierarchy.\n x-dcl-struct-name: Policy\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.policies\n x-dcl-guides:\n - text: Understanding Org Policy concepts\n url: https://cloud.google.com/resource-manager/docs/organization-policy/overview\n - text: The resource hierarchy\n url: https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy\n - text: All valid constraints\n url: https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints\npaths:\n get:\n description: The function used to get information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n apply:\n description: The function used to apply information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n delete:\n description: The function used to delete a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n deleteAll:\n description: The function used to delete all Policy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Policy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Policy:\n title: Policy\n x-dcl-id: '{{parent}}/policies/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - parent\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the Policy. Must be one of\n the following forms, where constraint_name is the name of the constraint\n which this Policy configures: * `projects/{project_number}/policies/{constraint_name}`\n * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`\n For example, \"projects/123/policies/compute.disableSerialPortAccess\".\n Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable\n name for API requests, but responses will return the name using the equivalent\n project number.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n spec:\n type: object\n x-dcl-go-name: Spec\n x-dcl-go-type: PolicySpec\n description: Basic information about the Organization Policy.\n properties:\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: An opaque tag indicating the current version of the `Policy`,\n used for concurrency control. This field is ignored if used in a `CreatePolicy`\n request. When the `Policy` is returned from either a `GetPolicy` or\n a `ListPolicies` request, this `etag` indicates the version of the\n current `Policy` to use when executing a read-modify-write loop. When\n the `Policy` is returned from a `GetEffectivePolicy` request, the\n `etag` will be unset.\n inheritFromParent:\n type: boolean\n x-dcl-go-name: InheritFromParent\n description: Determines the inheritance behavior for this `Policy`.\n If `inherit_from_parent` is true, PolicyRules set higher up in the\n hierarchy (up to the closest root) are inherited and present in the\n effective policy. If it is false, then no rules are inherited, and\n this Policy becomes the new root for evaluation. This field can be\n set only for Policies which configure list constraints.\n reset:\n type: boolean\n x-dcl-go-name: Reset\n description: Ignores policies set above this resource and restores the\n `constraint_default` enforcement behavior of the specific `Constraint`\n at this resource. This field can be set in policies for either list\n or boolean constraints. If set, `rules` must be empty and `inherit_from_parent`\n must be set to false.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: 'Up to 10 PolicyRules are allowed. In Policies for boolean\n constraints, the following requirements apply: - There must be one\n and only one PolicyRule where condition is unset. - BooleanPolicyRules\n with conditions must set `enforced` to the opposite of the PolicyRule\n without a condition. - During policy evaluation, PolicyRules with\n conditions that are true for a target resource take precedence.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PolicySpecRules\n properties:\n allowAll:\n type: boolean\n x-dcl-go-name: AllowAll\n description: Setting this to true means that all values are allowed.\n This field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - values\n - denyAll\n - enforce\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: PolicySpecRulesCondition\n description: 'A condition which determines whether this rule is\n used in the evaluation of the policy. When set, the `expression`\n field in the `Expr'' must include from 1 to 10 subexpressions,\n joined by the \"||\" or \"&&\" operators. Each subexpression must\n be of the form \"resource.matchTag(''/tag_key_short_name, ''tag_value_short_name'')\".\n or \"resource.matchTagId(''tagKeys/key_id'', ''tagValues/value_id'')\".\n where key_name and value_name are the resource names for Label\n Keys and Values. These names are available from the Tag Manager\n Service. An example expression is: \"resource.matchTag(''123456789/environment,\n ''prod'')\". or \"resource.matchTagId(''tagKeys/123'', ''tagValues/456'')\".'\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This\n is a longer text which describes the expression, e.g. when\n hovered over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common\n Expression Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the\n expression for error reporting, e.g. a file name and a position\n in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short\n string describing its purpose. This can be used e.g. in\n UIs which allow to enter the expression.\n denyAll:\n type: boolean\n x-dcl-go-name: DenyAll\n description: Setting this to true means that all values are denied.\n This field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - values\n - allowAll\n - enforce\n enforce:\n type: boolean\n x-dcl-go-name: Enforce\n description: If `true`, then the `Policy` is enforced. If `false`,\n then any configuration is acceptable. This field can be set\n only in Policies for boolean constraints.\n x-dcl-conflicts:\n - values\n - allowAll\n - denyAll\n values:\n type: object\n x-dcl-go-name: Values\n x-dcl-go-type: PolicySpecRulesValues\n description: List of values to be used for this PolicyRule. This\n field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - allowAll\n - denyAll\n - enforce\n properties:\n allowedValues:\n type: array\n x-dcl-go-name: AllowedValues\n description: List of values allowed at this resource.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n deniedValues:\n type: array\n x-dcl-go-name: DeniedValues\n description: List of values denied at this resource.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time stamp this was previously updated.\n This represents the last time a call to `CreatePolicy` or `UpdatePolicy`\n was made for that `Policy`.\n") +var YAML_policy = []byte("info:\n title: OrgPolicy/Policy\n description: An organization policy gives you programmatic control over your organization's\n cloud resources. Using Organization Policies, you will be able to configure constraints\n across your entire resource hierarchy.\n x-dcl-struct-name: Policy\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.policies\n x-dcl-guides:\n - text: Understanding Org Policy concepts\n url: https://cloud.google.com/resource-manager/docs/organization-policy/overview\n - text: The resource hierarchy\n url: https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy\n - text: All valid constraints\n url: https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints\npaths:\n get:\n description: The function used to get information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n apply:\n description: The function used to apply information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n delete:\n description: The function used to delete a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n deleteAll:\n description: The function used to delete all Policy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Policy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Policy:\n title: Policy\n x-dcl-id: '{{parent}}/policies/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - parent\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the Policy. Must be one of\n the following forms, where constraint_name is the name of the constraint\n which this Policy configures: * `projects/{project_number}/policies/{constraint_name}`\n * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`\n For example, \"projects/123/policies/compute.disableSerialPortAccess\".\n Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable\n name for API requests, but responses will return the name using the equivalent\n project number.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n spec:\n type: object\n x-dcl-go-name: Spec\n x-dcl-go-type: PolicySpec\n description: Basic information about the Organization Policy.\n properties:\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: An opaque tag indicating the current version of the `Policy`,\n used for concurrency control. This field is ignored if used in a `CreatePolicy`\n request. When the `Policy` is returned from either a `GetPolicy` or\n a `ListPolicies` request, this `etag` indicates the version of the\n current `Policy` to use when executing a read-modify-write loop. When\n the `Policy` is returned from a `GetEffectivePolicy` request, the\n `etag` will be unset.\n inheritFromParent:\n type: boolean\n x-dcl-go-name: InheritFromParent\n description: Determines the inheritance behavior for this `Policy`.\n If `inherit_from_parent` is true, PolicyRules set higher up in the\n hierarchy (up to the closest root) are inherited and present in the\n effective policy. If it is false, then no rules are inherited, and\n this Policy becomes the new root for evaluation. This field can be\n set only for Policies which configure list constraints.\n reset:\n type: boolean\n x-dcl-go-name: Reset\n description: Ignores policies set above this resource and restores the\n `constraint_default` enforcement behavior of the specific `Constraint`\n at this resource. This field can be set in policies for either list\n or boolean constraints. If set, `rules` must be empty and `inherit_from_parent`\n must be set to false.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: 'Up to 10 PolicyRules are allowed. In Policies for boolean\n constraints, the following requirements apply: - There must be one\n and only one PolicyRule where condition is unset. - BooleanPolicyRules\n with conditions must set `enforced` to the opposite of the PolicyRule\n without a condition. - During policy evaluation, PolicyRules with\n conditions that are true for a target resource take precedence.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PolicySpecRules\n properties:\n allowAll:\n type: boolean\n x-dcl-go-name: AllowAll\n description: Setting this to true means that all values are allowed.\n This field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - values\n - denyAll\n - enforce\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: PolicySpecRulesCondition\n description: 'A condition which determines whether this rule is\n used in the evaluation of the policy. When set, the `expression`\n field in the `Expr'' must include from 1 to 10 subexpressions,\n joined by the \"||\" or \"&&\" operators. Each subexpression must\n be of the form \"resource.matchTag(''/tag_key_short_name, ''tag_value_short_name'')\".\n or \"resource.matchTagId(''tagKeys/key_id'', ''tagValues/value_id'')\".\n where key_name and value_name are the resource names for Label\n Keys and Values. These names are available from the Tag Manager\n Service. An example expression is: \"resource.matchTag(''123456789/environment,\n ''prod'')\". or \"resource.matchTagId(''tagKeys/123'', ''tagValues/456'')\".'\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This\n is a longer text which describes the expression, e.g. when\n hovered over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common\n Expression Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the\n expression for error reporting, e.g. a file name and a position\n in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short\n string describing its purpose. This can be used e.g. in\n UIs which allow to enter the expression.\n denyAll:\n type: boolean\n x-dcl-go-name: DenyAll\n description: Setting this to true means that all values are denied.\n This field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - values\n - allowAll\n - enforce\n enforce:\n type: boolean\n x-dcl-go-name: Enforce\n description: If `true`, then the `Policy` is enforced. If `false`,\n then any configuration is acceptable. This field can be set\n only in Policies for boolean constraints.\n x-dcl-conflicts:\n - values\n - allowAll\n - denyAll\n values:\n type: object\n x-dcl-go-name: Values\n x-dcl-go-type: PolicySpecRulesValues\n description: List of values to be used for this PolicyRule. This\n field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - allowAll\n - denyAll\n - enforce\n properties:\n allowedValues:\n type: array\n x-dcl-go-name: AllowedValues\n description: List of values allowed at this resource.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n deniedValues:\n type: array\n x-dcl-go-name: DeniedValues\n description: List of values denied at this resource.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time stamp this was previously updated.\n This represents the last time a call to `CreatePolicy` or `UpdatePolicy`\n was made for that `Policy`.\n") -// 11304 bytes -// MD5: 87b7e11f0c266d7e8ee4b34a163ae9e6 +// 11329 bytes +// MD5: b83de5cb502065cf1aab427568c3af91 diff --git a/services/google/orgpolicy/beta/policy_schema.go b/services/google/orgpolicy/beta/policy_schema.go index b29fa7b85b..b692921dc0 100755 --- a/services/google/orgpolicy/beta/policy_schema.go +++ b/services/google/orgpolicy/beta/policy_schema.go @@ -23,6 +23,7 @@ func DCLPolicySchema() *dcl.Schema { Title: "OrgPolicy/Policy", Description: "An organization policy gives you programmatic control over your organization's cloud resources. Using Organization Policies, you will be able to configure constraints across your entire resource hierarchy.", StructName: "Policy", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.policies", diff --git a/services/google/orgpolicy/policy.yaml b/services/google/orgpolicy/policy.yaml index d7e05026cb..0f5ad24605 100755 --- a/services/google/orgpolicy/policy.yaml +++ b/services/google/orgpolicy/policy.yaml @@ -17,6 +17,7 @@ info: cloud resources. Using Organization Policies, you will be able to configure constraints across your entire resource hierarchy. x-dcl-struct-name: Policy + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/orgpolicy/policy_schema.go b/services/google/orgpolicy/policy_schema.go index 2b2d56aaa9..1eab741757 100755 --- a/services/google/orgpolicy/policy_schema.go +++ b/services/google/orgpolicy/policy_schema.go @@ -23,6 +23,7 @@ func DCLPolicySchema() *dcl.Schema { Title: "OrgPolicy/Policy", Description: "An organization policy gives you programmatic control over your organization's cloud resources. Using Organization Policies, you will be able to configure constraints across your entire resource hierarchy.", StructName: "Policy", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.policies", diff --git a/services/google/orgpolicy/policy_yaml_embed.go b/services/google/orgpolicy/policy_yaml_embed.go index 4dbcf09bd4..11d88cc435 100755 --- a/services/google/orgpolicy/policy_yaml_embed.go +++ b/services/google/orgpolicy/policy_yaml_embed.go @@ -17,7 +17,7 @@ package orgpolicy // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/orgpolicy/policy.yaml -var YAML_policy = []byte("info:\n title: OrgPolicy/Policy\n description: An organization policy gives you programmatic control over your organization's\n cloud resources. Using Organization Policies, you will be able to configure constraints\n across your entire resource hierarchy.\n x-dcl-struct-name: Policy\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.policies\n x-dcl-guides:\n - text: Understanding Org Policy concepts\n url: https://cloud.google.com/resource-manager/docs/organization-policy/overview\n - text: The resource hierarchy\n url: https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy\n - text: All valid constraints\n url: https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints\npaths:\n get:\n description: The function used to get information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n apply:\n description: The function used to apply information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n delete:\n description: The function used to delete a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n deleteAll:\n description: The function used to delete all Policy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Policy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Policy:\n title: Policy\n x-dcl-id: '{{parent}}/policies/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - parent\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the Policy. Must be one of\n the following forms, where constraint_name is the name of the constraint\n which this Policy configures: * `projects/{project_number}/policies/{constraint_name}`\n * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`\n For example, \"projects/123/policies/compute.disableSerialPortAccess\".\n Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable\n name for API requests, but responses will return the name using the equivalent\n project number.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n spec:\n type: object\n x-dcl-go-name: Spec\n x-dcl-go-type: PolicySpec\n description: Basic information about the Organization Policy.\n properties:\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: An opaque tag indicating the current version of the `Policy`,\n used for concurrency control. This field is ignored if used in a `CreatePolicy`\n request. When the `Policy` is returned from either a `GetPolicy` or\n a `ListPolicies` request, this `etag` indicates the version of the\n current `Policy` to use when executing a read-modify-write loop. When\n the `Policy` is returned from a `GetEffectivePolicy` request, the\n `etag` will be unset.\n inheritFromParent:\n type: boolean\n x-dcl-go-name: InheritFromParent\n description: Determines the inheritance behavior for this `Policy`.\n If `inherit_from_parent` is true, PolicyRules set higher up in the\n hierarchy (up to the closest root) are inherited and present in the\n effective policy. If it is false, then no rules are inherited, and\n this Policy becomes the new root for evaluation. This field can be\n set only for Policies which configure list constraints.\n reset:\n type: boolean\n x-dcl-go-name: Reset\n description: Ignores policies set above this resource and restores the\n `constraint_default` enforcement behavior of the specific `Constraint`\n at this resource. This field can be set in policies for either list\n or boolean constraints. If set, `rules` must be empty and `inherit_from_parent`\n must be set to false.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: 'Up to 10 PolicyRules are allowed. In Policies for boolean\n constraints, the following requirements apply: - There must be one\n and only one PolicyRule where condition is unset. - BooleanPolicyRules\n with conditions must set `enforced` to the opposite of the PolicyRule\n without a condition. - During policy evaluation, PolicyRules with\n conditions that are true for a target resource take precedence.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PolicySpecRules\n properties:\n allowAll:\n type: boolean\n x-dcl-go-name: AllowAll\n description: Setting this to true means that all values are allowed.\n This field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - values\n - denyAll\n - enforce\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: PolicySpecRulesCondition\n description: 'A condition which determines whether this rule is\n used in the evaluation of the policy. When set, the `expression`\n field in the `Expr'' must include from 1 to 10 subexpressions,\n joined by the \"||\" or \"&&\" operators. Each subexpression must\n be of the form \"resource.matchTag(''/tag_key_short_name, ''tag_value_short_name'')\".\n or \"resource.matchTagId(''tagKeys/key_id'', ''tagValues/value_id'')\".\n where key_name and value_name are the resource names for Label\n Keys and Values. These names are available from the Tag Manager\n Service. An example expression is: \"resource.matchTag(''123456789/environment,\n ''prod'')\". or \"resource.matchTagId(''tagKeys/123'', ''tagValues/456'')\".'\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This\n is a longer text which describes the expression, e.g. when\n hovered over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common\n Expression Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the\n expression for error reporting, e.g. a file name and a position\n in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short\n string describing its purpose. This can be used e.g. in\n UIs which allow to enter the expression.\n denyAll:\n type: boolean\n x-dcl-go-name: DenyAll\n description: Setting this to true means that all values are denied.\n This field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - values\n - allowAll\n - enforce\n enforce:\n type: boolean\n x-dcl-go-name: Enforce\n description: If `true`, then the `Policy` is enforced. If `false`,\n then any configuration is acceptable. This field can be set\n only in Policies for boolean constraints.\n x-dcl-conflicts:\n - values\n - allowAll\n - denyAll\n values:\n type: object\n x-dcl-go-name: Values\n x-dcl-go-type: PolicySpecRulesValues\n description: List of values to be used for this PolicyRule. This\n field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - allowAll\n - denyAll\n - enforce\n properties:\n allowedValues:\n type: array\n x-dcl-go-name: AllowedValues\n description: List of values allowed at this resource.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n deniedValues:\n type: array\n x-dcl-go-name: DeniedValues\n description: List of values denied at this resource.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time stamp this was previously updated.\n This represents the last time a call to `CreatePolicy` or `UpdatePolicy`\n was made for that `Policy`.\n") +var YAML_policy = []byte("info:\n title: OrgPolicy/Policy\n description: An organization policy gives you programmatic control over your organization's\n cloud resources. Using Organization Policies, you will be able to configure constraints\n across your entire resource hierarchy.\n x-dcl-struct-name: Policy\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.policies\n x-dcl-guides:\n - text: Understanding Org Policy concepts\n url: https://cloud.google.com/resource-manager/docs/organization-policy/overview\n - text: The resource hierarchy\n url: https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy\n - text: All valid constraints\n url: https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints\npaths:\n get:\n description: The function used to get information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n apply:\n description: The function used to apply information about a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n delete:\n description: The function used to delete a Policy\n parameters:\n - name: Policy\n required: true\n description: A full instance of a Policy\n deleteAll:\n description: The function used to delete all Policy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Policy\n parameters:\n - name: parent\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Policy:\n title: Policy\n x-dcl-id: '{{parent}}/policies/{{name}}'\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - parent\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The resource name of the Policy. Must be one of\n the following forms, where constraint_name is the name of the constraint\n which this Policy configures: * `projects/{project_number}/policies/{constraint_name}`\n * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`\n For example, \"projects/123/policies/compute.disableSerialPortAccess\".\n Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable\n name for API requests, but responses will return the name using the equivalent\n project number.'\n x-kubernetes-immutable: true\n parent:\n type: string\n x-dcl-go-name: Parent\n description: The parent of the resource.\n x-kubernetes-immutable: true\n x-dcl-forward-slash-allowed: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n parent: true\n - resource: Cloudresourcemanager/Organization\n field: name\n parent: true\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n spec:\n type: object\n x-dcl-go-name: Spec\n x-dcl-go-type: PolicySpec\n description: Basic information about the Organization Policy.\n properties:\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: An opaque tag indicating the current version of the `Policy`,\n used for concurrency control. This field is ignored if used in a `CreatePolicy`\n request. When the `Policy` is returned from either a `GetPolicy` or\n a `ListPolicies` request, this `etag` indicates the version of the\n current `Policy` to use when executing a read-modify-write loop. When\n the `Policy` is returned from a `GetEffectivePolicy` request, the\n `etag` will be unset.\n inheritFromParent:\n type: boolean\n x-dcl-go-name: InheritFromParent\n description: Determines the inheritance behavior for this `Policy`.\n If `inherit_from_parent` is true, PolicyRules set higher up in the\n hierarchy (up to the closest root) are inherited and present in the\n effective policy. If it is false, then no rules are inherited, and\n this Policy becomes the new root for evaluation. This field can be\n set only for Policies which configure list constraints.\n reset:\n type: boolean\n x-dcl-go-name: Reset\n description: Ignores policies set above this resource and restores the\n `constraint_default` enforcement behavior of the specific `Constraint`\n at this resource. This field can be set in policies for either list\n or boolean constraints. If set, `rules` must be empty and `inherit_from_parent`\n must be set to false.\n rules:\n type: array\n x-dcl-go-name: Rules\n description: 'Up to 10 PolicyRules are allowed. In Policies for boolean\n constraints, the following requirements apply: - There must be one\n and only one PolicyRule where condition is unset. - BooleanPolicyRules\n with conditions must set `enforced` to the opposite of the PolicyRule\n without a condition. - During policy evaluation, PolicyRules with\n conditions that are true for a target resource take precedence.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PolicySpecRules\n properties:\n allowAll:\n type: boolean\n x-dcl-go-name: AllowAll\n description: Setting this to true means that all values are allowed.\n This field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - values\n - denyAll\n - enforce\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: PolicySpecRulesCondition\n description: 'A condition which determines whether this rule is\n used in the evaluation of the policy. When set, the `expression`\n field in the `Expr'' must include from 1 to 10 subexpressions,\n joined by the \"||\" or \"&&\" operators. Each subexpression must\n be of the form \"resource.matchTag(''/tag_key_short_name, ''tag_value_short_name'')\".\n or \"resource.matchTagId(''tagKeys/key_id'', ''tagValues/value_id'')\".\n where key_name and value_name are the resource names for Label\n Keys and Values. These names are available from the Tag Manager\n Service. An example expression is: \"resource.matchTag(''123456789/environment,\n ''prod'')\". or \"resource.matchTagId(''tagKeys/123'', ''tagValues/456'')\".'\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This\n is a longer text which describes the expression, e.g. when\n hovered over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common\n Expression Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the\n expression for error reporting, e.g. a file name and a position\n in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short\n string describing its purpose. This can be used e.g. in\n UIs which allow to enter the expression.\n denyAll:\n type: boolean\n x-dcl-go-name: DenyAll\n description: Setting this to true means that all values are denied.\n This field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - values\n - allowAll\n - enforce\n enforce:\n type: boolean\n x-dcl-go-name: Enforce\n description: If `true`, then the `Policy` is enforced. If `false`,\n then any configuration is acceptable. This field can be set\n only in Policies for boolean constraints.\n x-dcl-conflicts:\n - values\n - allowAll\n - denyAll\n values:\n type: object\n x-dcl-go-name: Values\n x-dcl-go-type: PolicySpecRulesValues\n description: List of values to be used for this PolicyRule. This\n field can be set only in Policies for list constraints.\n x-dcl-conflicts:\n - allowAll\n - denyAll\n - enforce\n properties:\n allowedValues:\n type: array\n x-dcl-go-name: AllowedValues\n description: List of values allowed at this resource.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n deniedValues:\n type: array\n x-dcl-go-name: DeniedValues\n description: List of values denied at this resource.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time stamp this was previously updated.\n This represents the last time a call to `CreatePolicy` or `UpdatePolicy`\n was made for that `Policy`.\n") -// 11304 bytes -// MD5: 87b7e11f0c266d7e8ee4b34a163ae9e6 +// 11329 bytes +// MD5: b83de5cb502065cf1aab427568c3af91 diff --git a/services/google/osconfig/alpha/guest_policy.yaml b/services/google/osconfig/alpha/guest_policy.yaml index a9e1f2f7ee..511c2f91bd 100755 --- a/services/google/osconfig/alpha/guest_policy.yaml +++ b/services/google/osconfig/alpha/guest_policy.yaml @@ -15,6 +15,7 @@ info: title: OSConfig/GuestPolicy description: The OSConfig GuestPolicy resource x-dcl-struct-name: GuestPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/osconfig/alpha/guest_policy_alpha_yaml_embed.go b/services/google/osconfig/alpha/guest_policy_alpha_yaml_embed.go index d215a0ba03..8dc37ee096 100755 --- a/services/google/osconfig/alpha/guest_policy_alpha_yaml_embed.go +++ b/services/google/osconfig/alpha/guest_policy_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/osconfig/alpha/guest_policy.yaml -var YAML_guest_policy = []byte("info:\n title: OSConfig/GuestPolicy\n description: The OSConfig GuestPolicy resource\n x-dcl-struct-name: GuestPolicy\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a GuestPolicy\n parameters:\n - name: GuestPolicy\n required: true\n description: A full instance of a GuestPolicy\n apply:\n description: The function used to apply information about a GuestPolicy\n parameters:\n - name: GuestPolicy\n required: true\n description: A full instance of a GuestPolicy\n delete:\n description: The function used to delete a GuestPolicy\n parameters:\n - name: GuestPolicy\n required: true\n description: A full instance of a GuestPolicy\n deleteAll:\n description: The function used to delete all GuestPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many GuestPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n GuestPolicy:\n title: GuestPolicy\n x-dcl-id: projects/{{project}}/guestPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n assignment:\n type: object\n x-dcl-go-name: Assignment\n x-dcl-go-type: GuestPolicyAssignment\n description: Specifies the VMs that are assigned this policy. This allows\n you to target sets or groups of VMs by different parameters such as labels,\n names, OS, or zones. Empty assignments will target ALL VMs underneath\n this policy. Conflict Management Policies that exist higher up in the\n resource hierarchy (closer to the Org) will override those lower down\n if there is a conflict. At the same level in the resource hierarchy (ie.\n within a project), the service will prevent the creation of multiple policies\n that conflict with each other. If there are multiple policies that specify\n the same config (eg. package, software recipe, repository, etc.), the\n service will ensure that no VM could potentially receive instructions\n from both policies. To create multiple policies that specify different\n versions of a package or different configs for different Operating Systems,\n each policy must be mutually exclusive in their targeting according to\n labels, OS, or other criteria. Different configs are identified for conflicts\n in different ways. Packages are identified by their name and the package\n manager(s) they target. Package repositories are identified by their unique\n id where applicable. Some package managers don't have a unique identifier\n for repositories and where that's the case, no uniqueness is validated\n by the service. Note that if OS Inventory is disabled, a VM will not be\n assigned a policy that targets by OS because the service will see this\n VM's OS as unknown.\n properties:\n groupLabels:\n type: array\n x-dcl-go-name: GroupLabels\n description: Targets instances matching at least one of these label\n sets. This allows an assignment to target disparate groups, for example\n \"env=prod or env=staging\".\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyAssignmentGroupLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Google Compute Engine instance labels that must be\n present for an instance to be included in this assignment group.\n instanceNamePrefixes:\n type: array\n x-dcl-go-name: InstanceNamePrefixes\n description: Targets VM instances whose name starts with one of these\n prefixes. Like labels, this is another way to group VM instances when\n targeting configs, for example prefix=\"prod-\". Only supported for\n project-level policies.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n instances:\n type: array\n x-dcl-go-name: Instances\n description: Targets any of the instances specified. Instances are specified\n by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.\n Instance targeting is uncommon and is supported to facilitate the\n management of changes by the instance or to target specific VM instances\n for development and testing. Only supported for project-level policies\n and must reference instances within this project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n osTypes:\n type: array\n x-dcl-go-name: OSTypes\n description: Targets VM instances matching at least one of the following\n OS types. VM instances must match all supplied criteria for a given\n OsType to be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyAssignmentOSTypes\n properties:\n osArchitecture:\n type: string\n x-dcl-go-name: OSArchitecture\n description: Targets VM instances with OS Inventory enabled and\n having the following OS architecture.\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Targets VM instances with OS Inventory enabled and\n having the following OS short name, for example \"debian\" or\n \"windows\".\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: Targets VM instances with OS Inventory enabled and\n having the following following OS version.\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Targets instances in any of these zones. Leave empty to\n target instances in any zone. Zonal targeting is uncommon and is supported\n to facilitate the management of changes by zone.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time this GuestPolicy was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the GuestPolicy. Length of the description is\n limited to 1024 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: The etag for this GuestPolicy. If this is provided on update,\n it must match the server's etag.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Unique name of the resource in this project using the form:\n `projects/{project_id}/guestPolicies/{guest_policy_id}`.'\n packageRepositories:\n type: array\n x-dcl-go-name: PackageRepositories\n description: List of package repository configurations assigned to the VM\n instance.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyPackageRepositories\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: GuestPolicyPackageRepositoriesApt\n description: An Apt Repository.\n x-dcl-conflicts:\n - goo\n - yum\n - zypper\n required:\n - uri\n - distribution\n properties:\n archiveType:\n type: string\n x-dcl-go-name: ArchiveType\n x-dcl-go-type: GuestPolicyPackageRepositoriesAptArchiveTypeEnum\n description: 'Type of archive files in this repository. The default\n behavior is DEB. Possible values: ARCHIVE_TYPE_UNSPECIFIED,\n DEB, DEB_SRC'\n enum:\n - ARCHIVE_TYPE_UNSPECIFIED\n - DEB\n - DEB_SRC\n components:\n type: array\n x-dcl-go-name: Components\n description: Required. List of components for this repository.\n Must contain at least one item.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n distribution:\n type: string\n x-dcl-go-name: Distribution\n description: Required. Distribution of this repository.\n gpgKey:\n type: string\n x-dcl-go-name: GpgKey\n description: URI of the key file for this repository. The agent\n maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`\n containing all the keys in any applied guest policy.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI for this repository.\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: GuestPolicyPackageRepositoriesGoo\n description: A Goo Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n required:\n - name\n - url\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the repository.\n url:\n type: string\n x-dcl-go-name: Url\n description: Required. The url of the repository.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: GuestPolicyPackageRepositoriesYum\n description: A Yum Repository.\n x-dcl-conflicts:\n - apt\n - goo\n - zypper\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name for this repository.\n This is the `repo id` in the Yum config file and also the `display_name`\n if `display_name` is omitted. This id is also used as the unique\n identifier when checking for guest policy conflicts.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: GuestPolicyPackageRepositoriesZypper\n description: A Zypper Repository.\n x-dcl-conflicts:\n - apt\n - goo\n - yum\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name for this repository.\n This is the `repo id` in the zypper config file and also the\n `display_name` if `display_name` is omitted. This id is also\n used as the unique identifier when checking for guest policy\n conflicts.\n packages:\n type: array\n x-dcl-go-name: Packages\n description: List of package configurations assigned to the VM instance.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyPackages\n properties:\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: GuestPolicyPackagesDesiredStateEnum\n description: 'The desired_state the agent should maintain for this\n package. The default is to ensure the package is installed. Possible\n values: DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n manager:\n type: string\n x-dcl-go-name: Manager\n x-dcl-go-type: GuestPolicyPackagesManagerEnum\n description: 'Type of package manager that can be used to install\n this package. If a system does not have the package manager, the\n package is not installed or removed no error message is returned.\n By default, or if you specify `ANY`, the agent attempts to install\n and remove this package using the default package manager. This\n is useful when creating a policy that applies to different types\n of systems. The default behavior is ANY. Possible values: MANAGER_UNSPECIFIED,\n ANY, APT, YUM, ZYPPER, GOO'\n enum:\n - MANAGER_UNSPECIFIED\n - ANY\n - APT\n - YUM\n - ZYPPER\n - GOO\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the package. A package is uniquely\n identified for conflict validation by checking the package name\n and the manager(s) that the package targets.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n recipes:\n type: array\n x-dcl-go-name: Recipes\n description: Optional. A list of Recipes to install on the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipes\n properties:\n artifacts:\n type: array\n x-dcl-go-name: Artifacts\n description: Resources available to be used in the steps in the recipe.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipesArtifacts\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false, recipes are subject\n to validations based on the artifact type: Remote: A checksum\n must be specified, and only protocols with transport-layer\n security are permitted. GCS: An object generation number must\n be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: GuestPolicyRecipesArtifactsGcs\n description: A Google Cloud Storage artifact.\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: 'Bucket of the Google Cloud Storage object.\n Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n this value would be `my-bucket`.'\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Must be provided if allow_insecure is false.\n Generation number of the Google Cloud Storage object.\n `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n this value would be `1234567`.\n object:\n type: string\n x-dcl-go-name: Object\n description: 'Name of the Google Cloud Storage object. As\n specified [here] (https://cloud.google.com/storage/docs/naming#objectnames)\n Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n this value would be `foo/bar`.'\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. Id of the artifact, which the installation\n and update steps of this recipe can reference. Artifacts in\n a recipe cannot have the same id.\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: GuestPolicyRecipesArtifactsRemote\n description: A generic remote artifact.\n properties:\n checksum:\n type: string\n x-dcl-go-name: Checksum\n description: Must be provided if `allow_insecure` is `false`.\n SHA256 checksum in hex format, to compare to the checksum\n of the artifact. If the checksum is not empty and it doesn't\n match the artifact then the recipe installation fails\n before running any of the steps.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: 'URI from which to fetch the object. It should\n contain both the protocol and path following the format:\n {protocol}://{location}.'\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: GuestPolicyRecipesDesiredStateEnum\n description: 'Default is INSTALLED. The desired state the agent should\n maintain for this recipe. INSTALLED: The software recipe is installed\n on the instance but won''t be updated to new versions. UPDATED:\n The software recipe is installed on the instance. The recipe is\n updated to a higher version, if a higher version of the recipe is\n assigned to this instance. REMOVE: Remove is unsupported for software\n recipes and attempts to create or update a recipe to the REMOVE\n state is rejected. Possible values: DESIRED_STATE_UNSPECIFIED, INSTALLED,\n REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n installSteps:\n type: array\n x-dcl-go-name: InstallSteps\n description: Actions to be taken for installing this recipe. On failure\n it stops executing steps and does not attempt another installation.\n Any steps taken (including partially completed steps) are not rolled\n back.\n x-dcl-conflicts:\n - updateSteps\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipesInstallSteps\n properties:\n archiveExtraction:\n type: object\n x-dcl-go-name: ArchiveExtraction\n x-dcl-go-type: GuestPolicyRecipesInstallStepsArchiveExtraction\n description: Extracts an archive into the specified directory.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Directory to extract archive to. Defaults to\n `/` on Linux or `C:` on Windows.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnum\n description: 'Required. The type of the archive to extract.\n Possible values: TYPE_UNSPECIFIED, VALIDATION, DESIRED_STATE_CHECK,\n DESIRED_STATE_ENFORCEMENT, DESIRED_STATE_CHECK_POST_ENFORCEMENT'\n enum:\n - TYPE_UNSPECIFIED\n - VALIDATION\n - DESIRED_STATE_CHECK\n - DESIRED_STATE_ENFORCEMENT\n - DESIRED_STATE_CHECK_POST_ENFORCEMENT\n dpkgInstallation:\n type: object\n x-dcl-go-name: DpkgInstallation\n x-dcl-go-type: GuestPolicyRecipesInstallStepsDpkgInstallation\n description: Installs a deb file via dpkg.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n fileCopy:\n type: object\n x-dcl-go-name: FileCopy\n x-dcl-go-type: GuestPolicyRecipesInstallStepsFileCopy\n description: Copies a file onto the instance.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Required. The absolute path on the instance\n to put the file.\n overwrite:\n type: boolean\n x-dcl-go-name: Overwrite\n description: Whether to allow this step to overwrite existing\n files. If this is false and the file already exists the\n file is not overwritten and the step is considered a success.\n Defaults to false.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n description: 'Consists of three octal digits which represent,\n in order, the permissions of the owner, group, and other\n users for the file (similarly to the numeric mode used\n in the linux chmod utility). Each digit represents a three\n bit number with the 4 bit corresponding to the read permissions,\n the 2 bit corresponds to the write bit, and the one bit\n corresponds to the execute permission. Default behavior\n is 755. Below are some examples of permissions and their\n associated values: read, write, and execute: 7 read and\n execute: 5 read and write: 6 read only: 4'\n fileExec:\n type: object\n x-dcl-go-name: FileExec\n x-dcl-go-type: GuestPolicyRecipesInstallStepsFileExec\n description: Executes an artifact or local file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Defaults to [0]. A list of possible return\n values that the program can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n args:\n type: array\n x-dcl-go-name: Args\n description: Arguments to be passed to the provided executable.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: The id of the relevant artifact in the recipe.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: The absolute path of the file on the local\n filesystem.\n msiInstallation:\n type: object\n x-dcl-go-name: MsiInstallation\n x-dcl-go-type: GuestPolicyRecipesInstallStepsMsiInstallation\n description: Installs an MSI file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n flags:\n type: array\n x-dcl-go-name: Flags\n description: The flags to use when installing the MSI defaults\n to [\"/i\"] (i.e. the install flag).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rpmInstallation:\n type: object\n x-dcl-go-name: RpmInstallation\n x-dcl-go-type: GuestPolicyRecipesInstallStepsRpmInstallation\n description: Installs an rpm file via the rpm utility.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n scriptRun:\n type: object\n x-dcl-go-name: ScriptRun\n x-dcl-go-type: GuestPolicyRecipesInstallStepsScriptRun\n description: Runs commands in a shell.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: GuestPolicyRecipesInstallStepsScriptRunInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script is executed\n directly, which likely only succeed for scripts with [shebang\n lines](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL,\n POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n script:\n type: string\n x-dcl-go-name: Script\n description: Required. The shell script to be executed.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Unique identifier for the recipe. Only one\n recipe with a given name is installed on an instance. Names are\n also used to identify resources which helps to determine whether\n guest policies have conflicts. This means that requests to create\n multiple recipes with the same name and version are rejected since\n they could potentially have conflicting assignments.\n updateSteps:\n type: array\n x-dcl-go-name: UpdateSteps\n description: Actions to be taken for updating this recipe. On failure\n it stops executing steps and does not attempt another update for\n this recipe. Any steps taken (including partially completed steps)\n are not rolled back.\n x-dcl-conflicts:\n - installSteps\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipesUpdateSteps\n properties:\n archiveExtraction:\n type: object\n x-dcl-go-name: ArchiveExtraction\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsArchiveExtraction\n description: Extracts an archive into the specified directory.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Directory to extract archive to. Defaults to\n `/` on Linux or `C:` on Windows.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnum\n description: 'Required. The type of the archive to extract.\n Possible values: TYPE_UNSPECIFIED, VALIDATION, DESIRED_STATE_CHECK,\n DESIRED_STATE_ENFORCEMENT, DESIRED_STATE_CHECK_POST_ENFORCEMENT'\n enum:\n - TYPE_UNSPECIFIED\n - VALIDATION\n - DESIRED_STATE_CHECK\n - DESIRED_STATE_ENFORCEMENT\n - DESIRED_STATE_CHECK_POST_ENFORCEMENT\n dpkgInstallation:\n type: object\n x-dcl-go-name: DpkgInstallation\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsDpkgInstallation\n description: Installs a deb file via dpkg.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n fileCopy:\n type: object\n x-dcl-go-name: FileCopy\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsFileCopy\n description: Copies a file onto the instance.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Required. The absolute path on the instance\n to put the file.\n overwrite:\n type: boolean\n x-dcl-go-name: Overwrite\n description: Whether to allow this step to overwrite existing\n files. If this is false and the file already exists the\n file is not overwritten and the step is considered a success.\n Defaults to false.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n description: 'Consists of three octal digits which represent,\n in order, the permissions of the owner, group, and other\n users for the file (similarly to the numeric mode used\n in the linux chmod utility). Each digit represents a three\n bit number with the 4 bit corresponding to the read permissions,\n the 2 bit corresponds to the write bit, and the one bit\n corresponds to the execute permission. Default behavior\n is 755. Below are some examples of permissions and their\n associated values: read, write, and execute: 7 read and\n execute: 5 read and write: 6 read only: 4'\n fileExec:\n type: object\n x-dcl-go-name: FileExec\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsFileExec\n description: Executes an artifact or local file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Defaults to [0]. A list of possible return\n values that the program can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n args:\n type: array\n x-dcl-go-name: Args\n description: Arguments to be passed to the provided executable.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: The id of the relevant artifact in the recipe.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: The absolute path of the file on the local\n filesystem.\n msiInstallation:\n type: object\n x-dcl-go-name: MsiInstallation\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsMsiInstallation\n description: Installs an MSI file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n flags:\n type: array\n x-dcl-go-name: Flags\n description: The flags to use when installing the MSI defaults\n to [\"/i\"] (i.e. the install flag).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rpmInstallation:\n type: object\n x-dcl-go-name: RpmInstallation\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsRpmInstallation\n description: Installs an rpm file via the rpm utility.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n scriptRun:\n type: object\n x-dcl-go-name: ScriptRun\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsScriptRun\n description: Runs commands in a shell.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script is executed\n directly, which likely only succeed for scripts with [shebang\n lines](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL,\n POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n script:\n type: string\n x-dcl-go-name: Script\n description: Required. The shell script to be executed.\n version:\n type: string\n x-dcl-go-name: Version\n description: The version of this software recipe. Version can be up\n to 4 period separated numbers (e.g. 12.34.56.78).\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last time this GuestPolicy was updated.\n x-kubernetes-immutable: true\n") +var YAML_guest_policy = []byte("info:\n title: OSConfig/GuestPolicy\n description: The OSConfig GuestPolicy resource\n x-dcl-struct-name: GuestPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a GuestPolicy\n parameters:\n - name: GuestPolicy\n required: true\n description: A full instance of a GuestPolicy\n apply:\n description: The function used to apply information about a GuestPolicy\n parameters:\n - name: GuestPolicy\n required: true\n description: A full instance of a GuestPolicy\n delete:\n description: The function used to delete a GuestPolicy\n parameters:\n - name: GuestPolicy\n required: true\n description: A full instance of a GuestPolicy\n deleteAll:\n description: The function used to delete all GuestPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many GuestPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n GuestPolicy:\n title: GuestPolicy\n x-dcl-id: projects/{{project}}/guestPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n assignment:\n type: object\n x-dcl-go-name: Assignment\n x-dcl-go-type: GuestPolicyAssignment\n description: Specifies the VMs that are assigned this policy. This allows\n you to target sets or groups of VMs by different parameters such as labels,\n names, OS, or zones. Empty assignments will target ALL VMs underneath\n this policy. Conflict Management Policies that exist higher up in the\n resource hierarchy (closer to the Org) will override those lower down\n if there is a conflict. At the same level in the resource hierarchy (ie.\n within a project), the service will prevent the creation of multiple policies\n that conflict with each other. If there are multiple policies that specify\n the same config (eg. package, software recipe, repository, etc.), the\n service will ensure that no VM could potentially receive instructions\n from both policies. To create multiple policies that specify different\n versions of a package or different configs for different Operating Systems,\n each policy must be mutually exclusive in their targeting according to\n labels, OS, or other criteria. Different configs are identified for conflicts\n in different ways. Packages are identified by their name and the package\n manager(s) they target. Package repositories are identified by their unique\n id where applicable. Some package managers don't have a unique identifier\n for repositories and where that's the case, no uniqueness is validated\n by the service. Note that if OS Inventory is disabled, a VM will not be\n assigned a policy that targets by OS because the service will see this\n VM's OS as unknown.\n properties:\n groupLabels:\n type: array\n x-dcl-go-name: GroupLabels\n description: Targets instances matching at least one of these label\n sets. This allows an assignment to target disparate groups, for example\n \"env=prod or env=staging\".\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyAssignmentGroupLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Google Compute Engine instance labels that must be\n present for an instance to be included in this assignment group.\n instanceNamePrefixes:\n type: array\n x-dcl-go-name: InstanceNamePrefixes\n description: Targets VM instances whose name starts with one of these\n prefixes. Like labels, this is another way to group VM instances when\n targeting configs, for example prefix=\"prod-\". Only supported for\n project-level policies.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n instances:\n type: array\n x-dcl-go-name: Instances\n description: Targets any of the instances specified. Instances are specified\n by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.\n Instance targeting is uncommon and is supported to facilitate the\n management of changes by the instance or to target specific VM instances\n for development and testing. Only supported for project-level policies\n and must reference instances within this project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n osTypes:\n type: array\n x-dcl-go-name: OSTypes\n description: Targets VM instances matching at least one of the following\n OS types. VM instances must match all supplied criteria for a given\n OsType to be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyAssignmentOSTypes\n properties:\n osArchitecture:\n type: string\n x-dcl-go-name: OSArchitecture\n description: Targets VM instances with OS Inventory enabled and\n having the following OS architecture.\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Targets VM instances with OS Inventory enabled and\n having the following OS short name, for example \"debian\" or\n \"windows\".\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: Targets VM instances with OS Inventory enabled and\n having the following following OS version.\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Targets instances in any of these zones. Leave empty to\n target instances in any zone. Zonal targeting is uncommon and is supported\n to facilitate the management of changes by zone.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time this GuestPolicy was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the GuestPolicy. Length of the description is\n limited to 1024 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: The etag for this GuestPolicy. If this is provided on update,\n it must match the server's etag.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Unique name of the resource in this project using the form:\n `projects/{project_id}/guestPolicies/{guest_policy_id}`.'\n packageRepositories:\n type: array\n x-dcl-go-name: PackageRepositories\n description: List of package repository configurations assigned to the VM\n instance.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyPackageRepositories\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: GuestPolicyPackageRepositoriesApt\n description: An Apt Repository.\n x-dcl-conflicts:\n - goo\n - yum\n - zypper\n required:\n - uri\n - distribution\n properties:\n archiveType:\n type: string\n x-dcl-go-name: ArchiveType\n x-dcl-go-type: GuestPolicyPackageRepositoriesAptArchiveTypeEnum\n description: 'Type of archive files in this repository. The default\n behavior is DEB. Possible values: ARCHIVE_TYPE_UNSPECIFIED,\n DEB, DEB_SRC'\n enum:\n - ARCHIVE_TYPE_UNSPECIFIED\n - DEB\n - DEB_SRC\n components:\n type: array\n x-dcl-go-name: Components\n description: Required. List of components for this repository.\n Must contain at least one item.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n distribution:\n type: string\n x-dcl-go-name: Distribution\n description: Required. Distribution of this repository.\n gpgKey:\n type: string\n x-dcl-go-name: GpgKey\n description: URI of the key file for this repository. The agent\n maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`\n containing all the keys in any applied guest policy.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI for this repository.\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: GuestPolicyPackageRepositoriesGoo\n description: A Goo Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n required:\n - name\n - url\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the repository.\n url:\n type: string\n x-dcl-go-name: Url\n description: Required. The url of the repository.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: GuestPolicyPackageRepositoriesYum\n description: A Yum Repository.\n x-dcl-conflicts:\n - apt\n - goo\n - zypper\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name for this repository.\n This is the `repo id` in the Yum config file and also the `display_name`\n if `display_name` is omitted. This id is also used as the unique\n identifier when checking for guest policy conflicts.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: GuestPolicyPackageRepositoriesZypper\n description: A Zypper Repository.\n x-dcl-conflicts:\n - apt\n - goo\n - yum\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name for this repository.\n This is the `repo id` in the zypper config file and also the\n `display_name` if `display_name` is omitted. This id is also\n used as the unique identifier when checking for guest policy\n conflicts.\n packages:\n type: array\n x-dcl-go-name: Packages\n description: List of package configurations assigned to the VM instance.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyPackages\n properties:\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: GuestPolicyPackagesDesiredStateEnum\n description: 'The desired_state the agent should maintain for this\n package. The default is to ensure the package is installed. Possible\n values: DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n manager:\n type: string\n x-dcl-go-name: Manager\n x-dcl-go-type: GuestPolicyPackagesManagerEnum\n description: 'Type of package manager that can be used to install\n this package. If a system does not have the package manager, the\n package is not installed or removed no error message is returned.\n By default, or if you specify `ANY`, the agent attempts to install\n and remove this package using the default package manager. This\n is useful when creating a policy that applies to different types\n of systems. The default behavior is ANY. Possible values: MANAGER_UNSPECIFIED,\n ANY, APT, YUM, ZYPPER, GOO'\n enum:\n - MANAGER_UNSPECIFIED\n - ANY\n - APT\n - YUM\n - ZYPPER\n - GOO\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the package. A package is uniquely\n identified for conflict validation by checking the package name\n and the manager(s) that the package targets.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n recipes:\n type: array\n x-dcl-go-name: Recipes\n description: Optional. A list of Recipes to install on the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipes\n properties:\n artifacts:\n type: array\n x-dcl-go-name: Artifacts\n description: Resources available to be used in the steps in the recipe.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipesArtifacts\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false, recipes are subject\n to validations based on the artifact type: Remote: A checksum\n must be specified, and only protocols with transport-layer\n security are permitted. GCS: An object generation number must\n be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: GuestPolicyRecipesArtifactsGcs\n description: A Google Cloud Storage artifact.\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: 'Bucket of the Google Cloud Storage object.\n Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n this value would be `my-bucket`.'\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Must be provided if allow_insecure is false.\n Generation number of the Google Cloud Storage object.\n `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n this value would be `1234567`.\n object:\n type: string\n x-dcl-go-name: Object\n description: 'Name of the Google Cloud Storage object. As\n specified [here] (https://cloud.google.com/storage/docs/naming#objectnames)\n Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n this value would be `foo/bar`.'\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. Id of the artifact, which the installation\n and update steps of this recipe can reference. Artifacts in\n a recipe cannot have the same id.\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: GuestPolicyRecipesArtifactsRemote\n description: A generic remote artifact.\n properties:\n checksum:\n type: string\n x-dcl-go-name: Checksum\n description: Must be provided if `allow_insecure` is `false`.\n SHA256 checksum in hex format, to compare to the checksum\n of the artifact. If the checksum is not empty and it doesn't\n match the artifact then the recipe installation fails\n before running any of the steps.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: 'URI from which to fetch the object. It should\n contain both the protocol and path following the format:\n {protocol}://{location}.'\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: GuestPolicyRecipesDesiredStateEnum\n description: 'Default is INSTALLED. The desired state the agent should\n maintain for this recipe. INSTALLED: The software recipe is installed\n on the instance but won''t be updated to new versions. UPDATED:\n The software recipe is installed on the instance. The recipe is\n updated to a higher version, if a higher version of the recipe is\n assigned to this instance. REMOVE: Remove is unsupported for software\n recipes and attempts to create or update a recipe to the REMOVE\n state is rejected. Possible values: DESIRED_STATE_UNSPECIFIED, INSTALLED,\n REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n installSteps:\n type: array\n x-dcl-go-name: InstallSteps\n description: Actions to be taken for installing this recipe. On failure\n it stops executing steps and does not attempt another installation.\n Any steps taken (including partially completed steps) are not rolled\n back.\n x-dcl-conflicts:\n - updateSteps\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipesInstallSteps\n properties:\n archiveExtraction:\n type: object\n x-dcl-go-name: ArchiveExtraction\n x-dcl-go-type: GuestPolicyRecipesInstallStepsArchiveExtraction\n description: Extracts an archive into the specified directory.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Directory to extract archive to. Defaults to\n `/` on Linux or `C:` on Windows.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnum\n description: 'Required. The type of the archive to extract.\n Possible values: TYPE_UNSPECIFIED, VALIDATION, DESIRED_STATE_CHECK,\n DESIRED_STATE_ENFORCEMENT, DESIRED_STATE_CHECK_POST_ENFORCEMENT'\n enum:\n - TYPE_UNSPECIFIED\n - VALIDATION\n - DESIRED_STATE_CHECK\n - DESIRED_STATE_ENFORCEMENT\n - DESIRED_STATE_CHECK_POST_ENFORCEMENT\n dpkgInstallation:\n type: object\n x-dcl-go-name: DpkgInstallation\n x-dcl-go-type: GuestPolicyRecipesInstallStepsDpkgInstallation\n description: Installs a deb file via dpkg.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n fileCopy:\n type: object\n x-dcl-go-name: FileCopy\n x-dcl-go-type: GuestPolicyRecipesInstallStepsFileCopy\n description: Copies a file onto the instance.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Required. The absolute path on the instance\n to put the file.\n overwrite:\n type: boolean\n x-dcl-go-name: Overwrite\n description: Whether to allow this step to overwrite existing\n files. If this is false and the file already exists the\n file is not overwritten and the step is considered a success.\n Defaults to false.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n description: 'Consists of three octal digits which represent,\n in order, the permissions of the owner, group, and other\n users for the file (similarly to the numeric mode used\n in the linux chmod utility). Each digit represents a three\n bit number with the 4 bit corresponding to the read permissions,\n the 2 bit corresponds to the write bit, and the one bit\n corresponds to the execute permission. Default behavior\n is 755. Below are some examples of permissions and their\n associated values: read, write, and execute: 7 read and\n execute: 5 read and write: 6 read only: 4'\n fileExec:\n type: object\n x-dcl-go-name: FileExec\n x-dcl-go-type: GuestPolicyRecipesInstallStepsFileExec\n description: Executes an artifact or local file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Defaults to [0]. A list of possible return\n values that the program can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n args:\n type: array\n x-dcl-go-name: Args\n description: Arguments to be passed to the provided executable.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: The id of the relevant artifact in the recipe.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: The absolute path of the file on the local\n filesystem.\n msiInstallation:\n type: object\n x-dcl-go-name: MsiInstallation\n x-dcl-go-type: GuestPolicyRecipesInstallStepsMsiInstallation\n description: Installs an MSI file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n flags:\n type: array\n x-dcl-go-name: Flags\n description: The flags to use when installing the MSI defaults\n to [\"/i\"] (i.e. the install flag).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rpmInstallation:\n type: object\n x-dcl-go-name: RpmInstallation\n x-dcl-go-type: GuestPolicyRecipesInstallStepsRpmInstallation\n description: Installs an rpm file via the rpm utility.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n scriptRun:\n type: object\n x-dcl-go-name: ScriptRun\n x-dcl-go-type: GuestPolicyRecipesInstallStepsScriptRun\n description: Runs commands in a shell.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: GuestPolicyRecipesInstallStepsScriptRunInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script is executed\n directly, which likely only succeed for scripts with [shebang\n lines](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL,\n POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n script:\n type: string\n x-dcl-go-name: Script\n description: Required. The shell script to be executed.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Unique identifier for the recipe. Only one\n recipe with a given name is installed on an instance. Names are\n also used to identify resources which helps to determine whether\n guest policies have conflicts. This means that requests to create\n multiple recipes with the same name and version are rejected since\n they could potentially have conflicting assignments.\n updateSteps:\n type: array\n x-dcl-go-name: UpdateSteps\n description: Actions to be taken for updating this recipe. On failure\n it stops executing steps and does not attempt another update for\n this recipe. Any steps taken (including partially completed steps)\n are not rolled back.\n x-dcl-conflicts:\n - installSteps\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipesUpdateSteps\n properties:\n archiveExtraction:\n type: object\n x-dcl-go-name: ArchiveExtraction\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsArchiveExtraction\n description: Extracts an archive into the specified directory.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Directory to extract archive to. Defaults to\n `/` on Linux or `C:` on Windows.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnum\n description: 'Required. The type of the archive to extract.\n Possible values: TYPE_UNSPECIFIED, VALIDATION, DESIRED_STATE_CHECK,\n DESIRED_STATE_ENFORCEMENT, DESIRED_STATE_CHECK_POST_ENFORCEMENT'\n enum:\n - TYPE_UNSPECIFIED\n - VALIDATION\n - DESIRED_STATE_CHECK\n - DESIRED_STATE_ENFORCEMENT\n - DESIRED_STATE_CHECK_POST_ENFORCEMENT\n dpkgInstallation:\n type: object\n x-dcl-go-name: DpkgInstallation\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsDpkgInstallation\n description: Installs a deb file via dpkg.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n fileCopy:\n type: object\n x-dcl-go-name: FileCopy\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsFileCopy\n description: Copies a file onto the instance.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Required. The absolute path on the instance\n to put the file.\n overwrite:\n type: boolean\n x-dcl-go-name: Overwrite\n description: Whether to allow this step to overwrite existing\n files. If this is false and the file already exists the\n file is not overwritten and the step is considered a success.\n Defaults to false.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n description: 'Consists of three octal digits which represent,\n in order, the permissions of the owner, group, and other\n users for the file (similarly to the numeric mode used\n in the linux chmod utility). Each digit represents a three\n bit number with the 4 bit corresponding to the read permissions,\n the 2 bit corresponds to the write bit, and the one bit\n corresponds to the execute permission. Default behavior\n is 755. Below are some examples of permissions and their\n associated values: read, write, and execute: 7 read and\n execute: 5 read and write: 6 read only: 4'\n fileExec:\n type: object\n x-dcl-go-name: FileExec\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsFileExec\n description: Executes an artifact or local file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Defaults to [0]. A list of possible return\n values that the program can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n args:\n type: array\n x-dcl-go-name: Args\n description: Arguments to be passed to the provided executable.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: The id of the relevant artifact in the recipe.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: The absolute path of the file on the local\n filesystem.\n msiInstallation:\n type: object\n x-dcl-go-name: MsiInstallation\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsMsiInstallation\n description: Installs an MSI file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n flags:\n type: array\n x-dcl-go-name: Flags\n description: The flags to use when installing the MSI defaults\n to [\"/i\"] (i.e. the install flag).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rpmInstallation:\n type: object\n x-dcl-go-name: RpmInstallation\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsRpmInstallation\n description: Installs an rpm file via the rpm utility.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n scriptRun:\n type: object\n x-dcl-go-name: ScriptRun\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsScriptRun\n description: Runs commands in a shell.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script is executed\n directly, which likely only succeed for scripts with [shebang\n lines](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL,\n POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n script:\n type: string\n x-dcl-go-name: Script\n description: Required. The shell script to be executed.\n version:\n type: string\n x-dcl-go-name: Version\n description: The version of this software recipe. Version can be up\n to 4 period separated numbers (e.g. 12.34.56.78).\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last time this GuestPolicy was updated.\n x-kubernetes-immutable: true\n") -// 45500 bytes -// MD5: db917d8f314a93b4826f639466c6321d +// 45525 bytes +// MD5: 32f2eaf382c4dce9842ec917e0a50750 diff --git a/services/google/osconfig/alpha/guest_policy_schema.go b/services/google/osconfig/alpha/guest_policy_schema.go index bc28985d27..57ac3bc6a2 100755 --- a/services/google/osconfig/alpha/guest_policy_schema.go +++ b/services/google/osconfig/alpha/guest_policy_schema.go @@ -23,6 +23,7 @@ func DCLGuestPolicySchema() *dcl.Schema { Title: "OSConfig/GuestPolicy", Description: "The OSConfig GuestPolicy resource", StructName: "GuestPolicy", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/osconfig/alpha/os_policy_assignment.yaml b/services/google/osconfig/alpha/os_policy_assignment.yaml index 3043640929..3c737a44df 100755 --- a/services/google/osconfig/alpha/os_policy_assignment.yaml +++ b/services/google/osconfig/alpha/os_policy_assignment.yaml @@ -15,6 +15,7 @@ info: title: OSConfig/OSPolicyAssignment description: Represents an OSPolicyAssignment resource. x-dcl-struct-name: OSPolicyAssignment + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API documentation diff --git a/services/google/osconfig/alpha/os_policy_assignment_alpha_yaml_embed.go b/services/google/osconfig/alpha/os_policy_assignment_alpha_yaml_embed.go index 25d74a1cbe..10c6fcfb53 100755 --- a/services/google/osconfig/alpha/os_policy_assignment_alpha_yaml_embed.go +++ b/services/google/osconfig/alpha/os_policy_assignment_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/osconfig/alpha/os_policy_assignment.yaml -var YAML_os_policy_assignment = []byte("info:\n title: OSConfig/OSPolicyAssignment\n description: Represents an OSPolicyAssignment resource.\n x-dcl-struct-name: OSPolicyAssignment\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments\npaths:\n get:\n description: The function used to get information about a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n apply:\n description: The function used to apply information about a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n delete:\n description: The function used to delete a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n deleteAll:\n description: The function used to delete all OSPolicyAssignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OSPolicyAssignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OSPolicyAssignment:\n title: OSPolicyAssignment\n x-dcl-id: projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - osPolicies\n - instanceFilter\n - rollout\n - project\n - location\n properties:\n baseline:\n type: boolean\n x-dcl-go-name: Baseline\n readOnly: true\n description: Output only. Indicates that this revision has been successfully\n rolled out in this zone and new VMs will be assigned OS policies from\n this revision. For a given OS policy assignment, there is only one revision\n with a value of `true` for this field.\n x-kubernetes-immutable: true\n deleted:\n type: boolean\n x-dcl-go-name: Deleted\n readOnly: true\n description: Output only. Indicates that this revision deletes the OS policy\n assignment.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: OS policy assignment description. Length of the description\n is limited to 1024 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: The etag for this OS policy assignment. If this is provided\n on update, it must match the server's etag.\n x-kubernetes-immutable: true\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: OSPolicyAssignmentInstanceFilter\n description: Required. Filter to select VMs.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VMs in the project. If true, no other criteria\n is permitted.\n x-dcl-send-empty: true\n exclusionLabels:\n type: array\n x-dcl-go-name: ExclusionLabels\n description: List of label sets used for VM exclusion. If the list has\n more than one label set, the VM is excluded if any of the label sets\n are applicable for the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterExclusionLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are identified by key/value pairs in this\n map. A VM should contain all the key/value pairs specified in\n this map to be selected.\n inclusionLabels:\n type: array\n x-dcl-go-name: InclusionLabels\n description: List of label sets used for VM inclusion. If the list has\n more than one `LabelSet`, the VM is included if any of the label sets\n are applicable for the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterInclusionLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are identified by key/value pairs in this\n map. A VM should contain all the key/value pairs specified in\n this map to be selected.\n inventories:\n type: array\n x-dcl-go-name: Inventories\n description: List of inventories to select VMs. A VM is selected if\n its inventory data matches at least one of the following inventories.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterInventories\n required:\n - osShortName\n properties:\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Required. The OS short name\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: The OS version Prefix matches are supported if asterisk(*)\n is provided as the last character. For example, to match all\n versions with a major version of `7`, specify the following\n value for this field `7.*` An empty string matches all OS versions.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name.\n x-kubernetes-immutable: true\n osPolicies:\n type: array\n x-dcl-go-name: OSPolicies\n description: Required. List of OS policies to be applied to the VMs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPolicies\n required:\n - id\n - mode\n - resourceGroups\n properties:\n allowNoResourceGroupMatch:\n type: boolean\n x-dcl-go-name: AllowNoResourceGroupMatch\n description: This flag determines the OS policy compliance status\n when none of the resource groups within the policy are applicable\n for a VM. Set this value to `true` if the policy needs to be reported\n as compliant even if the policy has nothing to validate or enforce.\n description:\n type: string\n x-dcl-go-name: Description\n description: Policy description. Length of the description is limited\n to 1024 characters.\n id:\n type: string\n x-dcl-go-name: Id\n description: 'Required. The id of the OS policy with the following\n restrictions: * Must contain only lowercase letters, numbers, and\n hyphens. * Must start with a letter. * Must be between 1-63 characters.\n * Must end with a number or a letter. * Must be unique within the\n assignment.'\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesModeEnum\n description: 'Required. Policy mode Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n resourceGroups:\n type: array\n x-dcl-go-name: ResourceGroups\n description: Required. List of resource groups for the policy. For\n a particular VM, resource groups are evaluated in the order specified\n and the first resource group that is applicable is selected and\n the rest are ignored. If none of the resource groups are applicable\n for a VM, the VM is considered to be non-compliant w.r.t this policy.\n This behavior can be toggled by the flag `allow_no_resource_group_match`\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroups\n required:\n - resources\n properties:\n inventoryFilters:\n type: array\n x-dcl-go-name: InventoryFilters\n description: 'List of inventory filters for the resource group.\n The resources in this resource group are applied to the target\n VM if it satisfies at least one of the following inventory\n filters. For example, to apply this resource group to VMs\n running either `RHEL` or `CentOS` operating systems, specify\n 2 items for the list with following values: inventory_filters[0].os_short_name=''rhel''\n and inventory_filters[1].os_short_name=''centos'' If the list\n is empty, this resource group will be applied to the target\n VM unconditionally.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters\n required:\n - osShortName\n properties:\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Required. The OS short name\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: The OS version Prefix matches are supported\n if asterisk(*) is provided as the last character. For\n example, to match all versions with a major version\n of `7`, specify the following value for this field `7.*`\n An empty string matches all OS versions.\n resources:\n type: array\n x-dcl-go-name: Resources\n description: Required. List of resources configured for this\n resource group. The resources are executed in the exact order\n specified here.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResources\n required:\n - id\n properties:\n exec:\n type: object\n x-dcl-go-name: Exec\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec\n description: Exec resource\n x-dcl-conflicts:\n - pkg\n - repository\n - file\n required:\n - validate\n properties:\n enforce:\n type: object\n x-dcl-go-name: Enforce\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce\n description: What to run to bring this resource into\n the desired state. An exit code of 100 indicates\n \"success\", any other exit code indicates a failure\n running enforce.\n required:\n - interpreter\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional arguments to pass to the\n source during execution.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile\n description: A remote or local file.\n x-dcl-conflicts:\n - script\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum\n description: 'Required. The script interpreter\n to use. Possible values: INTERPRETER_UNSPECIFIED,\n NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n outputFilePath:\n type: string\n x-dcl-go-name: OutputFilePath\n description: Only recorded for enforce Exec. Path\n to an output file (that is created by this Exec)\n whose content will be recorded in OSPolicyResourceCompliance\n after a successful run. Absence or failure to\n read this file will result in this ExecResource\n being non-compliant. Output file size is limited\n to 100K bytes.\n script:\n type: string\n x-dcl-go-name: Script\n description: An inline script. The size of the\n script is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n validate:\n type: object\n x-dcl-go-name: Validate\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate\n description: Required. What to run to validate this\n resource is in the desired state. An exit code of\n 100 indicates \"in desired state\", and exit code\n of 101 indicates \"not in desired state\". Any other\n exit code indicates a failure running validate.\n required:\n - interpreter\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional arguments to pass to the\n source during execution.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile\n description: A remote or local file.\n x-dcl-conflicts:\n - script\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum\n description: 'Required. The script interpreter\n to use. Possible values: INTERPRETER_UNSPECIFIED,\n NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n outputFilePath:\n type: string\n x-dcl-go-name: OutputFilePath\n description: Only recorded for enforce Exec. Path\n to an output file (that is created by this Exec)\n whose content will be recorded in OSPolicyResourceCompliance\n after a successful run. Absence or failure to\n read this file will result in this ExecResource\n being non-compliant. Output file size is limited\n to 100K bytes.\n script:\n type: string\n x-dcl-go-name: Script\n description: An inline script. The size of the\n script is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile\n description: File resource\n x-dcl-conflicts:\n - pkg\n - repository\n - exec\n required:\n - path\n - state\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: A a file with this content. The size\n of the content is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile\n description: A remote or local source.\n x-dcl-conflicts:\n - content\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false, files\n are subject to validations based on the file\n type: Remote: A checksum must be specified.\n Cloud Storage: An object generation number must\n be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the Cloud\n Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage\n object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which to fetch\n the object. It should contain both the protocol\n and path following the format `{protocol}://{location}`.\n path:\n type: string\n x-dcl-go-name: Path\n description: Required. The absolute path of the file\n within the VM.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n readOnly: true\n description: 'Consists of three octal digits which\n represent, in order, the permissions of the owner,\n group, and other users for the file (similarly to\n the numeric mode used in the linux chmod utility).\n Each digit represents a three bit number with the\n 4 bit corresponding to the read permissions, the\n 2 bit corresponds to the write bit, and the one\n bit corresponds to the execute permission. Default\n behavior is 755. Below are some examples of permissions\n and their associated values: read, write, and execute:\n 7 read and execute: 5 read and write: 6 read only:\n 4'\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum\n description: 'Required. Desired state of the file.\n Possible values: OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED,\n COMPLIANT, NON_COMPLIANT, UNKNOWN, NO_OS_POLICIES_APPLICABLE'\n enum:\n - OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED\n - COMPLIANT\n - NON_COMPLIANT\n - UNKNOWN\n - NO_OS_POLICIES_APPLICABLE\n id:\n type: string\n x-dcl-go-name: Id\n description: 'Required. The id of the resource with the\n following restrictions: * Must contain only lowercase\n letters, numbers, and hyphens. * Must start with a letter.\n * Must be between 1-63 characters. * Must end with a\n number or a letter. * Must be unique within the OS policy.'\n pkg:\n type: object\n x-dcl-go-name: Pkg\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg\n description: Package resource\n x-dcl-conflicts:\n - repository\n - exec\n - file\n required:\n - desiredState\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt\n description: A package managed by Apt.\n x-dcl-conflicts:\n - deb\n - yum\n - zypper\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n deb:\n type: object\n x-dcl-go-name: Deb\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb\n description: A deb package file.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n - rpm\n - googet\n - msi\n required:\n - source\n properties:\n pullDeps:\n type: boolean\n x-dcl-go-name: PullDeps\n description: 'Whether dependencies should also\n be installed. - install when false: `dpkg -i\n package` - install when true: `apt-get update\n && apt-get -y install package.deb`'\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource\n description: Required. A deb package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum\n description: 'Required. The desired state the agent\n should maintain for this package. Possible values:\n DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n googet:\n type: object\n x-dcl-go-name: Googet\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget\n description: A package managed by GooGet.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - rpm\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n msi:\n type: object\n x-dcl-go-name: Msi\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi\n description: An MSI package.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - rpm\n - googet\n required:\n - source\n properties:\n properties:\n type: array\n x-dcl-go-name: Properties\n description: Additional properties to use during\n installation. This should be in the format of\n Property=Setting. Appended to the defaults of\n `ACTION=INSTALL REBOOT=ReallySuppress`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource\n description: Required. The MSI package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n rpm:\n type: object\n x-dcl-go-name: Rpm\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm\n description: An rpm package file.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - googet\n - msi\n required:\n - source\n properties:\n pullDeps:\n type: boolean\n x-dcl-go-name: PullDeps\n description: 'Whether dependencies should also\n be installed. - install when false: `rpm --upgrade\n --replacepkgs package.rpm` - install when true:\n `yum -y install package.rpm` or `zypper -y install\n package.rpm`'\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource\n description: Required. An rpm package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum\n description: A package managed by YUM.\n x-dcl-conflicts:\n - apt\n - deb\n - zypper\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper\n description: A package managed by Zypper.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n repository:\n type: object\n x-dcl-go-name: Repository\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository\n description: Package repository resource\n x-dcl-conflicts:\n - pkg\n - exec\n - file\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt\n description: An Apt Repository.\n x-dcl-conflicts:\n - yum\n - zypper\n - goo\n required:\n - archiveType\n - uri\n - distribution\n - components\n properties:\n archiveType:\n type: string\n x-dcl-go-name: ArchiveType\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum\n description: 'Required. Type of archive files\n in this repository. Possible values: ARCHIVE_TYPE_UNSPECIFIED,\n DEB, DEB_SRC'\n enum:\n - ARCHIVE_TYPE_UNSPECIFIED\n - DEB\n - DEB_SRC\n components:\n type: array\n x-dcl-go-name: Components\n description: Required. List of components for\n this repository. Must contain at least one item.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n distribution:\n type: string\n x-dcl-go-name: Distribution\n description: Required. Distribution of this repository.\n gpgKey:\n type: string\n x-dcl-go-name: GpgKey\n description: URI of the key file for this repository.\n The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI for this repository.\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo\n description: A Goo Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n required:\n - name\n - url\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the repository.\n url:\n type: string\n x-dcl-go-name: Url\n description: Required. The url of the repository.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum\n description: A Yum Repository.\n x-dcl-conflicts:\n - apt\n - zypper\n - goo\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository\n directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name\n for this repository. This is the `repo id` in\n the yum config file and also the `display_name`\n if `display_name` is omitted. This id is also\n used as the unique identifier when checking\n for resource conflicts.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper\n description: A Zypper Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - goo\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository\n directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name\n for this repository. This is the `repo id` in\n the zypper config file and also the `display_name`\n if `display_name` is omitted. This id is also\n used as the unique identifier when checking\n for GuestPolicy conflicts.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: 'Output only. Indicates that reconciliation is in progress\n for the revision. This value is `true` when the `rollout_state` is one\n of: * IN_PROGRESS * CANCELLING'\n x-kubernetes-immutable: true\n revisionCreateTime:\n type: string\n format: date-time\n x-dcl-go-name: RevisionCreateTime\n readOnly: true\n description: Output only. The timestamp that the revision was created.\n x-kubernetes-immutable: true\n revisionId:\n type: string\n x-dcl-go-name: RevisionId\n readOnly: true\n description: Output only. The assignment revision ID A new revision is committed\n whenever a rollout is triggered for a OS policy assignment\n x-kubernetes-immutable: true\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: OSPolicyAssignmentRollout\n description: 'Required. Rollout to deploy the OS policy assignment. A rollout\n is triggered in the following situations: 1) OSPolicyAssignment is created.\n 2) OSPolicyAssignment is updated and the update contains changes to one\n of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment\n is deleted.'\n required:\n - disruptionBudget\n - minWaitDuration\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: OSPolicyAssignmentRolloutDisruptionBudget\n description: Required. The maximum number (or percentage) of VMs per\n zone to disrupt at any given moment.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n minWaitDuration:\n type: string\n x-dcl-go-name: MinWaitDuration\n description: Required. This determines the minimum duration of time\n to wait after the configuration changes are applied through the current\n rollout. A VM continues to count towards the `disruption_budget` at\n least until this duration of time has passed after configuration changes\n are applied.\n rolloutState:\n type: string\n x-dcl-go-name: RolloutState\n x-dcl-go-type: OSPolicyAssignmentRolloutStateEnum\n readOnly: true\n description: 'Output only. OS policy assignment rollout state Possible values:\n ROLLOUT_STATE_UNSPECIFIED, IN_PROGRESS, CANCELLING, CANCELLED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - ROLLOUT_STATE_UNSPECIFIED\n - IN_PROGRESS\n - CANCELLING\n - CANCELLED\n - SUCCEEDED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server generated unique id for the OS policy assignment\n resource.\n x-kubernetes-immutable: true\n") +var YAML_os_policy_assignment = []byte("info:\n title: OSConfig/OSPolicyAssignment\n description: Represents an OSPolicyAssignment resource.\n x-dcl-struct-name: OSPolicyAssignment\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments\npaths:\n get:\n description: The function used to get information about a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n apply:\n description: The function used to apply information about a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n delete:\n description: The function used to delete a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n deleteAll:\n description: The function used to delete all OSPolicyAssignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OSPolicyAssignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OSPolicyAssignment:\n title: OSPolicyAssignment\n x-dcl-id: projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - osPolicies\n - instanceFilter\n - rollout\n - project\n - location\n properties:\n baseline:\n type: boolean\n x-dcl-go-name: Baseline\n readOnly: true\n description: Output only. Indicates that this revision has been successfully\n rolled out in this zone and new VMs will be assigned OS policies from\n this revision. For a given OS policy assignment, there is only one revision\n with a value of `true` for this field.\n x-kubernetes-immutable: true\n deleted:\n type: boolean\n x-dcl-go-name: Deleted\n readOnly: true\n description: Output only. Indicates that this revision deletes the OS policy\n assignment.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: OS policy assignment description. Length of the description\n is limited to 1024 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: The etag for this OS policy assignment. If this is provided\n on update, it must match the server's etag.\n x-kubernetes-immutable: true\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: OSPolicyAssignmentInstanceFilter\n description: Required. Filter to select VMs.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VMs in the project. If true, no other criteria\n is permitted.\n x-dcl-send-empty: true\n exclusionLabels:\n type: array\n x-dcl-go-name: ExclusionLabels\n description: List of label sets used for VM exclusion. If the list has\n more than one label set, the VM is excluded if any of the label sets\n are applicable for the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterExclusionLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are identified by key/value pairs in this\n map. A VM should contain all the key/value pairs specified in\n this map to be selected.\n inclusionLabels:\n type: array\n x-dcl-go-name: InclusionLabels\n description: List of label sets used for VM inclusion. If the list has\n more than one `LabelSet`, the VM is included if any of the label sets\n are applicable for the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterInclusionLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are identified by key/value pairs in this\n map. A VM should contain all the key/value pairs specified in\n this map to be selected.\n inventories:\n type: array\n x-dcl-go-name: Inventories\n description: List of inventories to select VMs. A VM is selected if\n its inventory data matches at least one of the following inventories.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterInventories\n required:\n - osShortName\n properties:\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Required. The OS short name\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: The OS version Prefix matches are supported if asterisk(*)\n is provided as the last character. For example, to match all\n versions with a major version of `7`, specify the following\n value for this field `7.*` An empty string matches all OS versions.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name.\n x-kubernetes-immutable: true\n osPolicies:\n type: array\n x-dcl-go-name: OSPolicies\n description: Required. List of OS policies to be applied to the VMs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPolicies\n required:\n - id\n - mode\n - resourceGroups\n properties:\n allowNoResourceGroupMatch:\n type: boolean\n x-dcl-go-name: AllowNoResourceGroupMatch\n description: This flag determines the OS policy compliance status\n when none of the resource groups within the policy are applicable\n for a VM. Set this value to `true` if the policy needs to be reported\n as compliant even if the policy has nothing to validate or enforce.\n description:\n type: string\n x-dcl-go-name: Description\n description: Policy description. Length of the description is limited\n to 1024 characters.\n id:\n type: string\n x-dcl-go-name: Id\n description: 'Required. The id of the OS policy with the following\n restrictions: * Must contain only lowercase letters, numbers, and\n hyphens. * Must start with a letter. * Must be between 1-63 characters.\n * Must end with a number or a letter. * Must be unique within the\n assignment.'\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesModeEnum\n description: 'Required. Policy mode Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n resourceGroups:\n type: array\n x-dcl-go-name: ResourceGroups\n description: Required. List of resource groups for the policy. For\n a particular VM, resource groups are evaluated in the order specified\n and the first resource group that is applicable is selected and\n the rest are ignored. If none of the resource groups are applicable\n for a VM, the VM is considered to be non-compliant w.r.t this policy.\n This behavior can be toggled by the flag `allow_no_resource_group_match`\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroups\n required:\n - resources\n properties:\n inventoryFilters:\n type: array\n x-dcl-go-name: InventoryFilters\n description: 'List of inventory filters for the resource group.\n The resources in this resource group are applied to the target\n VM if it satisfies at least one of the following inventory\n filters. For example, to apply this resource group to VMs\n running either `RHEL` or `CentOS` operating systems, specify\n 2 items for the list with following values: inventory_filters[0].os_short_name=''rhel''\n and inventory_filters[1].os_short_name=''centos'' If the list\n is empty, this resource group will be applied to the target\n VM unconditionally.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters\n required:\n - osShortName\n properties:\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Required. The OS short name\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: The OS version Prefix matches are supported\n if asterisk(*) is provided as the last character. For\n example, to match all versions with a major version\n of `7`, specify the following value for this field `7.*`\n An empty string matches all OS versions.\n resources:\n type: array\n x-dcl-go-name: Resources\n description: Required. List of resources configured for this\n resource group. The resources are executed in the exact order\n specified here.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResources\n required:\n - id\n properties:\n exec:\n type: object\n x-dcl-go-name: Exec\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec\n description: Exec resource\n x-dcl-conflicts:\n - pkg\n - repository\n - file\n required:\n - validate\n properties:\n enforce:\n type: object\n x-dcl-go-name: Enforce\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce\n description: What to run to bring this resource into\n the desired state. An exit code of 100 indicates\n \"success\", any other exit code indicates a failure\n running enforce.\n required:\n - interpreter\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional arguments to pass to the\n source during execution.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile\n description: A remote or local file.\n x-dcl-conflicts:\n - script\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum\n description: 'Required. The script interpreter\n to use. Possible values: INTERPRETER_UNSPECIFIED,\n NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n outputFilePath:\n type: string\n x-dcl-go-name: OutputFilePath\n description: Only recorded for enforce Exec. Path\n to an output file (that is created by this Exec)\n whose content will be recorded in OSPolicyResourceCompliance\n after a successful run. Absence or failure to\n read this file will result in this ExecResource\n being non-compliant. Output file size is limited\n to 100K bytes.\n script:\n type: string\n x-dcl-go-name: Script\n description: An inline script. The size of the\n script is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n validate:\n type: object\n x-dcl-go-name: Validate\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate\n description: Required. What to run to validate this\n resource is in the desired state. An exit code of\n 100 indicates \"in desired state\", and exit code\n of 101 indicates \"not in desired state\". Any other\n exit code indicates a failure running validate.\n required:\n - interpreter\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional arguments to pass to the\n source during execution.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile\n description: A remote or local file.\n x-dcl-conflicts:\n - script\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum\n description: 'Required. The script interpreter\n to use. Possible values: INTERPRETER_UNSPECIFIED,\n NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n outputFilePath:\n type: string\n x-dcl-go-name: OutputFilePath\n description: Only recorded for enforce Exec. Path\n to an output file (that is created by this Exec)\n whose content will be recorded in OSPolicyResourceCompliance\n after a successful run. Absence or failure to\n read this file will result in this ExecResource\n being non-compliant. Output file size is limited\n to 100K bytes.\n script:\n type: string\n x-dcl-go-name: Script\n description: An inline script. The size of the\n script is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile\n description: File resource\n x-dcl-conflicts:\n - pkg\n - repository\n - exec\n required:\n - path\n - state\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: A a file with this content. The size\n of the content is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile\n description: A remote or local source.\n x-dcl-conflicts:\n - content\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false, files\n are subject to validations based on the file\n type: Remote: A checksum must be specified.\n Cloud Storage: An object generation number must\n be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the Cloud\n Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage\n object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which to fetch\n the object. It should contain both the protocol\n and path following the format `{protocol}://{location}`.\n path:\n type: string\n x-dcl-go-name: Path\n description: Required. The absolute path of the file\n within the VM.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n readOnly: true\n description: 'Consists of three octal digits which\n represent, in order, the permissions of the owner,\n group, and other users for the file (similarly to\n the numeric mode used in the linux chmod utility).\n Each digit represents a three bit number with the\n 4 bit corresponding to the read permissions, the\n 2 bit corresponds to the write bit, and the one\n bit corresponds to the execute permission. Default\n behavior is 755. Below are some examples of permissions\n and their associated values: read, write, and execute:\n 7 read and execute: 5 read and write: 6 read only:\n 4'\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum\n description: 'Required. Desired state of the file.\n Possible values: OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED,\n COMPLIANT, NON_COMPLIANT, UNKNOWN, NO_OS_POLICIES_APPLICABLE'\n enum:\n - OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED\n - COMPLIANT\n - NON_COMPLIANT\n - UNKNOWN\n - NO_OS_POLICIES_APPLICABLE\n id:\n type: string\n x-dcl-go-name: Id\n description: 'Required. The id of the resource with the\n following restrictions: * Must contain only lowercase\n letters, numbers, and hyphens. * Must start with a letter.\n * Must be between 1-63 characters. * Must end with a\n number or a letter. * Must be unique within the OS policy.'\n pkg:\n type: object\n x-dcl-go-name: Pkg\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg\n description: Package resource\n x-dcl-conflicts:\n - repository\n - exec\n - file\n required:\n - desiredState\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt\n description: A package managed by Apt.\n x-dcl-conflicts:\n - deb\n - yum\n - zypper\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n deb:\n type: object\n x-dcl-go-name: Deb\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb\n description: A deb package file.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n - rpm\n - googet\n - msi\n required:\n - source\n properties:\n pullDeps:\n type: boolean\n x-dcl-go-name: PullDeps\n description: 'Whether dependencies should also\n be installed. - install when false: `dpkg -i\n package` - install when true: `apt-get update\n && apt-get -y install package.deb`'\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource\n description: Required. A deb package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum\n description: 'Required. The desired state the agent\n should maintain for this package. Possible values:\n DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n googet:\n type: object\n x-dcl-go-name: Googet\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget\n description: A package managed by GooGet.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - rpm\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n msi:\n type: object\n x-dcl-go-name: Msi\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi\n description: An MSI package.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - rpm\n - googet\n required:\n - source\n properties:\n properties:\n type: array\n x-dcl-go-name: Properties\n description: Additional properties to use during\n installation. This should be in the format of\n Property=Setting. Appended to the defaults of\n `ACTION=INSTALL REBOOT=ReallySuppress`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource\n description: Required. The MSI package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n rpm:\n type: object\n x-dcl-go-name: Rpm\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm\n description: An rpm package file.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - googet\n - msi\n required:\n - source\n properties:\n pullDeps:\n type: boolean\n x-dcl-go-name: PullDeps\n description: 'Whether dependencies should also\n be installed. - install when false: `rpm --upgrade\n --replacepkgs package.rpm` - install when true:\n `yum -y install package.rpm` or `zypper -y install\n package.rpm`'\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource\n description: Required. An rpm package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum\n description: A package managed by YUM.\n x-dcl-conflicts:\n - apt\n - deb\n - zypper\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper\n description: A package managed by Zypper.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n repository:\n type: object\n x-dcl-go-name: Repository\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository\n description: Package repository resource\n x-dcl-conflicts:\n - pkg\n - exec\n - file\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt\n description: An Apt Repository.\n x-dcl-conflicts:\n - yum\n - zypper\n - goo\n required:\n - archiveType\n - uri\n - distribution\n - components\n properties:\n archiveType:\n type: string\n x-dcl-go-name: ArchiveType\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum\n description: 'Required. Type of archive files\n in this repository. Possible values: ARCHIVE_TYPE_UNSPECIFIED,\n DEB, DEB_SRC'\n enum:\n - ARCHIVE_TYPE_UNSPECIFIED\n - DEB\n - DEB_SRC\n components:\n type: array\n x-dcl-go-name: Components\n description: Required. List of components for\n this repository. Must contain at least one item.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n distribution:\n type: string\n x-dcl-go-name: Distribution\n description: Required. Distribution of this repository.\n gpgKey:\n type: string\n x-dcl-go-name: GpgKey\n description: URI of the key file for this repository.\n The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI for this repository.\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo\n description: A Goo Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n required:\n - name\n - url\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the repository.\n url:\n type: string\n x-dcl-go-name: Url\n description: Required. The url of the repository.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum\n description: A Yum Repository.\n x-dcl-conflicts:\n - apt\n - zypper\n - goo\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository\n directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name\n for this repository. This is the `repo id` in\n the yum config file and also the `display_name`\n if `display_name` is omitted. This id is also\n used as the unique identifier when checking\n for resource conflicts.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper\n description: A Zypper Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - goo\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository\n directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name\n for this repository. This is the `repo id` in\n the zypper config file and also the `display_name`\n if `display_name` is omitted. This id is also\n used as the unique identifier when checking\n for GuestPolicy conflicts.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: 'Output only. Indicates that reconciliation is in progress\n for the revision. This value is `true` when the `rollout_state` is one\n of: * IN_PROGRESS * CANCELLING'\n x-kubernetes-immutable: true\n revisionCreateTime:\n type: string\n format: date-time\n x-dcl-go-name: RevisionCreateTime\n readOnly: true\n description: Output only. The timestamp that the revision was created.\n x-kubernetes-immutable: true\n revisionId:\n type: string\n x-dcl-go-name: RevisionId\n readOnly: true\n description: Output only. The assignment revision ID A new revision is committed\n whenever a rollout is triggered for a OS policy assignment\n x-kubernetes-immutable: true\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: OSPolicyAssignmentRollout\n description: 'Required. Rollout to deploy the OS policy assignment. A rollout\n is triggered in the following situations: 1) OSPolicyAssignment is created.\n 2) OSPolicyAssignment is updated and the update contains changes to one\n of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment\n is deleted.'\n required:\n - disruptionBudget\n - minWaitDuration\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: OSPolicyAssignmentRolloutDisruptionBudget\n description: Required. The maximum number (or percentage) of VMs per\n zone to disrupt at any given moment.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n minWaitDuration:\n type: string\n x-dcl-go-name: MinWaitDuration\n description: Required. This determines the minimum duration of time\n to wait after the configuration changes are applied through the current\n rollout. A VM continues to count towards the `disruption_budget` at\n least until this duration of time has passed after configuration changes\n are applied.\n rolloutState:\n type: string\n x-dcl-go-name: RolloutState\n x-dcl-go-type: OSPolicyAssignmentRolloutStateEnum\n readOnly: true\n description: 'Output only. OS policy assignment rollout state Possible values:\n ROLLOUT_STATE_UNSPECIFIED, IN_PROGRESS, CANCELLING, CANCELLED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - ROLLOUT_STATE_UNSPECIFIED\n - IN_PROGRESS\n - CANCELLING\n - CANCELLED\n - SUCCEEDED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server generated unique id for the OS policy assignment\n resource.\n x-kubernetes-immutable: true\n") -// 72961 bytes -// MD5: c979ac007b7d8bf0175fa09e4a7c0937 +// 72986 bytes +// MD5: 64411c52f3e2babf5e5d4d9f711969f1 diff --git a/services/google/osconfig/alpha/os_policy_assignment_schema.go b/services/google/osconfig/alpha/os_policy_assignment_schema.go index 9421d6ece0..ffc8ef5f70 100755 --- a/services/google/osconfig/alpha/os_policy_assignment_schema.go +++ b/services/google/osconfig/alpha/os_policy_assignment_schema.go @@ -23,6 +23,7 @@ func DCLOSPolicyAssignmentSchema() *dcl.Schema { Title: "OSConfig/OSPolicyAssignment", Description: "Represents an OSPolicyAssignment resource.", StructName: "OSPolicyAssignment", + HasCreate: true, Reference: &dcl.Link{ Text: "API documentation", URL: "https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments", diff --git a/services/google/osconfig/alpha/patch_deployment.yaml b/services/google/osconfig/alpha/patch_deployment.yaml index 4015d53007..9e51b53c42 100755 --- a/services/google/osconfig/alpha/patch_deployment.yaml +++ b/services/google/osconfig/alpha/patch_deployment.yaml @@ -17,6 +17,7 @@ info: to complete a patch. These configurations include instance filter, package repository settings, and a schedule. x-dcl-struct-name: PatchDeployment + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API documentation diff --git a/services/google/osconfig/alpha/patch_deployment_alpha_yaml_embed.go b/services/google/osconfig/alpha/patch_deployment_alpha_yaml_embed.go index e99acf618a..a0a34ebbfd 100755 --- a/services/google/osconfig/alpha/patch_deployment_alpha_yaml_embed.go +++ b/services/google/osconfig/alpha/patch_deployment_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/osconfig/alpha/patch_deployment.yaml -var YAML_patch_deployment = []byte("info:\n title: OSConfig/PatchDeployment\n description: Patch deployments are configurations that individual patch jobs use\n to complete a patch. These configurations include instance filter, package repository\n settings, and a schedule.\n x-dcl-struct-name: PatchDeployment\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest\n x-dcl-guides:\n - text: Official Documentation\n url: https://cloud.google.com/compute/docs/os-patch-management\npaths:\n get:\n description: The function used to get information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n apply:\n description: The function used to apply information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n delete:\n description: The function used to delete a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n deleteAll:\n description: The function used to delete all PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PatchDeployment:\n title: PatchDeployment\n x-dcl-id: projects/{{project}}/patchDeployments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - instanceFilter\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the patch deployment was created. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the patch deployment. Length of the\n description is limited to 1024 characters.\n duration:\n type: string\n x-dcl-go-name: Duration\n description: Optional. Duration of the patch. After the duration ends, the\n patch times out.\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: PatchDeploymentInstanceFilter\n description: Required. VM instances to patch.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VM instances in the project. If true, no other\n criteria is permitted.\n x-dcl-conflicts:\n - instanceNamePrefixes\n groupLabels:\n type: array\n x-dcl-go-name: GroupLabels\n description: Targets VM instances matching ANY of these GroupLabels.\n This allows targeting of disparate groups of VM instances.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PatchDeploymentInstanceFilterGroupLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Compute Engine instance labels that must be present\n for a VM instance to be targeted by this filter.\n instanceNamePrefixes:\n type: array\n x-dcl-go-name: InstanceNamePrefixes\n description: Targets VMs whose name starts with one of these prefixes.\n Similar to labels, this is another way to group VMs when targeting\n configs, for example prefix=\"prod-\".\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n instances:\n type: array\n x-dcl-go-name: Instances\n description: Targets any of the VM instances specified. Instances are\n specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,\n `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or\n `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: name\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Targets VM instances in ANY of these zones. Leave empty\n to target VM instances in any zone.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The last time a patch job was started by this\n deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Unique name for the patch deployment resource in a project.\n The patch deployment name is in the form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`.\n This field is ignored when you create a new patch deployment.'\n x-kubernetes-immutable: true\n oneTimeSchedule:\n type: object\n x-dcl-go-name: OneTimeSchedule\n x-dcl-go-type: PatchDeploymentOneTimeSchedule\n description: Required. Schedule a one-time execution.\n x-dcl-conflicts:\n - recurringSchedule\n required:\n - executeTime\n properties:\n executeTime:\n type: string\n format: date-time\n x-dcl-go-name: ExecuteTime\n description: Required. The desired patch job execution time.\n patchConfig:\n type: object\n x-dcl-go-name: PatchConfig\n x-dcl-go-type: PatchDeploymentPatchConfig\n description: Optional. Patch configuration that is applied.\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: PatchDeploymentPatchConfigApt\n description: Apt update settings. Use this setting to override the default\n `apt` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n will be excluded\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field cannot be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: PatchDeploymentPatchConfigAptTypeEnum\n description: 'By changing the type to DIST, the patching is performed\n using `apt-get dist-upgrade` instead. Possible values: TYPE_UNSPECIFIED,\n DIST, UPGRADE'\n enum:\n - TYPE_UNSPECIFIED\n - DIST\n - UPGRADE\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: PatchDeploymentPatchConfigGoo\n description: Goo update settings. Use this setting to override the default\n `goo` patch rules.\n postStep:\n type: object\n x-dcl-go-name: PostStep\n x-dcl-go-type: PatchDeploymentPatchConfigPostStep\n description: The `ExecStep` to run after the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n preStep:\n type: object\n x-dcl-go-name: PreStep\n x-dcl-go-type: PatchDeploymentPatchConfigPreStep\n description: The `ExecStep` to run before the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n rebootConfig:\n type: string\n x-dcl-go-name: RebootConfig\n x-dcl-go-type: PatchDeploymentPatchConfigRebootConfigEnum\n description: 'Post-patch reboot settings. Possible values: REBOOT_CONFIG_UNSPECIFIED,\n DEFAULT, ALWAYS, NEVER'\n enum:\n - REBOOT_CONFIG_UNSPECIFIED\n - DEFAULT\n - ALWAYS\n - NEVER\n retryStrategy:\n type: object\n x-dcl-go-name: RetryStrategy\n x-dcl-go-type: PatchDeploymentPatchConfigRetryStrategy\n description: Optional. Retry strategy can be defined to have the agent\n retry patching during the window if patching fails. If omitted, the\n agent will use its default retry strategy.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: If true, the agent will continue to try and patch until\n the window has ended.\n windowsUpdate:\n type: object\n x-dcl-go-name: WindowsUpdate\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdate\n description: Windows update settings. Use this override the default\n windows patch rules.\n properties:\n classifications:\n type: array\n x-dcl-go-name: Classifications\n description: Only apply updates of these windows update classifications.\n If empty, all updates are applied.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum\n enum:\n - CLASSIFICATION_UNSPECIFIED\n - CRITICAL\n - SECURITY\n - DEFINITION\n - DRIVER\n - FEATURE_PACK\n - SERVICE_PACK\n - TOOL\n - UPDATE_ROLLUP\n - UPDATE\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of KBs to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of kbs to be updated. These are the\n only patches that will be updated. This field must not be used\n with other patch configurations.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: PatchDeploymentPatchConfigYum\n description: Yum update settings. Use this setting to override the default\n `yum` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n are excluded by using the yum `--exclude` flag.\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field must not be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n minimal:\n type: boolean\n x-dcl-go-name: Minimal\n description: Will cause patch to run `yum update-minimal` instead.\n security:\n type: boolean\n x-dcl-go-name: Security\n description: Adds the `--security` flag to `yum update`. Not supported\n on all platforms.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: PatchDeploymentPatchConfigZypper\n description: Zypper update settings. Use this setting to override the\n default `zypper` patch rules.\n properties:\n categories:\n type: array\n x-dcl-go-name: Categories\n description: Install only patches with these categories. Common\n categories include security, recommended, and feature.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of patches to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of patches to be updated. These are\n the only patches that will be installed using 'zypper patch patch:'\n command. This field must not be used with any other patch configuration\n fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n severities:\n type: array\n x-dcl-go-name: Severities\n description: Install only patches with these severities. Common\n severities include critical, important, moderate, and low.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n withOptional:\n type: boolean\n x-dcl-go-name: WithOptional\n description: Adds the `--with-optional` flag to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n withUpdate:\n type: boolean\n x-dcl-go-name: WithUpdate\n description: Adds the `--with-update` flag, to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n recurringSchedule:\n type: object\n x-dcl-go-name: RecurringSchedule\n x-dcl-go-type: PatchDeploymentRecurringSchedule\n description: Required. Schedule recurring executions.\n x-dcl-conflicts:\n - oneTimeSchedule\n required:\n - timeZone\n - timeOfDay\n - frequency\n properties:\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Optional. The end time at which a recurring patch deployment\n schedule is no longer active.\n frequency:\n type: string\n x-dcl-go-name: Frequency\n x-dcl-go-type: PatchDeploymentRecurringScheduleFrequencyEnum\n description: 'Required. The frequency unit of this recurring schedule.\n Possible values: FREQUENCY_UNSPECIFIED, WEEKLY, MONTHLY, DAILY'\n enum:\n - FREQUENCY_UNSPECIFIED\n - WEEKLY\n - MONTHLY\n - DAILY\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The time the last patch job ran successfully.\n monthly:\n type: object\n x-dcl-go-name: Monthly\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthly\n description: Required. Schedule with monthly executions.\n x-dcl-conflicts:\n - weekly\n properties:\n monthDay:\n type: integer\n format: int64\n x-dcl-go-name: MonthDay\n description: Required. One day of the month. 1-31 indicates the\n 1st to the 31st day. -1 indicates the last day of the month. Months\n without the target day will be skipped. For example, a schedule\n to run \"every month on the 31st\" will not run in February, April,\n June, etc.\n x-dcl-conflicts:\n - weekDayOfMonth\n weekDayOfMonth:\n type: object\n x-dcl-go-name: WeekDayOfMonth\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth\n description: Required. Week day in a month.\n x-dcl-conflicts:\n - monthDay\n required:\n - weekOrdinal\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum\n description: 'Required. A day of the week. Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,\n FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n weekOrdinal:\n type: integer\n format: int64\n x-dcl-go-name: WeekOrdinal\n description: Required. Week number in a month. 1-4 indicates\n the 1st to 4th week of the month. -1 indicates the last week\n of the month.\n nextExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: NextExecuteTime\n readOnly: true\n description: Output only. The time the next patch job is scheduled to\n run.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Optional. The time that the recurring schedule becomes\n effective. Defaults to `create_time` of the patch deployment.\n timeOfDay:\n type: object\n x-dcl-go-name: TimeOfDay\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeOfDay\n description: Required. Time of the day to run a recurring deployment.\n x-dcl-send-empty: true\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format. Should be from 0 to\n 23. An API may choose to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time. Must normally be from\n 0 to 59. An API may allow the value 60 if it allows leap-seconds.\n timeZone:\n type: object\n x-dcl-go-name: TimeZone\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeZone\n description: Required. Defines the time zone that `time_of_day` is relative\n to. The rules for daylight saving time are determined by the chosen\n time zone.\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: IANA Time Zone Database time zone, e.g. \"America/New_York\".\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional. IANA Time Zone Database version number, e.g.\n \"2019a\".\n weekly:\n type: object\n x-dcl-go-name: Weekly\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeekly\n description: Required. Schedule with weekly executions.\n x-dcl-conflicts:\n - monthly\n required:\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum\n description: 'Required. Day of the week. Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: PatchDeploymentRollout\n description: Optional. Rollout strategy of the patch job.\n required:\n - mode\n - disruptionBudget\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: PatchDeploymentRolloutDisruptionBudget\n description: The maximum number (or percentage) of VMs per zone to disrupt\n at any given moment. The number of VMs calculated from multiplying\n the percentage by the total number of VMs in a zone is rounded up.\n During patching, a VM is considered disrupted from the time the agent\n is notified to begin until patching has completed. This disruption\n time includes the time to complete reboot and any post-patch steps.\n A VM contributes to the disruption budget if its patching operation\n fails either when applying the patches, running pre or post patch\n steps, or if it fails to respond with a success notification before\n timing out. VMs that are not running or do not have an active agent\n do not count toward this disruption budget. For zone-by-zone rollouts,\n if the disruption budget in a zone is exceeded, the patch job stops,\n because continuing to the next zone requires completion of the patch\n process in the previous zone. For example, if the disruption budget\n has a fixed value of `10`, and 8 VMs fail to patch in the current\n zone, the patch job continues to patch 2 VMs at a time until the zone\n is completed. When that zone is completed successfully, patching begins\n with 10 VMs at a time in the next zone. If 10 VMs in the next zone\n fail to patch, the patch job stops.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: PatchDeploymentRolloutModeEnum\n description: 'Mode of the patch rollout. Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the patch deployment was last updated. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n") +var YAML_patch_deployment = []byte("info:\n title: OSConfig/PatchDeployment\n description: Patch deployments are configurations that individual patch jobs use\n to complete a patch. These configurations include instance filter, package repository\n settings, and a schedule.\n x-dcl-struct-name: PatchDeployment\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest\n x-dcl-guides:\n - text: Official Documentation\n url: https://cloud.google.com/compute/docs/os-patch-management\npaths:\n get:\n description: The function used to get information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n apply:\n description: The function used to apply information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n delete:\n description: The function used to delete a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n deleteAll:\n description: The function used to delete all PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PatchDeployment:\n title: PatchDeployment\n x-dcl-id: projects/{{project}}/patchDeployments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - instanceFilter\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the patch deployment was created. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the patch deployment. Length of the\n description is limited to 1024 characters.\n duration:\n type: string\n x-dcl-go-name: Duration\n description: Optional. Duration of the patch. After the duration ends, the\n patch times out.\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: PatchDeploymentInstanceFilter\n description: Required. VM instances to patch.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VM instances in the project. If true, no other\n criteria is permitted.\n x-dcl-conflicts:\n - instanceNamePrefixes\n groupLabels:\n type: array\n x-dcl-go-name: GroupLabels\n description: Targets VM instances matching ANY of these GroupLabels.\n This allows targeting of disparate groups of VM instances.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PatchDeploymentInstanceFilterGroupLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Compute Engine instance labels that must be present\n for a VM instance to be targeted by this filter.\n instanceNamePrefixes:\n type: array\n x-dcl-go-name: InstanceNamePrefixes\n description: Targets VMs whose name starts with one of these prefixes.\n Similar to labels, this is another way to group VMs when targeting\n configs, for example prefix=\"prod-\".\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n instances:\n type: array\n x-dcl-go-name: Instances\n description: Targets any of the VM instances specified. Instances are\n specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,\n `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or\n `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: name\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Targets VM instances in ANY of these zones. Leave empty\n to target VM instances in any zone.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The last time a patch job was started by this\n deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Unique name for the patch deployment resource in a project.\n The patch deployment name is in the form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`.\n This field is ignored when you create a new patch deployment.'\n x-kubernetes-immutable: true\n oneTimeSchedule:\n type: object\n x-dcl-go-name: OneTimeSchedule\n x-dcl-go-type: PatchDeploymentOneTimeSchedule\n description: Required. Schedule a one-time execution.\n x-dcl-conflicts:\n - recurringSchedule\n required:\n - executeTime\n properties:\n executeTime:\n type: string\n format: date-time\n x-dcl-go-name: ExecuteTime\n description: Required. The desired patch job execution time.\n patchConfig:\n type: object\n x-dcl-go-name: PatchConfig\n x-dcl-go-type: PatchDeploymentPatchConfig\n description: Optional. Patch configuration that is applied.\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: PatchDeploymentPatchConfigApt\n description: Apt update settings. Use this setting to override the default\n `apt` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n will be excluded\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field cannot be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: PatchDeploymentPatchConfigAptTypeEnum\n description: 'By changing the type to DIST, the patching is performed\n using `apt-get dist-upgrade` instead. Possible values: TYPE_UNSPECIFIED,\n DIST, UPGRADE'\n enum:\n - TYPE_UNSPECIFIED\n - DIST\n - UPGRADE\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: PatchDeploymentPatchConfigGoo\n description: Goo update settings. Use this setting to override the default\n `goo` patch rules.\n postStep:\n type: object\n x-dcl-go-name: PostStep\n x-dcl-go-type: PatchDeploymentPatchConfigPostStep\n description: The `ExecStep` to run after the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n preStep:\n type: object\n x-dcl-go-name: PreStep\n x-dcl-go-type: PatchDeploymentPatchConfigPreStep\n description: The `ExecStep` to run before the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n rebootConfig:\n type: string\n x-dcl-go-name: RebootConfig\n x-dcl-go-type: PatchDeploymentPatchConfigRebootConfigEnum\n description: 'Post-patch reboot settings. Possible values: REBOOT_CONFIG_UNSPECIFIED,\n DEFAULT, ALWAYS, NEVER'\n enum:\n - REBOOT_CONFIG_UNSPECIFIED\n - DEFAULT\n - ALWAYS\n - NEVER\n retryStrategy:\n type: object\n x-dcl-go-name: RetryStrategy\n x-dcl-go-type: PatchDeploymentPatchConfigRetryStrategy\n description: Optional. Retry strategy can be defined to have the agent\n retry patching during the window if patching fails. If omitted, the\n agent will use its default retry strategy.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: If true, the agent will continue to try and patch until\n the window has ended.\n windowsUpdate:\n type: object\n x-dcl-go-name: WindowsUpdate\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdate\n description: Windows update settings. Use this override the default\n windows patch rules.\n properties:\n classifications:\n type: array\n x-dcl-go-name: Classifications\n description: Only apply updates of these windows update classifications.\n If empty, all updates are applied.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum\n enum:\n - CLASSIFICATION_UNSPECIFIED\n - CRITICAL\n - SECURITY\n - DEFINITION\n - DRIVER\n - FEATURE_PACK\n - SERVICE_PACK\n - TOOL\n - UPDATE_ROLLUP\n - UPDATE\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of KBs to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of kbs to be updated. These are the\n only patches that will be updated. This field must not be used\n with other patch configurations.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: PatchDeploymentPatchConfigYum\n description: Yum update settings. Use this setting to override the default\n `yum` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n are excluded by using the yum `--exclude` flag.\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field must not be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n minimal:\n type: boolean\n x-dcl-go-name: Minimal\n description: Will cause patch to run `yum update-minimal` instead.\n security:\n type: boolean\n x-dcl-go-name: Security\n description: Adds the `--security` flag to `yum update`. Not supported\n on all platforms.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: PatchDeploymentPatchConfigZypper\n description: Zypper update settings. Use this setting to override the\n default `zypper` patch rules.\n properties:\n categories:\n type: array\n x-dcl-go-name: Categories\n description: Install only patches with these categories. Common\n categories include security, recommended, and feature.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of patches to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of patches to be updated. These are\n the only patches that will be installed using 'zypper patch patch:'\n command. This field must not be used with any other patch configuration\n fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n severities:\n type: array\n x-dcl-go-name: Severities\n description: Install only patches with these severities. Common\n severities include critical, important, moderate, and low.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n withOptional:\n type: boolean\n x-dcl-go-name: WithOptional\n description: Adds the `--with-optional` flag to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n withUpdate:\n type: boolean\n x-dcl-go-name: WithUpdate\n description: Adds the `--with-update` flag, to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n recurringSchedule:\n type: object\n x-dcl-go-name: RecurringSchedule\n x-dcl-go-type: PatchDeploymentRecurringSchedule\n description: Required. Schedule recurring executions.\n x-dcl-conflicts:\n - oneTimeSchedule\n required:\n - timeZone\n - timeOfDay\n - frequency\n properties:\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Optional. The end time at which a recurring patch deployment\n schedule is no longer active.\n frequency:\n type: string\n x-dcl-go-name: Frequency\n x-dcl-go-type: PatchDeploymentRecurringScheduleFrequencyEnum\n description: 'Required. The frequency unit of this recurring schedule.\n Possible values: FREQUENCY_UNSPECIFIED, WEEKLY, MONTHLY, DAILY'\n enum:\n - FREQUENCY_UNSPECIFIED\n - WEEKLY\n - MONTHLY\n - DAILY\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The time the last patch job ran successfully.\n monthly:\n type: object\n x-dcl-go-name: Monthly\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthly\n description: Required. Schedule with monthly executions.\n x-dcl-conflicts:\n - weekly\n properties:\n monthDay:\n type: integer\n format: int64\n x-dcl-go-name: MonthDay\n description: Required. One day of the month. 1-31 indicates the\n 1st to the 31st day. -1 indicates the last day of the month. Months\n without the target day will be skipped. For example, a schedule\n to run \"every month on the 31st\" will not run in February, April,\n June, etc.\n x-dcl-conflicts:\n - weekDayOfMonth\n weekDayOfMonth:\n type: object\n x-dcl-go-name: WeekDayOfMonth\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth\n description: Required. Week day in a month.\n x-dcl-conflicts:\n - monthDay\n required:\n - weekOrdinal\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum\n description: 'Required. A day of the week. Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,\n FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n weekOrdinal:\n type: integer\n format: int64\n x-dcl-go-name: WeekOrdinal\n description: Required. Week number in a month. 1-4 indicates\n the 1st to 4th week of the month. -1 indicates the last week\n of the month.\n nextExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: NextExecuteTime\n readOnly: true\n description: Output only. The time the next patch job is scheduled to\n run.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Optional. The time that the recurring schedule becomes\n effective. Defaults to `create_time` of the patch deployment.\n timeOfDay:\n type: object\n x-dcl-go-name: TimeOfDay\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeOfDay\n description: Required. Time of the day to run a recurring deployment.\n x-dcl-send-empty: true\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format. Should be from 0 to\n 23. An API may choose to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time. Must normally be from\n 0 to 59. An API may allow the value 60 if it allows leap-seconds.\n timeZone:\n type: object\n x-dcl-go-name: TimeZone\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeZone\n description: Required. Defines the time zone that `time_of_day` is relative\n to. The rules for daylight saving time are determined by the chosen\n time zone.\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: IANA Time Zone Database time zone, e.g. \"America/New_York\".\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional. IANA Time Zone Database version number, e.g.\n \"2019a\".\n weekly:\n type: object\n x-dcl-go-name: Weekly\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeekly\n description: Required. Schedule with weekly executions.\n x-dcl-conflicts:\n - monthly\n required:\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum\n description: 'Required. Day of the week. Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: PatchDeploymentRollout\n description: Optional. Rollout strategy of the patch job.\n required:\n - mode\n - disruptionBudget\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: PatchDeploymentRolloutDisruptionBudget\n description: The maximum number (or percentage) of VMs per zone to disrupt\n at any given moment. The number of VMs calculated from multiplying\n the percentage by the total number of VMs in a zone is rounded up.\n During patching, a VM is considered disrupted from the time the agent\n is notified to begin until patching has completed. This disruption\n time includes the time to complete reboot and any post-patch steps.\n A VM contributes to the disruption budget if its patching operation\n fails either when applying the patches, running pre or post patch\n steps, or if it fails to respond with a success notification before\n timing out. VMs that are not running or do not have an active agent\n do not count toward this disruption budget. For zone-by-zone rollouts,\n if the disruption budget in a zone is exceeded, the patch job stops,\n because continuing to the next zone requires completion of the patch\n process in the previous zone. For example, if the disruption budget\n has a fixed value of `10`, and 8 VMs fail to patch in the current\n zone, the patch job continues to patch 2 VMs at a time until the zone\n is completed. When that zone is completed successfully, patching begins\n with 10 VMs at a time in the next zone. If 10 VMs in the next zone\n fail to patch, the patch job stops.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: PatchDeploymentRolloutModeEnum\n description: 'Mode of the patch rollout. Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the patch deployment was last updated. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n") -// 42573 bytes -// MD5: c7d5523d0ccf9fd97344971e297cdc7b +// 42598 bytes +// MD5: 0416b80b5560129494957a577194c887 diff --git a/services/google/osconfig/alpha/patch_deployment_schema.go b/services/google/osconfig/alpha/patch_deployment_schema.go index a426eea2c6..77544b75bf 100755 --- a/services/google/osconfig/alpha/patch_deployment_schema.go +++ b/services/google/osconfig/alpha/patch_deployment_schema.go @@ -23,6 +23,7 @@ func DCLPatchDeploymentSchema() *dcl.Schema { Title: "OSConfig/PatchDeployment", Description: "Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule.", StructName: "PatchDeployment", + HasCreate: true, Reference: &dcl.Link{ Text: "API documentation", URL: "https://cloud.google.com/compute/docs/osconfig/rest", diff --git a/services/google/osconfig/beta/guest_policy.yaml b/services/google/osconfig/beta/guest_policy.yaml index a9e1f2f7ee..511c2f91bd 100755 --- a/services/google/osconfig/beta/guest_policy.yaml +++ b/services/google/osconfig/beta/guest_policy.yaml @@ -15,6 +15,7 @@ info: title: OSConfig/GuestPolicy description: The OSConfig GuestPolicy resource x-dcl-struct-name: GuestPolicy + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/osconfig/beta/guest_policy_beta_yaml_embed.go b/services/google/osconfig/beta/guest_policy_beta_yaml_embed.go index 8993a92d42..f7e17fffba 100755 --- a/services/google/osconfig/beta/guest_policy_beta_yaml_embed.go +++ b/services/google/osconfig/beta/guest_policy_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/osconfig/beta/guest_policy.yaml -var YAML_guest_policy = []byte("info:\n title: OSConfig/GuestPolicy\n description: The OSConfig GuestPolicy resource\n x-dcl-struct-name: GuestPolicy\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a GuestPolicy\n parameters:\n - name: GuestPolicy\n required: true\n description: A full instance of a GuestPolicy\n apply:\n description: The function used to apply information about a GuestPolicy\n parameters:\n - name: GuestPolicy\n required: true\n description: A full instance of a GuestPolicy\n delete:\n description: The function used to delete a GuestPolicy\n parameters:\n - name: GuestPolicy\n required: true\n description: A full instance of a GuestPolicy\n deleteAll:\n description: The function used to delete all GuestPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many GuestPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n GuestPolicy:\n title: GuestPolicy\n x-dcl-id: projects/{{project}}/guestPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n assignment:\n type: object\n x-dcl-go-name: Assignment\n x-dcl-go-type: GuestPolicyAssignment\n description: Specifies the VMs that are assigned this policy. This allows\n you to target sets or groups of VMs by different parameters such as labels,\n names, OS, or zones. Empty assignments will target ALL VMs underneath\n this policy. Conflict Management Policies that exist higher up in the\n resource hierarchy (closer to the Org) will override those lower down\n if there is a conflict. At the same level in the resource hierarchy (ie.\n within a project), the service will prevent the creation of multiple policies\n that conflict with each other. If there are multiple policies that specify\n the same config (eg. package, software recipe, repository, etc.), the\n service will ensure that no VM could potentially receive instructions\n from both policies. To create multiple policies that specify different\n versions of a package or different configs for different Operating Systems,\n each policy must be mutually exclusive in their targeting according to\n labels, OS, or other criteria. Different configs are identified for conflicts\n in different ways. Packages are identified by their name and the package\n manager(s) they target. Package repositories are identified by their unique\n id where applicable. Some package managers don't have a unique identifier\n for repositories and where that's the case, no uniqueness is validated\n by the service. Note that if OS Inventory is disabled, a VM will not be\n assigned a policy that targets by OS because the service will see this\n VM's OS as unknown.\n properties:\n groupLabels:\n type: array\n x-dcl-go-name: GroupLabels\n description: Targets instances matching at least one of these label\n sets. This allows an assignment to target disparate groups, for example\n \"env=prod or env=staging\".\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyAssignmentGroupLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Google Compute Engine instance labels that must be\n present for an instance to be included in this assignment group.\n instanceNamePrefixes:\n type: array\n x-dcl-go-name: InstanceNamePrefixes\n description: Targets VM instances whose name starts with one of these\n prefixes. Like labels, this is another way to group VM instances when\n targeting configs, for example prefix=\"prod-\". Only supported for\n project-level policies.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n instances:\n type: array\n x-dcl-go-name: Instances\n description: Targets any of the instances specified. Instances are specified\n by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.\n Instance targeting is uncommon and is supported to facilitate the\n management of changes by the instance or to target specific VM instances\n for development and testing. Only supported for project-level policies\n and must reference instances within this project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n osTypes:\n type: array\n x-dcl-go-name: OSTypes\n description: Targets VM instances matching at least one of the following\n OS types. VM instances must match all supplied criteria for a given\n OsType to be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyAssignmentOSTypes\n properties:\n osArchitecture:\n type: string\n x-dcl-go-name: OSArchitecture\n description: Targets VM instances with OS Inventory enabled and\n having the following OS architecture.\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Targets VM instances with OS Inventory enabled and\n having the following OS short name, for example \"debian\" or\n \"windows\".\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: Targets VM instances with OS Inventory enabled and\n having the following following OS version.\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Targets instances in any of these zones. Leave empty to\n target instances in any zone. Zonal targeting is uncommon and is supported\n to facilitate the management of changes by zone.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time this GuestPolicy was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the GuestPolicy. Length of the description is\n limited to 1024 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: The etag for this GuestPolicy. If this is provided on update,\n it must match the server's etag.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Unique name of the resource in this project using the form:\n `projects/{project_id}/guestPolicies/{guest_policy_id}`.'\n packageRepositories:\n type: array\n x-dcl-go-name: PackageRepositories\n description: List of package repository configurations assigned to the VM\n instance.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyPackageRepositories\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: GuestPolicyPackageRepositoriesApt\n description: An Apt Repository.\n x-dcl-conflicts:\n - goo\n - yum\n - zypper\n required:\n - uri\n - distribution\n properties:\n archiveType:\n type: string\n x-dcl-go-name: ArchiveType\n x-dcl-go-type: GuestPolicyPackageRepositoriesAptArchiveTypeEnum\n description: 'Type of archive files in this repository. The default\n behavior is DEB. Possible values: ARCHIVE_TYPE_UNSPECIFIED,\n DEB, DEB_SRC'\n enum:\n - ARCHIVE_TYPE_UNSPECIFIED\n - DEB\n - DEB_SRC\n components:\n type: array\n x-dcl-go-name: Components\n description: Required. List of components for this repository.\n Must contain at least one item.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n distribution:\n type: string\n x-dcl-go-name: Distribution\n description: Required. Distribution of this repository.\n gpgKey:\n type: string\n x-dcl-go-name: GpgKey\n description: URI of the key file for this repository. The agent\n maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`\n containing all the keys in any applied guest policy.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI for this repository.\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: GuestPolicyPackageRepositoriesGoo\n description: A Goo Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n required:\n - name\n - url\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the repository.\n url:\n type: string\n x-dcl-go-name: Url\n description: Required. The url of the repository.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: GuestPolicyPackageRepositoriesYum\n description: A Yum Repository.\n x-dcl-conflicts:\n - apt\n - goo\n - zypper\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name for this repository.\n This is the `repo id` in the Yum config file and also the `display_name`\n if `display_name` is omitted. This id is also used as the unique\n identifier when checking for guest policy conflicts.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: GuestPolicyPackageRepositoriesZypper\n description: A Zypper Repository.\n x-dcl-conflicts:\n - apt\n - goo\n - yum\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name for this repository.\n This is the `repo id` in the zypper config file and also the\n `display_name` if `display_name` is omitted. This id is also\n used as the unique identifier when checking for guest policy\n conflicts.\n packages:\n type: array\n x-dcl-go-name: Packages\n description: List of package configurations assigned to the VM instance.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyPackages\n properties:\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: GuestPolicyPackagesDesiredStateEnum\n description: 'The desired_state the agent should maintain for this\n package. The default is to ensure the package is installed. Possible\n values: DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n manager:\n type: string\n x-dcl-go-name: Manager\n x-dcl-go-type: GuestPolicyPackagesManagerEnum\n description: 'Type of package manager that can be used to install\n this package. If a system does not have the package manager, the\n package is not installed or removed no error message is returned.\n By default, or if you specify `ANY`, the agent attempts to install\n and remove this package using the default package manager. This\n is useful when creating a policy that applies to different types\n of systems. The default behavior is ANY. Possible values: MANAGER_UNSPECIFIED,\n ANY, APT, YUM, ZYPPER, GOO'\n enum:\n - MANAGER_UNSPECIFIED\n - ANY\n - APT\n - YUM\n - ZYPPER\n - GOO\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the package. A package is uniquely\n identified for conflict validation by checking the package name\n and the manager(s) that the package targets.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n recipes:\n type: array\n x-dcl-go-name: Recipes\n description: Optional. A list of Recipes to install on the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipes\n properties:\n artifacts:\n type: array\n x-dcl-go-name: Artifacts\n description: Resources available to be used in the steps in the recipe.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipesArtifacts\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false, recipes are subject\n to validations based on the artifact type: Remote: A checksum\n must be specified, and only protocols with transport-layer\n security are permitted. GCS: An object generation number must\n be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: GuestPolicyRecipesArtifactsGcs\n description: A Google Cloud Storage artifact.\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: 'Bucket of the Google Cloud Storage object.\n Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n this value would be `my-bucket`.'\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Must be provided if allow_insecure is false.\n Generation number of the Google Cloud Storage object.\n `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n this value would be `1234567`.\n object:\n type: string\n x-dcl-go-name: Object\n description: 'Name of the Google Cloud Storage object. As\n specified [here] (https://cloud.google.com/storage/docs/naming#objectnames)\n Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n this value would be `foo/bar`.'\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. Id of the artifact, which the installation\n and update steps of this recipe can reference. Artifacts in\n a recipe cannot have the same id.\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: GuestPolicyRecipesArtifactsRemote\n description: A generic remote artifact.\n properties:\n checksum:\n type: string\n x-dcl-go-name: Checksum\n description: Must be provided if `allow_insecure` is `false`.\n SHA256 checksum in hex format, to compare to the checksum\n of the artifact. If the checksum is not empty and it doesn't\n match the artifact then the recipe installation fails\n before running any of the steps.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: 'URI from which to fetch the object. It should\n contain both the protocol and path following the format:\n {protocol}://{location}.'\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: GuestPolicyRecipesDesiredStateEnum\n description: 'Default is INSTALLED. The desired state the agent should\n maintain for this recipe. INSTALLED: The software recipe is installed\n on the instance but won''t be updated to new versions. UPDATED:\n The software recipe is installed on the instance. The recipe is\n updated to a higher version, if a higher version of the recipe is\n assigned to this instance. REMOVE: Remove is unsupported for software\n recipes and attempts to create or update a recipe to the REMOVE\n state is rejected. Possible values: DESIRED_STATE_UNSPECIFIED, INSTALLED,\n REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n installSteps:\n type: array\n x-dcl-go-name: InstallSteps\n description: Actions to be taken for installing this recipe. On failure\n it stops executing steps and does not attempt another installation.\n Any steps taken (including partially completed steps) are not rolled\n back.\n x-dcl-conflicts:\n - updateSteps\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipesInstallSteps\n properties:\n archiveExtraction:\n type: object\n x-dcl-go-name: ArchiveExtraction\n x-dcl-go-type: GuestPolicyRecipesInstallStepsArchiveExtraction\n description: Extracts an archive into the specified directory.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Directory to extract archive to. Defaults to\n `/` on Linux or `C:` on Windows.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnum\n description: 'Required. The type of the archive to extract.\n Possible values: TYPE_UNSPECIFIED, VALIDATION, DESIRED_STATE_CHECK,\n DESIRED_STATE_ENFORCEMENT, DESIRED_STATE_CHECK_POST_ENFORCEMENT'\n enum:\n - TYPE_UNSPECIFIED\n - VALIDATION\n - DESIRED_STATE_CHECK\n - DESIRED_STATE_ENFORCEMENT\n - DESIRED_STATE_CHECK_POST_ENFORCEMENT\n dpkgInstallation:\n type: object\n x-dcl-go-name: DpkgInstallation\n x-dcl-go-type: GuestPolicyRecipesInstallStepsDpkgInstallation\n description: Installs a deb file via dpkg.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n fileCopy:\n type: object\n x-dcl-go-name: FileCopy\n x-dcl-go-type: GuestPolicyRecipesInstallStepsFileCopy\n description: Copies a file onto the instance.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Required. The absolute path on the instance\n to put the file.\n overwrite:\n type: boolean\n x-dcl-go-name: Overwrite\n description: Whether to allow this step to overwrite existing\n files. If this is false and the file already exists the\n file is not overwritten and the step is considered a success.\n Defaults to false.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n description: 'Consists of three octal digits which represent,\n in order, the permissions of the owner, group, and other\n users for the file (similarly to the numeric mode used\n in the linux chmod utility). Each digit represents a three\n bit number with the 4 bit corresponding to the read permissions,\n the 2 bit corresponds to the write bit, and the one bit\n corresponds to the execute permission. Default behavior\n is 755. Below are some examples of permissions and their\n associated values: read, write, and execute: 7 read and\n execute: 5 read and write: 6 read only: 4'\n fileExec:\n type: object\n x-dcl-go-name: FileExec\n x-dcl-go-type: GuestPolicyRecipesInstallStepsFileExec\n description: Executes an artifact or local file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Defaults to [0]. A list of possible return\n values that the program can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n args:\n type: array\n x-dcl-go-name: Args\n description: Arguments to be passed to the provided executable.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: The id of the relevant artifact in the recipe.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: The absolute path of the file on the local\n filesystem.\n msiInstallation:\n type: object\n x-dcl-go-name: MsiInstallation\n x-dcl-go-type: GuestPolicyRecipesInstallStepsMsiInstallation\n description: Installs an MSI file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n flags:\n type: array\n x-dcl-go-name: Flags\n description: The flags to use when installing the MSI defaults\n to [\"/i\"] (i.e. the install flag).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rpmInstallation:\n type: object\n x-dcl-go-name: RpmInstallation\n x-dcl-go-type: GuestPolicyRecipesInstallStepsRpmInstallation\n description: Installs an rpm file via the rpm utility.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n scriptRun:\n type: object\n x-dcl-go-name: ScriptRun\n x-dcl-go-type: GuestPolicyRecipesInstallStepsScriptRun\n description: Runs commands in a shell.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: GuestPolicyRecipesInstallStepsScriptRunInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script is executed\n directly, which likely only succeed for scripts with [shebang\n lines](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL,\n POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n script:\n type: string\n x-dcl-go-name: Script\n description: Required. The shell script to be executed.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Unique identifier for the recipe. Only one\n recipe with a given name is installed on an instance. Names are\n also used to identify resources which helps to determine whether\n guest policies have conflicts. This means that requests to create\n multiple recipes with the same name and version are rejected since\n they could potentially have conflicting assignments.\n updateSteps:\n type: array\n x-dcl-go-name: UpdateSteps\n description: Actions to be taken for updating this recipe. On failure\n it stops executing steps and does not attempt another update for\n this recipe. Any steps taken (including partially completed steps)\n are not rolled back.\n x-dcl-conflicts:\n - installSteps\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipesUpdateSteps\n properties:\n archiveExtraction:\n type: object\n x-dcl-go-name: ArchiveExtraction\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsArchiveExtraction\n description: Extracts an archive into the specified directory.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Directory to extract archive to. Defaults to\n `/` on Linux or `C:` on Windows.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnum\n description: 'Required. The type of the archive to extract.\n Possible values: TYPE_UNSPECIFIED, VALIDATION, DESIRED_STATE_CHECK,\n DESIRED_STATE_ENFORCEMENT, DESIRED_STATE_CHECK_POST_ENFORCEMENT'\n enum:\n - TYPE_UNSPECIFIED\n - VALIDATION\n - DESIRED_STATE_CHECK\n - DESIRED_STATE_ENFORCEMENT\n - DESIRED_STATE_CHECK_POST_ENFORCEMENT\n dpkgInstallation:\n type: object\n x-dcl-go-name: DpkgInstallation\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsDpkgInstallation\n description: Installs a deb file via dpkg.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n fileCopy:\n type: object\n x-dcl-go-name: FileCopy\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsFileCopy\n description: Copies a file onto the instance.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Required. The absolute path on the instance\n to put the file.\n overwrite:\n type: boolean\n x-dcl-go-name: Overwrite\n description: Whether to allow this step to overwrite existing\n files. If this is false and the file already exists the\n file is not overwritten and the step is considered a success.\n Defaults to false.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n description: 'Consists of three octal digits which represent,\n in order, the permissions of the owner, group, and other\n users for the file (similarly to the numeric mode used\n in the linux chmod utility). Each digit represents a three\n bit number with the 4 bit corresponding to the read permissions,\n the 2 bit corresponds to the write bit, and the one bit\n corresponds to the execute permission. Default behavior\n is 755. Below are some examples of permissions and their\n associated values: read, write, and execute: 7 read and\n execute: 5 read and write: 6 read only: 4'\n fileExec:\n type: object\n x-dcl-go-name: FileExec\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsFileExec\n description: Executes an artifact or local file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Defaults to [0]. A list of possible return\n values that the program can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n args:\n type: array\n x-dcl-go-name: Args\n description: Arguments to be passed to the provided executable.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: The id of the relevant artifact in the recipe.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: The absolute path of the file on the local\n filesystem.\n msiInstallation:\n type: object\n x-dcl-go-name: MsiInstallation\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsMsiInstallation\n description: Installs an MSI file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n flags:\n type: array\n x-dcl-go-name: Flags\n description: The flags to use when installing the MSI defaults\n to [\"/i\"] (i.e. the install flag).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rpmInstallation:\n type: object\n x-dcl-go-name: RpmInstallation\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsRpmInstallation\n description: Installs an rpm file via the rpm utility.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n scriptRun:\n type: object\n x-dcl-go-name: ScriptRun\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsScriptRun\n description: Runs commands in a shell.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script is executed\n directly, which likely only succeed for scripts with [shebang\n lines](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL,\n POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n script:\n type: string\n x-dcl-go-name: Script\n description: Required. The shell script to be executed.\n version:\n type: string\n x-dcl-go-name: Version\n description: The version of this software recipe. Version can be up\n to 4 period separated numbers (e.g. 12.34.56.78).\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last time this GuestPolicy was updated.\n x-kubernetes-immutable: true\n") +var YAML_guest_policy = []byte("info:\n title: OSConfig/GuestPolicy\n description: The OSConfig GuestPolicy resource\n x-dcl-struct-name: GuestPolicy\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a GuestPolicy\n parameters:\n - name: GuestPolicy\n required: true\n description: A full instance of a GuestPolicy\n apply:\n description: The function used to apply information about a GuestPolicy\n parameters:\n - name: GuestPolicy\n required: true\n description: A full instance of a GuestPolicy\n delete:\n description: The function used to delete a GuestPolicy\n parameters:\n - name: GuestPolicy\n required: true\n description: A full instance of a GuestPolicy\n deleteAll:\n description: The function used to delete all GuestPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many GuestPolicy\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n GuestPolicy:\n title: GuestPolicy\n x-dcl-id: projects/{{project}}/guestPolicies/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n assignment:\n type: object\n x-dcl-go-name: Assignment\n x-dcl-go-type: GuestPolicyAssignment\n description: Specifies the VMs that are assigned this policy. This allows\n you to target sets or groups of VMs by different parameters such as labels,\n names, OS, or zones. Empty assignments will target ALL VMs underneath\n this policy. Conflict Management Policies that exist higher up in the\n resource hierarchy (closer to the Org) will override those lower down\n if there is a conflict. At the same level in the resource hierarchy (ie.\n within a project), the service will prevent the creation of multiple policies\n that conflict with each other. If there are multiple policies that specify\n the same config (eg. package, software recipe, repository, etc.), the\n service will ensure that no VM could potentially receive instructions\n from both policies. To create multiple policies that specify different\n versions of a package or different configs for different Operating Systems,\n each policy must be mutually exclusive in their targeting according to\n labels, OS, or other criteria. Different configs are identified for conflicts\n in different ways. Packages are identified by their name and the package\n manager(s) they target. Package repositories are identified by their unique\n id where applicable. Some package managers don't have a unique identifier\n for repositories and where that's the case, no uniqueness is validated\n by the service. Note that if OS Inventory is disabled, a VM will not be\n assigned a policy that targets by OS because the service will see this\n VM's OS as unknown.\n properties:\n groupLabels:\n type: array\n x-dcl-go-name: GroupLabels\n description: Targets instances matching at least one of these label\n sets. This allows an assignment to target disparate groups, for example\n \"env=prod or env=staging\".\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyAssignmentGroupLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Google Compute Engine instance labels that must be\n present for an instance to be included in this assignment group.\n instanceNamePrefixes:\n type: array\n x-dcl-go-name: InstanceNamePrefixes\n description: Targets VM instances whose name starts with one of these\n prefixes. Like labels, this is another way to group VM instances when\n targeting configs, for example prefix=\"prod-\". Only supported for\n project-level policies.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n instances:\n type: array\n x-dcl-go-name: Instances\n description: Targets any of the instances specified. Instances are specified\n by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.\n Instance targeting is uncommon and is supported to facilitate the\n management of changes by the instance or to target specific VM instances\n for development and testing. Only supported for project-level policies\n and must reference instances within this project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n osTypes:\n type: array\n x-dcl-go-name: OSTypes\n description: Targets VM instances matching at least one of the following\n OS types. VM instances must match all supplied criteria for a given\n OsType to be included.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyAssignmentOSTypes\n properties:\n osArchitecture:\n type: string\n x-dcl-go-name: OSArchitecture\n description: Targets VM instances with OS Inventory enabled and\n having the following OS architecture.\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Targets VM instances with OS Inventory enabled and\n having the following OS short name, for example \"debian\" or\n \"windows\".\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: Targets VM instances with OS Inventory enabled and\n having the following following OS version.\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Targets instances in any of these zones. Leave empty to\n target instances in any zone. Zonal targeting is uncommon and is supported\n to facilitate the management of changes by zone.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time this GuestPolicy was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the GuestPolicy. Length of the description is\n limited to 1024 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: The etag for this GuestPolicy. If this is provided on update,\n it must match the server's etag.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Unique name of the resource in this project using the form:\n `projects/{project_id}/guestPolicies/{guest_policy_id}`.'\n packageRepositories:\n type: array\n x-dcl-go-name: PackageRepositories\n description: List of package repository configurations assigned to the VM\n instance.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyPackageRepositories\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: GuestPolicyPackageRepositoriesApt\n description: An Apt Repository.\n x-dcl-conflicts:\n - goo\n - yum\n - zypper\n required:\n - uri\n - distribution\n properties:\n archiveType:\n type: string\n x-dcl-go-name: ArchiveType\n x-dcl-go-type: GuestPolicyPackageRepositoriesAptArchiveTypeEnum\n description: 'Type of archive files in this repository. The default\n behavior is DEB. Possible values: ARCHIVE_TYPE_UNSPECIFIED,\n DEB, DEB_SRC'\n enum:\n - ARCHIVE_TYPE_UNSPECIFIED\n - DEB\n - DEB_SRC\n components:\n type: array\n x-dcl-go-name: Components\n description: Required. List of components for this repository.\n Must contain at least one item.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n distribution:\n type: string\n x-dcl-go-name: Distribution\n description: Required. Distribution of this repository.\n gpgKey:\n type: string\n x-dcl-go-name: GpgKey\n description: URI of the key file for this repository. The agent\n maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`\n containing all the keys in any applied guest policy.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI for this repository.\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: GuestPolicyPackageRepositoriesGoo\n description: A Goo Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n required:\n - name\n - url\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the repository.\n url:\n type: string\n x-dcl-go-name: Url\n description: Required. The url of the repository.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: GuestPolicyPackageRepositoriesYum\n description: A Yum Repository.\n x-dcl-conflicts:\n - apt\n - goo\n - zypper\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name for this repository.\n This is the `repo id` in the Yum config file and also the `display_name`\n if `display_name` is omitted. This id is also used as the unique\n identifier when checking for guest policy conflicts.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: GuestPolicyPackageRepositoriesZypper\n description: A Zypper Repository.\n x-dcl-conflicts:\n - apt\n - goo\n - yum\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name for this repository.\n This is the `repo id` in the zypper config file and also the\n `display_name` if `display_name` is omitted. This id is also\n used as the unique identifier when checking for guest policy\n conflicts.\n packages:\n type: array\n x-dcl-go-name: Packages\n description: List of package configurations assigned to the VM instance.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyPackages\n properties:\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: GuestPolicyPackagesDesiredStateEnum\n description: 'The desired_state the agent should maintain for this\n package. The default is to ensure the package is installed. Possible\n values: DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n manager:\n type: string\n x-dcl-go-name: Manager\n x-dcl-go-type: GuestPolicyPackagesManagerEnum\n description: 'Type of package manager that can be used to install\n this package. If a system does not have the package manager, the\n package is not installed or removed no error message is returned.\n By default, or if you specify `ANY`, the agent attempts to install\n and remove this package using the default package manager. This\n is useful when creating a policy that applies to different types\n of systems. The default behavior is ANY. Possible values: MANAGER_UNSPECIFIED,\n ANY, APT, YUM, ZYPPER, GOO'\n enum:\n - MANAGER_UNSPECIFIED\n - ANY\n - APT\n - YUM\n - ZYPPER\n - GOO\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the package. A package is uniquely\n identified for conflict validation by checking the package name\n and the manager(s) that the package targets.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n recipes:\n type: array\n x-dcl-go-name: Recipes\n description: Optional. A list of Recipes to install on the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipes\n properties:\n artifacts:\n type: array\n x-dcl-go-name: Artifacts\n description: Resources available to be used in the steps in the recipe.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipesArtifacts\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false, recipes are subject\n to validations based on the artifact type: Remote: A checksum\n must be specified, and only protocols with transport-layer\n security are permitted. GCS: An object generation number must\n be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: GuestPolicyRecipesArtifactsGcs\n description: A Google Cloud Storage artifact.\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: 'Bucket of the Google Cloud Storage object.\n Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n this value would be `my-bucket`.'\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Must be provided if allow_insecure is false.\n Generation number of the Google Cloud Storage object.\n `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n this value would be `1234567`.\n object:\n type: string\n x-dcl-go-name: Object\n description: 'Name of the Google Cloud Storage object. As\n specified [here] (https://cloud.google.com/storage/docs/naming#objectnames)\n Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n this value would be `foo/bar`.'\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. Id of the artifact, which the installation\n and update steps of this recipe can reference. Artifacts in\n a recipe cannot have the same id.\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: GuestPolicyRecipesArtifactsRemote\n description: A generic remote artifact.\n properties:\n checksum:\n type: string\n x-dcl-go-name: Checksum\n description: Must be provided if `allow_insecure` is `false`.\n SHA256 checksum in hex format, to compare to the checksum\n of the artifact. If the checksum is not empty and it doesn't\n match the artifact then the recipe installation fails\n before running any of the steps.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: 'URI from which to fetch the object. It should\n contain both the protocol and path following the format:\n {protocol}://{location}.'\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: GuestPolicyRecipesDesiredStateEnum\n description: 'Default is INSTALLED. The desired state the agent should\n maintain for this recipe. INSTALLED: The software recipe is installed\n on the instance but won''t be updated to new versions. UPDATED:\n The software recipe is installed on the instance. The recipe is\n updated to a higher version, if a higher version of the recipe is\n assigned to this instance. REMOVE: Remove is unsupported for software\n recipes and attempts to create or update a recipe to the REMOVE\n state is rejected. Possible values: DESIRED_STATE_UNSPECIFIED, INSTALLED,\n REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n installSteps:\n type: array\n x-dcl-go-name: InstallSteps\n description: Actions to be taken for installing this recipe. On failure\n it stops executing steps and does not attempt another installation.\n Any steps taken (including partially completed steps) are not rolled\n back.\n x-dcl-conflicts:\n - updateSteps\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipesInstallSteps\n properties:\n archiveExtraction:\n type: object\n x-dcl-go-name: ArchiveExtraction\n x-dcl-go-type: GuestPolicyRecipesInstallStepsArchiveExtraction\n description: Extracts an archive into the specified directory.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Directory to extract archive to. Defaults to\n `/` on Linux or `C:` on Windows.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnum\n description: 'Required. The type of the archive to extract.\n Possible values: TYPE_UNSPECIFIED, VALIDATION, DESIRED_STATE_CHECK,\n DESIRED_STATE_ENFORCEMENT, DESIRED_STATE_CHECK_POST_ENFORCEMENT'\n enum:\n - TYPE_UNSPECIFIED\n - VALIDATION\n - DESIRED_STATE_CHECK\n - DESIRED_STATE_ENFORCEMENT\n - DESIRED_STATE_CHECK_POST_ENFORCEMENT\n dpkgInstallation:\n type: object\n x-dcl-go-name: DpkgInstallation\n x-dcl-go-type: GuestPolicyRecipesInstallStepsDpkgInstallation\n description: Installs a deb file via dpkg.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n fileCopy:\n type: object\n x-dcl-go-name: FileCopy\n x-dcl-go-type: GuestPolicyRecipesInstallStepsFileCopy\n description: Copies a file onto the instance.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Required. The absolute path on the instance\n to put the file.\n overwrite:\n type: boolean\n x-dcl-go-name: Overwrite\n description: Whether to allow this step to overwrite existing\n files. If this is false and the file already exists the\n file is not overwritten and the step is considered a success.\n Defaults to false.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n description: 'Consists of three octal digits which represent,\n in order, the permissions of the owner, group, and other\n users for the file (similarly to the numeric mode used\n in the linux chmod utility). Each digit represents a three\n bit number with the 4 bit corresponding to the read permissions,\n the 2 bit corresponds to the write bit, and the one bit\n corresponds to the execute permission. Default behavior\n is 755. Below are some examples of permissions and their\n associated values: read, write, and execute: 7 read and\n execute: 5 read and write: 6 read only: 4'\n fileExec:\n type: object\n x-dcl-go-name: FileExec\n x-dcl-go-type: GuestPolicyRecipesInstallStepsFileExec\n description: Executes an artifact or local file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Defaults to [0]. A list of possible return\n values that the program can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n args:\n type: array\n x-dcl-go-name: Args\n description: Arguments to be passed to the provided executable.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: The id of the relevant artifact in the recipe.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: The absolute path of the file on the local\n filesystem.\n msiInstallation:\n type: object\n x-dcl-go-name: MsiInstallation\n x-dcl-go-type: GuestPolicyRecipesInstallStepsMsiInstallation\n description: Installs an MSI file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n flags:\n type: array\n x-dcl-go-name: Flags\n description: The flags to use when installing the MSI defaults\n to [\"/i\"] (i.e. the install flag).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rpmInstallation:\n type: object\n x-dcl-go-name: RpmInstallation\n x-dcl-go-type: GuestPolicyRecipesInstallStepsRpmInstallation\n description: Installs an rpm file via the rpm utility.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n scriptRun:\n type: object\n x-dcl-go-name: ScriptRun\n x-dcl-go-type: GuestPolicyRecipesInstallStepsScriptRun\n description: Runs commands in a shell.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: GuestPolicyRecipesInstallStepsScriptRunInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script is executed\n directly, which likely only succeed for scripts with [shebang\n lines](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL,\n POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n script:\n type: string\n x-dcl-go-name: Script\n description: Required. The shell script to be executed.\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Unique identifier for the recipe. Only one\n recipe with a given name is installed on an instance. Names are\n also used to identify resources which helps to determine whether\n guest policies have conflicts. This means that requests to create\n multiple recipes with the same name and version are rejected since\n they could potentially have conflicting assignments.\n updateSteps:\n type: array\n x-dcl-go-name: UpdateSteps\n description: Actions to be taken for updating this recipe. On failure\n it stops executing steps and does not attempt another update for\n this recipe. Any steps taken (including partially completed steps)\n are not rolled back.\n x-dcl-conflicts:\n - installSteps\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: GuestPolicyRecipesUpdateSteps\n properties:\n archiveExtraction:\n type: object\n x-dcl-go-name: ArchiveExtraction\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsArchiveExtraction\n description: Extracts an archive into the specified directory.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Directory to extract archive to. Defaults to\n `/` on Linux or `C:` on Windows.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnum\n description: 'Required. The type of the archive to extract.\n Possible values: TYPE_UNSPECIFIED, VALIDATION, DESIRED_STATE_CHECK,\n DESIRED_STATE_ENFORCEMENT, DESIRED_STATE_CHECK_POST_ENFORCEMENT'\n enum:\n - TYPE_UNSPECIFIED\n - VALIDATION\n - DESIRED_STATE_CHECK\n - DESIRED_STATE_ENFORCEMENT\n - DESIRED_STATE_CHECK_POST_ENFORCEMENT\n dpkgInstallation:\n type: object\n x-dcl-go-name: DpkgInstallation\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsDpkgInstallation\n description: Installs a deb file via dpkg.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n fileCopy:\n type: object\n x-dcl-go-name: FileCopy\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsFileCopy\n description: Copies a file onto the instance.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n destination:\n type: string\n x-dcl-go-name: Destination\n description: Required. The absolute path on the instance\n to put the file.\n overwrite:\n type: boolean\n x-dcl-go-name: Overwrite\n description: Whether to allow this step to overwrite existing\n files. If this is false and the file already exists the\n file is not overwritten and the step is considered a success.\n Defaults to false.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n description: 'Consists of three octal digits which represent,\n in order, the permissions of the owner, group, and other\n users for the file (similarly to the numeric mode used\n in the linux chmod utility). Each digit represents a three\n bit number with the 4 bit corresponding to the read permissions,\n the 2 bit corresponds to the write bit, and the one bit\n corresponds to the execute permission. Default behavior\n is 755. Below are some examples of permissions and their\n associated values: read, write, and execute: 7 read and\n execute: 5 read and write: 6 read only: 4'\n fileExec:\n type: object\n x-dcl-go-name: FileExec\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsFileExec\n description: Executes an artifact or local file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Defaults to [0]. A list of possible return\n values that the program can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n args:\n type: array\n x-dcl-go-name: Args\n description: Arguments to be passed to the provided executable.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: The id of the relevant artifact in the recipe.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: The absolute path of the file on the local\n filesystem.\n msiInstallation:\n type: object\n x-dcl-go-name: MsiInstallation\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsMsiInstallation\n description: Installs an MSI file.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n flags:\n type: array\n x-dcl-go-name: Flags\n description: The flags to use when installing the MSI defaults\n to [\"/i\"] (i.e. the install flag).\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n rpmInstallation:\n type: object\n x-dcl-go-name: RpmInstallation\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsRpmInstallation\n description: Installs an rpm file via the rpm utility.\n properties:\n artifactId:\n type: string\n x-dcl-go-name: ArtifactId\n description: Required. The id of the relevant artifact in\n the recipe.\n scriptRun:\n type: object\n x-dcl-go-name: ScriptRun\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsScriptRun\n description: Runs commands in a shell.\n properties:\n allowedExitCodes:\n type: array\n x-dcl-go-name: AllowedExitCodes\n description: Return codes that indicate that the software\n installed or updated successfully. Behaviour defaults\n to [0]\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script is executed\n directly, which likely only succeed for scripts with [shebang\n lines](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL,\n POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n script:\n type: string\n x-dcl-go-name: Script\n description: Required. The shell script to be executed.\n version:\n type: string\n x-dcl-go-name: Version\n description: The version of this software recipe. Version can be up\n to 4 period separated numbers (e.g. 12.34.56.78).\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last time this GuestPolicy was updated.\n x-kubernetes-immutable: true\n") -// 45500 bytes -// MD5: db917d8f314a93b4826f639466c6321d +// 45525 bytes +// MD5: 32f2eaf382c4dce9842ec917e0a50750 diff --git a/services/google/osconfig/beta/guest_policy_schema.go b/services/google/osconfig/beta/guest_policy_schema.go index 53b4185738..48a0dcb742 100755 --- a/services/google/osconfig/beta/guest_policy_schema.go +++ b/services/google/osconfig/beta/guest_policy_schema.go @@ -23,6 +23,7 @@ func DCLGuestPolicySchema() *dcl.Schema { Title: "OSConfig/GuestPolicy", Description: "The OSConfig GuestPolicy resource", StructName: "GuestPolicy", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/osconfig/beta/os_policy_assignment.yaml b/services/google/osconfig/beta/os_policy_assignment.yaml index 3043640929..3c737a44df 100755 --- a/services/google/osconfig/beta/os_policy_assignment.yaml +++ b/services/google/osconfig/beta/os_policy_assignment.yaml @@ -15,6 +15,7 @@ info: title: OSConfig/OSPolicyAssignment description: Represents an OSPolicyAssignment resource. x-dcl-struct-name: OSPolicyAssignment + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API documentation diff --git a/services/google/osconfig/beta/os_policy_assignment_beta_yaml_embed.go b/services/google/osconfig/beta/os_policy_assignment_beta_yaml_embed.go index 6436f6a64f..dea3a75bfb 100755 --- a/services/google/osconfig/beta/os_policy_assignment_beta_yaml_embed.go +++ b/services/google/osconfig/beta/os_policy_assignment_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/osconfig/beta/os_policy_assignment.yaml -var YAML_os_policy_assignment = []byte("info:\n title: OSConfig/OSPolicyAssignment\n description: Represents an OSPolicyAssignment resource.\n x-dcl-struct-name: OSPolicyAssignment\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments\npaths:\n get:\n description: The function used to get information about a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n apply:\n description: The function used to apply information about a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n delete:\n description: The function used to delete a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n deleteAll:\n description: The function used to delete all OSPolicyAssignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OSPolicyAssignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OSPolicyAssignment:\n title: OSPolicyAssignment\n x-dcl-id: projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - osPolicies\n - instanceFilter\n - rollout\n - project\n - location\n properties:\n baseline:\n type: boolean\n x-dcl-go-name: Baseline\n readOnly: true\n description: Output only. Indicates that this revision has been successfully\n rolled out in this zone and new VMs will be assigned OS policies from\n this revision. For a given OS policy assignment, there is only one revision\n with a value of `true` for this field.\n x-kubernetes-immutable: true\n deleted:\n type: boolean\n x-dcl-go-name: Deleted\n readOnly: true\n description: Output only. Indicates that this revision deletes the OS policy\n assignment.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: OS policy assignment description. Length of the description\n is limited to 1024 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: The etag for this OS policy assignment. If this is provided\n on update, it must match the server's etag.\n x-kubernetes-immutable: true\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: OSPolicyAssignmentInstanceFilter\n description: Required. Filter to select VMs.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VMs in the project. If true, no other criteria\n is permitted.\n x-dcl-send-empty: true\n exclusionLabels:\n type: array\n x-dcl-go-name: ExclusionLabels\n description: List of label sets used for VM exclusion. If the list has\n more than one label set, the VM is excluded if any of the label sets\n are applicable for the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterExclusionLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are identified by key/value pairs in this\n map. A VM should contain all the key/value pairs specified in\n this map to be selected.\n inclusionLabels:\n type: array\n x-dcl-go-name: InclusionLabels\n description: List of label sets used for VM inclusion. If the list has\n more than one `LabelSet`, the VM is included if any of the label sets\n are applicable for the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterInclusionLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are identified by key/value pairs in this\n map. A VM should contain all the key/value pairs specified in\n this map to be selected.\n inventories:\n type: array\n x-dcl-go-name: Inventories\n description: List of inventories to select VMs. A VM is selected if\n its inventory data matches at least one of the following inventories.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterInventories\n required:\n - osShortName\n properties:\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Required. The OS short name\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: The OS version Prefix matches are supported if asterisk(*)\n is provided as the last character. For example, to match all\n versions with a major version of `7`, specify the following\n value for this field `7.*` An empty string matches all OS versions.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name.\n x-kubernetes-immutable: true\n osPolicies:\n type: array\n x-dcl-go-name: OSPolicies\n description: Required. List of OS policies to be applied to the VMs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPolicies\n required:\n - id\n - mode\n - resourceGroups\n properties:\n allowNoResourceGroupMatch:\n type: boolean\n x-dcl-go-name: AllowNoResourceGroupMatch\n description: This flag determines the OS policy compliance status\n when none of the resource groups within the policy are applicable\n for a VM. Set this value to `true` if the policy needs to be reported\n as compliant even if the policy has nothing to validate or enforce.\n description:\n type: string\n x-dcl-go-name: Description\n description: Policy description. Length of the description is limited\n to 1024 characters.\n id:\n type: string\n x-dcl-go-name: Id\n description: 'Required. The id of the OS policy with the following\n restrictions: * Must contain only lowercase letters, numbers, and\n hyphens. * Must start with a letter. * Must be between 1-63 characters.\n * Must end with a number or a letter. * Must be unique within the\n assignment.'\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesModeEnum\n description: 'Required. Policy mode Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n resourceGroups:\n type: array\n x-dcl-go-name: ResourceGroups\n description: Required. List of resource groups for the policy. For\n a particular VM, resource groups are evaluated in the order specified\n and the first resource group that is applicable is selected and\n the rest are ignored. If none of the resource groups are applicable\n for a VM, the VM is considered to be non-compliant w.r.t this policy.\n This behavior can be toggled by the flag `allow_no_resource_group_match`\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroups\n required:\n - resources\n properties:\n inventoryFilters:\n type: array\n x-dcl-go-name: InventoryFilters\n description: 'List of inventory filters for the resource group.\n The resources in this resource group are applied to the target\n VM if it satisfies at least one of the following inventory\n filters. For example, to apply this resource group to VMs\n running either `RHEL` or `CentOS` operating systems, specify\n 2 items for the list with following values: inventory_filters[0].os_short_name=''rhel''\n and inventory_filters[1].os_short_name=''centos'' If the list\n is empty, this resource group will be applied to the target\n VM unconditionally.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters\n required:\n - osShortName\n properties:\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Required. The OS short name\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: The OS version Prefix matches are supported\n if asterisk(*) is provided as the last character. For\n example, to match all versions with a major version\n of `7`, specify the following value for this field `7.*`\n An empty string matches all OS versions.\n resources:\n type: array\n x-dcl-go-name: Resources\n description: Required. List of resources configured for this\n resource group. The resources are executed in the exact order\n specified here.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResources\n required:\n - id\n properties:\n exec:\n type: object\n x-dcl-go-name: Exec\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec\n description: Exec resource\n x-dcl-conflicts:\n - pkg\n - repository\n - file\n required:\n - validate\n properties:\n enforce:\n type: object\n x-dcl-go-name: Enforce\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce\n description: What to run to bring this resource into\n the desired state. An exit code of 100 indicates\n \"success\", any other exit code indicates a failure\n running enforce.\n required:\n - interpreter\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional arguments to pass to the\n source during execution.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile\n description: A remote or local file.\n x-dcl-conflicts:\n - script\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum\n description: 'Required. The script interpreter\n to use. Possible values: INTERPRETER_UNSPECIFIED,\n NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n outputFilePath:\n type: string\n x-dcl-go-name: OutputFilePath\n description: Only recorded for enforce Exec. Path\n to an output file (that is created by this Exec)\n whose content will be recorded in OSPolicyResourceCompliance\n after a successful run. Absence or failure to\n read this file will result in this ExecResource\n being non-compliant. Output file size is limited\n to 100K bytes.\n script:\n type: string\n x-dcl-go-name: Script\n description: An inline script. The size of the\n script is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n validate:\n type: object\n x-dcl-go-name: Validate\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate\n description: Required. What to run to validate this\n resource is in the desired state. An exit code of\n 100 indicates \"in desired state\", and exit code\n of 101 indicates \"not in desired state\". Any other\n exit code indicates a failure running validate.\n required:\n - interpreter\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional arguments to pass to the\n source during execution.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile\n description: A remote or local file.\n x-dcl-conflicts:\n - script\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum\n description: 'Required. The script interpreter\n to use. Possible values: INTERPRETER_UNSPECIFIED,\n NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n outputFilePath:\n type: string\n x-dcl-go-name: OutputFilePath\n description: Only recorded for enforce Exec. Path\n to an output file (that is created by this Exec)\n whose content will be recorded in OSPolicyResourceCompliance\n after a successful run. Absence or failure to\n read this file will result in this ExecResource\n being non-compliant. Output file size is limited\n to 100K bytes.\n script:\n type: string\n x-dcl-go-name: Script\n description: An inline script. The size of the\n script is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile\n description: File resource\n x-dcl-conflicts:\n - pkg\n - repository\n - exec\n required:\n - path\n - state\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: A a file with this content. The size\n of the content is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile\n description: A remote or local source.\n x-dcl-conflicts:\n - content\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false, files\n are subject to validations based on the file\n type: Remote: A checksum must be specified.\n Cloud Storage: An object generation number must\n be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the Cloud\n Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage\n object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which to fetch\n the object. It should contain both the protocol\n and path following the format `{protocol}://{location}`.\n path:\n type: string\n x-dcl-go-name: Path\n description: Required. The absolute path of the file\n within the VM.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n readOnly: true\n description: 'Consists of three octal digits which\n represent, in order, the permissions of the owner,\n group, and other users for the file (similarly to\n the numeric mode used in the linux chmod utility).\n Each digit represents a three bit number with the\n 4 bit corresponding to the read permissions, the\n 2 bit corresponds to the write bit, and the one\n bit corresponds to the execute permission. Default\n behavior is 755. Below are some examples of permissions\n and their associated values: read, write, and execute:\n 7 read and execute: 5 read and write: 6 read only:\n 4'\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum\n description: 'Required. Desired state of the file.\n Possible values: OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED,\n COMPLIANT, NON_COMPLIANT, UNKNOWN, NO_OS_POLICIES_APPLICABLE'\n enum:\n - OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED\n - COMPLIANT\n - NON_COMPLIANT\n - UNKNOWN\n - NO_OS_POLICIES_APPLICABLE\n id:\n type: string\n x-dcl-go-name: Id\n description: 'Required. The id of the resource with the\n following restrictions: * Must contain only lowercase\n letters, numbers, and hyphens. * Must start with a letter.\n * Must be between 1-63 characters. * Must end with a\n number or a letter. * Must be unique within the OS policy.'\n pkg:\n type: object\n x-dcl-go-name: Pkg\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg\n description: Package resource\n x-dcl-conflicts:\n - repository\n - exec\n - file\n required:\n - desiredState\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt\n description: A package managed by Apt.\n x-dcl-conflicts:\n - deb\n - yum\n - zypper\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n deb:\n type: object\n x-dcl-go-name: Deb\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb\n description: A deb package file.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n - rpm\n - googet\n - msi\n required:\n - source\n properties:\n pullDeps:\n type: boolean\n x-dcl-go-name: PullDeps\n description: 'Whether dependencies should also\n be installed. - install when false: `dpkg -i\n package` - install when true: `apt-get update\n && apt-get -y install package.deb`'\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource\n description: Required. A deb package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum\n description: 'Required. The desired state the agent\n should maintain for this package. Possible values:\n DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n googet:\n type: object\n x-dcl-go-name: Googet\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget\n description: A package managed by GooGet.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - rpm\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n msi:\n type: object\n x-dcl-go-name: Msi\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi\n description: An MSI package.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - rpm\n - googet\n required:\n - source\n properties:\n properties:\n type: array\n x-dcl-go-name: Properties\n description: Additional properties to use during\n installation. This should be in the format of\n Property=Setting. Appended to the defaults of\n `ACTION=INSTALL REBOOT=ReallySuppress`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource\n description: Required. The MSI package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n rpm:\n type: object\n x-dcl-go-name: Rpm\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm\n description: An rpm package file.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - googet\n - msi\n required:\n - source\n properties:\n pullDeps:\n type: boolean\n x-dcl-go-name: PullDeps\n description: 'Whether dependencies should also\n be installed. - install when false: `rpm --upgrade\n --replacepkgs package.rpm` - install when true:\n `yum -y install package.rpm` or `zypper -y install\n package.rpm`'\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource\n description: Required. An rpm package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum\n description: A package managed by YUM.\n x-dcl-conflicts:\n - apt\n - deb\n - zypper\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper\n description: A package managed by Zypper.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n repository:\n type: object\n x-dcl-go-name: Repository\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository\n description: Package repository resource\n x-dcl-conflicts:\n - pkg\n - exec\n - file\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt\n description: An Apt Repository.\n x-dcl-conflicts:\n - yum\n - zypper\n - goo\n required:\n - archiveType\n - uri\n - distribution\n - components\n properties:\n archiveType:\n type: string\n x-dcl-go-name: ArchiveType\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum\n description: 'Required. Type of archive files\n in this repository. Possible values: ARCHIVE_TYPE_UNSPECIFIED,\n DEB, DEB_SRC'\n enum:\n - ARCHIVE_TYPE_UNSPECIFIED\n - DEB\n - DEB_SRC\n components:\n type: array\n x-dcl-go-name: Components\n description: Required. List of components for\n this repository. Must contain at least one item.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n distribution:\n type: string\n x-dcl-go-name: Distribution\n description: Required. Distribution of this repository.\n gpgKey:\n type: string\n x-dcl-go-name: GpgKey\n description: URI of the key file for this repository.\n The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI for this repository.\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo\n description: A Goo Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n required:\n - name\n - url\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the repository.\n url:\n type: string\n x-dcl-go-name: Url\n description: Required. The url of the repository.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum\n description: A Yum Repository.\n x-dcl-conflicts:\n - apt\n - zypper\n - goo\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository\n directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name\n for this repository. This is the `repo id` in\n the yum config file and also the `display_name`\n if `display_name` is omitted. This id is also\n used as the unique identifier when checking\n for resource conflicts.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper\n description: A Zypper Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - goo\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository\n directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name\n for this repository. This is the `repo id` in\n the zypper config file and also the `display_name`\n if `display_name` is omitted. This id is also\n used as the unique identifier when checking\n for GuestPolicy conflicts.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: 'Output only. Indicates that reconciliation is in progress\n for the revision. This value is `true` when the `rollout_state` is one\n of: * IN_PROGRESS * CANCELLING'\n x-kubernetes-immutable: true\n revisionCreateTime:\n type: string\n format: date-time\n x-dcl-go-name: RevisionCreateTime\n readOnly: true\n description: Output only. The timestamp that the revision was created.\n x-kubernetes-immutable: true\n revisionId:\n type: string\n x-dcl-go-name: RevisionId\n readOnly: true\n description: Output only. The assignment revision ID A new revision is committed\n whenever a rollout is triggered for a OS policy assignment\n x-kubernetes-immutable: true\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: OSPolicyAssignmentRollout\n description: 'Required. Rollout to deploy the OS policy assignment. A rollout\n is triggered in the following situations: 1) OSPolicyAssignment is created.\n 2) OSPolicyAssignment is updated and the update contains changes to one\n of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment\n is deleted.'\n required:\n - disruptionBudget\n - minWaitDuration\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: OSPolicyAssignmentRolloutDisruptionBudget\n description: Required. The maximum number (or percentage) of VMs per\n zone to disrupt at any given moment.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n minWaitDuration:\n type: string\n x-dcl-go-name: MinWaitDuration\n description: Required. This determines the minimum duration of time\n to wait after the configuration changes are applied through the current\n rollout. A VM continues to count towards the `disruption_budget` at\n least until this duration of time has passed after configuration changes\n are applied.\n rolloutState:\n type: string\n x-dcl-go-name: RolloutState\n x-dcl-go-type: OSPolicyAssignmentRolloutStateEnum\n readOnly: true\n description: 'Output only. OS policy assignment rollout state Possible values:\n ROLLOUT_STATE_UNSPECIFIED, IN_PROGRESS, CANCELLING, CANCELLED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - ROLLOUT_STATE_UNSPECIFIED\n - IN_PROGRESS\n - CANCELLING\n - CANCELLED\n - SUCCEEDED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server generated unique id for the OS policy assignment\n resource.\n x-kubernetes-immutable: true\n") +var YAML_os_policy_assignment = []byte("info:\n title: OSConfig/OSPolicyAssignment\n description: Represents an OSPolicyAssignment resource.\n x-dcl-struct-name: OSPolicyAssignment\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments\npaths:\n get:\n description: The function used to get information about a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n apply:\n description: The function used to apply information about a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n delete:\n description: The function used to delete a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n deleteAll:\n description: The function used to delete all OSPolicyAssignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OSPolicyAssignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OSPolicyAssignment:\n title: OSPolicyAssignment\n x-dcl-id: projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - osPolicies\n - instanceFilter\n - rollout\n - project\n - location\n properties:\n baseline:\n type: boolean\n x-dcl-go-name: Baseline\n readOnly: true\n description: Output only. Indicates that this revision has been successfully\n rolled out in this zone and new VMs will be assigned OS policies from\n this revision. For a given OS policy assignment, there is only one revision\n with a value of `true` for this field.\n x-kubernetes-immutable: true\n deleted:\n type: boolean\n x-dcl-go-name: Deleted\n readOnly: true\n description: Output only. Indicates that this revision deletes the OS policy\n assignment.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: OS policy assignment description. Length of the description\n is limited to 1024 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: The etag for this OS policy assignment. If this is provided\n on update, it must match the server's etag.\n x-kubernetes-immutable: true\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: OSPolicyAssignmentInstanceFilter\n description: Required. Filter to select VMs.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VMs in the project. If true, no other criteria\n is permitted.\n x-dcl-send-empty: true\n exclusionLabels:\n type: array\n x-dcl-go-name: ExclusionLabels\n description: List of label sets used for VM exclusion. If the list has\n more than one label set, the VM is excluded if any of the label sets\n are applicable for the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterExclusionLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are identified by key/value pairs in this\n map. A VM should contain all the key/value pairs specified in\n this map to be selected.\n inclusionLabels:\n type: array\n x-dcl-go-name: InclusionLabels\n description: List of label sets used for VM inclusion. If the list has\n more than one `LabelSet`, the VM is included if any of the label sets\n are applicable for the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterInclusionLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are identified by key/value pairs in this\n map. A VM should contain all the key/value pairs specified in\n this map to be selected.\n inventories:\n type: array\n x-dcl-go-name: Inventories\n description: List of inventories to select VMs. A VM is selected if\n its inventory data matches at least one of the following inventories.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterInventories\n required:\n - osShortName\n properties:\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Required. The OS short name\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: The OS version Prefix matches are supported if asterisk(*)\n is provided as the last character. For example, to match all\n versions with a major version of `7`, specify the following\n value for this field `7.*` An empty string matches all OS versions.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name.\n x-kubernetes-immutable: true\n osPolicies:\n type: array\n x-dcl-go-name: OSPolicies\n description: Required. List of OS policies to be applied to the VMs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPolicies\n required:\n - id\n - mode\n - resourceGroups\n properties:\n allowNoResourceGroupMatch:\n type: boolean\n x-dcl-go-name: AllowNoResourceGroupMatch\n description: This flag determines the OS policy compliance status\n when none of the resource groups within the policy are applicable\n for a VM. Set this value to `true` if the policy needs to be reported\n as compliant even if the policy has nothing to validate or enforce.\n description:\n type: string\n x-dcl-go-name: Description\n description: Policy description. Length of the description is limited\n to 1024 characters.\n id:\n type: string\n x-dcl-go-name: Id\n description: 'Required. The id of the OS policy with the following\n restrictions: * Must contain only lowercase letters, numbers, and\n hyphens. * Must start with a letter. * Must be between 1-63 characters.\n * Must end with a number or a letter. * Must be unique within the\n assignment.'\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesModeEnum\n description: 'Required. Policy mode Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n resourceGroups:\n type: array\n x-dcl-go-name: ResourceGroups\n description: Required. List of resource groups for the policy. For\n a particular VM, resource groups are evaluated in the order specified\n and the first resource group that is applicable is selected and\n the rest are ignored. If none of the resource groups are applicable\n for a VM, the VM is considered to be non-compliant w.r.t this policy.\n This behavior can be toggled by the flag `allow_no_resource_group_match`\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroups\n required:\n - resources\n properties:\n inventoryFilters:\n type: array\n x-dcl-go-name: InventoryFilters\n description: 'List of inventory filters for the resource group.\n The resources in this resource group are applied to the target\n VM if it satisfies at least one of the following inventory\n filters. For example, to apply this resource group to VMs\n running either `RHEL` or `CentOS` operating systems, specify\n 2 items for the list with following values: inventory_filters[0].os_short_name=''rhel''\n and inventory_filters[1].os_short_name=''centos'' If the list\n is empty, this resource group will be applied to the target\n VM unconditionally.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters\n required:\n - osShortName\n properties:\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Required. The OS short name\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: The OS version Prefix matches are supported\n if asterisk(*) is provided as the last character. For\n example, to match all versions with a major version\n of `7`, specify the following value for this field `7.*`\n An empty string matches all OS versions.\n resources:\n type: array\n x-dcl-go-name: Resources\n description: Required. List of resources configured for this\n resource group. The resources are executed in the exact order\n specified here.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResources\n required:\n - id\n properties:\n exec:\n type: object\n x-dcl-go-name: Exec\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec\n description: Exec resource\n x-dcl-conflicts:\n - pkg\n - repository\n - file\n required:\n - validate\n properties:\n enforce:\n type: object\n x-dcl-go-name: Enforce\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce\n description: What to run to bring this resource into\n the desired state. An exit code of 100 indicates\n \"success\", any other exit code indicates a failure\n running enforce.\n required:\n - interpreter\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional arguments to pass to the\n source during execution.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile\n description: A remote or local file.\n x-dcl-conflicts:\n - script\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum\n description: 'Required. The script interpreter\n to use. Possible values: INTERPRETER_UNSPECIFIED,\n NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n outputFilePath:\n type: string\n x-dcl-go-name: OutputFilePath\n description: Only recorded for enforce Exec. Path\n to an output file (that is created by this Exec)\n whose content will be recorded in OSPolicyResourceCompliance\n after a successful run. Absence or failure to\n read this file will result in this ExecResource\n being non-compliant. Output file size is limited\n to 100K bytes.\n script:\n type: string\n x-dcl-go-name: Script\n description: An inline script. The size of the\n script is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n validate:\n type: object\n x-dcl-go-name: Validate\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate\n description: Required. What to run to validate this\n resource is in the desired state. An exit code of\n 100 indicates \"in desired state\", and exit code\n of 101 indicates \"not in desired state\". Any other\n exit code indicates a failure running validate.\n required:\n - interpreter\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional arguments to pass to the\n source during execution.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile\n description: A remote or local file.\n x-dcl-conflicts:\n - script\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum\n description: 'Required. The script interpreter\n to use. Possible values: INTERPRETER_UNSPECIFIED,\n NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n outputFilePath:\n type: string\n x-dcl-go-name: OutputFilePath\n description: Only recorded for enforce Exec. Path\n to an output file (that is created by this Exec)\n whose content will be recorded in OSPolicyResourceCompliance\n after a successful run. Absence or failure to\n read this file will result in this ExecResource\n being non-compliant. Output file size is limited\n to 100K bytes.\n script:\n type: string\n x-dcl-go-name: Script\n description: An inline script. The size of the\n script is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile\n description: File resource\n x-dcl-conflicts:\n - pkg\n - repository\n - exec\n required:\n - path\n - state\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: A a file with this content. The size\n of the content is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile\n description: A remote or local source.\n x-dcl-conflicts:\n - content\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false, files\n are subject to validations based on the file\n type: Remote: A checksum must be specified.\n Cloud Storage: An object generation number must\n be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the Cloud\n Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage\n object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which to fetch\n the object. It should contain both the protocol\n and path following the format `{protocol}://{location}`.\n path:\n type: string\n x-dcl-go-name: Path\n description: Required. The absolute path of the file\n within the VM.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n readOnly: true\n description: 'Consists of three octal digits which\n represent, in order, the permissions of the owner,\n group, and other users for the file (similarly to\n the numeric mode used in the linux chmod utility).\n Each digit represents a three bit number with the\n 4 bit corresponding to the read permissions, the\n 2 bit corresponds to the write bit, and the one\n bit corresponds to the execute permission. Default\n behavior is 755. Below are some examples of permissions\n and their associated values: read, write, and execute:\n 7 read and execute: 5 read and write: 6 read only:\n 4'\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum\n description: 'Required. Desired state of the file.\n Possible values: OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED,\n COMPLIANT, NON_COMPLIANT, UNKNOWN, NO_OS_POLICIES_APPLICABLE'\n enum:\n - OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED\n - COMPLIANT\n - NON_COMPLIANT\n - UNKNOWN\n - NO_OS_POLICIES_APPLICABLE\n id:\n type: string\n x-dcl-go-name: Id\n description: 'Required. The id of the resource with the\n following restrictions: * Must contain only lowercase\n letters, numbers, and hyphens. * Must start with a letter.\n * Must be between 1-63 characters. * Must end with a\n number or a letter. * Must be unique within the OS policy.'\n pkg:\n type: object\n x-dcl-go-name: Pkg\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg\n description: Package resource\n x-dcl-conflicts:\n - repository\n - exec\n - file\n required:\n - desiredState\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt\n description: A package managed by Apt.\n x-dcl-conflicts:\n - deb\n - yum\n - zypper\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n deb:\n type: object\n x-dcl-go-name: Deb\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb\n description: A deb package file.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n - rpm\n - googet\n - msi\n required:\n - source\n properties:\n pullDeps:\n type: boolean\n x-dcl-go-name: PullDeps\n description: 'Whether dependencies should also\n be installed. - install when false: `dpkg -i\n package` - install when true: `apt-get update\n && apt-get -y install package.deb`'\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource\n description: Required. A deb package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum\n description: 'Required. The desired state the agent\n should maintain for this package. Possible values:\n DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n googet:\n type: object\n x-dcl-go-name: Googet\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget\n description: A package managed by GooGet.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - rpm\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n msi:\n type: object\n x-dcl-go-name: Msi\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi\n description: An MSI package.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - rpm\n - googet\n required:\n - source\n properties:\n properties:\n type: array\n x-dcl-go-name: Properties\n description: Additional properties to use during\n installation. This should be in the format of\n Property=Setting. Appended to the defaults of\n `ACTION=INSTALL REBOOT=ReallySuppress`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource\n description: Required. The MSI package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n rpm:\n type: object\n x-dcl-go-name: Rpm\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm\n description: An rpm package file.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - googet\n - msi\n required:\n - source\n properties:\n pullDeps:\n type: boolean\n x-dcl-go-name: PullDeps\n description: 'Whether dependencies should also\n be installed. - install when false: `rpm --upgrade\n --replacepkgs package.rpm` - install when true:\n `yum -y install package.rpm` or `zypper -y install\n package.rpm`'\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource\n description: Required. An rpm package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum\n description: A package managed by YUM.\n x-dcl-conflicts:\n - apt\n - deb\n - zypper\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper\n description: A package managed by Zypper.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n repository:\n type: object\n x-dcl-go-name: Repository\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository\n description: Package repository resource\n x-dcl-conflicts:\n - pkg\n - exec\n - file\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt\n description: An Apt Repository.\n x-dcl-conflicts:\n - yum\n - zypper\n - goo\n required:\n - archiveType\n - uri\n - distribution\n - components\n properties:\n archiveType:\n type: string\n x-dcl-go-name: ArchiveType\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum\n description: 'Required. Type of archive files\n in this repository. Possible values: ARCHIVE_TYPE_UNSPECIFIED,\n DEB, DEB_SRC'\n enum:\n - ARCHIVE_TYPE_UNSPECIFIED\n - DEB\n - DEB_SRC\n components:\n type: array\n x-dcl-go-name: Components\n description: Required. List of components for\n this repository. Must contain at least one item.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n distribution:\n type: string\n x-dcl-go-name: Distribution\n description: Required. Distribution of this repository.\n gpgKey:\n type: string\n x-dcl-go-name: GpgKey\n description: URI of the key file for this repository.\n The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI for this repository.\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo\n description: A Goo Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n required:\n - name\n - url\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the repository.\n url:\n type: string\n x-dcl-go-name: Url\n description: Required. The url of the repository.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum\n description: A Yum Repository.\n x-dcl-conflicts:\n - apt\n - zypper\n - goo\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository\n directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name\n for this repository. This is the `repo id` in\n the yum config file and also the `display_name`\n if `display_name` is omitted. This id is also\n used as the unique identifier when checking\n for resource conflicts.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper\n description: A Zypper Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - goo\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository\n directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name\n for this repository. This is the `repo id` in\n the zypper config file and also the `display_name`\n if `display_name` is omitted. This id is also\n used as the unique identifier when checking\n for GuestPolicy conflicts.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: 'Output only. Indicates that reconciliation is in progress\n for the revision. This value is `true` when the `rollout_state` is one\n of: * IN_PROGRESS * CANCELLING'\n x-kubernetes-immutable: true\n revisionCreateTime:\n type: string\n format: date-time\n x-dcl-go-name: RevisionCreateTime\n readOnly: true\n description: Output only. The timestamp that the revision was created.\n x-kubernetes-immutable: true\n revisionId:\n type: string\n x-dcl-go-name: RevisionId\n readOnly: true\n description: Output only. The assignment revision ID A new revision is committed\n whenever a rollout is triggered for a OS policy assignment\n x-kubernetes-immutable: true\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: OSPolicyAssignmentRollout\n description: 'Required. Rollout to deploy the OS policy assignment. A rollout\n is triggered in the following situations: 1) OSPolicyAssignment is created.\n 2) OSPolicyAssignment is updated and the update contains changes to one\n of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment\n is deleted.'\n required:\n - disruptionBudget\n - minWaitDuration\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: OSPolicyAssignmentRolloutDisruptionBudget\n description: Required. The maximum number (or percentage) of VMs per\n zone to disrupt at any given moment.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n minWaitDuration:\n type: string\n x-dcl-go-name: MinWaitDuration\n description: Required. This determines the minimum duration of time\n to wait after the configuration changes are applied through the current\n rollout. A VM continues to count towards the `disruption_budget` at\n least until this duration of time has passed after configuration changes\n are applied.\n rolloutState:\n type: string\n x-dcl-go-name: RolloutState\n x-dcl-go-type: OSPolicyAssignmentRolloutStateEnum\n readOnly: true\n description: 'Output only. OS policy assignment rollout state Possible values:\n ROLLOUT_STATE_UNSPECIFIED, IN_PROGRESS, CANCELLING, CANCELLED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - ROLLOUT_STATE_UNSPECIFIED\n - IN_PROGRESS\n - CANCELLING\n - CANCELLED\n - SUCCEEDED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server generated unique id for the OS policy assignment\n resource.\n x-kubernetes-immutable: true\n") -// 72961 bytes -// MD5: c979ac007b7d8bf0175fa09e4a7c0937 +// 72986 bytes +// MD5: 64411c52f3e2babf5e5d4d9f711969f1 diff --git a/services/google/osconfig/beta/os_policy_assignment_schema.go b/services/google/osconfig/beta/os_policy_assignment_schema.go index f84cb839d1..8b9748fb90 100755 --- a/services/google/osconfig/beta/os_policy_assignment_schema.go +++ b/services/google/osconfig/beta/os_policy_assignment_schema.go @@ -23,6 +23,7 @@ func DCLOSPolicyAssignmentSchema() *dcl.Schema { Title: "OSConfig/OSPolicyAssignment", Description: "Represents an OSPolicyAssignment resource.", StructName: "OSPolicyAssignment", + HasCreate: true, Reference: &dcl.Link{ Text: "API documentation", URL: "https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments", diff --git a/services/google/osconfig/beta/patch_deployment.yaml b/services/google/osconfig/beta/patch_deployment.yaml index 022574361f..ab75cb7d3f 100755 --- a/services/google/osconfig/beta/patch_deployment.yaml +++ b/services/google/osconfig/beta/patch_deployment.yaml @@ -17,6 +17,7 @@ info: to complete a patch. These configurations include instance filter, package repository settings, and a schedule. x-dcl-struct-name: PatchDeployment + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API documentation diff --git a/services/google/osconfig/beta/patch_deployment_beta_yaml_embed.go b/services/google/osconfig/beta/patch_deployment_beta_yaml_embed.go index 7d60450d67..0383151b8a 100755 --- a/services/google/osconfig/beta/patch_deployment_beta_yaml_embed.go +++ b/services/google/osconfig/beta/patch_deployment_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/osconfig/beta/patch_deployment.yaml -var YAML_patch_deployment = []byte("info:\n title: OSConfig/PatchDeployment\n description: Patch deployments are configurations that individual patch jobs use\n to complete a patch. These configurations include instance filter, package repository\n settings, and a schedule.\n x-dcl-struct-name: PatchDeployment\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest\n x-dcl-guides:\n - text: Official Documentation\n url: https://cloud.google.com/compute/docs/os-patch-management\npaths:\n get:\n description: The function used to get information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n apply:\n description: The function used to apply information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n delete:\n description: The function used to delete a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n deleteAll:\n description: The function used to delete all PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PatchDeployment:\n title: PatchDeployment\n x-dcl-id: projects/{{project}}/patchDeployments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - instanceFilter\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the patch deployment was created. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the patch deployment. Length of the\n description is limited to 1024 characters.\n duration:\n type: string\n x-dcl-go-name: Duration\n description: Optional. Duration of the patch. After the duration ends, the\n patch times out.\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: PatchDeploymentInstanceFilter\n description: Required. VM instances to patch.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VM instances in the project. If true, no other\n criteria is permitted.\n x-dcl-conflicts:\n - instanceNamePrefixes\n groupLabels:\n type: array\n x-dcl-go-name: GroupLabels\n description: Targets VM instances matching ANY of these GroupLabels.\n This allows targeting of disparate groups of VM instances.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PatchDeploymentInstanceFilterGroupLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Compute Engine instance labels that must be present\n for a VM instance to be targeted by this filter.\n instanceNamePrefixes:\n type: array\n x-dcl-go-name: InstanceNamePrefixes\n description: Targets VMs whose name starts with one of these prefixes.\n Similar to labels, this is another way to group VMs when targeting\n configs, for example prefix=\"prod-\".\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n instances:\n type: array\n x-dcl-go-name: Instances\n description: Targets any of the VM instances specified. Instances are\n specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,\n `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or\n `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: name\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Targets VM instances in ANY of these zones. Leave empty\n to target VM instances in any zone.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The last time a patch job was started by this\n deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Unique name for the patch deployment resource in a project.\n The patch deployment name is in the form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`.\n This field is ignored when you create a new patch deployment.'\n x-kubernetes-immutable: true\n oneTimeSchedule:\n type: object\n x-dcl-go-name: OneTimeSchedule\n x-dcl-go-type: PatchDeploymentOneTimeSchedule\n description: Required. Schedule a one-time execution.\n x-dcl-conflicts:\n - recurringSchedule\n required:\n - executeTime\n properties:\n executeTime:\n type: string\n format: date-time\n x-dcl-go-name: ExecuteTime\n description: Required. The desired patch job execution time.\n patchConfig:\n type: object\n x-dcl-go-name: PatchConfig\n x-dcl-go-type: PatchDeploymentPatchConfig\n description: Optional. Patch configuration that is applied.\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: PatchDeploymentPatchConfigApt\n description: Apt update settings. Use this setting to override the default\n `apt` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n will be excluded\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field cannot be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: PatchDeploymentPatchConfigAptTypeEnum\n description: 'By changing the type to DIST, the patching is performed\n using `apt-get dist-upgrade` instead. Possible values: TYPE_UNSPECIFIED,\n DIST, UPGRADE'\n enum:\n - TYPE_UNSPECIFIED\n - DIST\n - UPGRADE\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: PatchDeploymentPatchConfigGoo\n description: Goo update settings. Use this setting to override the default\n `goo` patch rules.\n postStep:\n type: object\n x-dcl-go-name: PostStep\n x-dcl-go-type: PatchDeploymentPatchConfigPostStep\n description: The `ExecStep` to run after the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n preStep:\n type: object\n x-dcl-go-name: PreStep\n x-dcl-go-type: PatchDeploymentPatchConfigPreStep\n description: The `ExecStep` to run before the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n rebootConfig:\n type: string\n x-dcl-go-name: RebootConfig\n x-dcl-go-type: PatchDeploymentPatchConfigRebootConfigEnum\n description: 'Post-patch reboot settings. Possible values: REBOOT_CONFIG_UNSPECIFIED,\n DEFAULT, ALWAYS, NEVER'\n enum:\n - REBOOT_CONFIG_UNSPECIFIED\n - DEFAULT\n - ALWAYS\n - NEVER\n windowsUpdate:\n type: object\n x-dcl-go-name: WindowsUpdate\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdate\n description: Windows update settings. Use this override the default\n windows patch rules.\n properties:\n classifications:\n type: array\n x-dcl-go-name: Classifications\n description: Only apply updates of these windows update classifications.\n If empty, all updates are applied.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum\n enum:\n - CLASSIFICATION_UNSPECIFIED\n - CRITICAL\n - SECURITY\n - DEFINITION\n - DRIVER\n - FEATURE_PACK\n - SERVICE_PACK\n - TOOL\n - UPDATE_ROLLUP\n - UPDATE\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of KBs to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of kbs to be updated. These are the\n only patches that will be updated. This field must not be used\n with other patch configurations.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: PatchDeploymentPatchConfigYum\n description: Yum update settings. Use this setting to override the default\n `yum` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n are excluded by using the yum `--exclude` flag.\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field must not be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n minimal:\n type: boolean\n x-dcl-go-name: Minimal\n description: Will cause patch to run `yum update-minimal` instead.\n security:\n type: boolean\n x-dcl-go-name: Security\n description: Adds the `--security` flag to `yum update`. Not supported\n on all platforms.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: PatchDeploymentPatchConfigZypper\n description: Zypper update settings. Use this setting to override the\n default `zypper` patch rules.\n properties:\n categories:\n type: array\n x-dcl-go-name: Categories\n description: Install only patches with these categories. Common\n categories include security, recommended, and feature.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of patches to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of patches to be updated. These are\n the only patches that will be installed using 'zypper patch patch:'\n command. This field must not be used with any other patch configuration\n fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n severities:\n type: array\n x-dcl-go-name: Severities\n description: Install only patches with these severities. Common\n severities include critical, important, moderate, and low.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n withOptional:\n type: boolean\n x-dcl-go-name: WithOptional\n description: Adds the `--with-optional` flag to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n withUpdate:\n type: boolean\n x-dcl-go-name: WithUpdate\n description: Adds the `--with-update` flag, to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n recurringSchedule:\n type: object\n x-dcl-go-name: RecurringSchedule\n x-dcl-go-type: PatchDeploymentRecurringSchedule\n description: Required. Schedule recurring executions.\n x-dcl-conflicts:\n - oneTimeSchedule\n required:\n - timeZone\n - timeOfDay\n - frequency\n properties:\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Optional. The end time at which a recurring patch deployment\n schedule is no longer active.\n frequency:\n type: string\n x-dcl-go-name: Frequency\n x-dcl-go-type: PatchDeploymentRecurringScheduleFrequencyEnum\n description: 'Required. The frequency unit of this recurring schedule.\n Possible values: FREQUENCY_UNSPECIFIED, WEEKLY, MONTHLY, DAILY'\n enum:\n - FREQUENCY_UNSPECIFIED\n - WEEKLY\n - MONTHLY\n - DAILY\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The time the last patch job ran successfully.\n monthly:\n type: object\n x-dcl-go-name: Monthly\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthly\n description: Required. Schedule with monthly executions.\n x-dcl-conflicts:\n - weekly\n properties:\n monthDay:\n type: integer\n format: int64\n x-dcl-go-name: MonthDay\n description: Required. One day of the month. 1-31 indicates the\n 1st to the 31st day. -1 indicates the last day of the month. Months\n without the target day will be skipped. For example, a schedule\n to run \"every month on the 31st\" will not run in February, April,\n June, etc.\n x-dcl-conflicts:\n - weekDayOfMonth\n weekDayOfMonth:\n type: object\n x-dcl-go-name: WeekDayOfMonth\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth\n description: Required. Week day in a month.\n x-dcl-conflicts:\n - monthDay\n required:\n - weekOrdinal\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum\n description: 'Required. A day of the week. Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,\n FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n weekOrdinal:\n type: integer\n format: int64\n x-dcl-go-name: WeekOrdinal\n description: Required. Week number in a month. 1-4 indicates\n the 1st to 4th week of the month. -1 indicates the last week\n of the month.\n nextExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: NextExecuteTime\n readOnly: true\n description: Output only. The time the next patch job is scheduled to\n run.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Optional. The time that the recurring schedule becomes\n effective. Defaults to `create_time` of the patch deployment.\n timeOfDay:\n type: object\n x-dcl-go-name: TimeOfDay\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeOfDay\n description: Required. Time of the day to run a recurring deployment.\n x-dcl-send-empty: true\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format. Should be from 0 to\n 23. An API may choose to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time. Must normally be from\n 0 to 59. An API may allow the value 60 if it allows leap-seconds.\n timeZone:\n type: object\n x-dcl-go-name: TimeZone\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeZone\n description: Required. Defines the time zone that `time_of_day` is relative\n to. The rules for daylight saving time are determined by the chosen\n time zone.\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: IANA Time Zone Database time zone, e.g. \"America/New_York\".\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional. IANA Time Zone Database version number, e.g.\n \"2019a\".\n weekly:\n type: object\n x-dcl-go-name: Weekly\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeekly\n description: Required. Schedule with weekly executions.\n x-dcl-conflicts:\n - monthly\n required:\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum\n description: 'Required. Day of the week. Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: PatchDeploymentRollout\n description: Optional. Rollout strategy of the patch job.\n required:\n - mode\n - disruptionBudget\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: PatchDeploymentRolloutDisruptionBudget\n description: The maximum number (or percentage) of VMs per zone to disrupt\n at any given moment. The number of VMs calculated from multiplying\n the percentage by the total number of VMs in a zone is rounded up.\n During patching, a VM is considered disrupted from the time the agent\n is notified to begin until patching has completed. This disruption\n time includes the time to complete reboot and any post-patch steps.\n A VM contributes to the disruption budget if its patching operation\n fails either when applying the patches, running pre or post patch\n steps, or if it fails to respond with a success notification before\n timing out. VMs that are not running or do not have an active agent\n do not count toward this disruption budget. For zone-by-zone rollouts,\n if the disruption budget in a zone is exceeded, the patch job stops,\n because continuing to the next zone requires completion of the patch\n process in the previous zone. For example, if the disruption budget\n has a fixed value of `10`, and 8 VMs fail to patch in the current\n zone, the patch job continues to patch 2 VMs at a time until the zone\n is completed. When that zone is completed successfully, patching begins\n with 10 VMs at a time in the next zone. If 10 VMs in the next zone\n fail to patch, the patch job stops.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: PatchDeploymentRolloutModeEnum\n description: 'Mode of the patch rollout. Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the patch deployment was last updated. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n") +var YAML_patch_deployment = []byte("info:\n title: OSConfig/PatchDeployment\n description: Patch deployments are configurations that individual patch jobs use\n to complete a patch. These configurations include instance filter, package repository\n settings, and a schedule.\n x-dcl-struct-name: PatchDeployment\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest\n x-dcl-guides:\n - text: Official Documentation\n url: https://cloud.google.com/compute/docs/os-patch-management\npaths:\n get:\n description: The function used to get information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n apply:\n description: The function used to apply information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n delete:\n description: The function used to delete a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n deleteAll:\n description: The function used to delete all PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PatchDeployment:\n title: PatchDeployment\n x-dcl-id: projects/{{project}}/patchDeployments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - instanceFilter\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the patch deployment was created. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the patch deployment. Length of the\n description is limited to 1024 characters.\n duration:\n type: string\n x-dcl-go-name: Duration\n description: Optional. Duration of the patch. After the duration ends, the\n patch times out.\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: PatchDeploymentInstanceFilter\n description: Required. VM instances to patch.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VM instances in the project. If true, no other\n criteria is permitted.\n x-dcl-conflicts:\n - instanceNamePrefixes\n groupLabels:\n type: array\n x-dcl-go-name: GroupLabels\n description: Targets VM instances matching ANY of these GroupLabels.\n This allows targeting of disparate groups of VM instances.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PatchDeploymentInstanceFilterGroupLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Compute Engine instance labels that must be present\n for a VM instance to be targeted by this filter.\n instanceNamePrefixes:\n type: array\n x-dcl-go-name: InstanceNamePrefixes\n description: Targets VMs whose name starts with one of these prefixes.\n Similar to labels, this is another way to group VMs when targeting\n configs, for example prefix=\"prod-\".\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n instances:\n type: array\n x-dcl-go-name: Instances\n description: Targets any of the VM instances specified. Instances are\n specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,\n `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or\n `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: name\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Targets VM instances in ANY of these zones. Leave empty\n to target VM instances in any zone.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The last time a patch job was started by this\n deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Unique name for the patch deployment resource in a project.\n The patch deployment name is in the form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`.\n This field is ignored when you create a new patch deployment.'\n x-kubernetes-immutable: true\n oneTimeSchedule:\n type: object\n x-dcl-go-name: OneTimeSchedule\n x-dcl-go-type: PatchDeploymentOneTimeSchedule\n description: Required. Schedule a one-time execution.\n x-dcl-conflicts:\n - recurringSchedule\n required:\n - executeTime\n properties:\n executeTime:\n type: string\n format: date-time\n x-dcl-go-name: ExecuteTime\n description: Required. The desired patch job execution time.\n patchConfig:\n type: object\n x-dcl-go-name: PatchConfig\n x-dcl-go-type: PatchDeploymentPatchConfig\n description: Optional. Patch configuration that is applied.\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: PatchDeploymentPatchConfigApt\n description: Apt update settings. Use this setting to override the default\n `apt` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n will be excluded\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field cannot be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: PatchDeploymentPatchConfigAptTypeEnum\n description: 'By changing the type to DIST, the patching is performed\n using `apt-get dist-upgrade` instead. Possible values: TYPE_UNSPECIFIED,\n DIST, UPGRADE'\n enum:\n - TYPE_UNSPECIFIED\n - DIST\n - UPGRADE\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: PatchDeploymentPatchConfigGoo\n description: Goo update settings. Use this setting to override the default\n `goo` patch rules.\n postStep:\n type: object\n x-dcl-go-name: PostStep\n x-dcl-go-type: PatchDeploymentPatchConfigPostStep\n description: The `ExecStep` to run after the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n preStep:\n type: object\n x-dcl-go-name: PreStep\n x-dcl-go-type: PatchDeploymentPatchConfigPreStep\n description: The `ExecStep` to run before the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n rebootConfig:\n type: string\n x-dcl-go-name: RebootConfig\n x-dcl-go-type: PatchDeploymentPatchConfigRebootConfigEnum\n description: 'Post-patch reboot settings. Possible values: REBOOT_CONFIG_UNSPECIFIED,\n DEFAULT, ALWAYS, NEVER'\n enum:\n - REBOOT_CONFIG_UNSPECIFIED\n - DEFAULT\n - ALWAYS\n - NEVER\n windowsUpdate:\n type: object\n x-dcl-go-name: WindowsUpdate\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdate\n description: Windows update settings. Use this override the default\n windows patch rules.\n properties:\n classifications:\n type: array\n x-dcl-go-name: Classifications\n description: Only apply updates of these windows update classifications.\n If empty, all updates are applied.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum\n enum:\n - CLASSIFICATION_UNSPECIFIED\n - CRITICAL\n - SECURITY\n - DEFINITION\n - DRIVER\n - FEATURE_PACK\n - SERVICE_PACK\n - TOOL\n - UPDATE_ROLLUP\n - UPDATE\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of KBs to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of kbs to be updated. These are the\n only patches that will be updated. This field must not be used\n with other patch configurations.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: PatchDeploymentPatchConfigYum\n description: Yum update settings. Use this setting to override the default\n `yum` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n are excluded by using the yum `--exclude` flag.\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field must not be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n minimal:\n type: boolean\n x-dcl-go-name: Minimal\n description: Will cause patch to run `yum update-minimal` instead.\n security:\n type: boolean\n x-dcl-go-name: Security\n description: Adds the `--security` flag to `yum update`. Not supported\n on all platforms.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: PatchDeploymentPatchConfigZypper\n description: Zypper update settings. Use this setting to override the\n default `zypper` patch rules.\n properties:\n categories:\n type: array\n x-dcl-go-name: Categories\n description: Install only patches with these categories. Common\n categories include security, recommended, and feature.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of patches to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of patches to be updated. These are\n the only patches that will be installed using 'zypper patch patch:'\n command. This field must not be used with any other patch configuration\n fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n severities:\n type: array\n x-dcl-go-name: Severities\n description: Install only patches with these severities. Common\n severities include critical, important, moderate, and low.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n withOptional:\n type: boolean\n x-dcl-go-name: WithOptional\n description: Adds the `--with-optional` flag to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n withUpdate:\n type: boolean\n x-dcl-go-name: WithUpdate\n description: Adds the `--with-update` flag, to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n recurringSchedule:\n type: object\n x-dcl-go-name: RecurringSchedule\n x-dcl-go-type: PatchDeploymentRecurringSchedule\n description: Required. Schedule recurring executions.\n x-dcl-conflicts:\n - oneTimeSchedule\n required:\n - timeZone\n - timeOfDay\n - frequency\n properties:\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Optional. The end time at which a recurring patch deployment\n schedule is no longer active.\n frequency:\n type: string\n x-dcl-go-name: Frequency\n x-dcl-go-type: PatchDeploymentRecurringScheduleFrequencyEnum\n description: 'Required. The frequency unit of this recurring schedule.\n Possible values: FREQUENCY_UNSPECIFIED, WEEKLY, MONTHLY, DAILY'\n enum:\n - FREQUENCY_UNSPECIFIED\n - WEEKLY\n - MONTHLY\n - DAILY\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The time the last patch job ran successfully.\n monthly:\n type: object\n x-dcl-go-name: Monthly\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthly\n description: Required. Schedule with monthly executions.\n x-dcl-conflicts:\n - weekly\n properties:\n monthDay:\n type: integer\n format: int64\n x-dcl-go-name: MonthDay\n description: Required. One day of the month. 1-31 indicates the\n 1st to the 31st day. -1 indicates the last day of the month. Months\n without the target day will be skipped. For example, a schedule\n to run \"every month on the 31st\" will not run in February, April,\n June, etc.\n x-dcl-conflicts:\n - weekDayOfMonth\n weekDayOfMonth:\n type: object\n x-dcl-go-name: WeekDayOfMonth\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth\n description: Required. Week day in a month.\n x-dcl-conflicts:\n - monthDay\n required:\n - weekOrdinal\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum\n description: 'Required. A day of the week. Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,\n FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n weekOrdinal:\n type: integer\n format: int64\n x-dcl-go-name: WeekOrdinal\n description: Required. Week number in a month. 1-4 indicates\n the 1st to 4th week of the month. -1 indicates the last week\n of the month.\n nextExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: NextExecuteTime\n readOnly: true\n description: Output only. The time the next patch job is scheduled to\n run.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Optional. The time that the recurring schedule becomes\n effective. Defaults to `create_time` of the patch deployment.\n timeOfDay:\n type: object\n x-dcl-go-name: TimeOfDay\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeOfDay\n description: Required. Time of the day to run a recurring deployment.\n x-dcl-send-empty: true\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format. Should be from 0 to\n 23. An API may choose to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time. Must normally be from\n 0 to 59. An API may allow the value 60 if it allows leap-seconds.\n timeZone:\n type: object\n x-dcl-go-name: TimeZone\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeZone\n description: Required. Defines the time zone that `time_of_day` is relative\n to. The rules for daylight saving time are determined by the chosen\n time zone.\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: IANA Time Zone Database time zone, e.g. \"America/New_York\".\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional. IANA Time Zone Database version number, e.g.\n \"2019a\".\n weekly:\n type: object\n x-dcl-go-name: Weekly\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeekly\n description: Required. Schedule with weekly executions.\n x-dcl-conflicts:\n - monthly\n required:\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum\n description: 'Required. Day of the week. Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: PatchDeploymentRollout\n description: Optional. Rollout strategy of the patch job.\n required:\n - mode\n - disruptionBudget\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: PatchDeploymentRolloutDisruptionBudget\n description: The maximum number (or percentage) of VMs per zone to disrupt\n at any given moment. The number of VMs calculated from multiplying\n the percentage by the total number of VMs in a zone is rounded up.\n During patching, a VM is considered disrupted from the time the agent\n is notified to begin until patching has completed. This disruption\n time includes the time to complete reboot and any post-patch steps.\n A VM contributes to the disruption budget if its patching operation\n fails either when applying the patches, running pre or post patch\n steps, or if it fails to respond with a success notification before\n timing out. VMs that are not running or do not have an active agent\n do not count toward this disruption budget. For zone-by-zone rollouts,\n if the disruption budget in a zone is exceeded, the patch job stops,\n because continuing to the next zone requires completion of the patch\n process in the previous zone. For example, if the disruption budget\n has a fixed value of `10`, and 8 VMs fail to patch in the current\n zone, the patch job continues to patch 2 VMs at a time until the zone\n is completed. When that zone is completed successfully, patching begins\n with 10 VMs at a time in the next zone. If 10 VMs in the next zone\n fail to patch, the patch job stops.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: PatchDeploymentRolloutModeEnum\n description: 'Mode of the patch rollout. Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the patch deployment was last updated. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n") -// 41926 bytes -// MD5: faa4aed1e254789b8284abb4d9dcb2dd +// 41951 bytes +// MD5: a565931e5d8c1cb7c6a00b30db8fc0da diff --git a/services/google/osconfig/beta/patch_deployment_schema.go b/services/google/osconfig/beta/patch_deployment_schema.go index 69324cf415..1443994802 100755 --- a/services/google/osconfig/beta/patch_deployment_schema.go +++ b/services/google/osconfig/beta/patch_deployment_schema.go @@ -23,6 +23,7 @@ func DCLPatchDeploymentSchema() *dcl.Schema { Title: "OSConfig/PatchDeployment", Description: "Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule.", StructName: "PatchDeployment", + HasCreate: true, Reference: &dcl.Link{ Text: "API documentation", URL: "https://cloud.google.com/compute/docs/osconfig/rest", diff --git a/services/google/osconfig/os_policy_assignment.yaml b/services/google/osconfig/os_policy_assignment.yaml index 3043640929..3c737a44df 100755 --- a/services/google/osconfig/os_policy_assignment.yaml +++ b/services/google/osconfig/os_policy_assignment.yaml @@ -15,6 +15,7 @@ info: title: OSConfig/OSPolicyAssignment description: Represents an OSPolicyAssignment resource. x-dcl-struct-name: OSPolicyAssignment + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API documentation diff --git a/services/google/osconfig/os_policy_assignment_schema.go b/services/google/osconfig/os_policy_assignment_schema.go index c3882fd7e7..435b9eaf35 100755 --- a/services/google/osconfig/os_policy_assignment_schema.go +++ b/services/google/osconfig/os_policy_assignment_schema.go @@ -23,6 +23,7 @@ func DCLOSPolicyAssignmentSchema() *dcl.Schema { Title: "OSConfig/OSPolicyAssignment", Description: "Represents an OSPolicyAssignment resource.", StructName: "OSPolicyAssignment", + HasCreate: true, Reference: &dcl.Link{ Text: "API documentation", URL: "https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments", diff --git a/services/google/osconfig/os_policy_assignment_yaml_embed.go b/services/google/osconfig/os_policy_assignment_yaml_embed.go index e467820fd2..3c49a1fa8b 100755 --- a/services/google/osconfig/os_policy_assignment_yaml_embed.go +++ b/services/google/osconfig/os_policy_assignment_yaml_embed.go @@ -17,7 +17,7 @@ package osconfig // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/osconfig/os_policy_assignment.yaml -var YAML_os_policy_assignment = []byte("info:\n title: OSConfig/OSPolicyAssignment\n description: Represents an OSPolicyAssignment resource.\n x-dcl-struct-name: OSPolicyAssignment\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments\npaths:\n get:\n description: The function used to get information about a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n apply:\n description: The function used to apply information about a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n delete:\n description: The function used to delete a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n deleteAll:\n description: The function used to delete all OSPolicyAssignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OSPolicyAssignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OSPolicyAssignment:\n title: OSPolicyAssignment\n x-dcl-id: projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - osPolicies\n - instanceFilter\n - rollout\n - project\n - location\n properties:\n baseline:\n type: boolean\n x-dcl-go-name: Baseline\n readOnly: true\n description: Output only. Indicates that this revision has been successfully\n rolled out in this zone and new VMs will be assigned OS policies from\n this revision. For a given OS policy assignment, there is only one revision\n with a value of `true` for this field.\n x-kubernetes-immutable: true\n deleted:\n type: boolean\n x-dcl-go-name: Deleted\n readOnly: true\n description: Output only. Indicates that this revision deletes the OS policy\n assignment.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: OS policy assignment description. Length of the description\n is limited to 1024 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: The etag for this OS policy assignment. If this is provided\n on update, it must match the server's etag.\n x-kubernetes-immutable: true\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: OSPolicyAssignmentInstanceFilter\n description: Required. Filter to select VMs.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VMs in the project. If true, no other criteria\n is permitted.\n x-dcl-send-empty: true\n exclusionLabels:\n type: array\n x-dcl-go-name: ExclusionLabels\n description: List of label sets used for VM exclusion. If the list has\n more than one label set, the VM is excluded if any of the label sets\n are applicable for the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterExclusionLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are identified by key/value pairs in this\n map. A VM should contain all the key/value pairs specified in\n this map to be selected.\n inclusionLabels:\n type: array\n x-dcl-go-name: InclusionLabels\n description: List of label sets used for VM inclusion. If the list has\n more than one `LabelSet`, the VM is included if any of the label sets\n are applicable for the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterInclusionLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are identified by key/value pairs in this\n map. A VM should contain all the key/value pairs specified in\n this map to be selected.\n inventories:\n type: array\n x-dcl-go-name: Inventories\n description: List of inventories to select VMs. A VM is selected if\n its inventory data matches at least one of the following inventories.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterInventories\n required:\n - osShortName\n properties:\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Required. The OS short name\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: The OS version Prefix matches are supported if asterisk(*)\n is provided as the last character. For example, to match all\n versions with a major version of `7`, specify the following\n value for this field `7.*` An empty string matches all OS versions.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name.\n x-kubernetes-immutable: true\n osPolicies:\n type: array\n x-dcl-go-name: OSPolicies\n description: Required. List of OS policies to be applied to the VMs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPolicies\n required:\n - id\n - mode\n - resourceGroups\n properties:\n allowNoResourceGroupMatch:\n type: boolean\n x-dcl-go-name: AllowNoResourceGroupMatch\n description: This flag determines the OS policy compliance status\n when none of the resource groups within the policy are applicable\n for a VM. Set this value to `true` if the policy needs to be reported\n as compliant even if the policy has nothing to validate or enforce.\n description:\n type: string\n x-dcl-go-name: Description\n description: Policy description. Length of the description is limited\n to 1024 characters.\n id:\n type: string\n x-dcl-go-name: Id\n description: 'Required. The id of the OS policy with the following\n restrictions: * Must contain only lowercase letters, numbers, and\n hyphens. * Must start with a letter. * Must be between 1-63 characters.\n * Must end with a number or a letter. * Must be unique within the\n assignment.'\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesModeEnum\n description: 'Required. Policy mode Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n resourceGroups:\n type: array\n x-dcl-go-name: ResourceGroups\n description: Required. List of resource groups for the policy. For\n a particular VM, resource groups are evaluated in the order specified\n and the first resource group that is applicable is selected and\n the rest are ignored. If none of the resource groups are applicable\n for a VM, the VM is considered to be non-compliant w.r.t this policy.\n This behavior can be toggled by the flag `allow_no_resource_group_match`\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroups\n required:\n - resources\n properties:\n inventoryFilters:\n type: array\n x-dcl-go-name: InventoryFilters\n description: 'List of inventory filters for the resource group.\n The resources in this resource group are applied to the target\n VM if it satisfies at least one of the following inventory\n filters. For example, to apply this resource group to VMs\n running either `RHEL` or `CentOS` operating systems, specify\n 2 items for the list with following values: inventory_filters[0].os_short_name=''rhel''\n and inventory_filters[1].os_short_name=''centos'' If the list\n is empty, this resource group will be applied to the target\n VM unconditionally.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters\n required:\n - osShortName\n properties:\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Required. The OS short name\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: The OS version Prefix matches are supported\n if asterisk(*) is provided as the last character. For\n example, to match all versions with a major version\n of `7`, specify the following value for this field `7.*`\n An empty string matches all OS versions.\n resources:\n type: array\n x-dcl-go-name: Resources\n description: Required. List of resources configured for this\n resource group. The resources are executed in the exact order\n specified here.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResources\n required:\n - id\n properties:\n exec:\n type: object\n x-dcl-go-name: Exec\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec\n description: Exec resource\n x-dcl-conflicts:\n - pkg\n - repository\n - file\n required:\n - validate\n properties:\n enforce:\n type: object\n x-dcl-go-name: Enforce\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce\n description: What to run to bring this resource into\n the desired state. An exit code of 100 indicates\n \"success\", any other exit code indicates a failure\n running enforce.\n required:\n - interpreter\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional arguments to pass to the\n source during execution.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile\n description: A remote or local file.\n x-dcl-conflicts:\n - script\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum\n description: 'Required. The script interpreter\n to use. Possible values: INTERPRETER_UNSPECIFIED,\n NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n outputFilePath:\n type: string\n x-dcl-go-name: OutputFilePath\n description: Only recorded for enforce Exec. Path\n to an output file (that is created by this Exec)\n whose content will be recorded in OSPolicyResourceCompliance\n after a successful run. Absence or failure to\n read this file will result in this ExecResource\n being non-compliant. Output file size is limited\n to 100K bytes.\n script:\n type: string\n x-dcl-go-name: Script\n description: An inline script. The size of the\n script is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n validate:\n type: object\n x-dcl-go-name: Validate\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate\n description: Required. What to run to validate this\n resource is in the desired state. An exit code of\n 100 indicates \"in desired state\", and exit code\n of 101 indicates \"not in desired state\". Any other\n exit code indicates a failure running validate.\n required:\n - interpreter\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional arguments to pass to the\n source during execution.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile\n description: A remote or local file.\n x-dcl-conflicts:\n - script\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum\n description: 'Required. The script interpreter\n to use. Possible values: INTERPRETER_UNSPECIFIED,\n NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n outputFilePath:\n type: string\n x-dcl-go-name: OutputFilePath\n description: Only recorded for enforce Exec. Path\n to an output file (that is created by this Exec)\n whose content will be recorded in OSPolicyResourceCompliance\n after a successful run. Absence or failure to\n read this file will result in this ExecResource\n being non-compliant. Output file size is limited\n to 100K bytes.\n script:\n type: string\n x-dcl-go-name: Script\n description: An inline script. The size of the\n script is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile\n description: File resource\n x-dcl-conflicts:\n - pkg\n - repository\n - exec\n required:\n - path\n - state\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: A a file with this content. The size\n of the content is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile\n description: A remote or local source.\n x-dcl-conflicts:\n - content\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false, files\n are subject to validations based on the file\n type: Remote: A checksum must be specified.\n Cloud Storage: An object generation number must\n be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the Cloud\n Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage\n object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which to fetch\n the object. It should contain both the protocol\n and path following the format `{protocol}://{location}`.\n path:\n type: string\n x-dcl-go-name: Path\n description: Required. The absolute path of the file\n within the VM.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n readOnly: true\n description: 'Consists of three octal digits which\n represent, in order, the permissions of the owner,\n group, and other users for the file (similarly to\n the numeric mode used in the linux chmod utility).\n Each digit represents a three bit number with the\n 4 bit corresponding to the read permissions, the\n 2 bit corresponds to the write bit, and the one\n bit corresponds to the execute permission. Default\n behavior is 755. Below are some examples of permissions\n and their associated values: read, write, and execute:\n 7 read and execute: 5 read and write: 6 read only:\n 4'\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum\n description: 'Required. Desired state of the file.\n Possible values: OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED,\n COMPLIANT, NON_COMPLIANT, UNKNOWN, NO_OS_POLICIES_APPLICABLE'\n enum:\n - OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED\n - COMPLIANT\n - NON_COMPLIANT\n - UNKNOWN\n - NO_OS_POLICIES_APPLICABLE\n id:\n type: string\n x-dcl-go-name: Id\n description: 'Required. The id of the resource with the\n following restrictions: * Must contain only lowercase\n letters, numbers, and hyphens. * Must start with a letter.\n * Must be between 1-63 characters. * Must end with a\n number or a letter. * Must be unique within the OS policy.'\n pkg:\n type: object\n x-dcl-go-name: Pkg\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg\n description: Package resource\n x-dcl-conflicts:\n - repository\n - exec\n - file\n required:\n - desiredState\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt\n description: A package managed by Apt.\n x-dcl-conflicts:\n - deb\n - yum\n - zypper\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n deb:\n type: object\n x-dcl-go-name: Deb\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb\n description: A deb package file.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n - rpm\n - googet\n - msi\n required:\n - source\n properties:\n pullDeps:\n type: boolean\n x-dcl-go-name: PullDeps\n description: 'Whether dependencies should also\n be installed. - install when false: `dpkg -i\n package` - install when true: `apt-get update\n && apt-get -y install package.deb`'\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource\n description: Required. A deb package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum\n description: 'Required. The desired state the agent\n should maintain for this package. Possible values:\n DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n googet:\n type: object\n x-dcl-go-name: Googet\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget\n description: A package managed by GooGet.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - rpm\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n msi:\n type: object\n x-dcl-go-name: Msi\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi\n description: An MSI package.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - rpm\n - googet\n required:\n - source\n properties:\n properties:\n type: array\n x-dcl-go-name: Properties\n description: Additional properties to use during\n installation. This should be in the format of\n Property=Setting. Appended to the defaults of\n `ACTION=INSTALL REBOOT=ReallySuppress`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource\n description: Required. The MSI package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n rpm:\n type: object\n x-dcl-go-name: Rpm\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm\n description: An rpm package file.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - googet\n - msi\n required:\n - source\n properties:\n pullDeps:\n type: boolean\n x-dcl-go-name: PullDeps\n description: 'Whether dependencies should also\n be installed. - install when false: `rpm --upgrade\n --replacepkgs package.rpm` - install when true:\n `yum -y install package.rpm` or `zypper -y install\n package.rpm`'\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource\n description: Required. An rpm package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum\n description: A package managed by YUM.\n x-dcl-conflicts:\n - apt\n - deb\n - zypper\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper\n description: A package managed by Zypper.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n repository:\n type: object\n x-dcl-go-name: Repository\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository\n description: Package repository resource\n x-dcl-conflicts:\n - pkg\n - exec\n - file\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt\n description: An Apt Repository.\n x-dcl-conflicts:\n - yum\n - zypper\n - goo\n required:\n - archiveType\n - uri\n - distribution\n - components\n properties:\n archiveType:\n type: string\n x-dcl-go-name: ArchiveType\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum\n description: 'Required. Type of archive files\n in this repository. Possible values: ARCHIVE_TYPE_UNSPECIFIED,\n DEB, DEB_SRC'\n enum:\n - ARCHIVE_TYPE_UNSPECIFIED\n - DEB\n - DEB_SRC\n components:\n type: array\n x-dcl-go-name: Components\n description: Required. List of components for\n this repository. Must contain at least one item.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n distribution:\n type: string\n x-dcl-go-name: Distribution\n description: Required. Distribution of this repository.\n gpgKey:\n type: string\n x-dcl-go-name: GpgKey\n description: URI of the key file for this repository.\n The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI for this repository.\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo\n description: A Goo Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n required:\n - name\n - url\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the repository.\n url:\n type: string\n x-dcl-go-name: Url\n description: Required. The url of the repository.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum\n description: A Yum Repository.\n x-dcl-conflicts:\n - apt\n - zypper\n - goo\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository\n directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name\n for this repository. This is the `repo id` in\n the yum config file and also the `display_name`\n if `display_name` is omitted. This id is also\n used as the unique identifier when checking\n for resource conflicts.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper\n description: A Zypper Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - goo\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository\n directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name\n for this repository. This is the `repo id` in\n the zypper config file and also the `display_name`\n if `display_name` is omitted. This id is also\n used as the unique identifier when checking\n for GuestPolicy conflicts.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: 'Output only. Indicates that reconciliation is in progress\n for the revision. This value is `true` when the `rollout_state` is one\n of: * IN_PROGRESS * CANCELLING'\n x-kubernetes-immutable: true\n revisionCreateTime:\n type: string\n format: date-time\n x-dcl-go-name: RevisionCreateTime\n readOnly: true\n description: Output only. The timestamp that the revision was created.\n x-kubernetes-immutable: true\n revisionId:\n type: string\n x-dcl-go-name: RevisionId\n readOnly: true\n description: Output only. The assignment revision ID A new revision is committed\n whenever a rollout is triggered for a OS policy assignment\n x-kubernetes-immutable: true\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: OSPolicyAssignmentRollout\n description: 'Required. Rollout to deploy the OS policy assignment. A rollout\n is triggered in the following situations: 1) OSPolicyAssignment is created.\n 2) OSPolicyAssignment is updated and the update contains changes to one\n of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment\n is deleted.'\n required:\n - disruptionBudget\n - minWaitDuration\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: OSPolicyAssignmentRolloutDisruptionBudget\n description: Required. The maximum number (or percentage) of VMs per\n zone to disrupt at any given moment.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n minWaitDuration:\n type: string\n x-dcl-go-name: MinWaitDuration\n description: Required. This determines the minimum duration of time\n to wait after the configuration changes are applied through the current\n rollout. A VM continues to count towards the `disruption_budget` at\n least until this duration of time has passed after configuration changes\n are applied.\n rolloutState:\n type: string\n x-dcl-go-name: RolloutState\n x-dcl-go-type: OSPolicyAssignmentRolloutStateEnum\n readOnly: true\n description: 'Output only. OS policy assignment rollout state Possible values:\n ROLLOUT_STATE_UNSPECIFIED, IN_PROGRESS, CANCELLING, CANCELLED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - ROLLOUT_STATE_UNSPECIFIED\n - IN_PROGRESS\n - CANCELLING\n - CANCELLED\n - SUCCEEDED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server generated unique id for the OS policy assignment\n resource.\n x-kubernetes-immutable: true\n") +var YAML_os_policy_assignment = []byte("info:\n title: OSConfig/OSPolicyAssignment\n description: Represents an OSPolicyAssignment resource.\n x-dcl-struct-name: OSPolicyAssignment\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments\npaths:\n get:\n description: The function used to get information about a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n apply:\n description: The function used to apply information about a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n delete:\n description: The function used to delete a OSPolicyAssignment\n parameters:\n - name: OSPolicyAssignment\n required: true\n description: A full instance of a OSPolicyAssignment\n deleteAll:\n description: The function used to delete all OSPolicyAssignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OSPolicyAssignment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OSPolicyAssignment:\n title: OSPolicyAssignment\n x-dcl-id: projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - osPolicies\n - instanceFilter\n - rollout\n - project\n - location\n properties:\n baseline:\n type: boolean\n x-dcl-go-name: Baseline\n readOnly: true\n description: Output only. Indicates that this revision has been successfully\n rolled out in this zone and new VMs will be assigned OS policies from\n this revision. For a given OS policy assignment, there is only one revision\n with a value of `true` for this field.\n x-kubernetes-immutable: true\n deleted:\n type: boolean\n x-dcl-go-name: Deleted\n readOnly: true\n description: Output only. Indicates that this revision deletes the OS policy\n assignment.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: OS policy assignment description. Length of the description\n is limited to 1024 characters.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: The etag for this OS policy assignment. If this is provided\n on update, it must match the server's etag.\n x-kubernetes-immutable: true\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: OSPolicyAssignmentInstanceFilter\n description: Required. Filter to select VMs.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VMs in the project. If true, no other criteria\n is permitted.\n x-dcl-send-empty: true\n exclusionLabels:\n type: array\n x-dcl-go-name: ExclusionLabels\n description: List of label sets used for VM exclusion. If the list has\n more than one label set, the VM is excluded if any of the label sets\n are applicable for the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterExclusionLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are identified by key/value pairs in this\n map. A VM should contain all the key/value pairs specified in\n this map to be selected.\n inclusionLabels:\n type: array\n x-dcl-go-name: InclusionLabels\n description: List of label sets used for VM inclusion. If the list has\n more than one `LabelSet`, the VM is included if any of the label sets\n are applicable for the VM.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterInclusionLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Labels are identified by key/value pairs in this\n map. A VM should contain all the key/value pairs specified in\n this map to be selected.\n inventories:\n type: array\n x-dcl-go-name: Inventories\n description: List of inventories to select VMs. A VM is selected if\n its inventory data matches at least one of the following inventories.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentInstanceFilterInventories\n required:\n - osShortName\n properties:\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Required. The OS short name\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: The OS version Prefix matches are supported if asterisk(*)\n is provided as the last character. For example, to match all\n versions with a major version of `7`, specify the following\n value for this field `7.*` An empty string matches all OS versions.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Resource name.\n x-kubernetes-immutable: true\n osPolicies:\n type: array\n x-dcl-go-name: OSPolicies\n description: Required. List of OS policies to be applied to the VMs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPolicies\n required:\n - id\n - mode\n - resourceGroups\n properties:\n allowNoResourceGroupMatch:\n type: boolean\n x-dcl-go-name: AllowNoResourceGroupMatch\n description: This flag determines the OS policy compliance status\n when none of the resource groups within the policy are applicable\n for a VM. Set this value to `true` if the policy needs to be reported\n as compliant even if the policy has nothing to validate or enforce.\n description:\n type: string\n x-dcl-go-name: Description\n description: Policy description. Length of the description is limited\n to 1024 characters.\n id:\n type: string\n x-dcl-go-name: Id\n description: 'Required. The id of the OS policy with the following\n restrictions: * Must contain only lowercase letters, numbers, and\n hyphens. * Must start with a letter. * Must be between 1-63 characters.\n * Must end with a number or a letter. * Must be unique within the\n assignment.'\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesModeEnum\n description: 'Required. Policy mode Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n resourceGroups:\n type: array\n x-dcl-go-name: ResourceGroups\n description: Required. List of resource groups for the policy. For\n a particular VM, resource groups are evaluated in the order specified\n and the first resource group that is applicable is selected and\n the rest are ignored. If none of the resource groups are applicable\n for a VM, the VM is considered to be non-compliant w.r.t this policy.\n This behavior can be toggled by the flag `allow_no_resource_group_match`\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroups\n required:\n - resources\n properties:\n inventoryFilters:\n type: array\n x-dcl-go-name: InventoryFilters\n description: 'List of inventory filters for the resource group.\n The resources in this resource group are applied to the target\n VM if it satisfies at least one of the following inventory\n filters. For example, to apply this resource group to VMs\n running either `RHEL` or `CentOS` operating systems, specify\n 2 items for the list with following values: inventory_filters[0].os_short_name=''rhel''\n and inventory_filters[1].os_short_name=''centos'' If the list\n is empty, this resource group will be applied to the target\n VM unconditionally.'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters\n required:\n - osShortName\n properties:\n osShortName:\n type: string\n x-dcl-go-name: OSShortName\n description: Required. The OS short name\n osVersion:\n type: string\n x-dcl-go-name: OSVersion\n description: The OS version Prefix matches are supported\n if asterisk(*) is provided as the last character. For\n example, to match all versions with a major version\n of `7`, specify the following value for this field `7.*`\n An empty string matches all OS versions.\n resources:\n type: array\n x-dcl-go-name: Resources\n description: Required. List of resources configured for this\n resource group. The resources are executed in the exact order\n specified here.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResources\n required:\n - id\n properties:\n exec:\n type: object\n x-dcl-go-name: Exec\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec\n description: Exec resource\n x-dcl-conflicts:\n - pkg\n - repository\n - file\n required:\n - validate\n properties:\n enforce:\n type: object\n x-dcl-go-name: Enforce\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce\n description: What to run to bring this resource into\n the desired state. An exit code of 100 indicates\n \"success\", any other exit code indicates a failure\n running enforce.\n required:\n - interpreter\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional arguments to pass to the\n source during execution.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile\n description: A remote or local file.\n x-dcl-conflicts:\n - script\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum\n description: 'Required. The script interpreter\n to use. Possible values: INTERPRETER_UNSPECIFIED,\n NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n outputFilePath:\n type: string\n x-dcl-go-name: OutputFilePath\n description: Only recorded for enforce Exec. Path\n to an output file (that is created by this Exec)\n whose content will be recorded in OSPolicyResourceCompliance\n after a successful run. Absence or failure to\n read this file will result in this ExecResource\n being non-compliant. Output file size is limited\n to 100K bytes.\n script:\n type: string\n x-dcl-go-name: Script\n description: An inline script. The size of the\n script is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n validate:\n type: object\n x-dcl-go-name: Validate\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate\n description: Required. What to run to validate this\n resource is in the desired state. An exit code of\n 100 indicates \"in desired state\", and exit code\n of 101 indicates \"not in desired state\". Any other\n exit code indicates a failure running validate.\n required:\n - interpreter\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: Optional arguments to pass to the\n source during execution.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile\n description: A remote or local file.\n x-dcl-conflicts:\n - script\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum\n description: 'Required. The script interpreter\n to use. Possible values: INTERPRETER_UNSPECIFIED,\n NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n outputFilePath:\n type: string\n x-dcl-go-name: OutputFilePath\n description: Only recorded for enforce Exec. Path\n to an output file (that is created by this Exec)\n whose content will be recorded in OSPolicyResourceCompliance\n after a successful run. Absence or failure to\n read this file will result in this ExecResource\n being non-compliant. Output file size is limited\n to 100K bytes.\n script:\n type: string\n x-dcl-go-name: Script\n description: An inline script. The size of the\n script is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile\n description: File resource\n x-dcl-conflicts:\n - pkg\n - repository\n - exec\n required:\n - path\n - state\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n description: A a file with this content. The size\n of the content is limited to 1024 characters.\n x-dcl-conflicts:\n - file\n file:\n type: object\n x-dcl-go-name: File\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile\n description: A remote or local source.\n x-dcl-conflicts:\n - content\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false, files\n are subject to validations based on the file\n type: Remote: A checksum must be specified.\n Cloud Storage: An object generation number must\n be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the Cloud\n Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage\n object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which to fetch\n the object. It should contain both the protocol\n and path following the format `{protocol}://{location}`.\n path:\n type: string\n x-dcl-go-name: Path\n description: Required. The absolute path of the file\n within the VM.\n permissions:\n type: string\n x-dcl-go-name: Permissions\n readOnly: true\n description: 'Consists of three octal digits which\n represent, in order, the permissions of the owner,\n group, and other users for the file (similarly to\n the numeric mode used in the linux chmod utility).\n Each digit represents a three bit number with the\n 4 bit corresponding to the read permissions, the\n 2 bit corresponds to the write bit, and the one\n bit corresponds to the execute permission. Default\n behavior is 755. Below are some examples of permissions\n and their associated values: read, write, and execute:\n 7 read and execute: 5 read and write: 6 read only:\n 4'\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum\n description: 'Required. Desired state of the file.\n Possible values: OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED,\n COMPLIANT, NON_COMPLIANT, UNKNOWN, NO_OS_POLICIES_APPLICABLE'\n enum:\n - OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED\n - COMPLIANT\n - NON_COMPLIANT\n - UNKNOWN\n - NO_OS_POLICIES_APPLICABLE\n id:\n type: string\n x-dcl-go-name: Id\n description: 'Required. The id of the resource with the\n following restrictions: * Must contain only lowercase\n letters, numbers, and hyphens. * Must start with a letter.\n * Must be between 1-63 characters. * Must end with a\n number or a letter. * Must be unique within the OS policy.'\n pkg:\n type: object\n x-dcl-go-name: Pkg\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg\n description: Package resource\n x-dcl-conflicts:\n - repository\n - exec\n - file\n required:\n - desiredState\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt\n description: A package managed by Apt.\n x-dcl-conflicts:\n - deb\n - yum\n - zypper\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n deb:\n type: object\n x-dcl-go-name: Deb\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb\n description: A deb package file.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n - rpm\n - googet\n - msi\n required:\n - source\n properties:\n pullDeps:\n type: boolean\n x-dcl-go-name: PullDeps\n description: 'Whether dependencies should also\n be installed. - install when false: `dpkg -i\n package` - install when true: `apt-get update\n && apt-get -y install package.deb`'\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource\n description: Required. A deb package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n desiredState:\n type: string\n x-dcl-go-name: DesiredState\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum\n description: 'Required. The desired state the agent\n should maintain for this package. Possible values:\n DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED'\n enum:\n - DESIRED_STATE_UNSPECIFIED\n - INSTALLED\n - REMOVED\n googet:\n type: object\n x-dcl-go-name: Googet\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget\n description: A package managed by GooGet.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - rpm\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n msi:\n type: object\n x-dcl-go-name: Msi\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi\n description: An MSI package.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - rpm\n - googet\n required:\n - source\n properties:\n properties:\n type: array\n x-dcl-go-name: Properties\n description: Additional properties to use during\n installation. This should be in the format of\n Property=Setting. Appended to the defaults of\n `ACTION=INSTALL REBOOT=ReallySuppress`.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource\n description: Required. The MSI package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n rpm:\n type: object\n x-dcl-go-name: Rpm\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm\n description: An rpm package file.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - zypper\n - googet\n - msi\n required:\n - source\n properties:\n pullDeps:\n type: boolean\n x-dcl-go-name: PullDeps\n description: 'Whether dependencies should also\n be installed. - install when false: `rpm --upgrade\n --replacepkgs package.rpm` - install when true:\n `yum -y install package.rpm` or `zypper -y install\n package.rpm`'\n source:\n type: object\n x-dcl-go-name: Source\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource\n description: Required. An rpm package.\n properties:\n allowInsecure:\n type: boolean\n x-dcl-go-name: AllowInsecure\n description: 'Defaults to false. When false,\n files are subject to validations based on\n the file type: Remote: A checksum must be\n specified. Cloud Storage: An object generation\n number must be specified.'\n gcs:\n type: object\n x-dcl-go-name: Gcs\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs\n description: A Cloud Storage object.\n x-dcl-conflicts:\n - remote\n - localPath\n required:\n - bucket\n - object\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud\n Storage object.\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n description: Generation number of the\n Cloud Storage object.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud\n Storage object.\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: A local path within the VM to\n use.\n x-dcl-conflicts:\n - remote\n - gcs\n remote:\n type: object\n x-dcl-go-name: Remote\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote\n description: A generic remote file.\n x-dcl-conflicts:\n - gcs\n - localPath\n required:\n - uri\n properties:\n sha256Checksum:\n type: string\n x-dcl-go-name: Sha256Checksum\n description: SHA256 checksum of the remote\n file.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI from which\n to fetch the object. It should contain\n both the protocol and path following\n the format `{protocol}://{location}`.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum\n description: A package managed by YUM.\n x-dcl-conflicts:\n - apt\n - deb\n - zypper\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper\n description: A package managed by Zypper.\n x-dcl-conflicts:\n - apt\n - deb\n - yum\n - rpm\n - googet\n - msi\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Package name.\n repository:\n type: object\n x-dcl-go-name: Repository\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository\n description: Package repository resource\n x-dcl-conflicts:\n - pkg\n - exec\n - file\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt\n description: An Apt Repository.\n x-dcl-conflicts:\n - yum\n - zypper\n - goo\n required:\n - archiveType\n - uri\n - distribution\n - components\n properties:\n archiveType:\n type: string\n x-dcl-go-name: ArchiveType\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum\n description: 'Required. Type of archive files\n in this repository. Possible values: ARCHIVE_TYPE_UNSPECIFIED,\n DEB, DEB_SRC'\n enum:\n - ARCHIVE_TYPE_UNSPECIFIED\n - DEB\n - DEB_SRC\n components:\n type: array\n x-dcl-go-name: Components\n description: Required. List of components for\n this repository. Must contain at least one item.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n distribution:\n type: string\n x-dcl-go-name: Distribution\n description: Required. Distribution of this repository.\n gpgKey:\n type: string\n x-dcl-go-name: GpgKey\n description: URI of the key file for this repository.\n The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Required. URI for this repository.\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo\n description: A Goo Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - zypper\n required:\n - name\n - url\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The name of the repository.\n url:\n type: string\n x-dcl-go-name: Url\n description: Required. The url of the repository.\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum\n description: A Yum Repository.\n x-dcl-conflicts:\n - apt\n - zypper\n - goo\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository\n directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name\n for this repository. This is the `repo id` in\n the yum config file and also the `display_name`\n if `display_name` is omitted. This id is also\n used as the unique identifier when checking\n for resource conflicts.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper\n description: A Zypper Repository.\n x-dcl-conflicts:\n - apt\n - yum\n - goo\n required:\n - id\n - baseUrl\n properties:\n baseUrl:\n type: string\n x-dcl-go-name: BaseUrl\n description: Required. The location of the repository\n directory.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the repository.\n gpgKeys:\n type: array\n x-dcl-go-name: GpgKeys\n description: URIs of GPG keys.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n id:\n type: string\n x-dcl-go-name: Id\n description: Required. A one word, unique name\n for this repository. This is the `repo id` in\n the zypper config file and also the `display_name`\n if `display_name` is omitted. This id is also\n used as the unique identifier when checking\n for GuestPolicy conflicts.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: 'Output only. Indicates that reconciliation is in progress\n for the revision. This value is `true` when the `rollout_state` is one\n of: * IN_PROGRESS * CANCELLING'\n x-kubernetes-immutable: true\n revisionCreateTime:\n type: string\n format: date-time\n x-dcl-go-name: RevisionCreateTime\n readOnly: true\n description: Output only. The timestamp that the revision was created.\n x-kubernetes-immutable: true\n revisionId:\n type: string\n x-dcl-go-name: RevisionId\n readOnly: true\n description: Output only. The assignment revision ID A new revision is committed\n whenever a rollout is triggered for a OS policy assignment\n x-kubernetes-immutable: true\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: OSPolicyAssignmentRollout\n description: 'Required. Rollout to deploy the OS policy assignment. A rollout\n is triggered in the following situations: 1) OSPolicyAssignment is created.\n 2) OSPolicyAssignment is updated and the update contains changes to one\n of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment\n is deleted.'\n required:\n - disruptionBudget\n - minWaitDuration\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: OSPolicyAssignmentRolloutDisruptionBudget\n description: Required. The maximum number (or percentage) of VMs per\n zone to disrupt at any given moment.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n minWaitDuration:\n type: string\n x-dcl-go-name: MinWaitDuration\n description: Required. This determines the minimum duration of time\n to wait after the configuration changes are applied through the current\n rollout. A VM continues to count towards the `disruption_budget` at\n least until this duration of time has passed after configuration changes\n are applied.\n rolloutState:\n type: string\n x-dcl-go-name: RolloutState\n x-dcl-go-type: OSPolicyAssignmentRolloutStateEnum\n readOnly: true\n description: 'Output only. OS policy assignment rollout state Possible values:\n ROLLOUT_STATE_UNSPECIFIED, IN_PROGRESS, CANCELLING, CANCELLED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - ROLLOUT_STATE_UNSPECIFIED\n - IN_PROGRESS\n - CANCELLING\n - CANCELLED\n - SUCCEEDED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server generated unique id for the OS policy assignment\n resource.\n x-kubernetes-immutable: true\n") -// 72961 bytes -// MD5: c979ac007b7d8bf0175fa09e4a7c0937 +// 72986 bytes +// MD5: 64411c52f3e2babf5e5d4d9f711969f1 diff --git a/services/google/osconfig/patch_deployment.yaml b/services/google/osconfig/patch_deployment.yaml index 022574361f..ab75cb7d3f 100755 --- a/services/google/osconfig/patch_deployment.yaml +++ b/services/google/osconfig/patch_deployment.yaml @@ -17,6 +17,7 @@ info: to complete a patch. These configurations include instance filter, package repository settings, and a schedule. x-dcl-struct-name: PatchDeployment + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: API documentation diff --git a/services/google/osconfig/patch_deployment_schema.go b/services/google/osconfig/patch_deployment_schema.go index 795b3fc20c..8365f47d21 100755 --- a/services/google/osconfig/patch_deployment_schema.go +++ b/services/google/osconfig/patch_deployment_schema.go @@ -23,6 +23,7 @@ func DCLPatchDeploymentSchema() *dcl.Schema { Title: "OSConfig/PatchDeployment", Description: "Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule.", StructName: "PatchDeployment", + HasCreate: true, Reference: &dcl.Link{ Text: "API documentation", URL: "https://cloud.google.com/compute/docs/osconfig/rest", diff --git a/services/google/osconfig/patch_deployment_yaml_embed.go b/services/google/osconfig/patch_deployment_yaml_embed.go index c52e12b491..1b0b1f0e98 100755 --- a/services/google/osconfig/patch_deployment_yaml_embed.go +++ b/services/google/osconfig/patch_deployment_yaml_embed.go @@ -17,7 +17,7 @@ package osconfig // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/osconfig/patch_deployment.yaml -var YAML_patch_deployment = []byte("info:\n title: OSConfig/PatchDeployment\n description: Patch deployments are configurations that individual patch jobs use\n to complete a patch. These configurations include instance filter, package repository\n settings, and a schedule.\n x-dcl-struct-name: PatchDeployment\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest\n x-dcl-guides:\n - text: Official Documentation\n url: https://cloud.google.com/compute/docs/os-patch-management\npaths:\n get:\n description: The function used to get information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n apply:\n description: The function used to apply information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n delete:\n description: The function used to delete a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n deleteAll:\n description: The function used to delete all PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PatchDeployment:\n title: PatchDeployment\n x-dcl-id: projects/{{project}}/patchDeployments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - instanceFilter\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the patch deployment was created. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the patch deployment. Length of the\n description is limited to 1024 characters.\n duration:\n type: string\n x-dcl-go-name: Duration\n description: Optional. Duration of the patch. After the duration ends, the\n patch times out.\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: PatchDeploymentInstanceFilter\n description: Required. VM instances to patch.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VM instances in the project. If true, no other\n criteria is permitted.\n x-dcl-conflicts:\n - instanceNamePrefixes\n groupLabels:\n type: array\n x-dcl-go-name: GroupLabels\n description: Targets VM instances matching ANY of these GroupLabels.\n This allows targeting of disparate groups of VM instances.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PatchDeploymentInstanceFilterGroupLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Compute Engine instance labels that must be present\n for a VM instance to be targeted by this filter.\n instanceNamePrefixes:\n type: array\n x-dcl-go-name: InstanceNamePrefixes\n description: Targets VMs whose name starts with one of these prefixes.\n Similar to labels, this is another way to group VMs when targeting\n configs, for example prefix=\"prod-\".\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n instances:\n type: array\n x-dcl-go-name: Instances\n description: Targets any of the VM instances specified. Instances are\n specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,\n `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or\n `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: name\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Targets VM instances in ANY of these zones. Leave empty\n to target VM instances in any zone.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The last time a patch job was started by this\n deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Unique name for the patch deployment resource in a project.\n The patch deployment name is in the form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`.\n This field is ignored when you create a new patch deployment.'\n x-kubernetes-immutable: true\n oneTimeSchedule:\n type: object\n x-dcl-go-name: OneTimeSchedule\n x-dcl-go-type: PatchDeploymentOneTimeSchedule\n description: Required. Schedule a one-time execution.\n x-dcl-conflicts:\n - recurringSchedule\n required:\n - executeTime\n properties:\n executeTime:\n type: string\n format: date-time\n x-dcl-go-name: ExecuteTime\n description: Required. The desired patch job execution time.\n patchConfig:\n type: object\n x-dcl-go-name: PatchConfig\n x-dcl-go-type: PatchDeploymentPatchConfig\n description: Optional. Patch configuration that is applied.\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: PatchDeploymentPatchConfigApt\n description: Apt update settings. Use this setting to override the default\n `apt` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n will be excluded\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field cannot be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: PatchDeploymentPatchConfigAptTypeEnum\n description: 'By changing the type to DIST, the patching is performed\n using `apt-get dist-upgrade` instead. Possible values: TYPE_UNSPECIFIED,\n DIST, UPGRADE'\n enum:\n - TYPE_UNSPECIFIED\n - DIST\n - UPGRADE\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: PatchDeploymentPatchConfigGoo\n description: Goo update settings. Use this setting to override the default\n `goo` patch rules.\n postStep:\n type: object\n x-dcl-go-name: PostStep\n x-dcl-go-type: PatchDeploymentPatchConfigPostStep\n description: The `ExecStep` to run after the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n preStep:\n type: object\n x-dcl-go-name: PreStep\n x-dcl-go-type: PatchDeploymentPatchConfigPreStep\n description: The `ExecStep` to run before the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n rebootConfig:\n type: string\n x-dcl-go-name: RebootConfig\n x-dcl-go-type: PatchDeploymentPatchConfigRebootConfigEnum\n description: 'Post-patch reboot settings. Possible values: REBOOT_CONFIG_UNSPECIFIED,\n DEFAULT, ALWAYS, NEVER'\n enum:\n - REBOOT_CONFIG_UNSPECIFIED\n - DEFAULT\n - ALWAYS\n - NEVER\n windowsUpdate:\n type: object\n x-dcl-go-name: WindowsUpdate\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdate\n description: Windows update settings. Use this override the default\n windows patch rules.\n properties:\n classifications:\n type: array\n x-dcl-go-name: Classifications\n description: Only apply updates of these windows update classifications.\n If empty, all updates are applied.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum\n enum:\n - CLASSIFICATION_UNSPECIFIED\n - CRITICAL\n - SECURITY\n - DEFINITION\n - DRIVER\n - FEATURE_PACK\n - SERVICE_PACK\n - TOOL\n - UPDATE_ROLLUP\n - UPDATE\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of KBs to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of kbs to be updated. These are the\n only patches that will be updated. This field must not be used\n with other patch configurations.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: PatchDeploymentPatchConfigYum\n description: Yum update settings. Use this setting to override the default\n `yum` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n are excluded by using the yum `--exclude` flag.\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field must not be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n minimal:\n type: boolean\n x-dcl-go-name: Minimal\n description: Will cause patch to run `yum update-minimal` instead.\n security:\n type: boolean\n x-dcl-go-name: Security\n description: Adds the `--security` flag to `yum update`. Not supported\n on all platforms.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: PatchDeploymentPatchConfigZypper\n description: Zypper update settings. Use this setting to override the\n default `zypper` patch rules.\n properties:\n categories:\n type: array\n x-dcl-go-name: Categories\n description: Install only patches with these categories. Common\n categories include security, recommended, and feature.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of patches to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of patches to be updated. These are\n the only patches that will be installed using 'zypper patch patch:'\n command. This field must not be used with any other patch configuration\n fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n severities:\n type: array\n x-dcl-go-name: Severities\n description: Install only patches with these severities. Common\n severities include critical, important, moderate, and low.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n withOptional:\n type: boolean\n x-dcl-go-name: WithOptional\n description: Adds the `--with-optional` flag to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n withUpdate:\n type: boolean\n x-dcl-go-name: WithUpdate\n description: Adds the `--with-update` flag, to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n recurringSchedule:\n type: object\n x-dcl-go-name: RecurringSchedule\n x-dcl-go-type: PatchDeploymentRecurringSchedule\n description: Required. Schedule recurring executions.\n x-dcl-conflicts:\n - oneTimeSchedule\n required:\n - timeZone\n - timeOfDay\n - frequency\n properties:\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Optional. The end time at which a recurring patch deployment\n schedule is no longer active.\n frequency:\n type: string\n x-dcl-go-name: Frequency\n x-dcl-go-type: PatchDeploymentRecurringScheduleFrequencyEnum\n description: 'Required. The frequency unit of this recurring schedule.\n Possible values: FREQUENCY_UNSPECIFIED, WEEKLY, MONTHLY, DAILY'\n enum:\n - FREQUENCY_UNSPECIFIED\n - WEEKLY\n - MONTHLY\n - DAILY\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The time the last patch job ran successfully.\n monthly:\n type: object\n x-dcl-go-name: Monthly\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthly\n description: Required. Schedule with monthly executions.\n x-dcl-conflicts:\n - weekly\n properties:\n monthDay:\n type: integer\n format: int64\n x-dcl-go-name: MonthDay\n description: Required. One day of the month. 1-31 indicates the\n 1st to the 31st day. -1 indicates the last day of the month. Months\n without the target day will be skipped. For example, a schedule\n to run \"every month on the 31st\" will not run in February, April,\n June, etc.\n x-dcl-conflicts:\n - weekDayOfMonth\n weekDayOfMonth:\n type: object\n x-dcl-go-name: WeekDayOfMonth\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth\n description: Required. Week day in a month.\n x-dcl-conflicts:\n - monthDay\n required:\n - weekOrdinal\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum\n description: 'Required. A day of the week. Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,\n FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n weekOrdinal:\n type: integer\n format: int64\n x-dcl-go-name: WeekOrdinal\n description: Required. Week number in a month. 1-4 indicates\n the 1st to 4th week of the month. -1 indicates the last week\n of the month.\n nextExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: NextExecuteTime\n readOnly: true\n description: Output only. The time the next patch job is scheduled to\n run.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Optional. The time that the recurring schedule becomes\n effective. Defaults to `create_time` of the patch deployment.\n timeOfDay:\n type: object\n x-dcl-go-name: TimeOfDay\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeOfDay\n description: Required. Time of the day to run a recurring deployment.\n x-dcl-send-empty: true\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format. Should be from 0 to\n 23. An API may choose to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time. Must normally be from\n 0 to 59. An API may allow the value 60 if it allows leap-seconds.\n timeZone:\n type: object\n x-dcl-go-name: TimeZone\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeZone\n description: Required. Defines the time zone that `time_of_day` is relative\n to. The rules for daylight saving time are determined by the chosen\n time zone.\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: IANA Time Zone Database time zone, e.g. \"America/New_York\".\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional. IANA Time Zone Database version number, e.g.\n \"2019a\".\n weekly:\n type: object\n x-dcl-go-name: Weekly\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeekly\n description: Required. Schedule with weekly executions.\n x-dcl-conflicts:\n - monthly\n required:\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum\n description: 'Required. Day of the week. Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: PatchDeploymentRollout\n description: Optional. Rollout strategy of the patch job.\n required:\n - mode\n - disruptionBudget\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: PatchDeploymentRolloutDisruptionBudget\n description: The maximum number (or percentage) of VMs per zone to disrupt\n at any given moment. The number of VMs calculated from multiplying\n the percentage by the total number of VMs in a zone is rounded up.\n During patching, a VM is considered disrupted from the time the agent\n is notified to begin until patching has completed. This disruption\n time includes the time to complete reboot and any post-patch steps.\n A VM contributes to the disruption budget if its patching operation\n fails either when applying the patches, running pre or post patch\n steps, or if it fails to respond with a success notification before\n timing out. VMs that are not running or do not have an active agent\n do not count toward this disruption budget. For zone-by-zone rollouts,\n if the disruption budget in a zone is exceeded, the patch job stops,\n because continuing to the next zone requires completion of the patch\n process in the previous zone. For example, if the disruption budget\n has a fixed value of `10`, and 8 VMs fail to patch in the current\n zone, the patch job continues to patch 2 VMs at a time until the zone\n is completed. When that zone is completed successfully, patching begins\n with 10 VMs at a time in the next zone. If 10 VMs in the next zone\n fail to patch, the patch job stops.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: PatchDeploymentRolloutModeEnum\n description: 'Mode of the patch rollout. Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the patch deployment was last updated. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n") +var YAML_patch_deployment = []byte("info:\n title: OSConfig/PatchDeployment\n description: Patch deployments are configurations that individual patch jobs use\n to complete a patch. These configurations include instance filter, package repository\n settings, and a schedule.\n x-dcl-struct-name: PatchDeployment\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest\n x-dcl-guides:\n - text: Official Documentation\n url: https://cloud.google.com/compute/docs/os-patch-management\npaths:\n get:\n description: The function used to get information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n apply:\n description: The function used to apply information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n delete:\n description: The function used to delete a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n deleteAll:\n description: The function used to delete all PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PatchDeployment:\n title: PatchDeployment\n x-dcl-id: projects/{{project}}/patchDeployments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - instanceFilter\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the patch deployment was created. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the patch deployment. Length of the\n description is limited to 1024 characters.\n duration:\n type: string\n x-dcl-go-name: Duration\n description: Optional. Duration of the patch. After the duration ends, the\n patch times out.\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: PatchDeploymentInstanceFilter\n description: Required. VM instances to patch.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VM instances in the project. If true, no other\n criteria is permitted.\n x-dcl-conflicts:\n - instanceNamePrefixes\n groupLabels:\n type: array\n x-dcl-go-name: GroupLabels\n description: Targets VM instances matching ANY of these GroupLabels.\n This allows targeting of disparate groups of VM instances.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PatchDeploymentInstanceFilterGroupLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Compute Engine instance labels that must be present\n for a VM instance to be targeted by this filter.\n instanceNamePrefixes:\n type: array\n x-dcl-go-name: InstanceNamePrefixes\n description: Targets VMs whose name starts with one of these prefixes.\n Similar to labels, this is another way to group VMs when targeting\n configs, for example prefix=\"prod-\".\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n instances:\n type: array\n x-dcl-go-name: Instances\n description: Targets any of the VM instances specified. Instances are\n specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,\n `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or\n `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: name\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Targets VM instances in ANY of these zones. Leave empty\n to target VM instances in any zone.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The last time a patch job was started by this\n deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Unique name for the patch deployment resource in a project.\n The patch deployment name is in the form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`.\n This field is ignored when you create a new patch deployment.'\n x-kubernetes-immutable: true\n oneTimeSchedule:\n type: object\n x-dcl-go-name: OneTimeSchedule\n x-dcl-go-type: PatchDeploymentOneTimeSchedule\n description: Required. Schedule a one-time execution.\n x-dcl-conflicts:\n - recurringSchedule\n required:\n - executeTime\n properties:\n executeTime:\n type: string\n format: date-time\n x-dcl-go-name: ExecuteTime\n description: Required. The desired patch job execution time.\n patchConfig:\n type: object\n x-dcl-go-name: PatchConfig\n x-dcl-go-type: PatchDeploymentPatchConfig\n description: Optional. Patch configuration that is applied.\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: PatchDeploymentPatchConfigApt\n description: Apt update settings. Use this setting to override the default\n `apt` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n will be excluded\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field cannot be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: PatchDeploymentPatchConfigAptTypeEnum\n description: 'By changing the type to DIST, the patching is performed\n using `apt-get dist-upgrade` instead. Possible values: TYPE_UNSPECIFIED,\n DIST, UPGRADE'\n enum:\n - TYPE_UNSPECIFIED\n - DIST\n - UPGRADE\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: PatchDeploymentPatchConfigGoo\n description: Goo update settings. Use this setting to override the default\n `goo` patch rules.\n postStep:\n type: object\n x-dcl-go-name: PostStep\n x-dcl-go-type: PatchDeploymentPatchConfigPostStep\n description: The `ExecStep` to run after the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n preStep:\n type: object\n x-dcl-go-name: PreStep\n x-dcl-go-type: PatchDeploymentPatchConfigPreStep\n description: The `ExecStep` to run before the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n rebootConfig:\n type: string\n x-dcl-go-name: RebootConfig\n x-dcl-go-type: PatchDeploymentPatchConfigRebootConfigEnum\n description: 'Post-patch reboot settings. Possible values: REBOOT_CONFIG_UNSPECIFIED,\n DEFAULT, ALWAYS, NEVER'\n enum:\n - REBOOT_CONFIG_UNSPECIFIED\n - DEFAULT\n - ALWAYS\n - NEVER\n windowsUpdate:\n type: object\n x-dcl-go-name: WindowsUpdate\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdate\n description: Windows update settings. Use this override the default\n windows patch rules.\n properties:\n classifications:\n type: array\n x-dcl-go-name: Classifications\n description: Only apply updates of these windows update classifications.\n If empty, all updates are applied.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum\n enum:\n - CLASSIFICATION_UNSPECIFIED\n - CRITICAL\n - SECURITY\n - DEFINITION\n - DRIVER\n - FEATURE_PACK\n - SERVICE_PACK\n - TOOL\n - UPDATE_ROLLUP\n - UPDATE\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of KBs to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of kbs to be updated. These are the\n only patches that will be updated. This field must not be used\n with other patch configurations.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: PatchDeploymentPatchConfigYum\n description: Yum update settings. Use this setting to override the default\n `yum` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n are excluded by using the yum `--exclude` flag.\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field must not be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n minimal:\n type: boolean\n x-dcl-go-name: Minimal\n description: Will cause patch to run `yum update-minimal` instead.\n security:\n type: boolean\n x-dcl-go-name: Security\n description: Adds the `--security` flag to `yum update`. Not supported\n on all platforms.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: PatchDeploymentPatchConfigZypper\n description: Zypper update settings. Use this setting to override the\n default `zypper` patch rules.\n properties:\n categories:\n type: array\n x-dcl-go-name: Categories\n description: Install only patches with these categories. Common\n categories include security, recommended, and feature.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of patches to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of patches to be updated. These are\n the only patches that will be installed using 'zypper patch patch:'\n command. This field must not be used with any other patch configuration\n fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n severities:\n type: array\n x-dcl-go-name: Severities\n description: Install only patches with these severities. Common\n severities include critical, important, moderate, and low.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n withOptional:\n type: boolean\n x-dcl-go-name: WithOptional\n description: Adds the `--with-optional` flag to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n withUpdate:\n type: boolean\n x-dcl-go-name: WithUpdate\n description: Adds the `--with-update` flag, to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n recurringSchedule:\n type: object\n x-dcl-go-name: RecurringSchedule\n x-dcl-go-type: PatchDeploymentRecurringSchedule\n description: Required. Schedule recurring executions.\n x-dcl-conflicts:\n - oneTimeSchedule\n required:\n - timeZone\n - timeOfDay\n - frequency\n properties:\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Optional. The end time at which a recurring patch deployment\n schedule is no longer active.\n frequency:\n type: string\n x-dcl-go-name: Frequency\n x-dcl-go-type: PatchDeploymentRecurringScheduleFrequencyEnum\n description: 'Required. The frequency unit of this recurring schedule.\n Possible values: FREQUENCY_UNSPECIFIED, WEEKLY, MONTHLY, DAILY'\n enum:\n - FREQUENCY_UNSPECIFIED\n - WEEKLY\n - MONTHLY\n - DAILY\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The time the last patch job ran successfully.\n monthly:\n type: object\n x-dcl-go-name: Monthly\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthly\n description: Required. Schedule with monthly executions.\n x-dcl-conflicts:\n - weekly\n properties:\n monthDay:\n type: integer\n format: int64\n x-dcl-go-name: MonthDay\n description: Required. One day of the month. 1-31 indicates the\n 1st to the 31st day. -1 indicates the last day of the month. Months\n without the target day will be skipped. For example, a schedule\n to run \"every month on the 31st\" will not run in February, April,\n June, etc.\n x-dcl-conflicts:\n - weekDayOfMonth\n weekDayOfMonth:\n type: object\n x-dcl-go-name: WeekDayOfMonth\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth\n description: Required. Week day in a month.\n x-dcl-conflicts:\n - monthDay\n required:\n - weekOrdinal\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum\n description: 'Required. A day of the week. Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,\n FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n weekOrdinal:\n type: integer\n format: int64\n x-dcl-go-name: WeekOrdinal\n description: Required. Week number in a month. 1-4 indicates\n the 1st to 4th week of the month. -1 indicates the last week\n of the month.\n nextExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: NextExecuteTime\n readOnly: true\n description: Output only. The time the next patch job is scheduled to\n run.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Optional. The time that the recurring schedule becomes\n effective. Defaults to `create_time` of the patch deployment.\n timeOfDay:\n type: object\n x-dcl-go-name: TimeOfDay\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeOfDay\n description: Required. Time of the day to run a recurring deployment.\n x-dcl-send-empty: true\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format. Should be from 0 to\n 23. An API may choose to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time. Must normally be from\n 0 to 59. An API may allow the value 60 if it allows leap-seconds.\n timeZone:\n type: object\n x-dcl-go-name: TimeZone\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeZone\n description: Required. Defines the time zone that `time_of_day` is relative\n to. The rules for daylight saving time are determined by the chosen\n time zone.\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: IANA Time Zone Database time zone, e.g. \"America/New_York\".\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional. IANA Time Zone Database version number, e.g.\n \"2019a\".\n weekly:\n type: object\n x-dcl-go-name: Weekly\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeekly\n description: Required. Schedule with weekly executions.\n x-dcl-conflicts:\n - monthly\n required:\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum\n description: 'Required. Day of the week. Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: PatchDeploymentRollout\n description: Optional. Rollout strategy of the patch job.\n required:\n - mode\n - disruptionBudget\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: PatchDeploymentRolloutDisruptionBudget\n description: The maximum number (or percentage) of VMs per zone to disrupt\n at any given moment. The number of VMs calculated from multiplying\n the percentage by the total number of VMs in a zone is rounded up.\n During patching, a VM is considered disrupted from the time the agent\n is notified to begin until patching has completed. This disruption\n time includes the time to complete reboot and any post-patch steps.\n A VM contributes to the disruption budget if its patching operation\n fails either when applying the patches, running pre or post patch\n steps, or if it fails to respond with a success notification before\n timing out. VMs that are not running or do not have an active agent\n do not count toward this disruption budget. For zone-by-zone rollouts,\n if the disruption budget in a zone is exceeded, the patch job stops,\n because continuing to the next zone requires completion of the patch\n process in the previous zone. For example, if the disruption budget\n has a fixed value of `10`, and 8 VMs fail to patch in the current\n zone, the patch job continues to patch 2 VMs at a time until the zone\n is completed. When that zone is completed successfully, patching begins\n with 10 VMs at a time in the next zone. If 10 VMs in the next zone\n fail to patch, the patch job stops.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: PatchDeploymentRolloutModeEnum\n description: 'Mode of the patch rollout. Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the patch deployment was last updated. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n") -// 41926 bytes -// MD5: faa4aed1e254789b8284abb4d9dcb2dd +// 41951 bytes +// MD5: a565931e5d8c1cb7c6a00b30db8fc0da diff --git a/services/google/privateca/alpha/ca_pool.yaml b/services/google/privateca/alpha/ca_pool.yaml index bcea9aa8ba..53c87c7029 100755 --- a/services/google/privateca/alpha/ca_pool.yaml +++ b/services/google/privateca/alpha/ca_pool.yaml @@ -15,6 +15,7 @@ info: title: Privateca/CaPool description: The Privateca CaPool resource x-dcl-struct-name: CaPool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/privateca/alpha/ca_pool_alpha_yaml_embed.go b/services/google/privateca/alpha/ca_pool_alpha_yaml_embed.go index 4bd1be93d2..7446239e73 100755 --- a/services/google/privateca/alpha/ca_pool_alpha_yaml_embed.go +++ b/services/google/privateca/alpha/ca_pool_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/privateca/alpha/ca_pool.yaml -var YAML_ca_pool = []byte("info:\n title: Privateca/CaPool\n description: The Privateca CaPool resource\n x-dcl-struct-name: CaPool\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n apply:\n description: The function used to apply information about a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n delete:\n description: The function used to delete a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n deleteAll:\n description: The function used to delete all CaPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CaPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CaPool:\n title: CaPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - tier\n - project\n - location\n properties:\n issuancePolicy:\n type: object\n x-dcl-go-name: IssuancePolicy\n x-dcl-go-type: CaPoolIssuancePolicy\n description: Optional. The IssuancePolicy to control how Certificates will\n be issued from this CaPool.\n properties:\n allowedIssuanceModes:\n type: object\n x-dcl-go-name: AllowedIssuanceModes\n x-dcl-go-type: CaPoolIssuancePolicyAllowedIssuanceModes\n description: Optional. If specified, then only methods allowed in the\n IssuanceModes may be used to issue Certificates.\n properties:\n allowConfigBasedIssuance:\n type: boolean\n x-dcl-go-name: AllowConfigBasedIssuance\n description: Optional. When true, allows callers to create Certificates\n by specifying a CertificateConfig.\n allowCsrBasedIssuance:\n type: boolean\n x-dcl-go-name: AllowCsrBasedIssuance\n description: Optional. When true, allows callers to create Certificates\n by specifying a CSR.\n allowedKeyTypes:\n type: array\n x-dcl-go-name: AllowedKeyTypes\n description: Optional. If any AllowedKeyType is specified, then the\n certificate request's public key must match one of the key types listed\n here. Otherwise, any key may be used.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypes\n properties:\n ellipticCurve:\n type: object\n x-dcl-go-name: EllipticCurve\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesEllipticCurve\n description: Represents an allowed Elliptic Curve key type.\n x-dcl-conflicts:\n - rsa\n properties:\n signatureAlgorithm:\n type: string\n x-dcl-go-name: SignatureAlgorithm\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesEllipticCurveSignatureAlgorithmEnum\n description: 'Optional. A signature algorithm that must be\n used. If this is omitted, any EC-based signature algorithm\n will be allowed. Possible values: EC_SIGNATURE_ALGORITHM_UNSPECIFIED,\n ECDSA_P256, ECDSA_P384, EDDSA_25519'\n enum:\n - EC_SIGNATURE_ALGORITHM_UNSPECIFIED\n - ECDSA_P256\n - ECDSA_P384\n - EDDSA_25519\n rsa:\n type: object\n x-dcl-go-name: Rsa\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesRsa\n description: Represents an allowed RSA key type.\n x-dcl-conflicts:\n - ellipticCurve\n properties:\n maxModulusSize:\n type: integer\n format: int64\n x-dcl-go-name: MaxModulusSize\n description: Optional. The maximum allowed RSA modulus size,\n in bits. If this is not set, or if set to zero, the service\n will not enforce an explicit upper bound on RSA modulus\n sizes.\n minModulusSize:\n type: integer\n format: int64\n x-dcl-go-name: MinModulusSize\n description: Optional. The minimum allowed RSA modulus size,\n in bits. If this is not set, or if set to zero, the service-level\n min RSA modulus size will continue to apply.\n baselineValues:\n type: object\n x-dcl-go-name: BaselineValues\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValues\n description: Optional. A set of X.509 values that will be applied to\n all certificates issued through this CaPool. If a certificate request\n includes conflicting values for the same properties, they will be\n overwritten by the values defined here. If a certificate request uses\n a CertificateTemplate that defines conflicting predefined_values for\n the same properties, the certificate issuance request will fail.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-dcl-mutable-unreadable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n identityConstraints:\n type: object\n x-dcl-go-name: IdentityConstraints\n x-dcl-go-type: CaPoolIssuancePolicyIdentityConstraints\n description: Optional. Describes constraints on identities that may\n appear in Certificates issued through this CaPool. If this is omitted,\n then this CaPool will not add restrictions on a certificate's identity.\n required:\n - allowSubjectPassthrough\n - allowSubjectAltNamesPassthrough\n properties:\n allowSubjectAltNamesPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectAltNamesPassthrough\n description: Required. If this is true, the SubjectAltNames extension\n may be copied from a certificate request into the signed certificate.\n Otherwise, the requested SubjectAltNames will be discarded.\n allowSubjectPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectPassthrough\n description: Required. If this is true, the Subject field may be\n copied from a certificate request into the signed certificate.\n Otherwise, the requested Subject will be discarded.\n celExpression:\n type: object\n x-dcl-go-name: CelExpression\n x-dcl-go-type: CaPoolIssuancePolicyIdentityConstraintsCelExpression\n description: Optional. A CEL expression that may be used to validate\n the resolved X.509 Subject and/or Subject Alternative Name before\n a certificate is signed. To see the full allowed syntax and some\n examples, see https://cloud.google.com/certificate-authority-service/docs/using-cel\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This is\n a longer text which describes the expression, e.g. when hovered\n over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common\n Expression Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the\n expression for error reporting, e.g. a file name and a position\n in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short\n string describing its purpose. This can be used e.g. in UIs\n which allow to enter the expression.\n maximumLifetime:\n type: string\n x-dcl-go-name: MaximumLifetime\n description: Optional. The maximum lifetime allowed for issued Certificates.\n Note that if the issuing CertificateAuthority expires before a Certificate's\n requested maximum_lifetime, the effective lifetime will be explicitly\n truncated to match it.\n passthroughExtensions:\n type: object\n x-dcl-go-name: PassthroughExtensions\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensions\n description: Optional. Describes the set of X.509 extensions that may\n appear in a Certificate issued through this CaPool. If a certificate\n request sets extensions that don't appear in the passthrough_extensions,\n those extensions will be dropped. If a certificate request uses a\n CertificateTemplate with predefined_values that don't appear here,\n the certificate issuance request will fail. If this is omitted, then\n this CaPool will not add restrictions on a certificate's X.509 extensions.\n These constraints do not apply to X.509 extensions set in this CaPool's\n baseline_values.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. A set of ObjectIds identifying custom X.509\n extensions. Will be combined with known_extensions to determine\n the full set of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensionsAdditionalExtensions\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n knownExtensions:\n type: array\n x-dcl-go-name: KnownExtensions\n description: Optional. A set of named X.509 extensions. Will be\n combined with additional_extensions to determine the full set\n of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensionsKnownExtensionsEnum\n enum:\n - KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\n - BASE_KEY_USAGE\n - EXTENDED_KEY_USAGE\n - CA_OPTIONS\n - POLICY_IDS\n - AIA_OCSP_SERVERS\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n publishingOptions:\n type: object\n x-dcl-go-name: PublishingOptions\n x-dcl-go-type: CaPoolPublishingOptions\n description: Optional. The PublishingOptions to follow when issuing Certificates\n from any CertificateAuthority in this CaPool.\n properties:\n publishCaCert:\n type: boolean\n x-dcl-go-name: PublishCaCert\n description: Optional. When true, publishes each CertificateAuthority's\n CA certificate and includes its URL in the \"Authority Information\n Access\" X.509 extension in all issued Certificates. If this is false,\n the CA certificate will not be published and the corresponding X.509\n extension will not be written in issued certificates.\n publishCrl:\n type: boolean\n x-dcl-go-name: PublishCrl\n description: Optional. When true, publishes each CertificateAuthority's\n CRL and includes its URL in the \"CRL Distribution Points\" X.509 extension\n in all issued Certificates. If this is false, CRLs will not be published\n and the corresponding X.509 extension will not be written in issued\n certificates. CRLs will expire 7 days from their creation. However,\n we will rebuild daily. CRLs are also rebuilt shortly after a certificate\n is revoked.\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: CaPoolTierEnum\n description: 'Required. Immutable. The Tier of this CaPool. Possible values:\n TIER_UNSPECIFIED, ENTERPRISE, DEVOPS'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - ENTERPRISE\n - DEVOPS\n") +var YAML_ca_pool = []byte("info:\n title: Privateca/CaPool\n description: The Privateca CaPool resource\n x-dcl-struct-name: CaPool\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n apply:\n description: The function used to apply information about a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n delete:\n description: The function used to delete a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n deleteAll:\n description: The function used to delete all CaPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CaPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CaPool:\n title: CaPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - tier\n - project\n - location\n properties:\n issuancePolicy:\n type: object\n x-dcl-go-name: IssuancePolicy\n x-dcl-go-type: CaPoolIssuancePolicy\n description: Optional. The IssuancePolicy to control how Certificates will\n be issued from this CaPool.\n properties:\n allowedIssuanceModes:\n type: object\n x-dcl-go-name: AllowedIssuanceModes\n x-dcl-go-type: CaPoolIssuancePolicyAllowedIssuanceModes\n description: Optional. If specified, then only methods allowed in the\n IssuanceModes may be used to issue Certificates.\n properties:\n allowConfigBasedIssuance:\n type: boolean\n x-dcl-go-name: AllowConfigBasedIssuance\n description: Optional. When true, allows callers to create Certificates\n by specifying a CertificateConfig.\n allowCsrBasedIssuance:\n type: boolean\n x-dcl-go-name: AllowCsrBasedIssuance\n description: Optional. When true, allows callers to create Certificates\n by specifying a CSR.\n allowedKeyTypes:\n type: array\n x-dcl-go-name: AllowedKeyTypes\n description: Optional. If any AllowedKeyType is specified, then the\n certificate request's public key must match one of the key types listed\n here. Otherwise, any key may be used.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypes\n properties:\n ellipticCurve:\n type: object\n x-dcl-go-name: EllipticCurve\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesEllipticCurve\n description: Represents an allowed Elliptic Curve key type.\n x-dcl-conflicts:\n - rsa\n properties:\n signatureAlgorithm:\n type: string\n x-dcl-go-name: SignatureAlgorithm\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesEllipticCurveSignatureAlgorithmEnum\n description: 'Optional. A signature algorithm that must be\n used. If this is omitted, any EC-based signature algorithm\n will be allowed. Possible values: EC_SIGNATURE_ALGORITHM_UNSPECIFIED,\n ECDSA_P256, ECDSA_P384, EDDSA_25519'\n enum:\n - EC_SIGNATURE_ALGORITHM_UNSPECIFIED\n - ECDSA_P256\n - ECDSA_P384\n - EDDSA_25519\n rsa:\n type: object\n x-dcl-go-name: Rsa\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesRsa\n description: Represents an allowed RSA key type.\n x-dcl-conflicts:\n - ellipticCurve\n properties:\n maxModulusSize:\n type: integer\n format: int64\n x-dcl-go-name: MaxModulusSize\n description: Optional. The maximum allowed RSA modulus size,\n in bits. If this is not set, or if set to zero, the service\n will not enforce an explicit upper bound on RSA modulus\n sizes.\n minModulusSize:\n type: integer\n format: int64\n x-dcl-go-name: MinModulusSize\n description: Optional. The minimum allowed RSA modulus size,\n in bits. If this is not set, or if set to zero, the service-level\n min RSA modulus size will continue to apply.\n baselineValues:\n type: object\n x-dcl-go-name: BaselineValues\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValues\n description: Optional. A set of X.509 values that will be applied to\n all certificates issued through this CaPool. If a certificate request\n includes conflicting values for the same properties, they will be\n overwritten by the values defined here. If a certificate request uses\n a CertificateTemplate that defines conflicting predefined_values for\n the same properties, the certificate issuance request will fail.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-dcl-mutable-unreadable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n identityConstraints:\n type: object\n x-dcl-go-name: IdentityConstraints\n x-dcl-go-type: CaPoolIssuancePolicyIdentityConstraints\n description: Optional. Describes constraints on identities that may\n appear in Certificates issued through this CaPool. If this is omitted,\n then this CaPool will not add restrictions on a certificate's identity.\n required:\n - allowSubjectPassthrough\n - allowSubjectAltNamesPassthrough\n properties:\n allowSubjectAltNamesPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectAltNamesPassthrough\n description: Required. If this is true, the SubjectAltNames extension\n may be copied from a certificate request into the signed certificate.\n Otherwise, the requested SubjectAltNames will be discarded.\n allowSubjectPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectPassthrough\n description: Required. If this is true, the Subject field may be\n copied from a certificate request into the signed certificate.\n Otherwise, the requested Subject will be discarded.\n celExpression:\n type: object\n x-dcl-go-name: CelExpression\n x-dcl-go-type: CaPoolIssuancePolicyIdentityConstraintsCelExpression\n description: Optional. A CEL expression that may be used to validate\n the resolved X.509 Subject and/or Subject Alternative Name before\n a certificate is signed. To see the full allowed syntax and some\n examples, see https://cloud.google.com/certificate-authority-service/docs/using-cel\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This is\n a longer text which describes the expression, e.g. when hovered\n over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common\n Expression Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the\n expression for error reporting, e.g. a file name and a position\n in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short\n string describing its purpose. This can be used e.g. in UIs\n which allow to enter the expression.\n maximumLifetime:\n type: string\n x-dcl-go-name: MaximumLifetime\n description: Optional. The maximum lifetime allowed for issued Certificates.\n Note that if the issuing CertificateAuthority expires before a Certificate's\n requested maximum_lifetime, the effective lifetime will be explicitly\n truncated to match it.\n passthroughExtensions:\n type: object\n x-dcl-go-name: PassthroughExtensions\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensions\n description: Optional. Describes the set of X.509 extensions that may\n appear in a Certificate issued through this CaPool. If a certificate\n request sets extensions that don't appear in the passthrough_extensions,\n those extensions will be dropped. If a certificate request uses a\n CertificateTemplate with predefined_values that don't appear here,\n the certificate issuance request will fail. If this is omitted, then\n this CaPool will not add restrictions on a certificate's X.509 extensions.\n These constraints do not apply to X.509 extensions set in this CaPool's\n baseline_values.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. A set of ObjectIds identifying custom X.509\n extensions. Will be combined with known_extensions to determine\n the full set of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensionsAdditionalExtensions\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n knownExtensions:\n type: array\n x-dcl-go-name: KnownExtensions\n description: Optional. A set of named X.509 extensions. Will be\n combined with additional_extensions to determine the full set\n of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensionsKnownExtensionsEnum\n enum:\n - KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\n - BASE_KEY_USAGE\n - EXTENDED_KEY_USAGE\n - CA_OPTIONS\n - POLICY_IDS\n - AIA_OCSP_SERVERS\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n publishingOptions:\n type: object\n x-dcl-go-name: PublishingOptions\n x-dcl-go-type: CaPoolPublishingOptions\n description: Optional. The PublishingOptions to follow when issuing Certificates\n from any CertificateAuthority in this CaPool.\n properties:\n publishCaCert:\n type: boolean\n x-dcl-go-name: PublishCaCert\n description: Optional. When true, publishes each CertificateAuthority's\n CA certificate and includes its URL in the \"Authority Information\n Access\" X.509 extension in all issued Certificates. If this is false,\n the CA certificate will not be published and the corresponding X.509\n extension will not be written in issued certificates.\n publishCrl:\n type: boolean\n x-dcl-go-name: PublishCrl\n description: Optional. When true, publishes each CertificateAuthority's\n CRL and includes its URL in the \"CRL Distribution Points\" X.509 extension\n in all issued Certificates. If this is false, CRLs will not be published\n and the corresponding X.509 extension will not be written in issued\n certificates. CRLs will expire 7 days from their creation. However,\n we will rebuild daily. CRLs are also rebuilt shortly after a certificate\n is revoked.\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: CaPoolTierEnum\n description: 'Required. Immutable. The Tier of this CaPool. Possible values:\n TIER_UNSPECIFIED, ENTERPRISE, DEVOPS'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - ENTERPRISE\n - DEVOPS\n") -// 26957 bytes -// MD5: 43691fb97041965407dfd92ebd056d00 +// 26982 bytes +// MD5: d1d752745f623190b9e52a0393c2a73e diff --git a/services/google/privateca/alpha/ca_pool_schema.go b/services/google/privateca/alpha/ca_pool_schema.go index db995dc630..590162e970 100755 --- a/services/google/privateca/alpha/ca_pool_schema.go +++ b/services/google/privateca/alpha/ca_pool_schema.go @@ -23,6 +23,7 @@ func DCLCaPoolSchema() *dcl.Schema { Title: "Privateca/CaPool", Description: "The Privateca CaPool resource", StructName: "CaPool", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/privateca/alpha/certificate.yaml b/services/google/privateca/alpha/certificate.yaml index 22fb667e7b..3bffe78ffa 100755 --- a/services/google/privateca/alpha/certificate.yaml +++ b/services/google/privateca/alpha/certificate.yaml @@ -15,6 +15,7 @@ info: title: Privateca/Certificate description: The Privateca Certificate resource x-dcl-struct-name: Certificate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/privateca/alpha/certificate_alpha_yaml_embed.go b/services/google/privateca/alpha/certificate_alpha_yaml_embed.go index 5c78ddbeb9..0e36cc92dc 100755 --- a/services/google/privateca/alpha/certificate_alpha_yaml_embed.go +++ b/services/google/privateca/alpha/certificate_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/privateca/alpha/certificate.yaml -var YAML_certificate = []byte("info:\n title: Privateca/Certificate\n description: The Privateca Certificate resource\n x-dcl-struct-name: Certificate\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n apply:\n description: The function used to apply information about a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n delete:\n description: The function used to delete a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n deleteAll:\n description: The function used to delete all Certificate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Certificate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Certificate:\n title: Certificate\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{ca_pool}}/certificates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - lifetime\n - project\n - location\n - caPool\n properties:\n caPool:\n type: string\n x-dcl-go-name: CaPool\n description: The ca_pool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CaPool\n field: name\n parent: true\n certificateAuthority:\n type: string\n x-dcl-go-name: CertificateAuthority\n description: The certificate authority for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: name\n certificateDescription:\n type: object\n x-dcl-go-name: CertificateDescription\n x-dcl-go-type: CertificateCertificateDescription\n readOnly: true\n description: Output only. A structured description of the issued X.509 certificate.\n x-kubernetes-immutable: true\n properties:\n aiaIssuingCertificateUrls:\n type: array\n x-dcl-go-name: AiaIssuingCertificateUrls\n description: Describes lists of issuer CA certificate URLs that appear\n in the \"Authority Information Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorityKeyId:\n type: object\n x-dcl-go-name: AuthorityKeyId\n x-dcl-go-type: CertificateCertificateDescriptionAuthorityKeyId\n description: Identifies the subject_key_id of the parent certificate,\n per https://tools.ietf.org/html/rfc5280#section-4.2.1.1\n x-kubernetes-immutable: true\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x-kubernetes-immutable: true\n certFingerprint:\n type: object\n x-dcl-go-name: CertFingerprint\n x-dcl-go-type: CertificateCertificateDescriptionCertFingerprint\n description: The hash of the x.509 certificate.\n x-kubernetes-immutable: true\n properties:\n sha256Hash:\n type: string\n x-dcl-go-name: Sha256Hash\n description: The SHA 256 hash, encoded in hexadecimal, of the DER\n x509 certificate.\n x-kubernetes-immutable: true\n crlDistributionPoints:\n type: array\n x-dcl-go-name: CrlDistributionPoints\n description: Describes a list of locations to obtain CRL information,\n i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateCertificateDescriptionPublicKey\n description: The public key that corresponds to an issued certificate.\n x-kubernetes-immutable: true\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateCertificateDescriptionPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n KEY_FORMAT_UNSPECIFIED, PEM'\n x-kubernetes-immutable: true\n enum:\n - KEY_FORMAT_UNSPECIFIED\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectDescription:\n type: object\n x-dcl-go-name: SubjectDescription\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescription\n description: Describes some of the values in a certificate that are\n related to the subject and lifetime.\n x-kubernetes-immutable: true\n properties:\n hexSerialNumber:\n type: string\n x-dcl-go-name: HexSerialNumber\n description: The serial number encoded in lowercase hexadecimal.\n x-kubernetes-immutable: true\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: For convenience, the actual lifetime of an issued certificate.\n x-kubernetes-immutable: true\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n description: The time after which the certificate is expired. Per\n RFC 5280, the validity period for a certificate is the period\n of time from not_before_time through not_after_time, inclusive.\n Corresponds to 'not_before_time' + 'lifetime' - 1 second.\n x-kubernetes-immutable: true\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n description: The time at which the certificate becomes valid.\n x-kubernetes-immutable: true\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubject\n description: Contains distinguished name fields such as the common\n name, location and / organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltName\n description: The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name values.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSans\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subjectKeyId:\n type: object\n x-dcl-go-name: SubjectKeyId\n x-dcl-go-type: CertificateCertificateDescriptionSubjectKeyId\n description: Provides a means of identifiying certificates that contain\n a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.\n x-kubernetes-immutable: true\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x-kubernetes-immutable: true\n x509Description:\n type: object\n x-dcl-go-name: X509Description\n x-dcl-go-type: CertificateCertificateDescriptionX509Description\n description: Describes some of the technical X.509 fields in a certificate.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionAdditionalExtensions\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageUnknownExtendedKeyUsages\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionPolicyIds\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n certificateTemplate:\n type: string\n x-dcl-go-name: CertificateTemplate\n description: Immutable. The resource name for a CertificateTemplate used\n to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`.\n If this is specified, the caller must have the necessary permission to\n use this template. If this is omitted, no template will be used. This\n template must be in the same location as the Certificate.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateTemplate\n field: selfLink\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: CertificateConfig\n description: Immutable. A description of the certificate and key that does\n not require X.509 or ASN.1.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - pemCsr\n required:\n - subjectConfig\n - x509Config\n properties:\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateConfigPublicKey\n description: Optional. The public key that corresponds to this config.\n This is, for example, used when issuing Certificates, but not when\n creating a self-signed CertificateAuthority or CertificateAuthority\n CSR.\n x-kubernetes-immutable: true\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateConfigPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n KEY_FORMAT_UNSPECIFIED, PEM'\n x-kubernetes-immutable: true\n enum:\n - KEY_FORMAT_UNSPECIFIED\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectConfig:\n type: object\n x-dcl-go-name: SubjectConfig\n x-dcl-go-type: CertificateConfigSubjectConfig\n description: Required. Specifies some of the values in a certificate\n that are related to the subject.\n x-kubernetes-immutable: true\n required:\n - subject\n properties:\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateConfigSubjectConfigSubject\n description: Required. Contains distinguished name fields such as\n the common name, location and organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateConfigSubjectConfigSubjectAltName\n description: Optional. The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x509Config:\n type: object\n x-dcl-go-name: X509Config\n x-dcl-go-type: CertificateConfigX509Config\n description: Required. Describes how some of the technical X.509 fields\n in a certificate should be populated.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateConfigX509ConfigAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateConfigX509ConfigCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. When true, the \"CA\" in Basic Constraints\n extension will be set to true.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the \"path length constraint\"\n in Basic Constraints extension. For a CA certificate, this\n value describes the depth of subordinate CA certificates that\n are allowed. If this value is less than 0, the request will\n fail.\n x-kubernetes-immutable: true\n nonCa:\n type: boolean\n x-dcl-go-name: NonCa\n description: Optional. When true, the \"CA\" in Basic Constraints\n extension will be set to false. If both `is_ca` and `non_ca`\n are unset, the extension will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n zeroMaxIssuerPathLength:\n type: boolean\n x-dcl-go-name: ZeroMaxIssuerPathLength\n description: Optional. When true, the \"path length constraint\"\n in Basic Constraints extension will be set to 0. if both max_issuer_path_length\n and zero_max_issuer_path_length are unset, the max path length\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this Certificate was created.\n x-kubernetes-immutable: true\n issuerCertificateAuthority:\n type: string\n x-dcl-go-name: IssuerCertificateAuthority\n readOnly: true\n description: Output only. The resource name of the issuing CertificateAuthority\n in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: selfLink\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: Required. Immutable. The desired lifetime of a certificate.\n Used to create the \"not_before_time\" and \"not_after_time\" fields inside\n an X.509 certificate. Note that the lifetime may be truncated if it would\n extend past the life of any certificate authority in the issuing chain.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.\n x-kubernetes-immutable: true\n pemCertificate:\n type: string\n x-dcl-go-name: PemCertificate\n readOnly: true\n description: Output only. The pem-encoded, signed X.509 certificate.\n x-kubernetes-immutable: true\n pemCertificateChain:\n type: array\n x-dcl-go-name: PemCertificateChain\n readOnly: true\n description: Output only. The chain that may be used to verify the X.509\n certificate. Expected to be in issuer-to-root order according to RFC 5246.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n pemCsr:\n type: string\n x-dcl-go-name: PemCsr\n description: Immutable. A pem-encoded X.509 certificate signing request\n (CSR).\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - config\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n revocationDetails:\n type: object\n x-dcl-go-name: RevocationDetails\n x-dcl-go-type: CertificateRevocationDetails\n readOnly: true\n description: Output only. Details regarding the revocation of this Certificate.\n This Certificate is considered revoked if and only if this field is present.\n x-kubernetes-immutable: true\n properties:\n revocationState:\n type: string\n x-dcl-go-name: RevocationState\n x-dcl-go-type: CertificateRevocationDetailsRevocationStateEnum\n description: 'Indicates why a Certificate was revoked. Possible values:\n REVOCATION_REASON_UNSPECIFIED, KEY_COMPROMISE, CERTIFICATE_AUTHORITY_COMPROMISE,\n AFFILIATION_CHANGED, SUPERSEDED, CESSATION_OF_OPERATION, CERTIFICATE_HOLD,\n PRIVILEGE_WITHDRAWN, ATTRIBUTE_AUTHORITY_COMPROMISE'\n x-kubernetes-immutable: true\n enum:\n - REVOCATION_REASON_UNSPECIFIED\n - KEY_COMPROMISE\n - CERTIFICATE_AUTHORITY_COMPROMISE\n - AFFILIATION_CHANGED\n - SUPERSEDED\n - CESSATION_OF_OPERATION\n - CERTIFICATE_HOLD\n - PRIVILEGE_WITHDRAWN\n - ATTRIBUTE_AUTHORITY_COMPROMISE\n revocationTime:\n type: string\n format: date-time\n x-dcl-go-name: RevocationTime\n description: The time at which this Certificate was revoked.\n x-kubernetes-immutable: true\n subjectMode:\n type: string\n x-dcl-go-name: SubjectMode\n x-dcl-go-type: CertificateSubjectModeEnum\n description: 'Immutable. Specifies how the Certificate''s identity fields\n are to be decided. If this is omitted, the `DEFAULT` subject mode will\n be used. Possible values: SUBJECT_REQUEST_MODE_UNSPECIFIED, DEFAULT, REFLECTED_SPIFFE'\n x-kubernetes-immutable: true\n enum:\n - SUBJECT_REQUEST_MODE_UNSPECIFIED\n - DEFAULT\n - REFLECTED_SPIFFE\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this Certificate was updated.\n x-kubernetes-immutable: true\n") +var YAML_certificate = []byte("info:\n title: Privateca/Certificate\n description: The Privateca Certificate resource\n x-dcl-struct-name: Certificate\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n apply:\n description: The function used to apply information about a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n delete:\n description: The function used to delete a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n deleteAll:\n description: The function used to delete all Certificate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Certificate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Certificate:\n title: Certificate\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{ca_pool}}/certificates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - lifetime\n - project\n - location\n - caPool\n properties:\n caPool:\n type: string\n x-dcl-go-name: CaPool\n description: The ca_pool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CaPool\n field: name\n parent: true\n certificateAuthority:\n type: string\n x-dcl-go-name: CertificateAuthority\n description: The certificate authority for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: name\n certificateDescription:\n type: object\n x-dcl-go-name: CertificateDescription\n x-dcl-go-type: CertificateCertificateDescription\n readOnly: true\n description: Output only. A structured description of the issued X.509 certificate.\n x-kubernetes-immutable: true\n properties:\n aiaIssuingCertificateUrls:\n type: array\n x-dcl-go-name: AiaIssuingCertificateUrls\n description: Describes lists of issuer CA certificate URLs that appear\n in the \"Authority Information Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorityKeyId:\n type: object\n x-dcl-go-name: AuthorityKeyId\n x-dcl-go-type: CertificateCertificateDescriptionAuthorityKeyId\n description: Identifies the subject_key_id of the parent certificate,\n per https://tools.ietf.org/html/rfc5280#section-4.2.1.1\n x-kubernetes-immutable: true\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x-kubernetes-immutable: true\n certFingerprint:\n type: object\n x-dcl-go-name: CertFingerprint\n x-dcl-go-type: CertificateCertificateDescriptionCertFingerprint\n description: The hash of the x.509 certificate.\n x-kubernetes-immutable: true\n properties:\n sha256Hash:\n type: string\n x-dcl-go-name: Sha256Hash\n description: The SHA 256 hash, encoded in hexadecimal, of the DER\n x509 certificate.\n x-kubernetes-immutable: true\n crlDistributionPoints:\n type: array\n x-dcl-go-name: CrlDistributionPoints\n description: Describes a list of locations to obtain CRL information,\n i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateCertificateDescriptionPublicKey\n description: The public key that corresponds to an issued certificate.\n x-kubernetes-immutable: true\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateCertificateDescriptionPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n KEY_FORMAT_UNSPECIFIED, PEM'\n x-kubernetes-immutable: true\n enum:\n - KEY_FORMAT_UNSPECIFIED\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectDescription:\n type: object\n x-dcl-go-name: SubjectDescription\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescription\n description: Describes some of the values in a certificate that are\n related to the subject and lifetime.\n x-kubernetes-immutable: true\n properties:\n hexSerialNumber:\n type: string\n x-dcl-go-name: HexSerialNumber\n description: The serial number encoded in lowercase hexadecimal.\n x-kubernetes-immutable: true\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: For convenience, the actual lifetime of an issued certificate.\n x-kubernetes-immutable: true\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n description: The time after which the certificate is expired. Per\n RFC 5280, the validity period for a certificate is the period\n of time from not_before_time through not_after_time, inclusive.\n Corresponds to 'not_before_time' + 'lifetime' - 1 second.\n x-kubernetes-immutable: true\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n description: The time at which the certificate becomes valid.\n x-kubernetes-immutable: true\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubject\n description: Contains distinguished name fields such as the common\n name, location and / organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltName\n description: The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name values.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSans\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subjectKeyId:\n type: object\n x-dcl-go-name: SubjectKeyId\n x-dcl-go-type: CertificateCertificateDescriptionSubjectKeyId\n description: Provides a means of identifiying certificates that contain\n a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.\n x-kubernetes-immutable: true\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x-kubernetes-immutable: true\n x509Description:\n type: object\n x-dcl-go-name: X509Description\n x-dcl-go-type: CertificateCertificateDescriptionX509Description\n description: Describes some of the technical X.509 fields in a certificate.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionAdditionalExtensions\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageUnknownExtendedKeyUsages\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionPolicyIds\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n certificateTemplate:\n type: string\n x-dcl-go-name: CertificateTemplate\n description: Immutable. The resource name for a CertificateTemplate used\n to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`.\n If this is specified, the caller must have the necessary permission to\n use this template. If this is omitted, no template will be used. This\n template must be in the same location as the Certificate.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateTemplate\n field: selfLink\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: CertificateConfig\n description: Immutable. A description of the certificate and key that does\n not require X.509 or ASN.1.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - pemCsr\n required:\n - subjectConfig\n - x509Config\n properties:\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateConfigPublicKey\n description: Optional. The public key that corresponds to this config.\n This is, for example, used when issuing Certificates, but not when\n creating a self-signed CertificateAuthority or CertificateAuthority\n CSR.\n x-kubernetes-immutable: true\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateConfigPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n KEY_FORMAT_UNSPECIFIED, PEM'\n x-kubernetes-immutable: true\n enum:\n - KEY_FORMAT_UNSPECIFIED\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectConfig:\n type: object\n x-dcl-go-name: SubjectConfig\n x-dcl-go-type: CertificateConfigSubjectConfig\n description: Required. Specifies some of the values in a certificate\n that are related to the subject.\n x-kubernetes-immutable: true\n required:\n - subject\n properties:\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateConfigSubjectConfigSubject\n description: Required. Contains distinguished name fields such as\n the common name, location and organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateConfigSubjectConfigSubjectAltName\n description: Optional. The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x509Config:\n type: object\n x-dcl-go-name: X509Config\n x-dcl-go-type: CertificateConfigX509Config\n description: Required. Describes how some of the technical X.509 fields\n in a certificate should be populated.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateConfigX509ConfigAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateConfigX509ConfigCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. When true, the \"CA\" in Basic Constraints\n extension will be set to true.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the \"path length constraint\"\n in Basic Constraints extension. For a CA certificate, this\n value describes the depth of subordinate CA certificates that\n are allowed. If this value is less than 0, the request will\n fail.\n x-kubernetes-immutable: true\n nonCa:\n type: boolean\n x-dcl-go-name: NonCa\n description: Optional. When true, the \"CA\" in Basic Constraints\n extension will be set to false. If both `is_ca` and `non_ca`\n are unset, the extension will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n zeroMaxIssuerPathLength:\n type: boolean\n x-dcl-go-name: ZeroMaxIssuerPathLength\n description: Optional. When true, the \"path length constraint\"\n in Basic Constraints extension will be set to 0. if both max_issuer_path_length\n and zero_max_issuer_path_length are unset, the max path length\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this Certificate was created.\n x-kubernetes-immutable: true\n issuerCertificateAuthority:\n type: string\n x-dcl-go-name: IssuerCertificateAuthority\n readOnly: true\n description: Output only. The resource name of the issuing CertificateAuthority\n in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: selfLink\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: Required. Immutable. The desired lifetime of a certificate.\n Used to create the \"not_before_time\" and \"not_after_time\" fields inside\n an X.509 certificate. Note that the lifetime may be truncated if it would\n extend past the life of any certificate authority in the issuing chain.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.\n x-kubernetes-immutable: true\n pemCertificate:\n type: string\n x-dcl-go-name: PemCertificate\n readOnly: true\n description: Output only. The pem-encoded, signed X.509 certificate.\n x-kubernetes-immutable: true\n pemCertificateChain:\n type: array\n x-dcl-go-name: PemCertificateChain\n readOnly: true\n description: Output only. The chain that may be used to verify the X.509\n certificate. Expected to be in issuer-to-root order according to RFC 5246.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n pemCsr:\n type: string\n x-dcl-go-name: PemCsr\n description: Immutable. A pem-encoded X.509 certificate signing request\n (CSR).\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - config\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n revocationDetails:\n type: object\n x-dcl-go-name: RevocationDetails\n x-dcl-go-type: CertificateRevocationDetails\n readOnly: true\n description: Output only. Details regarding the revocation of this Certificate.\n This Certificate is considered revoked if and only if this field is present.\n x-kubernetes-immutable: true\n properties:\n revocationState:\n type: string\n x-dcl-go-name: RevocationState\n x-dcl-go-type: CertificateRevocationDetailsRevocationStateEnum\n description: 'Indicates why a Certificate was revoked. Possible values:\n REVOCATION_REASON_UNSPECIFIED, KEY_COMPROMISE, CERTIFICATE_AUTHORITY_COMPROMISE,\n AFFILIATION_CHANGED, SUPERSEDED, CESSATION_OF_OPERATION, CERTIFICATE_HOLD,\n PRIVILEGE_WITHDRAWN, ATTRIBUTE_AUTHORITY_COMPROMISE'\n x-kubernetes-immutable: true\n enum:\n - REVOCATION_REASON_UNSPECIFIED\n - KEY_COMPROMISE\n - CERTIFICATE_AUTHORITY_COMPROMISE\n - AFFILIATION_CHANGED\n - SUPERSEDED\n - CESSATION_OF_OPERATION\n - CERTIFICATE_HOLD\n - PRIVILEGE_WITHDRAWN\n - ATTRIBUTE_AUTHORITY_COMPROMISE\n revocationTime:\n type: string\n format: date-time\n x-dcl-go-name: RevocationTime\n description: The time at which this Certificate was revoked.\n x-kubernetes-immutable: true\n subjectMode:\n type: string\n x-dcl-go-name: SubjectMode\n x-dcl-go-type: CertificateSubjectModeEnum\n description: 'Immutable. Specifies how the Certificate''s identity fields\n are to be decided. If this is omitted, the `DEFAULT` subject mode will\n be used. Possible values: SUBJECT_REQUEST_MODE_UNSPECIFIED, DEFAULT, REFLECTED_SPIFFE'\n x-kubernetes-immutable: true\n enum:\n - SUBJECT_REQUEST_MODE_UNSPECIFIED\n - DEFAULT\n - REFLECTED_SPIFFE\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this Certificate was updated.\n x-kubernetes-immutable: true\n") -// 55435 bytes -// MD5: 3056b668053cc1b6fa95370c689bf34e +// 55460 bytes +// MD5: 8ae4722ae0b8c84ec5bcea2f93093507 diff --git a/services/google/privateca/alpha/certificate_authority.yaml b/services/google/privateca/alpha/certificate_authority.yaml index 7aad4af3a8..da4f7de8c5 100755 --- a/services/google/privateca/alpha/certificate_authority.yaml +++ b/services/google/privateca/alpha/certificate_authority.yaml @@ -15,6 +15,7 @@ info: title: Privateca/CertificateAuthority description: The Privateca CertificateAuthority resource x-dcl-struct-name: CertificateAuthority + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/privateca/alpha/certificate_authority_alpha_yaml_embed.go b/services/google/privateca/alpha/certificate_authority_alpha_yaml_embed.go index 3ea35be462..0da45212ae 100755 --- a/services/google/privateca/alpha/certificate_authority_alpha_yaml_embed.go +++ b/services/google/privateca/alpha/certificate_authority_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/privateca/alpha/certificate_authority.yaml -var YAML_certificate_authority = []byte("info:\n title: Privateca/CertificateAuthority\n description: The Privateca CertificateAuthority resource\n x-dcl-struct-name: CertificateAuthority\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n apply:\n description: The function used to apply information about a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n delete:\n description: The function used to delete a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n deleteAll:\n description: The function used to delete all CertificateAuthority\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CertificateAuthority\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CertificateAuthority:\n title: CertificateAuthority\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{ca_pool}}/certificateAuthorities/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - config\n - lifetime\n - keySpec\n - project\n - location\n - caPool\n properties:\n accessUrls:\n type: object\n x-dcl-go-name: AccessUrls\n x-dcl-go-type: CertificateAuthorityAccessUrls\n readOnly: true\n description: Output only. URLs for accessing content published by this CA,\n such as the CA certificate and CRLs.\n x-kubernetes-immutable: true\n properties:\n caCertificateAccessUrl:\n type: string\n x-dcl-go-name: CaCertificateAccessUrl\n description: The URL where this CertificateAuthority's CA certificate\n is published. This will only be set for CAs that have been activated.\n x-kubernetes-immutable: true\n crlAccessUrls:\n type: array\n x-dcl-go-name: CrlAccessUrls\n description: The URLs where this CertificateAuthority's CRLs are published.\n This will only be set for CAs that have been activated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caCertificateDescriptions:\n type: array\n x-dcl-go-name: CaCertificateDescriptions\n readOnly: true\n description: Output only. A structured description of this CertificateAuthority's\n CA certificate and its issuers. Ordered as self-to-root.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptions\n properties:\n aiaIssuingCertificateUrls:\n type: array\n x-dcl-go-name: AiaIssuingCertificateUrls\n description: Describes lists of issuer CA certificate URLs that appear\n in the \"Authority Information Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorityKeyId:\n type: object\n x-dcl-go-name: AuthorityKeyId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsAuthorityKeyId\n description: Identifies the subject_key_id of the parent certificate,\n per https://tools.ietf.org/html/rfc5280#section-4.2.1.1\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n certFingerprint:\n type: object\n x-dcl-go-name: CertFingerprint\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsCertFingerprint\n description: The hash of the x.509 certificate.\n properties:\n sha256Hash:\n type: string\n x-dcl-go-name: Sha256Hash\n description: The SHA 256 hash, encoded in hexadecimal, of the\n DER x509 certificate.\n crlDistributionPoints:\n type: array\n x-dcl-go-name: CrlDistributionPoints\n description: Describes a list of locations to obtain CRL information,\n i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsPublicKey\n description: The public key that corresponds to an issued certificate.\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible\n values: PEM'\n enum:\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding\n must match with the `KeyFormat` value specified for the `format`\n field.\n subjectDescription:\n type: object\n x-dcl-go-name: SubjectDescription\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescription\n description: Describes some of the values in a certificate that are\n related to the subject and lifetime.\n properties:\n hexSerialNumber:\n type: string\n x-dcl-go-name: HexSerialNumber\n description: The serial number encoded in lowercase hexadecimal.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: For convenience, the actual lifetime of an issued\n certificate.\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n description: The time after which the certificate is expired.\n Per RFC 5280, the validity period for a certificate is the period\n of time from not_before_time through not_after_time, inclusive.\n Corresponds to 'not_before_time' + 'lifetime' - 1 second.\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n description: The time at which the certificate becomes valid.\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubject\n description: Contains distinguished name fields such as the common\n name, location and organization.\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of\n the subject.\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltName\n description: The subject alternative name fields.\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name\n values.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltNameCustomSans\n required:\n - objectId\n - critical\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this\n extension is critical (i.e., if the client does not\n know how to handle this extension, the client should\n consider this to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path.\n The most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or\n RFC 4291 IPv6 addresses.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subjectKeyId:\n type: object\n x-dcl-go-name: SubjectKeyId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectKeyId\n description: Provides a means of identifiying certificates that contain\n a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x509Description:\n type: object\n x-dcl-go-name: X509Description\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509Description\n description: Describes some of the technical X.509 fields in a certificate.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n readOnly: true\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension,\n which is a boolean value. When this value is missing, the\n extension will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If\n this value is missing, the max path length will be omitted\n from the CA certificate.\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may\n be used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though\n regularly used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though\n regularly used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are\n not listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy\n object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n caPool:\n type: string\n x-dcl-go-name: CaPool\n description: The caPool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CaPool\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: CertificateAuthorityConfig\n description: Required. Immutable. The config used to create a self-signed\n X.509 certificate or CSR.\n x-kubernetes-immutable: true\n required:\n - subjectConfig\n - x509Config\n properties:\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateAuthorityConfigPublicKey\n readOnly: true\n description: Optional. The public key that corresponds to this config.\n This is, for example, used when issuing Certificates, but not when\n creating a self-signed CertificateAuthority or CertificateAuthority\n CSR.\n x-kubernetes-immutable: true\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateAuthorityConfigPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n PEM'\n x-kubernetes-immutable: true\n enum:\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectConfig:\n type: object\n x-dcl-go-name: SubjectConfig\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfig\n description: Required. Specifies some of the values in a certificate\n that are related to the subject.\n x-kubernetes-immutable: true\n required:\n - subject\n properties:\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubject\n description: Required. Contains distinguished name fields such as\n the common name, location and organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltName\n description: Optional. The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name values.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltNameCustomSans\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x509Config:\n type: object\n x-dcl-go-name: X509Config\n x-dcl-go-type: CertificateAuthorityConfigX509Config\n description: Required. Describes how some of the technical X.509 fields\n in a certificate should be populated.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n readOnly: true\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n soft deleted, if it is in the DELETED state.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority will\n be permanently purged, if it is in the DELETED state.\n x-kubernetes-immutable: true\n gcsBucket:\n type: string\n x-dcl-go-name: GcsBucket\n description: Immutable. The name of a Cloud Storage bucket where this CertificateAuthority\n will publish content, such as the CA certificate and CRLs. This must be\n a bucket name, without any prefixes (such as `gs://`) or suffixes (such\n as `.googleapis.com`). For example, to use a bucket named `my-bucket`,\n you would simply specify `my-bucket`. If not specified, a managed bucket\n will be created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n keySpec:\n type: object\n x-dcl-go-name: KeySpec\n x-dcl-go-type: CertificateAuthorityKeySpec\n description: Required. Immutable. Used when issuing certificates for this\n CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority,\n this key is also used to sign the self-signed CA certificate. Otherwise,\n it is used to sign a CSR.\n x-kubernetes-immutable: true\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CertificateAuthorityKeySpecAlgorithmEnum\n description: 'The algorithm to use for creating a managed Cloud KMS\n key for a for a simplified experience. All managed keys will be have\n their ProtectionLevel as `HSM`. Possible values: RSA_PSS_2048_SHA256,\n RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256, RSA_PKCS1_2048_SHA256, RSA_PKCS1_3072_SHA256,\n RSA_PKCS1_4096_SHA256, EC_P256_SHA256, EC_P384_SHA384'\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudKmsKeyVersion\n enum:\n - RSA_PSS_2048_SHA256\n - RSA_PSS_3072_SHA256\n - RSA_PSS_4096_SHA256\n - RSA_PKCS1_2048_SHA256\n - RSA_PKCS1_3072_SHA256\n - RSA_PKCS1_4096_SHA256\n - EC_P256_SHA256\n - EC_P384_SHA384\n cloudKmsKeyVersion:\n type: string\n x-dcl-go-name: CloudKmsKeyVersion\n description: The resource name for an existing Cloud KMS CryptoKeyVersion\n in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n This option enables full flexibility in the key's capabilities and\n properties.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - algorithm\n x-dcl-references:\n - resource: Cloudkms/CryptoKeyVersion\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: Required. The desired lifetime of the CA certificate. Used\n to create the \"not_before_time\" and \"not_after_time\" fields inside an\n X.509 certificate.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CertificateAuthority in the format\n `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n pemCaCertificates:\n type: array\n x-dcl-go-name: PemCaCertificates\n readOnly: true\n description: Output only. This CertificateAuthority's certificate chain,\n including the current CertificateAuthority's certificate. Ordered such\n that the root issuer is the final element (consistent with RFC 5246).\n For a self-signed CA, this will only list the current CertificateAuthority's\n certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CertificateAuthorityStateEnum\n readOnly: true\n description: 'Output only. The State for this CertificateAuthority. Possible\n values: ENABLED, DISABLED, STAGED, AWAITING_USER_ACTIVATION, DELETED'\n x-kubernetes-immutable: true\n enum:\n - ENABLED\n - DISABLED\n - STAGED\n - AWAITING_USER_ACTIVATION\n - DELETED\n subordinateConfig:\n type: object\n x-dcl-go-name: SubordinateConfig\n x-dcl-go-type: CertificateAuthoritySubordinateConfig\n readOnly: true\n description: Optional. If this is a subordinate CertificateAuthority, this\n field will be set with the subordinate configuration, which describes\n its issuers. This may be updated, but this CertificateAuthority must continue\n to validate.\n x-kubernetes-immutable: true\n properties:\n certificateAuthority:\n type: string\n x-dcl-go-name: CertificateAuthority\n description: Required. This can refer to a CertificateAuthority in the\n same project that was used to create a subordinate CertificateAuthority.\n This field is used for information and usability purposes only. The\n resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - pemIssuerChain\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: selfLink\n pemIssuerChain:\n type: object\n x-dcl-go-name: PemIssuerChain\n x-dcl-go-type: CertificateAuthoritySubordinateConfigPemIssuerChain\n description: Required. Contains the PEM certificate chain for the issuers\n of this CertificateAuthority, but not pem certificate for this CA\n itself.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - certificateAuthority\n required:\n - pemCertificates\n properties:\n pemCertificates:\n type: array\n x-dcl-go-name: PemCertificates\n description: Required. Expected to be in leaf-to-root order according\n to RFC 5246.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: CertificateAuthorityTierEnum\n readOnly: true\n description: 'Output only. The CaPool.Tier of the CaPool that includes this\n CertificateAuthority. Possible values: ENTERPRISE, DEVOPS'\n x-kubernetes-immutable: true\n enum:\n - ENTERPRISE\n - DEVOPS\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: CertificateAuthorityTypeEnum\n description: 'Required. Immutable. The Type of this CertificateAuthority.\n Possible values: SELF_SIGNED, SUBORDINATE'\n x-kubernetes-immutable: true\n enum:\n - SELF_SIGNED\n - SUBORDINATE\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n last updated.\n x-kubernetes-immutable: true\n") +var YAML_certificate_authority = []byte("info:\n title: Privateca/CertificateAuthority\n description: The Privateca CertificateAuthority resource\n x-dcl-struct-name: CertificateAuthority\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n apply:\n description: The function used to apply information about a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n delete:\n description: The function used to delete a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n deleteAll:\n description: The function used to delete all CertificateAuthority\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CertificateAuthority\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CertificateAuthority:\n title: CertificateAuthority\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{ca_pool}}/certificateAuthorities/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - config\n - lifetime\n - keySpec\n - project\n - location\n - caPool\n properties:\n accessUrls:\n type: object\n x-dcl-go-name: AccessUrls\n x-dcl-go-type: CertificateAuthorityAccessUrls\n readOnly: true\n description: Output only. URLs for accessing content published by this CA,\n such as the CA certificate and CRLs.\n x-kubernetes-immutable: true\n properties:\n caCertificateAccessUrl:\n type: string\n x-dcl-go-name: CaCertificateAccessUrl\n description: The URL where this CertificateAuthority's CA certificate\n is published. This will only be set for CAs that have been activated.\n x-kubernetes-immutable: true\n crlAccessUrls:\n type: array\n x-dcl-go-name: CrlAccessUrls\n description: The URLs where this CertificateAuthority's CRLs are published.\n This will only be set for CAs that have been activated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caCertificateDescriptions:\n type: array\n x-dcl-go-name: CaCertificateDescriptions\n readOnly: true\n description: Output only. A structured description of this CertificateAuthority's\n CA certificate and its issuers. Ordered as self-to-root.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptions\n properties:\n aiaIssuingCertificateUrls:\n type: array\n x-dcl-go-name: AiaIssuingCertificateUrls\n description: Describes lists of issuer CA certificate URLs that appear\n in the \"Authority Information Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorityKeyId:\n type: object\n x-dcl-go-name: AuthorityKeyId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsAuthorityKeyId\n description: Identifies the subject_key_id of the parent certificate,\n per https://tools.ietf.org/html/rfc5280#section-4.2.1.1\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n certFingerprint:\n type: object\n x-dcl-go-name: CertFingerprint\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsCertFingerprint\n description: The hash of the x.509 certificate.\n properties:\n sha256Hash:\n type: string\n x-dcl-go-name: Sha256Hash\n description: The SHA 256 hash, encoded in hexadecimal, of the\n DER x509 certificate.\n crlDistributionPoints:\n type: array\n x-dcl-go-name: CrlDistributionPoints\n description: Describes a list of locations to obtain CRL information,\n i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsPublicKey\n description: The public key that corresponds to an issued certificate.\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible\n values: PEM'\n enum:\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding\n must match with the `KeyFormat` value specified for the `format`\n field.\n subjectDescription:\n type: object\n x-dcl-go-name: SubjectDescription\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescription\n description: Describes some of the values in a certificate that are\n related to the subject and lifetime.\n properties:\n hexSerialNumber:\n type: string\n x-dcl-go-name: HexSerialNumber\n description: The serial number encoded in lowercase hexadecimal.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: For convenience, the actual lifetime of an issued\n certificate.\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n description: The time after which the certificate is expired.\n Per RFC 5280, the validity period for a certificate is the period\n of time from not_before_time through not_after_time, inclusive.\n Corresponds to 'not_before_time' + 'lifetime' - 1 second.\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n description: The time at which the certificate becomes valid.\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubject\n description: Contains distinguished name fields such as the common\n name, location and organization.\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of\n the subject.\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltName\n description: The subject alternative name fields.\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name\n values.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltNameCustomSans\n required:\n - objectId\n - critical\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this\n extension is critical (i.e., if the client does not\n know how to handle this extension, the client should\n consider this to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path.\n The most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or\n RFC 4291 IPv6 addresses.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subjectKeyId:\n type: object\n x-dcl-go-name: SubjectKeyId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectKeyId\n description: Provides a means of identifiying certificates that contain\n a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x509Description:\n type: object\n x-dcl-go-name: X509Description\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509Description\n description: Describes some of the technical X.509 fields in a certificate.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n readOnly: true\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension,\n which is a boolean value. When this value is missing, the\n extension will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If\n this value is missing, the max path length will be omitted\n from the CA certificate.\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may\n be used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though\n regularly used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though\n regularly used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are\n not listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy\n object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n caPool:\n type: string\n x-dcl-go-name: CaPool\n description: The caPool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CaPool\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: CertificateAuthorityConfig\n description: Required. Immutable. The config used to create a self-signed\n X.509 certificate or CSR.\n x-kubernetes-immutable: true\n required:\n - subjectConfig\n - x509Config\n properties:\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateAuthorityConfigPublicKey\n readOnly: true\n description: Optional. The public key that corresponds to this config.\n This is, for example, used when issuing Certificates, but not when\n creating a self-signed CertificateAuthority or CertificateAuthority\n CSR.\n x-kubernetes-immutable: true\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateAuthorityConfigPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n PEM'\n x-kubernetes-immutable: true\n enum:\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectConfig:\n type: object\n x-dcl-go-name: SubjectConfig\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfig\n description: Required. Specifies some of the values in a certificate\n that are related to the subject.\n x-kubernetes-immutable: true\n required:\n - subject\n properties:\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubject\n description: Required. Contains distinguished name fields such as\n the common name, location and organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltName\n description: Optional. The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name values.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltNameCustomSans\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x509Config:\n type: object\n x-dcl-go-name: X509Config\n x-dcl-go-type: CertificateAuthorityConfigX509Config\n description: Required. Describes how some of the technical X.509 fields\n in a certificate should be populated.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n readOnly: true\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n soft deleted, if it is in the DELETED state.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority will\n be permanently purged, if it is in the DELETED state.\n x-kubernetes-immutable: true\n gcsBucket:\n type: string\n x-dcl-go-name: GcsBucket\n description: Immutable. The name of a Cloud Storage bucket where this CertificateAuthority\n will publish content, such as the CA certificate and CRLs. This must be\n a bucket name, without any prefixes (such as `gs://`) or suffixes (such\n as `.googleapis.com`). For example, to use a bucket named `my-bucket`,\n you would simply specify `my-bucket`. If not specified, a managed bucket\n will be created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n keySpec:\n type: object\n x-dcl-go-name: KeySpec\n x-dcl-go-type: CertificateAuthorityKeySpec\n description: Required. Immutable. Used when issuing certificates for this\n CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority,\n this key is also used to sign the self-signed CA certificate. Otherwise,\n it is used to sign a CSR.\n x-kubernetes-immutable: true\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CertificateAuthorityKeySpecAlgorithmEnum\n description: 'The algorithm to use for creating a managed Cloud KMS\n key for a for a simplified experience. All managed keys will be have\n their ProtectionLevel as `HSM`. Possible values: RSA_PSS_2048_SHA256,\n RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256, RSA_PKCS1_2048_SHA256, RSA_PKCS1_3072_SHA256,\n RSA_PKCS1_4096_SHA256, EC_P256_SHA256, EC_P384_SHA384'\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudKmsKeyVersion\n enum:\n - RSA_PSS_2048_SHA256\n - RSA_PSS_3072_SHA256\n - RSA_PSS_4096_SHA256\n - RSA_PKCS1_2048_SHA256\n - RSA_PKCS1_3072_SHA256\n - RSA_PKCS1_4096_SHA256\n - EC_P256_SHA256\n - EC_P384_SHA384\n cloudKmsKeyVersion:\n type: string\n x-dcl-go-name: CloudKmsKeyVersion\n description: The resource name for an existing Cloud KMS CryptoKeyVersion\n in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n This option enables full flexibility in the key's capabilities and\n properties.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - algorithm\n x-dcl-references:\n - resource: Cloudkms/CryptoKeyVersion\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: Required. The desired lifetime of the CA certificate. Used\n to create the \"not_before_time\" and \"not_after_time\" fields inside an\n X.509 certificate.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CertificateAuthority in the format\n `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n pemCaCertificates:\n type: array\n x-dcl-go-name: PemCaCertificates\n readOnly: true\n description: Output only. This CertificateAuthority's certificate chain,\n including the current CertificateAuthority's certificate. Ordered such\n that the root issuer is the final element (consistent with RFC 5246).\n For a self-signed CA, this will only list the current CertificateAuthority's\n certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CertificateAuthorityStateEnum\n readOnly: true\n description: 'Output only. The State for this CertificateAuthority. Possible\n values: ENABLED, DISABLED, STAGED, AWAITING_USER_ACTIVATION, DELETED'\n x-kubernetes-immutable: true\n enum:\n - ENABLED\n - DISABLED\n - STAGED\n - AWAITING_USER_ACTIVATION\n - DELETED\n subordinateConfig:\n type: object\n x-dcl-go-name: SubordinateConfig\n x-dcl-go-type: CertificateAuthoritySubordinateConfig\n readOnly: true\n description: Optional. If this is a subordinate CertificateAuthority, this\n field will be set with the subordinate configuration, which describes\n its issuers. This may be updated, but this CertificateAuthority must continue\n to validate.\n x-kubernetes-immutable: true\n properties:\n certificateAuthority:\n type: string\n x-dcl-go-name: CertificateAuthority\n description: Required. This can refer to a CertificateAuthority in the\n same project that was used to create a subordinate CertificateAuthority.\n This field is used for information and usability purposes only. The\n resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - pemIssuerChain\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: selfLink\n pemIssuerChain:\n type: object\n x-dcl-go-name: PemIssuerChain\n x-dcl-go-type: CertificateAuthoritySubordinateConfigPemIssuerChain\n description: Required. Contains the PEM certificate chain for the issuers\n of this CertificateAuthority, but not pem certificate for this CA\n itself.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - certificateAuthority\n required:\n - pemCertificates\n properties:\n pemCertificates:\n type: array\n x-dcl-go-name: PemCertificates\n description: Required. Expected to be in leaf-to-root order according\n to RFC 5246.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: CertificateAuthorityTierEnum\n readOnly: true\n description: 'Output only. The CaPool.Tier of the CaPool that includes this\n CertificateAuthority. Possible values: ENTERPRISE, DEVOPS'\n x-kubernetes-immutable: true\n enum:\n - ENTERPRISE\n - DEVOPS\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: CertificateAuthorityTypeEnum\n description: 'Required. Immutable. The Type of this CertificateAuthority.\n Possible values: SELF_SIGNED, SUBORDINATE'\n x-kubernetes-immutable: true\n enum:\n - SELF_SIGNED\n - SUBORDINATE\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n last updated.\n x-kubernetes-immutable: true\n") -// 60170 bytes -// MD5: d38bae061e8d9c5efe45734eb51cb46e +// 60195 bytes +// MD5: eebfa096992ea881493160bfb680bd7c diff --git a/services/google/privateca/alpha/certificate_authority_schema.go b/services/google/privateca/alpha/certificate_authority_schema.go index 27eba06155..f33d36c156 100755 --- a/services/google/privateca/alpha/certificate_authority_schema.go +++ b/services/google/privateca/alpha/certificate_authority_schema.go @@ -23,6 +23,7 @@ func DCLCertificateAuthoritySchema() *dcl.Schema { Title: "Privateca/CertificateAuthority", Description: "The Privateca CertificateAuthority resource", StructName: "CertificateAuthority", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/privateca/alpha/certificate_schema.go b/services/google/privateca/alpha/certificate_schema.go index 404b5b3c88..06a06bf78c 100755 --- a/services/google/privateca/alpha/certificate_schema.go +++ b/services/google/privateca/alpha/certificate_schema.go @@ -23,6 +23,7 @@ func DCLCertificateSchema() *dcl.Schema { Title: "Privateca/Certificate", Description: "The Privateca Certificate resource", StructName: "Certificate", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/privateca/alpha/certificate_template.yaml b/services/google/privateca/alpha/certificate_template.yaml index ba987214bd..f9969de8af 100755 --- a/services/google/privateca/alpha/certificate_template.yaml +++ b/services/google/privateca/alpha/certificate_template.yaml @@ -19,6 +19,7 @@ info: an organization. A certificate template can essentially become a full-fledged vertical certificate issuance framework. x-dcl-struct-name: CertificateTemplate + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/privateca/alpha/certificate_template_alpha_yaml_embed.go b/services/google/privateca/alpha/certificate_template_alpha_yaml_embed.go index ed8ccf5d85..991831e52a 100755 --- a/services/google/privateca/alpha/certificate_template_alpha_yaml_embed.go +++ b/services/google/privateca/alpha/certificate_template_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/privateca/alpha/certificate_template.yaml -var YAML_certificate_template = []byte("info:\n title: Privateca/CertificateTemplate\n description: Certificate Authority Service provides reusable and parameterized templates\n that you can use for common certificate issuance scenarios. A certificate template\n represents a relatively static and well-defined certificate issuance schema within\n an organization. A certificate template can essentially become a full-fledged\n vertical certificate issuance framework.\n x-dcl-struct-name: CertificateTemplate\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/certificate-authority-service/docs/reference/rest/v1/projects.locations.certificateTemplates\n x-dcl-guides:\n - text: Understanding Certificate Templates\n url: https://cloud.google.com/certificate-authority-service/docs/certificate-template\n - text: Common configurations and Certificate Profiles\n url: https://cloud.google.com/certificate-authority-service/docs/certificate-profile\npaths:\n get:\n description: The function used to get information about a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n apply:\n description: The function used to apply information about a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n delete:\n description: The function used to delete a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n deleteAll:\n description: The function used to delete all CertificateTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CertificateTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CertificateTemplate:\n title: CertificateTemplate\n x-dcl-id: projects/{{project}}/locations/{{location}}/certificateTemplates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CertificateTemplate was\n created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human-readable description of scenarios this template\n is intended for.\n identityConstraints:\n type: object\n x-dcl-go-name: IdentityConstraints\n x-dcl-go-type: CertificateTemplateIdentityConstraints\n description: Optional. Describes constraints on identities that may be appear\n in Certificates issued using this template. If this is omitted, then this\n template will not add restrictions on a certificate's identity.\n required:\n - allowSubjectPassthrough\n - allowSubjectAltNamesPassthrough\n properties:\n allowSubjectAltNamesPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectAltNamesPassthrough\n description: Required. If this is true, the SubjectAltNames extension\n may be copied from a certificate request into the signed certificate.\n Otherwise, the requested SubjectAltNames will be discarded.\n allowSubjectPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectPassthrough\n description: Required. If this is true, the Subject field may be copied\n from a certificate request into the signed certificate. Otherwise,\n the requested Subject will be discarded.\n celExpression:\n type: object\n x-dcl-go-name: CelExpression\n x-dcl-go-type: CertificateTemplateIdentityConstraintsCelExpression\n description: Optional. A CEL expression that may be used to validate\n the resolved X.509 Subject and/or Subject Alternative Name before\n a certificate is signed. To see the full allowed syntax and some examples,\n see https://cloud.google.com/certificate-authority-service/docs/using-cel\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This is a\n longer text which describes the expression, e.g. when hovered\n over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common Expression\n Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the expression\n for error reporting, e.g. a file name and a position in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short string\n describing its purpose. This can be used e.g. in UIs which allow\n to enter the expression.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CertificateTemplate in the format\n `projects/*/locations/*/certificateTemplates/*`.\n x-kubernetes-immutable: true\n passthroughExtensions:\n type: object\n x-dcl-go-name: PassthroughExtensions\n x-dcl-go-type: CertificateTemplatePassthroughExtensions\n description: Optional. Describes the set of X.509 extensions that may appear\n in a Certificate issued using this CertificateTemplate. If a certificate\n request sets extensions that don't appear in the passthrough_extensions,\n those extensions will be dropped. If the issuing CaPool's IssuancePolicy\n defines baseline_values that don't appear here, the certificate issuance\n request will fail. If this is omitted, then this template will not add\n restrictions on a certificate's X.509 extensions. These constraints do\n not apply to X.509 extensions set in this CertificateTemplate's predefined_values.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. A set of ObjectIds identifying custom X.509 extensions.\n Will be combined with known_extensions to determine the full set of\n X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePassthroughExtensionsAdditionalExtensions\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most significant\n parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n knownExtensions:\n type: array\n x-dcl-go-name: KnownExtensions\n description: Optional. A set of named X.509 extensions. Will be combined\n with additional_extensions to determine the full set of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: CertificateTemplatePassthroughExtensionsKnownExtensionsEnum\n enum:\n - KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\n - BASE_KEY_USAGE\n - EXTENDED_KEY_USAGE\n - CA_OPTIONS\n - POLICY_IDS\n - AIA_OCSP_SERVERS\n predefinedValues:\n type: object\n x-dcl-go-name: PredefinedValues\n x-dcl-go-type: CertificateTemplatePredefinedValues\n description: Optional. A set of X.509 values that will be applied to all\n issued certificates that use this template. If the certificate request\n includes conflicting values for the same properties, they will be overwritten\n by the values defined here. If the issuing CaPool's IssuancePolicy defines\n conflicting baseline_values for the same properties, the certificate issuance\n request will fail.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateTemplatePredefinedValuesAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateTemplatePredefinedValuesCaOptions\n description: Optional. Describes options in this X509Parameters that\n are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction X.509\n extension. For a CA certificate, this value describes the depth\n of subordinate CA certificates that are allowed. If this value\n is less than 0, the request will fail. If this value is missing,\n the max path length will be omitted from the CA certificate.\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsage\n description: Optional. Indicates the intended use for keys that correspond\n to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code client\n authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not listed\n in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most significant\n parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this CertificateTemplate was\n updated.\n x-kubernetes-immutable: true\n") +var YAML_certificate_template = []byte("info:\n title: Privateca/CertificateTemplate\n description: Certificate Authority Service provides reusable and parameterized templates\n that you can use for common certificate issuance scenarios. A certificate template\n represents a relatively static and well-defined certificate issuance schema within\n an organization. A certificate template can essentially become a full-fledged\n vertical certificate issuance framework.\n x-dcl-struct-name: CertificateTemplate\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/certificate-authority-service/docs/reference/rest/v1/projects.locations.certificateTemplates\n x-dcl-guides:\n - text: Understanding Certificate Templates\n url: https://cloud.google.com/certificate-authority-service/docs/certificate-template\n - text: Common configurations and Certificate Profiles\n url: https://cloud.google.com/certificate-authority-service/docs/certificate-profile\npaths:\n get:\n description: The function used to get information about a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n apply:\n description: The function used to apply information about a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n delete:\n description: The function used to delete a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n deleteAll:\n description: The function used to delete all CertificateTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CertificateTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CertificateTemplate:\n title: CertificateTemplate\n x-dcl-id: projects/{{project}}/locations/{{location}}/certificateTemplates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CertificateTemplate was\n created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human-readable description of scenarios this template\n is intended for.\n identityConstraints:\n type: object\n x-dcl-go-name: IdentityConstraints\n x-dcl-go-type: CertificateTemplateIdentityConstraints\n description: Optional. Describes constraints on identities that may be appear\n in Certificates issued using this template. If this is omitted, then this\n template will not add restrictions on a certificate's identity.\n required:\n - allowSubjectPassthrough\n - allowSubjectAltNamesPassthrough\n properties:\n allowSubjectAltNamesPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectAltNamesPassthrough\n description: Required. If this is true, the SubjectAltNames extension\n may be copied from a certificate request into the signed certificate.\n Otherwise, the requested SubjectAltNames will be discarded.\n allowSubjectPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectPassthrough\n description: Required. If this is true, the Subject field may be copied\n from a certificate request into the signed certificate. Otherwise,\n the requested Subject will be discarded.\n celExpression:\n type: object\n x-dcl-go-name: CelExpression\n x-dcl-go-type: CertificateTemplateIdentityConstraintsCelExpression\n description: Optional. A CEL expression that may be used to validate\n the resolved X.509 Subject and/or Subject Alternative Name before\n a certificate is signed. To see the full allowed syntax and some examples,\n see https://cloud.google.com/certificate-authority-service/docs/using-cel\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This is a\n longer text which describes the expression, e.g. when hovered\n over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common Expression\n Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the expression\n for error reporting, e.g. a file name and a position in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short string\n describing its purpose. This can be used e.g. in UIs which allow\n to enter the expression.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CertificateTemplate in the format\n `projects/*/locations/*/certificateTemplates/*`.\n x-kubernetes-immutable: true\n passthroughExtensions:\n type: object\n x-dcl-go-name: PassthroughExtensions\n x-dcl-go-type: CertificateTemplatePassthroughExtensions\n description: Optional. Describes the set of X.509 extensions that may appear\n in a Certificate issued using this CertificateTemplate. If a certificate\n request sets extensions that don't appear in the passthrough_extensions,\n those extensions will be dropped. If the issuing CaPool's IssuancePolicy\n defines baseline_values that don't appear here, the certificate issuance\n request will fail. If this is omitted, then this template will not add\n restrictions on a certificate's X.509 extensions. These constraints do\n not apply to X.509 extensions set in this CertificateTemplate's predefined_values.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. A set of ObjectIds identifying custom X.509 extensions.\n Will be combined with known_extensions to determine the full set of\n X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePassthroughExtensionsAdditionalExtensions\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most significant\n parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n knownExtensions:\n type: array\n x-dcl-go-name: KnownExtensions\n description: Optional. A set of named X.509 extensions. Will be combined\n with additional_extensions to determine the full set of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: CertificateTemplatePassthroughExtensionsKnownExtensionsEnum\n enum:\n - KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\n - BASE_KEY_USAGE\n - EXTENDED_KEY_USAGE\n - CA_OPTIONS\n - POLICY_IDS\n - AIA_OCSP_SERVERS\n predefinedValues:\n type: object\n x-dcl-go-name: PredefinedValues\n x-dcl-go-type: CertificateTemplatePredefinedValues\n description: Optional. A set of X.509 values that will be applied to all\n issued certificates that use this template. If the certificate request\n includes conflicting values for the same properties, they will be overwritten\n by the values defined here. If the issuing CaPool's IssuancePolicy defines\n conflicting baseline_values for the same properties, the certificate issuance\n request will fail.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateTemplatePredefinedValuesAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateTemplatePredefinedValuesCaOptions\n description: Optional. Describes options in this X509Parameters that\n are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction X.509\n extension. For a CA certificate, this value describes the depth\n of subordinate CA certificates that are allowed. If this value\n is less than 0, the request will fail. If this value is missing,\n the max path length will be omitted from the CA certificate.\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsage\n description: Optional. Indicates the intended use for keys that correspond\n to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code client\n authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not listed\n in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most significant\n parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this CertificateTemplate was\n updated.\n x-kubernetes-immutable: true\n") -// 20887 bytes -// MD5: 8b5b396ac288649acc6cc5d985851631 +// 20912 bytes +// MD5: e8f878c0ae104d2f806570b491065dae diff --git a/services/google/privateca/alpha/certificate_template_schema.go b/services/google/privateca/alpha/certificate_template_schema.go index 13ab8169bb..5667c626d2 100755 --- a/services/google/privateca/alpha/certificate_template_schema.go +++ b/services/google/privateca/alpha/certificate_template_schema.go @@ -23,6 +23,7 @@ func DCLCertificateTemplateSchema() *dcl.Schema { Title: "Privateca/CertificateTemplate", Description: "Certificate Authority Service provides reusable and parameterized templates that you can use for common certificate issuance scenarios. A certificate template represents a relatively static and well-defined certificate issuance schema within an organization. A certificate template can essentially become a full-fledged vertical certificate issuance framework.", StructName: "CertificateTemplate", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/certificate-authority-service/docs/reference/rest/v1/projects.locations.certificateTemplates", diff --git a/services/google/privateca/beta/ca_pool.yaml b/services/google/privateca/beta/ca_pool.yaml index bcea9aa8ba..53c87c7029 100755 --- a/services/google/privateca/beta/ca_pool.yaml +++ b/services/google/privateca/beta/ca_pool.yaml @@ -15,6 +15,7 @@ info: title: Privateca/CaPool description: The Privateca CaPool resource x-dcl-struct-name: CaPool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/privateca/beta/ca_pool_beta_yaml_embed.go b/services/google/privateca/beta/ca_pool_beta_yaml_embed.go index f829c5fbe8..95b85cfd6e 100755 --- a/services/google/privateca/beta/ca_pool_beta_yaml_embed.go +++ b/services/google/privateca/beta/ca_pool_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/privateca/beta/ca_pool.yaml -var YAML_ca_pool = []byte("info:\n title: Privateca/CaPool\n description: The Privateca CaPool resource\n x-dcl-struct-name: CaPool\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n apply:\n description: The function used to apply information about a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n delete:\n description: The function used to delete a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n deleteAll:\n description: The function used to delete all CaPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CaPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CaPool:\n title: CaPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - tier\n - project\n - location\n properties:\n issuancePolicy:\n type: object\n x-dcl-go-name: IssuancePolicy\n x-dcl-go-type: CaPoolIssuancePolicy\n description: Optional. The IssuancePolicy to control how Certificates will\n be issued from this CaPool.\n properties:\n allowedIssuanceModes:\n type: object\n x-dcl-go-name: AllowedIssuanceModes\n x-dcl-go-type: CaPoolIssuancePolicyAllowedIssuanceModes\n description: Optional. If specified, then only methods allowed in the\n IssuanceModes may be used to issue Certificates.\n properties:\n allowConfigBasedIssuance:\n type: boolean\n x-dcl-go-name: AllowConfigBasedIssuance\n description: Optional. When true, allows callers to create Certificates\n by specifying a CertificateConfig.\n allowCsrBasedIssuance:\n type: boolean\n x-dcl-go-name: AllowCsrBasedIssuance\n description: Optional. When true, allows callers to create Certificates\n by specifying a CSR.\n allowedKeyTypes:\n type: array\n x-dcl-go-name: AllowedKeyTypes\n description: Optional. If any AllowedKeyType is specified, then the\n certificate request's public key must match one of the key types listed\n here. Otherwise, any key may be used.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypes\n properties:\n ellipticCurve:\n type: object\n x-dcl-go-name: EllipticCurve\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesEllipticCurve\n description: Represents an allowed Elliptic Curve key type.\n x-dcl-conflicts:\n - rsa\n properties:\n signatureAlgorithm:\n type: string\n x-dcl-go-name: SignatureAlgorithm\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesEllipticCurveSignatureAlgorithmEnum\n description: 'Optional. A signature algorithm that must be\n used. If this is omitted, any EC-based signature algorithm\n will be allowed. Possible values: EC_SIGNATURE_ALGORITHM_UNSPECIFIED,\n ECDSA_P256, ECDSA_P384, EDDSA_25519'\n enum:\n - EC_SIGNATURE_ALGORITHM_UNSPECIFIED\n - ECDSA_P256\n - ECDSA_P384\n - EDDSA_25519\n rsa:\n type: object\n x-dcl-go-name: Rsa\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesRsa\n description: Represents an allowed RSA key type.\n x-dcl-conflicts:\n - ellipticCurve\n properties:\n maxModulusSize:\n type: integer\n format: int64\n x-dcl-go-name: MaxModulusSize\n description: Optional. The maximum allowed RSA modulus size,\n in bits. If this is not set, or if set to zero, the service\n will not enforce an explicit upper bound on RSA modulus\n sizes.\n minModulusSize:\n type: integer\n format: int64\n x-dcl-go-name: MinModulusSize\n description: Optional. The minimum allowed RSA modulus size,\n in bits. If this is not set, or if set to zero, the service-level\n min RSA modulus size will continue to apply.\n baselineValues:\n type: object\n x-dcl-go-name: BaselineValues\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValues\n description: Optional. A set of X.509 values that will be applied to\n all certificates issued through this CaPool. If a certificate request\n includes conflicting values for the same properties, they will be\n overwritten by the values defined here. If a certificate request uses\n a CertificateTemplate that defines conflicting predefined_values for\n the same properties, the certificate issuance request will fail.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-dcl-mutable-unreadable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n identityConstraints:\n type: object\n x-dcl-go-name: IdentityConstraints\n x-dcl-go-type: CaPoolIssuancePolicyIdentityConstraints\n description: Optional. Describes constraints on identities that may\n appear in Certificates issued through this CaPool. If this is omitted,\n then this CaPool will not add restrictions on a certificate's identity.\n required:\n - allowSubjectPassthrough\n - allowSubjectAltNamesPassthrough\n properties:\n allowSubjectAltNamesPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectAltNamesPassthrough\n description: Required. If this is true, the SubjectAltNames extension\n may be copied from a certificate request into the signed certificate.\n Otherwise, the requested SubjectAltNames will be discarded.\n allowSubjectPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectPassthrough\n description: Required. If this is true, the Subject field may be\n copied from a certificate request into the signed certificate.\n Otherwise, the requested Subject will be discarded.\n celExpression:\n type: object\n x-dcl-go-name: CelExpression\n x-dcl-go-type: CaPoolIssuancePolicyIdentityConstraintsCelExpression\n description: Optional. A CEL expression that may be used to validate\n the resolved X.509 Subject and/or Subject Alternative Name before\n a certificate is signed. To see the full allowed syntax and some\n examples, see https://cloud.google.com/certificate-authority-service/docs/using-cel\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This is\n a longer text which describes the expression, e.g. when hovered\n over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common\n Expression Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the\n expression for error reporting, e.g. a file name and a position\n in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short\n string describing its purpose. This can be used e.g. in UIs\n which allow to enter the expression.\n maximumLifetime:\n type: string\n x-dcl-go-name: MaximumLifetime\n description: Optional. The maximum lifetime allowed for issued Certificates.\n Note that if the issuing CertificateAuthority expires before a Certificate's\n requested maximum_lifetime, the effective lifetime will be explicitly\n truncated to match it.\n passthroughExtensions:\n type: object\n x-dcl-go-name: PassthroughExtensions\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensions\n description: Optional. Describes the set of X.509 extensions that may\n appear in a Certificate issued through this CaPool. If a certificate\n request sets extensions that don't appear in the passthrough_extensions,\n those extensions will be dropped. If a certificate request uses a\n CertificateTemplate with predefined_values that don't appear here,\n the certificate issuance request will fail. If this is omitted, then\n this CaPool will not add restrictions on a certificate's X.509 extensions.\n These constraints do not apply to X.509 extensions set in this CaPool's\n baseline_values.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. A set of ObjectIds identifying custom X.509\n extensions. Will be combined with known_extensions to determine\n the full set of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensionsAdditionalExtensions\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n knownExtensions:\n type: array\n x-dcl-go-name: KnownExtensions\n description: Optional. A set of named X.509 extensions. Will be\n combined with additional_extensions to determine the full set\n of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensionsKnownExtensionsEnum\n enum:\n - KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\n - BASE_KEY_USAGE\n - EXTENDED_KEY_USAGE\n - CA_OPTIONS\n - POLICY_IDS\n - AIA_OCSP_SERVERS\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n publishingOptions:\n type: object\n x-dcl-go-name: PublishingOptions\n x-dcl-go-type: CaPoolPublishingOptions\n description: Optional. The PublishingOptions to follow when issuing Certificates\n from any CertificateAuthority in this CaPool.\n properties:\n publishCaCert:\n type: boolean\n x-dcl-go-name: PublishCaCert\n description: Optional. When true, publishes each CertificateAuthority's\n CA certificate and includes its URL in the \"Authority Information\n Access\" X.509 extension in all issued Certificates. If this is false,\n the CA certificate will not be published and the corresponding X.509\n extension will not be written in issued certificates.\n publishCrl:\n type: boolean\n x-dcl-go-name: PublishCrl\n description: Optional. When true, publishes each CertificateAuthority's\n CRL and includes its URL in the \"CRL Distribution Points\" X.509 extension\n in all issued Certificates. If this is false, CRLs will not be published\n and the corresponding X.509 extension will not be written in issued\n certificates. CRLs will expire 7 days from their creation. However,\n we will rebuild daily. CRLs are also rebuilt shortly after a certificate\n is revoked.\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: CaPoolTierEnum\n description: 'Required. Immutable. The Tier of this CaPool. Possible values:\n TIER_UNSPECIFIED, ENTERPRISE, DEVOPS'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - ENTERPRISE\n - DEVOPS\n") +var YAML_ca_pool = []byte("info:\n title: Privateca/CaPool\n description: The Privateca CaPool resource\n x-dcl-struct-name: CaPool\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n apply:\n description: The function used to apply information about a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n delete:\n description: The function used to delete a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n deleteAll:\n description: The function used to delete all CaPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CaPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CaPool:\n title: CaPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - tier\n - project\n - location\n properties:\n issuancePolicy:\n type: object\n x-dcl-go-name: IssuancePolicy\n x-dcl-go-type: CaPoolIssuancePolicy\n description: Optional. The IssuancePolicy to control how Certificates will\n be issued from this CaPool.\n properties:\n allowedIssuanceModes:\n type: object\n x-dcl-go-name: AllowedIssuanceModes\n x-dcl-go-type: CaPoolIssuancePolicyAllowedIssuanceModes\n description: Optional. If specified, then only methods allowed in the\n IssuanceModes may be used to issue Certificates.\n properties:\n allowConfigBasedIssuance:\n type: boolean\n x-dcl-go-name: AllowConfigBasedIssuance\n description: Optional. When true, allows callers to create Certificates\n by specifying a CertificateConfig.\n allowCsrBasedIssuance:\n type: boolean\n x-dcl-go-name: AllowCsrBasedIssuance\n description: Optional. When true, allows callers to create Certificates\n by specifying a CSR.\n allowedKeyTypes:\n type: array\n x-dcl-go-name: AllowedKeyTypes\n description: Optional. If any AllowedKeyType is specified, then the\n certificate request's public key must match one of the key types listed\n here. Otherwise, any key may be used.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypes\n properties:\n ellipticCurve:\n type: object\n x-dcl-go-name: EllipticCurve\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesEllipticCurve\n description: Represents an allowed Elliptic Curve key type.\n x-dcl-conflicts:\n - rsa\n properties:\n signatureAlgorithm:\n type: string\n x-dcl-go-name: SignatureAlgorithm\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesEllipticCurveSignatureAlgorithmEnum\n description: 'Optional. A signature algorithm that must be\n used. If this is omitted, any EC-based signature algorithm\n will be allowed. Possible values: EC_SIGNATURE_ALGORITHM_UNSPECIFIED,\n ECDSA_P256, ECDSA_P384, EDDSA_25519'\n enum:\n - EC_SIGNATURE_ALGORITHM_UNSPECIFIED\n - ECDSA_P256\n - ECDSA_P384\n - EDDSA_25519\n rsa:\n type: object\n x-dcl-go-name: Rsa\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesRsa\n description: Represents an allowed RSA key type.\n x-dcl-conflicts:\n - ellipticCurve\n properties:\n maxModulusSize:\n type: integer\n format: int64\n x-dcl-go-name: MaxModulusSize\n description: Optional. The maximum allowed RSA modulus size,\n in bits. If this is not set, or if set to zero, the service\n will not enforce an explicit upper bound on RSA modulus\n sizes.\n minModulusSize:\n type: integer\n format: int64\n x-dcl-go-name: MinModulusSize\n description: Optional. The minimum allowed RSA modulus size,\n in bits. If this is not set, or if set to zero, the service-level\n min RSA modulus size will continue to apply.\n baselineValues:\n type: object\n x-dcl-go-name: BaselineValues\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValues\n description: Optional. A set of X.509 values that will be applied to\n all certificates issued through this CaPool. If a certificate request\n includes conflicting values for the same properties, they will be\n overwritten by the values defined here. If a certificate request uses\n a CertificateTemplate that defines conflicting predefined_values for\n the same properties, the certificate issuance request will fail.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-dcl-mutable-unreadable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n identityConstraints:\n type: object\n x-dcl-go-name: IdentityConstraints\n x-dcl-go-type: CaPoolIssuancePolicyIdentityConstraints\n description: Optional. Describes constraints on identities that may\n appear in Certificates issued through this CaPool. If this is omitted,\n then this CaPool will not add restrictions on a certificate's identity.\n required:\n - allowSubjectPassthrough\n - allowSubjectAltNamesPassthrough\n properties:\n allowSubjectAltNamesPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectAltNamesPassthrough\n description: Required. If this is true, the SubjectAltNames extension\n may be copied from a certificate request into the signed certificate.\n Otherwise, the requested SubjectAltNames will be discarded.\n allowSubjectPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectPassthrough\n description: Required. If this is true, the Subject field may be\n copied from a certificate request into the signed certificate.\n Otherwise, the requested Subject will be discarded.\n celExpression:\n type: object\n x-dcl-go-name: CelExpression\n x-dcl-go-type: CaPoolIssuancePolicyIdentityConstraintsCelExpression\n description: Optional. A CEL expression that may be used to validate\n the resolved X.509 Subject and/or Subject Alternative Name before\n a certificate is signed. To see the full allowed syntax and some\n examples, see https://cloud.google.com/certificate-authority-service/docs/using-cel\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This is\n a longer text which describes the expression, e.g. when hovered\n over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common\n Expression Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the\n expression for error reporting, e.g. a file name and a position\n in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short\n string describing its purpose. This can be used e.g. in UIs\n which allow to enter the expression.\n maximumLifetime:\n type: string\n x-dcl-go-name: MaximumLifetime\n description: Optional. The maximum lifetime allowed for issued Certificates.\n Note that if the issuing CertificateAuthority expires before a Certificate's\n requested maximum_lifetime, the effective lifetime will be explicitly\n truncated to match it.\n passthroughExtensions:\n type: object\n x-dcl-go-name: PassthroughExtensions\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensions\n description: Optional. Describes the set of X.509 extensions that may\n appear in a Certificate issued through this CaPool. If a certificate\n request sets extensions that don't appear in the passthrough_extensions,\n those extensions will be dropped. If a certificate request uses a\n CertificateTemplate with predefined_values that don't appear here,\n the certificate issuance request will fail. If this is omitted, then\n this CaPool will not add restrictions on a certificate's X.509 extensions.\n These constraints do not apply to X.509 extensions set in this CaPool's\n baseline_values.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. A set of ObjectIds identifying custom X.509\n extensions. Will be combined with known_extensions to determine\n the full set of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensionsAdditionalExtensions\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n knownExtensions:\n type: array\n x-dcl-go-name: KnownExtensions\n description: Optional. A set of named X.509 extensions. Will be\n combined with additional_extensions to determine the full set\n of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensionsKnownExtensionsEnum\n enum:\n - KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\n - BASE_KEY_USAGE\n - EXTENDED_KEY_USAGE\n - CA_OPTIONS\n - POLICY_IDS\n - AIA_OCSP_SERVERS\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n publishingOptions:\n type: object\n x-dcl-go-name: PublishingOptions\n x-dcl-go-type: CaPoolPublishingOptions\n description: Optional. The PublishingOptions to follow when issuing Certificates\n from any CertificateAuthority in this CaPool.\n properties:\n publishCaCert:\n type: boolean\n x-dcl-go-name: PublishCaCert\n description: Optional. When true, publishes each CertificateAuthority's\n CA certificate and includes its URL in the \"Authority Information\n Access\" X.509 extension in all issued Certificates. If this is false,\n the CA certificate will not be published and the corresponding X.509\n extension will not be written in issued certificates.\n publishCrl:\n type: boolean\n x-dcl-go-name: PublishCrl\n description: Optional. When true, publishes each CertificateAuthority's\n CRL and includes its URL in the \"CRL Distribution Points\" X.509 extension\n in all issued Certificates. If this is false, CRLs will not be published\n and the corresponding X.509 extension will not be written in issued\n certificates. CRLs will expire 7 days from their creation. However,\n we will rebuild daily. CRLs are also rebuilt shortly after a certificate\n is revoked.\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: CaPoolTierEnum\n description: 'Required. Immutable. The Tier of this CaPool. Possible values:\n TIER_UNSPECIFIED, ENTERPRISE, DEVOPS'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - ENTERPRISE\n - DEVOPS\n") -// 26957 bytes -// MD5: 43691fb97041965407dfd92ebd056d00 +// 26982 bytes +// MD5: d1d752745f623190b9e52a0393c2a73e diff --git a/services/google/privateca/beta/ca_pool_schema.go b/services/google/privateca/beta/ca_pool_schema.go index f37eeb7636..db12820c2c 100755 --- a/services/google/privateca/beta/ca_pool_schema.go +++ b/services/google/privateca/beta/ca_pool_schema.go @@ -23,6 +23,7 @@ func DCLCaPoolSchema() *dcl.Schema { Title: "Privateca/CaPool", Description: "The Privateca CaPool resource", StructName: "CaPool", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/privateca/beta/certificate.yaml b/services/google/privateca/beta/certificate.yaml index 22fb667e7b..3bffe78ffa 100755 --- a/services/google/privateca/beta/certificate.yaml +++ b/services/google/privateca/beta/certificate.yaml @@ -15,6 +15,7 @@ info: title: Privateca/Certificate description: The Privateca Certificate resource x-dcl-struct-name: Certificate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/privateca/beta/certificate_authority.yaml b/services/google/privateca/beta/certificate_authority.yaml index 7aad4af3a8..da4f7de8c5 100755 --- a/services/google/privateca/beta/certificate_authority.yaml +++ b/services/google/privateca/beta/certificate_authority.yaml @@ -15,6 +15,7 @@ info: title: Privateca/CertificateAuthority description: The Privateca CertificateAuthority resource x-dcl-struct-name: CertificateAuthority + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/privateca/beta/certificate_authority_beta_yaml_embed.go b/services/google/privateca/beta/certificate_authority_beta_yaml_embed.go index 7cdba8d3ad..66bd2f5fe4 100755 --- a/services/google/privateca/beta/certificate_authority_beta_yaml_embed.go +++ b/services/google/privateca/beta/certificate_authority_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/privateca/beta/certificate_authority.yaml -var YAML_certificate_authority = []byte("info:\n title: Privateca/CertificateAuthority\n description: The Privateca CertificateAuthority resource\n x-dcl-struct-name: CertificateAuthority\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n apply:\n description: The function used to apply information about a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n delete:\n description: The function used to delete a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n deleteAll:\n description: The function used to delete all CertificateAuthority\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CertificateAuthority\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CertificateAuthority:\n title: CertificateAuthority\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{ca_pool}}/certificateAuthorities/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - config\n - lifetime\n - keySpec\n - project\n - location\n - caPool\n properties:\n accessUrls:\n type: object\n x-dcl-go-name: AccessUrls\n x-dcl-go-type: CertificateAuthorityAccessUrls\n readOnly: true\n description: Output only. URLs for accessing content published by this CA,\n such as the CA certificate and CRLs.\n x-kubernetes-immutable: true\n properties:\n caCertificateAccessUrl:\n type: string\n x-dcl-go-name: CaCertificateAccessUrl\n description: The URL where this CertificateAuthority's CA certificate\n is published. This will only be set for CAs that have been activated.\n x-kubernetes-immutable: true\n crlAccessUrls:\n type: array\n x-dcl-go-name: CrlAccessUrls\n description: The URLs where this CertificateAuthority's CRLs are published.\n This will only be set for CAs that have been activated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caCertificateDescriptions:\n type: array\n x-dcl-go-name: CaCertificateDescriptions\n readOnly: true\n description: Output only. A structured description of this CertificateAuthority's\n CA certificate and its issuers. Ordered as self-to-root.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptions\n properties:\n aiaIssuingCertificateUrls:\n type: array\n x-dcl-go-name: AiaIssuingCertificateUrls\n description: Describes lists of issuer CA certificate URLs that appear\n in the \"Authority Information Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorityKeyId:\n type: object\n x-dcl-go-name: AuthorityKeyId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsAuthorityKeyId\n description: Identifies the subject_key_id of the parent certificate,\n per https://tools.ietf.org/html/rfc5280#section-4.2.1.1\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n certFingerprint:\n type: object\n x-dcl-go-name: CertFingerprint\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsCertFingerprint\n description: The hash of the x.509 certificate.\n properties:\n sha256Hash:\n type: string\n x-dcl-go-name: Sha256Hash\n description: The SHA 256 hash, encoded in hexadecimal, of the\n DER x509 certificate.\n crlDistributionPoints:\n type: array\n x-dcl-go-name: CrlDistributionPoints\n description: Describes a list of locations to obtain CRL information,\n i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsPublicKey\n description: The public key that corresponds to an issued certificate.\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible\n values: PEM'\n enum:\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding\n must match with the `KeyFormat` value specified for the `format`\n field.\n subjectDescription:\n type: object\n x-dcl-go-name: SubjectDescription\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescription\n description: Describes some of the values in a certificate that are\n related to the subject and lifetime.\n properties:\n hexSerialNumber:\n type: string\n x-dcl-go-name: HexSerialNumber\n description: The serial number encoded in lowercase hexadecimal.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: For convenience, the actual lifetime of an issued\n certificate.\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n description: The time after which the certificate is expired.\n Per RFC 5280, the validity period for a certificate is the period\n of time from not_before_time through not_after_time, inclusive.\n Corresponds to 'not_before_time' + 'lifetime' - 1 second.\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n description: The time at which the certificate becomes valid.\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubject\n description: Contains distinguished name fields such as the common\n name, location and organization.\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of\n the subject.\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltName\n description: The subject alternative name fields.\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name\n values.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltNameCustomSans\n required:\n - objectId\n - critical\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this\n extension is critical (i.e., if the client does not\n know how to handle this extension, the client should\n consider this to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path.\n The most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or\n RFC 4291 IPv6 addresses.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subjectKeyId:\n type: object\n x-dcl-go-name: SubjectKeyId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectKeyId\n description: Provides a means of identifiying certificates that contain\n a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x509Description:\n type: object\n x-dcl-go-name: X509Description\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509Description\n description: Describes some of the technical X.509 fields in a certificate.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n readOnly: true\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension,\n which is a boolean value. When this value is missing, the\n extension will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If\n this value is missing, the max path length will be omitted\n from the CA certificate.\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may\n be used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though\n regularly used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though\n regularly used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are\n not listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy\n object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n caPool:\n type: string\n x-dcl-go-name: CaPool\n description: The caPool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CaPool\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: CertificateAuthorityConfig\n description: Required. Immutable. The config used to create a self-signed\n X.509 certificate or CSR.\n x-kubernetes-immutable: true\n required:\n - subjectConfig\n - x509Config\n properties:\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateAuthorityConfigPublicKey\n readOnly: true\n description: Optional. The public key that corresponds to this config.\n This is, for example, used when issuing Certificates, but not when\n creating a self-signed CertificateAuthority or CertificateAuthority\n CSR.\n x-kubernetes-immutable: true\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateAuthorityConfigPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n PEM'\n x-kubernetes-immutable: true\n enum:\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectConfig:\n type: object\n x-dcl-go-name: SubjectConfig\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfig\n description: Required. Specifies some of the values in a certificate\n that are related to the subject.\n x-kubernetes-immutable: true\n required:\n - subject\n properties:\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubject\n description: Required. Contains distinguished name fields such as\n the common name, location and organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltName\n description: Optional. The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name values.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltNameCustomSans\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x509Config:\n type: object\n x-dcl-go-name: X509Config\n x-dcl-go-type: CertificateAuthorityConfigX509Config\n description: Required. Describes how some of the technical X.509 fields\n in a certificate should be populated.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n readOnly: true\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n soft deleted, if it is in the DELETED state.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority will\n be permanently purged, if it is in the DELETED state.\n x-kubernetes-immutable: true\n gcsBucket:\n type: string\n x-dcl-go-name: GcsBucket\n description: Immutable. The name of a Cloud Storage bucket where this CertificateAuthority\n will publish content, such as the CA certificate and CRLs. This must be\n a bucket name, without any prefixes (such as `gs://`) or suffixes (such\n as `.googleapis.com`). For example, to use a bucket named `my-bucket`,\n you would simply specify `my-bucket`. If not specified, a managed bucket\n will be created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n keySpec:\n type: object\n x-dcl-go-name: KeySpec\n x-dcl-go-type: CertificateAuthorityKeySpec\n description: Required. Immutable. Used when issuing certificates for this\n CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority,\n this key is also used to sign the self-signed CA certificate. Otherwise,\n it is used to sign a CSR.\n x-kubernetes-immutable: true\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CertificateAuthorityKeySpecAlgorithmEnum\n description: 'The algorithm to use for creating a managed Cloud KMS\n key for a for a simplified experience. All managed keys will be have\n their ProtectionLevel as `HSM`. Possible values: RSA_PSS_2048_SHA256,\n RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256, RSA_PKCS1_2048_SHA256, RSA_PKCS1_3072_SHA256,\n RSA_PKCS1_4096_SHA256, EC_P256_SHA256, EC_P384_SHA384'\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudKmsKeyVersion\n enum:\n - RSA_PSS_2048_SHA256\n - RSA_PSS_3072_SHA256\n - RSA_PSS_4096_SHA256\n - RSA_PKCS1_2048_SHA256\n - RSA_PKCS1_3072_SHA256\n - RSA_PKCS1_4096_SHA256\n - EC_P256_SHA256\n - EC_P384_SHA384\n cloudKmsKeyVersion:\n type: string\n x-dcl-go-name: CloudKmsKeyVersion\n description: The resource name for an existing Cloud KMS CryptoKeyVersion\n in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n This option enables full flexibility in the key's capabilities and\n properties.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - algorithm\n x-dcl-references:\n - resource: Cloudkms/CryptoKeyVersion\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: Required. The desired lifetime of the CA certificate. Used\n to create the \"not_before_time\" and \"not_after_time\" fields inside an\n X.509 certificate.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CertificateAuthority in the format\n `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n pemCaCertificates:\n type: array\n x-dcl-go-name: PemCaCertificates\n readOnly: true\n description: Output only. This CertificateAuthority's certificate chain,\n including the current CertificateAuthority's certificate. Ordered such\n that the root issuer is the final element (consistent with RFC 5246).\n For a self-signed CA, this will only list the current CertificateAuthority's\n certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CertificateAuthorityStateEnum\n readOnly: true\n description: 'Output only. The State for this CertificateAuthority. Possible\n values: ENABLED, DISABLED, STAGED, AWAITING_USER_ACTIVATION, DELETED'\n x-kubernetes-immutable: true\n enum:\n - ENABLED\n - DISABLED\n - STAGED\n - AWAITING_USER_ACTIVATION\n - DELETED\n subordinateConfig:\n type: object\n x-dcl-go-name: SubordinateConfig\n x-dcl-go-type: CertificateAuthoritySubordinateConfig\n readOnly: true\n description: Optional. If this is a subordinate CertificateAuthority, this\n field will be set with the subordinate configuration, which describes\n its issuers. This may be updated, but this CertificateAuthority must continue\n to validate.\n x-kubernetes-immutable: true\n properties:\n certificateAuthority:\n type: string\n x-dcl-go-name: CertificateAuthority\n description: Required. This can refer to a CertificateAuthority in the\n same project that was used to create a subordinate CertificateAuthority.\n This field is used for information and usability purposes only. The\n resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - pemIssuerChain\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: selfLink\n pemIssuerChain:\n type: object\n x-dcl-go-name: PemIssuerChain\n x-dcl-go-type: CertificateAuthoritySubordinateConfigPemIssuerChain\n description: Required. Contains the PEM certificate chain for the issuers\n of this CertificateAuthority, but not pem certificate for this CA\n itself.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - certificateAuthority\n required:\n - pemCertificates\n properties:\n pemCertificates:\n type: array\n x-dcl-go-name: PemCertificates\n description: Required. Expected to be in leaf-to-root order according\n to RFC 5246.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: CertificateAuthorityTierEnum\n readOnly: true\n description: 'Output only. The CaPool.Tier of the CaPool that includes this\n CertificateAuthority. Possible values: ENTERPRISE, DEVOPS'\n x-kubernetes-immutable: true\n enum:\n - ENTERPRISE\n - DEVOPS\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: CertificateAuthorityTypeEnum\n description: 'Required. Immutable. The Type of this CertificateAuthority.\n Possible values: SELF_SIGNED, SUBORDINATE'\n x-kubernetes-immutable: true\n enum:\n - SELF_SIGNED\n - SUBORDINATE\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n last updated.\n x-kubernetes-immutable: true\n") +var YAML_certificate_authority = []byte("info:\n title: Privateca/CertificateAuthority\n description: The Privateca CertificateAuthority resource\n x-dcl-struct-name: CertificateAuthority\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n apply:\n description: The function used to apply information about a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n delete:\n description: The function used to delete a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n deleteAll:\n description: The function used to delete all CertificateAuthority\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CertificateAuthority\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CertificateAuthority:\n title: CertificateAuthority\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{ca_pool}}/certificateAuthorities/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - config\n - lifetime\n - keySpec\n - project\n - location\n - caPool\n properties:\n accessUrls:\n type: object\n x-dcl-go-name: AccessUrls\n x-dcl-go-type: CertificateAuthorityAccessUrls\n readOnly: true\n description: Output only. URLs for accessing content published by this CA,\n such as the CA certificate and CRLs.\n x-kubernetes-immutable: true\n properties:\n caCertificateAccessUrl:\n type: string\n x-dcl-go-name: CaCertificateAccessUrl\n description: The URL where this CertificateAuthority's CA certificate\n is published. This will only be set for CAs that have been activated.\n x-kubernetes-immutable: true\n crlAccessUrls:\n type: array\n x-dcl-go-name: CrlAccessUrls\n description: The URLs where this CertificateAuthority's CRLs are published.\n This will only be set for CAs that have been activated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caCertificateDescriptions:\n type: array\n x-dcl-go-name: CaCertificateDescriptions\n readOnly: true\n description: Output only. A structured description of this CertificateAuthority's\n CA certificate and its issuers. Ordered as self-to-root.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptions\n properties:\n aiaIssuingCertificateUrls:\n type: array\n x-dcl-go-name: AiaIssuingCertificateUrls\n description: Describes lists of issuer CA certificate URLs that appear\n in the \"Authority Information Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorityKeyId:\n type: object\n x-dcl-go-name: AuthorityKeyId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsAuthorityKeyId\n description: Identifies the subject_key_id of the parent certificate,\n per https://tools.ietf.org/html/rfc5280#section-4.2.1.1\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n certFingerprint:\n type: object\n x-dcl-go-name: CertFingerprint\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsCertFingerprint\n description: The hash of the x.509 certificate.\n properties:\n sha256Hash:\n type: string\n x-dcl-go-name: Sha256Hash\n description: The SHA 256 hash, encoded in hexadecimal, of the\n DER x509 certificate.\n crlDistributionPoints:\n type: array\n x-dcl-go-name: CrlDistributionPoints\n description: Describes a list of locations to obtain CRL information,\n i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsPublicKey\n description: The public key that corresponds to an issued certificate.\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible\n values: PEM'\n enum:\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding\n must match with the `KeyFormat` value specified for the `format`\n field.\n subjectDescription:\n type: object\n x-dcl-go-name: SubjectDescription\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescription\n description: Describes some of the values in a certificate that are\n related to the subject and lifetime.\n properties:\n hexSerialNumber:\n type: string\n x-dcl-go-name: HexSerialNumber\n description: The serial number encoded in lowercase hexadecimal.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: For convenience, the actual lifetime of an issued\n certificate.\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n description: The time after which the certificate is expired.\n Per RFC 5280, the validity period for a certificate is the period\n of time from not_before_time through not_after_time, inclusive.\n Corresponds to 'not_before_time' + 'lifetime' - 1 second.\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n description: The time at which the certificate becomes valid.\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubject\n description: Contains distinguished name fields such as the common\n name, location and organization.\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of\n the subject.\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltName\n description: The subject alternative name fields.\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name\n values.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltNameCustomSans\n required:\n - objectId\n - critical\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this\n extension is critical (i.e., if the client does not\n know how to handle this extension, the client should\n consider this to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path.\n The most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or\n RFC 4291 IPv6 addresses.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subjectKeyId:\n type: object\n x-dcl-go-name: SubjectKeyId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectKeyId\n description: Provides a means of identifiying certificates that contain\n a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x509Description:\n type: object\n x-dcl-go-name: X509Description\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509Description\n description: Describes some of the technical X.509 fields in a certificate.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n readOnly: true\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension,\n which is a boolean value. When this value is missing, the\n extension will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If\n this value is missing, the max path length will be omitted\n from the CA certificate.\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may\n be used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though\n regularly used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though\n regularly used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are\n not listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy\n object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n caPool:\n type: string\n x-dcl-go-name: CaPool\n description: The caPool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CaPool\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: CertificateAuthorityConfig\n description: Required. Immutable. The config used to create a self-signed\n X.509 certificate or CSR.\n x-kubernetes-immutable: true\n required:\n - subjectConfig\n - x509Config\n properties:\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateAuthorityConfigPublicKey\n readOnly: true\n description: Optional. The public key that corresponds to this config.\n This is, for example, used when issuing Certificates, but not when\n creating a self-signed CertificateAuthority or CertificateAuthority\n CSR.\n x-kubernetes-immutable: true\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateAuthorityConfigPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n PEM'\n x-kubernetes-immutable: true\n enum:\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectConfig:\n type: object\n x-dcl-go-name: SubjectConfig\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfig\n description: Required. Specifies some of the values in a certificate\n that are related to the subject.\n x-kubernetes-immutable: true\n required:\n - subject\n properties:\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubject\n description: Required. Contains distinguished name fields such as\n the common name, location and organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltName\n description: Optional. The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name values.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltNameCustomSans\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x509Config:\n type: object\n x-dcl-go-name: X509Config\n x-dcl-go-type: CertificateAuthorityConfigX509Config\n description: Required. Describes how some of the technical X.509 fields\n in a certificate should be populated.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n readOnly: true\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n soft deleted, if it is in the DELETED state.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority will\n be permanently purged, if it is in the DELETED state.\n x-kubernetes-immutable: true\n gcsBucket:\n type: string\n x-dcl-go-name: GcsBucket\n description: Immutable. The name of a Cloud Storage bucket where this CertificateAuthority\n will publish content, such as the CA certificate and CRLs. This must be\n a bucket name, without any prefixes (such as `gs://`) or suffixes (such\n as `.googleapis.com`). For example, to use a bucket named `my-bucket`,\n you would simply specify `my-bucket`. If not specified, a managed bucket\n will be created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n keySpec:\n type: object\n x-dcl-go-name: KeySpec\n x-dcl-go-type: CertificateAuthorityKeySpec\n description: Required. Immutable. Used when issuing certificates for this\n CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority,\n this key is also used to sign the self-signed CA certificate. Otherwise,\n it is used to sign a CSR.\n x-kubernetes-immutable: true\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CertificateAuthorityKeySpecAlgorithmEnum\n description: 'The algorithm to use for creating a managed Cloud KMS\n key for a for a simplified experience. All managed keys will be have\n their ProtectionLevel as `HSM`. Possible values: RSA_PSS_2048_SHA256,\n RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256, RSA_PKCS1_2048_SHA256, RSA_PKCS1_3072_SHA256,\n RSA_PKCS1_4096_SHA256, EC_P256_SHA256, EC_P384_SHA384'\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudKmsKeyVersion\n enum:\n - RSA_PSS_2048_SHA256\n - RSA_PSS_3072_SHA256\n - RSA_PSS_4096_SHA256\n - RSA_PKCS1_2048_SHA256\n - RSA_PKCS1_3072_SHA256\n - RSA_PKCS1_4096_SHA256\n - EC_P256_SHA256\n - EC_P384_SHA384\n cloudKmsKeyVersion:\n type: string\n x-dcl-go-name: CloudKmsKeyVersion\n description: The resource name for an existing Cloud KMS CryptoKeyVersion\n in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n This option enables full flexibility in the key's capabilities and\n properties.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - algorithm\n x-dcl-references:\n - resource: Cloudkms/CryptoKeyVersion\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: Required. The desired lifetime of the CA certificate. Used\n to create the \"not_before_time\" and \"not_after_time\" fields inside an\n X.509 certificate.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CertificateAuthority in the format\n `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n pemCaCertificates:\n type: array\n x-dcl-go-name: PemCaCertificates\n readOnly: true\n description: Output only. This CertificateAuthority's certificate chain,\n including the current CertificateAuthority's certificate. Ordered such\n that the root issuer is the final element (consistent with RFC 5246).\n For a self-signed CA, this will only list the current CertificateAuthority's\n certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CertificateAuthorityStateEnum\n readOnly: true\n description: 'Output only. The State for this CertificateAuthority. Possible\n values: ENABLED, DISABLED, STAGED, AWAITING_USER_ACTIVATION, DELETED'\n x-kubernetes-immutable: true\n enum:\n - ENABLED\n - DISABLED\n - STAGED\n - AWAITING_USER_ACTIVATION\n - DELETED\n subordinateConfig:\n type: object\n x-dcl-go-name: SubordinateConfig\n x-dcl-go-type: CertificateAuthoritySubordinateConfig\n readOnly: true\n description: Optional. If this is a subordinate CertificateAuthority, this\n field will be set with the subordinate configuration, which describes\n its issuers. This may be updated, but this CertificateAuthority must continue\n to validate.\n x-kubernetes-immutable: true\n properties:\n certificateAuthority:\n type: string\n x-dcl-go-name: CertificateAuthority\n description: Required. This can refer to a CertificateAuthority in the\n same project that was used to create a subordinate CertificateAuthority.\n This field is used for information and usability purposes only. The\n resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - pemIssuerChain\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: selfLink\n pemIssuerChain:\n type: object\n x-dcl-go-name: PemIssuerChain\n x-dcl-go-type: CertificateAuthoritySubordinateConfigPemIssuerChain\n description: Required. Contains the PEM certificate chain for the issuers\n of this CertificateAuthority, but not pem certificate for this CA\n itself.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - certificateAuthority\n required:\n - pemCertificates\n properties:\n pemCertificates:\n type: array\n x-dcl-go-name: PemCertificates\n description: Required. Expected to be in leaf-to-root order according\n to RFC 5246.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: CertificateAuthorityTierEnum\n readOnly: true\n description: 'Output only. The CaPool.Tier of the CaPool that includes this\n CertificateAuthority. Possible values: ENTERPRISE, DEVOPS'\n x-kubernetes-immutable: true\n enum:\n - ENTERPRISE\n - DEVOPS\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: CertificateAuthorityTypeEnum\n description: 'Required. Immutable. The Type of this CertificateAuthority.\n Possible values: SELF_SIGNED, SUBORDINATE'\n x-kubernetes-immutable: true\n enum:\n - SELF_SIGNED\n - SUBORDINATE\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n last updated.\n x-kubernetes-immutable: true\n") -// 60170 bytes -// MD5: d38bae061e8d9c5efe45734eb51cb46e +// 60195 bytes +// MD5: eebfa096992ea881493160bfb680bd7c diff --git a/services/google/privateca/beta/certificate_authority_schema.go b/services/google/privateca/beta/certificate_authority_schema.go index a2d2fd4cc8..dc6e3e9479 100755 --- a/services/google/privateca/beta/certificate_authority_schema.go +++ b/services/google/privateca/beta/certificate_authority_schema.go @@ -23,6 +23,7 @@ func DCLCertificateAuthoritySchema() *dcl.Schema { Title: "Privateca/CertificateAuthority", Description: "The Privateca CertificateAuthority resource", StructName: "CertificateAuthority", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/privateca/beta/certificate_beta_yaml_embed.go b/services/google/privateca/beta/certificate_beta_yaml_embed.go index 565dffc029..e47be886c4 100755 --- a/services/google/privateca/beta/certificate_beta_yaml_embed.go +++ b/services/google/privateca/beta/certificate_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/privateca/beta/certificate.yaml -var YAML_certificate = []byte("info:\n title: Privateca/Certificate\n description: The Privateca Certificate resource\n x-dcl-struct-name: Certificate\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n apply:\n description: The function used to apply information about a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n delete:\n description: The function used to delete a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n deleteAll:\n description: The function used to delete all Certificate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Certificate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Certificate:\n title: Certificate\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{ca_pool}}/certificates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - lifetime\n - project\n - location\n - caPool\n properties:\n caPool:\n type: string\n x-dcl-go-name: CaPool\n description: The ca_pool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CaPool\n field: name\n parent: true\n certificateAuthority:\n type: string\n x-dcl-go-name: CertificateAuthority\n description: The certificate authority for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: name\n certificateDescription:\n type: object\n x-dcl-go-name: CertificateDescription\n x-dcl-go-type: CertificateCertificateDescription\n readOnly: true\n description: Output only. A structured description of the issued X.509 certificate.\n x-kubernetes-immutable: true\n properties:\n aiaIssuingCertificateUrls:\n type: array\n x-dcl-go-name: AiaIssuingCertificateUrls\n description: Describes lists of issuer CA certificate URLs that appear\n in the \"Authority Information Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorityKeyId:\n type: object\n x-dcl-go-name: AuthorityKeyId\n x-dcl-go-type: CertificateCertificateDescriptionAuthorityKeyId\n description: Identifies the subject_key_id of the parent certificate,\n per https://tools.ietf.org/html/rfc5280#section-4.2.1.1\n x-kubernetes-immutable: true\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x-kubernetes-immutable: true\n certFingerprint:\n type: object\n x-dcl-go-name: CertFingerprint\n x-dcl-go-type: CertificateCertificateDescriptionCertFingerprint\n description: The hash of the x.509 certificate.\n x-kubernetes-immutable: true\n properties:\n sha256Hash:\n type: string\n x-dcl-go-name: Sha256Hash\n description: The SHA 256 hash, encoded in hexadecimal, of the DER\n x509 certificate.\n x-kubernetes-immutable: true\n crlDistributionPoints:\n type: array\n x-dcl-go-name: CrlDistributionPoints\n description: Describes a list of locations to obtain CRL information,\n i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateCertificateDescriptionPublicKey\n description: The public key that corresponds to an issued certificate.\n x-kubernetes-immutable: true\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateCertificateDescriptionPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n KEY_FORMAT_UNSPECIFIED, PEM'\n x-kubernetes-immutable: true\n enum:\n - KEY_FORMAT_UNSPECIFIED\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectDescription:\n type: object\n x-dcl-go-name: SubjectDescription\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescription\n description: Describes some of the values in a certificate that are\n related to the subject and lifetime.\n x-kubernetes-immutable: true\n properties:\n hexSerialNumber:\n type: string\n x-dcl-go-name: HexSerialNumber\n description: The serial number encoded in lowercase hexadecimal.\n x-kubernetes-immutable: true\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: For convenience, the actual lifetime of an issued certificate.\n x-kubernetes-immutable: true\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n description: The time after which the certificate is expired. Per\n RFC 5280, the validity period for a certificate is the period\n of time from not_before_time through not_after_time, inclusive.\n Corresponds to 'not_before_time' + 'lifetime' - 1 second.\n x-kubernetes-immutable: true\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n description: The time at which the certificate becomes valid.\n x-kubernetes-immutable: true\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubject\n description: Contains distinguished name fields such as the common\n name, location and / organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltName\n description: The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name values.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSans\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subjectKeyId:\n type: object\n x-dcl-go-name: SubjectKeyId\n x-dcl-go-type: CertificateCertificateDescriptionSubjectKeyId\n description: Provides a means of identifiying certificates that contain\n a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.\n x-kubernetes-immutable: true\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x-kubernetes-immutable: true\n x509Description:\n type: object\n x-dcl-go-name: X509Description\n x-dcl-go-type: CertificateCertificateDescriptionX509Description\n description: Describes some of the technical X.509 fields in a certificate.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionAdditionalExtensions\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageUnknownExtendedKeyUsages\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionPolicyIds\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n certificateTemplate:\n type: string\n x-dcl-go-name: CertificateTemplate\n description: Immutable. The resource name for a CertificateTemplate used\n to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`.\n If this is specified, the caller must have the necessary permission to\n use this template. If this is omitted, no template will be used. This\n template must be in the same location as the Certificate.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateTemplate\n field: selfLink\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: CertificateConfig\n description: Immutable. A description of the certificate and key that does\n not require X.509 or ASN.1.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - pemCsr\n required:\n - subjectConfig\n - x509Config\n properties:\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateConfigPublicKey\n description: Optional. The public key that corresponds to this config.\n This is, for example, used when issuing Certificates, but not when\n creating a self-signed CertificateAuthority or CertificateAuthority\n CSR.\n x-kubernetes-immutable: true\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateConfigPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n KEY_FORMAT_UNSPECIFIED, PEM'\n x-kubernetes-immutable: true\n enum:\n - KEY_FORMAT_UNSPECIFIED\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectConfig:\n type: object\n x-dcl-go-name: SubjectConfig\n x-dcl-go-type: CertificateConfigSubjectConfig\n description: Required. Specifies some of the values in a certificate\n that are related to the subject.\n x-kubernetes-immutable: true\n required:\n - subject\n properties:\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateConfigSubjectConfigSubject\n description: Required. Contains distinguished name fields such as\n the common name, location and organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateConfigSubjectConfigSubjectAltName\n description: Optional. The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x509Config:\n type: object\n x-dcl-go-name: X509Config\n x-dcl-go-type: CertificateConfigX509Config\n description: Required. Describes how some of the technical X.509 fields\n in a certificate should be populated.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateConfigX509ConfigAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateConfigX509ConfigCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. When true, the \"CA\" in Basic Constraints\n extension will be set to true.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the \"path length constraint\"\n in Basic Constraints extension. For a CA certificate, this\n value describes the depth of subordinate CA certificates that\n are allowed. If this value is less than 0, the request will\n fail.\n x-kubernetes-immutable: true\n nonCa:\n type: boolean\n x-dcl-go-name: NonCa\n description: Optional. When true, the \"CA\" in Basic Constraints\n extension will be set to false. If both `is_ca` and `non_ca`\n are unset, the extension will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n zeroMaxIssuerPathLength:\n type: boolean\n x-dcl-go-name: ZeroMaxIssuerPathLength\n description: Optional. When true, the \"path length constraint\"\n in Basic Constraints extension will be set to 0. if both max_issuer_path_length\n and zero_max_issuer_path_length are unset, the max path length\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this Certificate was created.\n x-kubernetes-immutable: true\n issuerCertificateAuthority:\n type: string\n x-dcl-go-name: IssuerCertificateAuthority\n readOnly: true\n description: Output only. The resource name of the issuing CertificateAuthority\n in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: selfLink\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: Required. Immutable. The desired lifetime of a certificate.\n Used to create the \"not_before_time\" and \"not_after_time\" fields inside\n an X.509 certificate. Note that the lifetime may be truncated if it would\n extend past the life of any certificate authority in the issuing chain.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.\n x-kubernetes-immutable: true\n pemCertificate:\n type: string\n x-dcl-go-name: PemCertificate\n readOnly: true\n description: Output only. The pem-encoded, signed X.509 certificate.\n x-kubernetes-immutable: true\n pemCertificateChain:\n type: array\n x-dcl-go-name: PemCertificateChain\n readOnly: true\n description: Output only. The chain that may be used to verify the X.509\n certificate. Expected to be in issuer-to-root order according to RFC 5246.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n pemCsr:\n type: string\n x-dcl-go-name: PemCsr\n description: Immutable. A pem-encoded X.509 certificate signing request\n (CSR).\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - config\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n revocationDetails:\n type: object\n x-dcl-go-name: RevocationDetails\n x-dcl-go-type: CertificateRevocationDetails\n readOnly: true\n description: Output only. Details regarding the revocation of this Certificate.\n This Certificate is considered revoked if and only if this field is present.\n x-kubernetes-immutable: true\n properties:\n revocationState:\n type: string\n x-dcl-go-name: RevocationState\n x-dcl-go-type: CertificateRevocationDetailsRevocationStateEnum\n description: 'Indicates why a Certificate was revoked. Possible values:\n REVOCATION_REASON_UNSPECIFIED, KEY_COMPROMISE, CERTIFICATE_AUTHORITY_COMPROMISE,\n AFFILIATION_CHANGED, SUPERSEDED, CESSATION_OF_OPERATION, CERTIFICATE_HOLD,\n PRIVILEGE_WITHDRAWN, ATTRIBUTE_AUTHORITY_COMPROMISE'\n x-kubernetes-immutable: true\n enum:\n - REVOCATION_REASON_UNSPECIFIED\n - KEY_COMPROMISE\n - CERTIFICATE_AUTHORITY_COMPROMISE\n - AFFILIATION_CHANGED\n - SUPERSEDED\n - CESSATION_OF_OPERATION\n - CERTIFICATE_HOLD\n - PRIVILEGE_WITHDRAWN\n - ATTRIBUTE_AUTHORITY_COMPROMISE\n revocationTime:\n type: string\n format: date-time\n x-dcl-go-name: RevocationTime\n description: The time at which this Certificate was revoked.\n x-kubernetes-immutable: true\n subjectMode:\n type: string\n x-dcl-go-name: SubjectMode\n x-dcl-go-type: CertificateSubjectModeEnum\n description: 'Immutable. Specifies how the Certificate''s identity fields\n are to be decided. If this is omitted, the `DEFAULT` subject mode will\n be used. Possible values: SUBJECT_REQUEST_MODE_UNSPECIFIED, DEFAULT, REFLECTED_SPIFFE'\n x-kubernetes-immutable: true\n enum:\n - SUBJECT_REQUEST_MODE_UNSPECIFIED\n - DEFAULT\n - REFLECTED_SPIFFE\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this Certificate was updated.\n x-kubernetes-immutable: true\n") +var YAML_certificate = []byte("info:\n title: Privateca/Certificate\n description: The Privateca Certificate resource\n x-dcl-struct-name: Certificate\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n apply:\n description: The function used to apply information about a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n delete:\n description: The function used to delete a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n deleteAll:\n description: The function used to delete all Certificate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Certificate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Certificate:\n title: Certificate\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{ca_pool}}/certificates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - lifetime\n - project\n - location\n - caPool\n properties:\n caPool:\n type: string\n x-dcl-go-name: CaPool\n description: The ca_pool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CaPool\n field: name\n parent: true\n certificateAuthority:\n type: string\n x-dcl-go-name: CertificateAuthority\n description: The certificate authority for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: name\n certificateDescription:\n type: object\n x-dcl-go-name: CertificateDescription\n x-dcl-go-type: CertificateCertificateDescription\n readOnly: true\n description: Output only. A structured description of the issued X.509 certificate.\n x-kubernetes-immutable: true\n properties:\n aiaIssuingCertificateUrls:\n type: array\n x-dcl-go-name: AiaIssuingCertificateUrls\n description: Describes lists of issuer CA certificate URLs that appear\n in the \"Authority Information Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorityKeyId:\n type: object\n x-dcl-go-name: AuthorityKeyId\n x-dcl-go-type: CertificateCertificateDescriptionAuthorityKeyId\n description: Identifies the subject_key_id of the parent certificate,\n per https://tools.ietf.org/html/rfc5280#section-4.2.1.1\n x-kubernetes-immutable: true\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x-kubernetes-immutable: true\n certFingerprint:\n type: object\n x-dcl-go-name: CertFingerprint\n x-dcl-go-type: CertificateCertificateDescriptionCertFingerprint\n description: The hash of the x.509 certificate.\n x-kubernetes-immutable: true\n properties:\n sha256Hash:\n type: string\n x-dcl-go-name: Sha256Hash\n description: The SHA 256 hash, encoded in hexadecimal, of the DER\n x509 certificate.\n x-kubernetes-immutable: true\n crlDistributionPoints:\n type: array\n x-dcl-go-name: CrlDistributionPoints\n description: Describes a list of locations to obtain CRL information,\n i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateCertificateDescriptionPublicKey\n description: The public key that corresponds to an issued certificate.\n x-kubernetes-immutable: true\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateCertificateDescriptionPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n KEY_FORMAT_UNSPECIFIED, PEM'\n x-kubernetes-immutable: true\n enum:\n - KEY_FORMAT_UNSPECIFIED\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectDescription:\n type: object\n x-dcl-go-name: SubjectDescription\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescription\n description: Describes some of the values in a certificate that are\n related to the subject and lifetime.\n x-kubernetes-immutable: true\n properties:\n hexSerialNumber:\n type: string\n x-dcl-go-name: HexSerialNumber\n description: The serial number encoded in lowercase hexadecimal.\n x-kubernetes-immutable: true\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: For convenience, the actual lifetime of an issued certificate.\n x-kubernetes-immutable: true\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n description: The time after which the certificate is expired. Per\n RFC 5280, the validity period for a certificate is the period\n of time from not_before_time through not_after_time, inclusive.\n Corresponds to 'not_before_time' + 'lifetime' - 1 second.\n x-kubernetes-immutable: true\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n description: The time at which the certificate becomes valid.\n x-kubernetes-immutable: true\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubject\n description: Contains distinguished name fields such as the common\n name, location and / organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltName\n description: The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name values.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSans\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subjectKeyId:\n type: object\n x-dcl-go-name: SubjectKeyId\n x-dcl-go-type: CertificateCertificateDescriptionSubjectKeyId\n description: Provides a means of identifiying certificates that contain\n a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.\n x-kubernetes-immutable: true\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x-kubernetes-immutable: true\n x509Description:\n type: object\n x-dcl-go-name: X509Description\n x-dcl-go-type: CertificateCertificateDescriptionX509Description\n description: Describes some of the technical X.509 fields in a certificate.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionAdditionalExtensions\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageUnknownExtendedKeyUsages\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionPolicyIds\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n certificateTemplate:\n type: string\n x-dcl-go-name: CertificateTemplate\n description: Immutable. The resource name for a CertificateTemplate used\n to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`.\n If this is specified, the caller must have the necessary permission to\n use this template. If this is omitted, no template will be used. This\n template must be in the same location as the Certificate.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateTemplate\n field: selfLink\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: CertificateConfig\n description: Immutable. A description of the certificate and key that does\n not require X.509 or ASN.1.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - pemCsr\n required:\n - subjectConfig\n - x509Config\n properties:\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateConfigPublicKey\n description: Optional. The public key that corresponds to this config.\n This is, for example, used when issuing Certificates, but not when\n creating a self-signed CertificateAuthority or CertificateAuthority\n CSR.\n x-kubernetes-immutable: true\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateConfigPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n KEY_FORMAT_UNSPECIFIED, PEM'\n x-kubernetes-immutable: true\n enum:\n - KEY_FORMAT_UNSPECIFIED\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectConfig:\n type: object\n x-dcl-go-name: SubjectConfig\n x-dcl-go-type: CertificateConfigSubjectConfig\n description: Required. Specifies some of the values in a certificate\n that are related to the subject.\n x-kubernetes-immutable: true\n required:\n - subject\n properties:\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateConfigSubjectConfigSubject\n description: Required. Contains distinguished name fields such as\n the common name, location and organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateConfigSubjectConfigSubjectAltName\n description: Optional. The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x509Config:\n type: object\n x-dcl-go-name: X509Config\n x-dcl-go-type: CertificateConfigX509Config\n description: Required. Describes how some of the technical X.509 fields\n in a certificate should be populated.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateConfigX509ConfigAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateConfigX509ConfigCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. When true, the \"CA\" in Basic Constraints\n extension will be set to true.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the \"path length constraint\"\n in Basic Constraints extension. For a CA certificate, this\n value describes the depth of subordinate CA certificates that\n are allowed. If this value is less than 0, the request will\n fail.\n x-kubernetes-immutable: true\n nonCa:\n type: boolean\n x-dcl-go-name: NonCa\n description: Optional. When true, the \"CA\" in Basic Constraints\n extension will be set to false. If both `is_ca` and `non_ca`\n are unset, the extension will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n zeroMaxIssuerPathLength:\n type: boolean\n x-dcl-go-name: ZeroMaxIssuerPathLength\n description: Optional. When true, the \"path length constraint\"\n in Basic Constraints extension will be set to 0. if both max_issuer_path_length\n and zero_max_issuer_path_length are unset, the max path length\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this Certificate was created.\n x-kubernetes-immutable: true\n issuerCertificateAuthority:\n type: string\n x-dcl-go-name: IssuerCertificateAuthority\n readOnly: true\n description: Output only. The resource name of the issuing CertificateAuthority\n in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: selfLink\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: Required. Immutable. The desired lifetime of a certificate.\n Used to create the \"not_before_time\" and \"not_after_time\" fields inside\n an X.509 certificate. Note that the lifetime may be truncated if it would\n extend past the life of any certificate authority in the issuing chain.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.\n x-kubernetes-immutable: true\n pemCertificate:\n type: string\n x-dcl-go-name: PemCertificate\n readOnly: true\n description: Output only. The pem-encoded, signed X.509 certificate.\n x-kubernetes-immutable: true\n pemCertificateChain:\n type: array\n x-dcl-go-name: PemCertificateChain\n readOnly: true\n description: Output only. The chain that may be used to verify the X.509\n certificate. Expected to be in issuer-to-root order according to RFC 5246.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n pemCsr:\n type: string\n x-dcl-go-name: PemCsr\n description: Immutable. A pem-encoded X.509 certificate signing request\n (CSR).\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - config\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n revocationDetails:\n type: object\n x-dcl-go-name: RevocationDetails\n x-dcl-go-type: CertificateRevocationDetails\n readOnly: true\n description: Output only. Details regarding the revocation of this Certificate.\n This Certificate is considered revoked if and only if this field is present.\n x-kubernetes-immutable: true\n properties:\n revocationState:\n type: string\n x-dcl-go-name: RevocationState\n x-dcl-go-type: CertificateRevocationDetailsRevocationStateEnum\n description: 'Indicates why a Certificate was revoked. Possible values:\n REVOCATION_REASON_UNSPECIFIED, KEY_COMPROMISE, CERTIFICATE_AUTHORITY_COMPROMISE,\n AFFILIATION_CHANGED, SUPERSEDED, CESSATION_OF_OPERATION, CERTIFICATE_HOLD,\n PRIVILEGE_WITHDRAWN, ATTRIBUTE_AUTHORITY_COMPROMISE'\n x-kubernetes-immutable: true\n enum:\n - REVOCATION_REASON_UNSPECIFIED\n - KEY_COMPROMISE\n - CERTIFICATE_AUTHORITY_COMPROMISE\n - AFFILIATION_CHANGED\n - SUPERSEDED\n - CESSATION_OF_OPERATION\n - CERTIFICATE_HOLD\n - PRIVILEGE_WITHDRAWN\n - ATTRIBUTE_AUTHORITY_COMPROMISE\n revocationTime:\n type: string\n format: date-time\n x-dcl-go-name: RevocationTime\n description: The time at which this Certificate was revoked.\n x-kubernetes-immutable: true\n subjectMode:\n type: string\n x-dcl-go-name: SubjectMode\n x-dcl-go-type: CertificateSubjectModeEnum\n description: 'Immutable. Specifies how the Certificate''s identity fields\n are to be decided. If this is omitted, the `DEFAULT` subject mode will\n be used. Possible values: SUBJECT_REQUEST_MODE_UNSPECIFIED, DEFAULT, REFLECTED_SPIFFE'\n x-kubernetes-immutable: true\n enum:\n - SUBJECT_REQUEST_MODE_UNSPECIFIED\n - DEFAULT\n - REFLECTED_SPIFFE\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this Certificate was updated.\n x-kubernetes-immutable: true\n") -// 55435 bytes -// MD5: 3056b668053cc1b6fa95370c689bf34e +// 55460 bytes +// MD5: 8ae4722ae0b8c84ec5bcea2f93093507 diff --git a/services/google/privateca/beta/certificate_schema.go b/services/google/privateca/beta/certificate_schema.go index f812312667..d00310e6cf 100755 --- a/services/google/privateca/beta/certificate_schema.go +++ b/services/google/privateca/beta/certificate_schema.go @@ -23,6 +23,7 @@ func DCLCertificateSchema() *dcl.Schema { Title: "Privateca/Certificate", Description: "The Privateca Certificate resource", StructName: "Certificate", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/privateca/beta/certificate_template.yaml b/services/google/privateca/beta/certificate_template.yaml index ba987214bd..f9969de8af 100755 --- a/services/google/privateca/beta/certificate_template.yaml +++ b/services/google/privateca/beta/certificate_template.yaml @@ -19,6 +19,7 @@ info: an organization. A certificate template can essentially become a full-fledged vertical certificate issuance framework. x-dcl-struct-name: CertificateTemplate + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/privateca/beta/certificate_template_beta_yaml_embed.go b/services/google/privateca/beta/certificate_template_beta_yaml_embed.go index cb7fd745b6..360a6bbf5b 100755 --- a/services/google/privateca/beta/certificate_template_beta_yaml_embed.go +++ b/services/google/privateca/beta/certificate_template_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/privateca/beta/certificate_template.yaml -var YAML_certificate_template = []byte("info:\n title: Privateca/CertificateTemplate\n description: Certificate Authority Service provides reusable and parameterized templates\n that you can use for common certificate issuance scenarios. A certificate template\n represents a relatively static and well-defined certificate issuance schema within\n an organization. A certificate template can essentially become a full-fledged\n vertical certificate issuance framework.\n x-dcl-struct-name: CertificateTemplate\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/certificate-authority-service/docs/reference/rest/v1/projects.locations.certificateTemplates\n x-dcl-guides:\n - text: Understanding Certificate Templates\n url: https://cloud.google.com/certificate-authority-service/docs/certificate-template\n - text: Common configurations and Certificate Profiles\n url: https://cloud.google.com/certificate-authority-service/docs/certificate-profile\npaths:\n get:\n description: The function used to get information about a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n apply:\n description: The function used to apply information about a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n delete:\n description: The function used to delete a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n deleteAll:\n description: The function used to delete all CertificateTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CertificateTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CertificateTemplate:\n title: CertificateTemplate\n x-dcl-id: projects/{{project}}/locations/{{location}}/certificateTemplates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CertificateTemplate was\n created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human-readable description of scenarios this template\n is intended for.\n identityConstraints:\n type: object\n x-dcl-go-name: IdentityConstraints\n x-dcl-go-type: CertificateTemplateIdentityConstraints\n description: Optional. Describes constraints on identities that may be appear\n in Certificates issued using this template. If this is omitted, then this\n template will not add restrictions on a certificate's identity.\n required:\n - allowSubjectPassthrough\n - allowSubjectAltNamesPassthrough\n properties:\n allowSubjectAltNamesPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectAltNamesPassthrough\n description: Required. If this is true, the SubjectAltNames extension\n may be copied from a certificate request into the signed certificate.\n Otherwise, the requested SubjectAltNames will be discarded.\n allowSubjectPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectPassthrough\n description: Required. If this is true, the Subject field may be copied\n from a certificate request into the signed certificate. Otherwise,\n the requested Subject will be discarded.\n celExpression:\n type: object\n x-dcl-go-name: CelExpression\n x-dcl-go-type: CertificateTemplateIdentityConstraintsCelExpression\n description: Optional. A CEL expression that may be used to validate\n the resolved X.509 Subject and/or Subject Alternative Name before\n a certificate is signed. To see the full allowed syntax and some examples,\n see https://cloud.google.com/certificate-authority-service/docs/using-cel\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This is a\n longer text which describes the expression, e.g. when hovered\n over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common Expression\n Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the expression\n for error reporting, e.g. a file name and a position in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short string\n describing its purpose. This can be used e.g. in UIs which allow\n to enter the expression.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CertificateTemplate in the format\n `projects/*/locations/*/certificateTemplates/*`.\n x-kubernetes-immutable: true\n passthroughExtensions:\n type: object\n x-dcl-go-name: PassthroughExtensions\n x-dcl-go-type: CertificateTemplatePassthroughExtensions\n description: Optional. Describes the set of X.509 extensions that may appear\n in a Certificate issued using this CertificateTemplate. If a certificate\n request sets extensions that don't appear in the passthrough_extensions,\n those extensions will be dropped. If the issuing CaPool's IssuancePolicy\n defines baseline_values that don't appear here, the certificate issuance\n request will fail. If this is omitted, then this template will not add\n restrictions on a certificate's X.509 extensions. These constraints do\n not apply to X.509 extensions set in this CertificateTemplate's predefined_values.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. A set of ObjectIds identifying custom X.509 extensions.\n Will be combined with known_extensions to determine the full set of\n X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePassthroughExtensionsAdditionalExtensions\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most significant\n parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n knownExtensions:\n type: array\n x-dcl-go-name: KnownExtensions\n description: Optional. A set of named X.509 extensions. Will be combined\n with additional_extensions to determine the full set of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: CertificateTemplatePassthroughExtensionsKnownExtensionsEnum\n enum:\n - KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\n - BASE_KEY_USAGE\n - EXTENDED_KEY_USAGE\n - CA_OPTIONS\n - POLICY_IDS\n - AIA_OCSP_SERVERS\n predefinedValues:\n type: object\n x-dcl-go-name: PredefinedValues\n x-dcl-go-type: CertificateTemplatePredefinedValues\n description: Optional. A set of X.509 values that will be applied to all\n issued certificates that use this template. If the certificate request\n includes conflicting values for the same properties, they will be overwritten\n by the values defined here. If the issuing CaPool's IssuancePolicy defines\n conflicting baseline_values for the same properties, the certificate issuance\n request will fail.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateTemplatePredefinedValuesAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateTemplatePredefinedValuesCaOptions\n description: Optional. Describes options in this X509Parameters that\n are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction X.509\n extension. For a CA certificate, this value describes the depth\n of subordinate CA certificates that are allowed. If this value\n is less than 0, the request will fail. If this value is missing,\n the max path length will be omitted from the CA certificate.\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsage\n description: Optional. Indicates the intended use for keys that correspond\n to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code client\n authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not listed\n in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most significant\n parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this CertificateTemplate was\n updated.\n x-kubernetes-immutable: true\n") +var YAML_certificate_template = []byte("info:\n title: Privateca/CertificateTemplate\n description: Certificate Authority Service provides reusable and parameterized templates\n that you can use for common certificate issuance scenarios. A certificate template\n represents a relatively static and well-defined certificate issuance schema within\n an organization. A certificate template can essentially become a full-fledged\n vertical certificate issuance framework.\n x-dcl-struct-name: CertificateTemplate\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/certificate-authority-service/docs/reference/rest/v1/projects.locations.certificateTemplates\n x-dcl-guides:\n - text: Understanding Certificate Templates\n url: https://cloud.google.com/certificate-authority-service/docs/certificate-template\n - text: Common configurations and Certificate Profiles\n url: https://cloud.google.com/certificate-authority-service/docs/certificate-profile\npaths:\n get:\n description: The function used to get information about a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n apply:\n description: The function used to apply information about a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n delete:\n description: The function used to delete a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n deleteAll:\n description: The function used to delete all CertificateTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CertificateTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CertificateTemplate:\n title: CertificateTemplate\n x-dcl-id: projects/{{project}}/locations/{{location}}/certificateTemplates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CertificateTemplate was\n created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human-readable description of scenarios this template\n is intended for.\n identityConstraints:\n type: object\n x-dcl-go-name: IdentityConstraints\n x-dcl-go-type: CertificateTemplateIdentityConstraints\n description: Optional. Describes constraints on identities that may be appear\n in Certificates issued using this template. If this is omitted, then this\n template will not add restrictions on a certificate's identity.\n required:\n - allowSubjectPassthrough\n - allowSubjectAltNamesPassthrough\n properties:\n allowSubjectAltNamesPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectAltNamesPassthrough\n description: Required. If this is true, the SubjectAltNames extension\n may be copied from a certificate request into the signed certificate.\n Otherwise, the requested SubjectAltNames will be discarded.\n allowSubjectPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectPassthrough\n description: Required. If this is true, the Subject field may be copied\n from a certificate request into the signed certificate. Otherwise,\n the requested Subject will be discarded.\n celExpression:\n type: object\n x-dcl-go-name: CelExpression\n x-dcl-go-type: CertificateTemplateIdentityConstraintsCelExpression\n description: Optional. A CEL expression that may be used to validate\n the resolved X.509 Subject and/or Subject Alternative Name before\n a certificate is signed. To see the full allowed syntax and some examples,\n see https://cloud.google.com/certificate-authority-service/docs/using-cel\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This is a\n longer text which describes the expression, e.g. when hovered\n over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common Expression\n Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the expression\n for error reporting, e.g. a file name and a position in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short string\n describing its purpose. This can be used e.g. in UIs which allow\n to enter the expression.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CertificateTemplate in the format\n `projects/*/locations/*/certificateTemplates/*`.\n x-kubernetes-immutable: true\n passthroughExtensions:\n type: object\n x-dcl-go-name: PassthroughExtensions\n x-dcl-go-type: CertificateTemplatePassthroughExtensions\n description: Optional. Describes the set of X.509 extensions that may appear\n in a Certificate issued using this CertificateTemplate. If a certificate\n request sets extensions that don't appear in the passthrough_extensions,\n those extensions will be dropped. If the issuing CaPool's IssuancePolicy\n defines baseline_values that don't appear here, the certificate issuance\n request will fail. If this is omitted, then this template will not add\n restrictions on a certificate's X.509 extensions. These constraints do\n not apply to X.509 extensions set in this CertificateTemplate's predefined_values.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. A set of ObjectIds identifying custom X.509 extensions.\n Will be combined with known_extensions to determine the full set of\n X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePassthroughExtensionsAdditionalExtensions\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most significant\n parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n knownExtensions:\n type: array\n x-dcl-go-name: KnownExtensions\n description: Optional. A set of named X.509 extensions. Will be combined\n with additional_extensions to determine the full set of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: CertificateTemplatePassthroughExtensionsKnownExtensionsEnum\n enum:\n - KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\n - BASE_KEY_USAGE\n - EXTENDED_KEY_USAGE\n - CA_OPTIONS\n - POLICY_IDS\n - AIA_OCSP_SERVERS\n predefinedValues:\n type: object\n x-dcl-go-name: PredefinedValues\n x-dcl-go-type: CertificateTemplatePredefinedValues\n description: Optional. A set of X.509 values that will be applied to all\n issued certificates that use this template. If the certificate request\n includes conflicting values for the same properties, they will be overwritten\n by the values defined here. If the issuing CaPool's IssuancePolicy defines\n conflicting baseline_values for the same properties, the certificate issuance\n request will fail.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateTemplatePredefinedValuesAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateTemplatePredefinedValuesCaOptions\n description: Optional. Describes options in this X509Parameters that\n are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction X.509\n extension. For a CA certificate, this value describes the depth\n of subordinate CA certificates that are allowed. If this value\n is less than 0, the request will fail. If this value is missing,\n the max path length will be omitted from the CA certificate.\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsage\n description: Optional. Indicates the intended use for keys that correspond\n to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code client\n authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not listed\n in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most significant\n parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this CertificateTemplate was\n updated.\n x-kubernetes-immutable: true\n") -// 20887 bytes -// MD5: 8b5b396ac288649acc6cc5d985851631 +// 20912 bytes +// MD5: e8f878c0ae104d2f806570b491065dae diff --git a/services/google/privateca/beta/certificate_template_schema.go b/services/google/privateca/beta/certificate_template_schema.go index ccc8374235..4b642e4910 100755 --- a/services/google/privateca/beta/certificate_template_schema.go +++ b/services/google/privateca/beta/certificate_template_schema.go @@ -23,6 +23,7 @@ func DCLCertificateTemplateSchema() *dcl.Schema { Title: "Privateca/CertificateTemplate", Description: "Certificate Authority Service provides reusable and parameterized templates that you can use for common certificate issuance scenarios. A certificate template represents a relatively static and well-defined certificate issuance schema within an organization. A certificate template can essentially become a full-fledged vertical certificate issuance framework.", StructName: "CertificateTemplate", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/certificate-authority-service/docs/reference/rest/v1/projects.locations.certificateTemplates", diff --git a/services/google/privateca/ca_pool.yaml b/services/google/privateca/ca_pool.yaml index bcea9aa8ba..53c87c7029 100755 --- a/services/google/privateca/ca_pool.yaml +++ b/services/google/privateca/ca_pool.yaml @@ -15,6 +15,7 @@ info: title: Privateca/CaPool description: The Privateca CaPool resource x-dcl-struct-name: CaPool + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/privateca/ca_pool_schema.go b/services/google/privateca/ca_pool_schema.go index 1d888222e8..d9cdf493f0 100755 --- a/services/google/privateca/ca_pool_schema.go +++ b/services/google/privateca/ca_pool_schema.go @@ -23,6 +23,7 @@ func DCLCaPoolSchema() *dcl.Schema { Title: "Privateca/CaPool", Description: "The Privateca CaPool resource", StructName: "CaPool", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/privateca/ca_pool_yaml_embed.go b/services/google/privateca/ca_pool_yaml_embed.go index be8bbbb76a..c8c10795fb 100755 --- a/services/google/privateca/ca_pool_yaml_embed.go +++ b/services/google/privateca/ca_pool_yaml_embed.go @@ -17,7 +17,7 @@ package privateca // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/privateca/ca_pool.yaml -var YAML_ca_pool = []byte("info:\n title: Privateca/CaPool\n description: The Privateca CaPool resource\n x-dcl-struct-name: CaPool\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n apply:\n description: The function used to apply information about a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n delete:\n description: The function used to delete a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n deleteAll:\n description: The function used to delete all CaPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CaPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CaPool:\n title: CaPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - tier\n - project\n - location\n properties:\n issuancePolicy:\n type: object\n x-dcl-go-name: IssuancePolicy\n x-dcl-go-type: CaPoolIssuancePolicy\n description: Optional. The IssuancePolicy to control how Certificates will\n be issued from this CaPool.\n properties:\n allowedIssuanceModes:\n type: object\n x-dcl-go-name: AllowedIssuanceModes\n x-dcl-go-type: CaPoolIssuancePolicyAllowedIssuanceModes\n description: Optional. If specified, then only methods allowed in the\n IssuanceModes may be used to issue Certificates.\n properties:\n allowConfigBasedIssuance:\n type: boolean\n x-dcl-go-name: AllowConfigBasedIssuance\n description: Optional. When true, allows callers to create Certificates\n by specifying a CertificateConfig.\n allowCsrBasedIssuance:\n type: boolean\n x-dcl-go-name: AllowCsrBasedIssuance\n description: Optional. When true, allows callers to create Certificates\n by specifying a CSR.\n allowedKeyTypes:\n type: array\n x-dcl-go-name: AllowedKeyTypes\n description: Optional. If any AllowedKeyType is specified, then the\n certificate request's public key must match one of the key types listed\n here. Otherwise, any key may be used.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypes\n properties:\n ellipticCurve:\n type: object\n x-dcl-go-name: EllipticCurve\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesEllipticCurve\n description: Represents an allowed Elliptic Curve key type.\n x-dcl-conflicts:\n - rsa\n properties:\n signatureAlgorithm:\n type: string\n x-dcl-go-name: SignatureAlgorithm\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesEllipticCurveSignatureAlgorithmEnum\n description: 'Optional. A signature algorithm that must be\n used. If this is omitted, any EC-based signature algorithm\n will be allowed. Possible values: EC_SIGNATURE_ALGORITHM_UNSPECIFIED,\n ECDSA_P256, ECDSA_P384, EDDSA_25519'\n enum:\n - EC_SIGNATURE_ALGORITHM_UNSPECIFIED\n - ECDSA_P256\n - ECDSA_P384\n - EDDSA_25519\n rsa:\n type: object\n x-dcl-go-name: Rsa\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesRsa\n description: Represents an allowed RSA key type.\n x-dcl-conflicts:\n - ellipticCurve\n properties:\n maxModulusSize:\n type: integer\n format: int64\n x-dcl-go-name: MaxModulusSize\n description: Optional. The maximum allowed RSA modulus size,\n in bits. If this is not set, or if set to zero, the service\n will not enforce an explicit upper bound on RSA modulus\n sizes.\n minModulusSize:\n type: integer\n format: int64\n x-dcl-go-name: MinModulusSize\n description: Optional. The minimum allowed RSA modulus size,\n in bits. If this is not set, or if set to zero, the service-level\n min RSA modulus size will continue to apply.\n baselineValues:\n type: object\n x-dcl-go-name: BaselineValues\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValues\n description: Optional. A set of X.509 values that will be applied to\n all certificates issued through this CaPool. If a certificate request\n includes conflicting values for the same properties, they will be\n overwritten by the values defined here. If a certificate request uses\n a CertificateTemplate that defines conflicting predefined_values for\n the same properties, the certificate issuance request will fail.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-dcl-mutable-unreadable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n identityConstraints:\n type: object\n x-dcl-go-name: IdentityConstraints\n x-dcl-go-type: CaPoolIssuancePolicyIdentityConstraints\n description: Optional. Describes constraints on identities that may\n appear in Certificates issued through this CaPool. If this is omitted,\n then this CaPool will not add restrictions on a certificate's identity.\n required:\n - allowSubjectPassthrough\n - allowSubjectAltNamesPassthrough\n properties:\n allowSubjectAltNamesPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectAltNamesPassthrough\n description: Required. If this is true, the SubjectAltNames extension\n may be copied from a certificate request into the signed certificate.\n Otherwise, the requested SubjectAltNames will be discarded.\n allowSubjectPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectPassthrough\n description: Required. If this is true, the Subject field may be\n copied from a certificate request into the signed certificate.\n Otherwise, the requested Subject will be discarded.\n celExpression:\n type: object\n x-dcl-go-name: CelExpression\n x-dcl-go-type: CaPoolIssuancePolicyIdentityConstraintsCelExpression\n description: Optional. A CEL expression that may be used to validate\n the resolved X.509 Subject and/or Subject Alternative Name before\n a certificate is signed. To see the full allowed syntax and some\n examples, see https://cloud.google.com/certificate-authority-service/docs/using-cel\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This is\n a longer text which describes the expression, e.g. when hovered\n over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common\n Expression Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the\n expression for error reporting, e.g. a file name and a position\n in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short\n string describing its purpose. This can be used e.g. in UIs\n which allow to enter the expression.\n maximumLifetime:\n type: string\n x-dcl-go-name: MaximumLifetime\n description: Optional. The maximum lifetime allowed for issued Certificates.\n Note that if the issuing CertificateAuthority expires before a Certificate's\n requested maximum_lifetime, the effective lifetime will be explicitly\n truncated to match it.\n passthroughExtensions:\n type: object\n x-dcl-go-name: PassthroughExtensions\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensions\n description: Optional. Describes the set of X.509 extensions that may\n appear in a Certificate issued through this CaPool. If a certificate\n request sets extensions that don't appear in the passthrough_extensions,\n those extensions will be dropped. If a certificate request uses a\n CertificateTemplate with predefined_values that don't appear here,\n the certificate issuance request will fail. If this is omitted, then\n this CaPool will not add restrictions on a certificate's X.509 extensions.\n These constraints do not apply to X.509 extensions set in this CaPool's\n baseline_values.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. A set of ObjectIds identifying custom X.509\n extensions. Will be combined with known_extensions to determine\n the full set of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensionsAdditionalExtensions\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n knownExtensions:\n type: array\n x-dcl-go-name: KnownExtensions\n description: Optional. A set of named X.509 extensions. Will be\n combined with additional_extensions to determine the full set\n of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensionsKnownExtensionsEnum\n enum:\n - KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\n - BASE_KEY_USAGE\n - EXTENDED_KEY_USAGE\n - CA_OPTIONS\n - POLICY_IDS\n - AIA_OCSP_SERVERS\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n publishingOptions:\n type: object\n x-dcl-go-name: PublishingOptions\n x-dcl-go-type: CaPoolPublishingOptions\n description: Optional. The PublishingOptions to follow when issuing Certificates\n from any CertificateAuthority in this CaPool.\n properties:\n publishCaCert:\n type: boolean\n x-dcl-go-name: PublishCaCert\n description: Optional. When true, publishes each CertificateAuthority's\n CA certificate and includes its URL in the \"Authority Information\n Access\" X.509 extension in all issued Certificates. If this is false,\n the CA certificate will not be published and the corresponding X.509\n extension will not be written in issued certificates.\n publishCrl:\n type: boolean\n x-dcl-go-name: PublishCrl\n description: Optional. When true, publishes each CertificateAuthority's\n CRL and includes its URL in the \"CRL Distribution Points\" X.509 extension\n in all issued Certificates. If this is false, CRLs will not be published\n and the corresponding X.509 extension will not be written in issued\n certificates. CRLs will expire 7 days from their creation. However,\n we will rebuild daily. CRLs are also rebuilt shortly after a certificate\n is revoked.\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: CaPoolTierEnum\n description: 'Required. Immutable. The Tier of this CaPool. Possible values:\n TIER_UNSPECIFIED, ENTERPRISE, DEVOPS'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - ENTERPRISE\n - DEVOPS\n") +var YAML_ca_pool = []byte("info:\n title: Privateca/CaPool\n description: The Privateca CaPool resource\n x-dcl-struct-name: CaPool\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n apply:\n description: The function used to apply information about a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n delete:\n description: The function used to delete a CaPool\n parameters:\n - name: CaPool\n required: true\n description: A full instance of a CaPool\n deleteAll:\n description: The function used to delete all CaPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CaPool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CaPool:\n title: CaPool\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - tier\n - project\n - location\n properties:\n issuancePolicy:\n type: object\n x-dcl-go-name: IssuancePolicy\n x-dcl-go-type: CaPoolIssuancePolicy\n description: Optional. The IssuancePolicy to control how Certificates will\n be issued from this CaPool.\n properties:\n allowedIssuanceModes:\n type: object\n x-dcl-go-name: AllowedIssuanceModes\n x-dcl-go-type: CaPoolIssuancePolicyAllowedIssuanceModes\n description: Optional. If specified, then only methods allowed in the\n IssuanceModes may be used to issue Certificates.\n properties:\n allowConfigBasedIssuance:\n type: boolean\n x-dcl-go-name: AllowConfigBasedIssuance\n description: Optional. When true, allows callers to create Certificates\n by specifying a CertificateConfig.\n allowCsrBasedIssuance:\n type: boolean\n x-dcl-go-name: AllowCsrBasedIssuance\n description: Optional. When true, allows callers to create Certificates\n by specifying a CSR.\n allowedKeyTypes:\n type: array\n x-dcl-go-name: AllowedKeyTypes\n description: Optional. If any AllowedKeyType is specified, then the\n certificate request's public key must match one of the key types listed\n here. Otherwise, any key may be used.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypes\n properties:\n ellipticCurve:\n type: object\n x-dcl-go-name: EllipticCurve\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesEllipticCurve\n description: Represents an allowed Elliptic Curve key type.\n x-dcl-conflicts:\n - rsa\n properties:\n signatureAlgorithm:\n type: string\n x-dcl-go-name: SignatureAlgorithm\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesEllipticCurveSignatureAlgorithmEnum\n description: 'Optional. A signature algorithm that must be\n used. If this is omitted, any EC-based signature algorithm\n will be allowed. Possible values: EC_SIGNATURE_ALGORITHM_UNSPECIFIED,\n ECDSA_P256, ECDSA_P384, EDDSA_25519'\n enum:\n - EC_SIGNATURE_ALGORITHM_UNSPECIFIED\n - ECDSA_P256\n - ECDSA_P384\n - EDDSA_25519\n rsa:\n type: object\n x-dcl-go-name: Rsa\n x-dcl-go-type: CaPoolIssuancePolicyAllowedKeyTypesRsa\n description: Represents an allowed RSA key type.\n x-dcl-conflicts:\n - ellipticCurve\n properties:\n maxModulusSize:\n type: integer\n format: int64\n x-dcl-go-name: MaxModulusSize\n description: Optional. The maximum allowed RSA modulus size,\n in bits. If this is not set, or if set to zero, the service\n will not enforce an explicit upper bound on RSA modulus\n sizes.\n minModulusSize:\n type: integer\n format: int64\n x-dcl-go-name: MinModulusSize\n description: Optional. The minimum allowed RSA modulus size,\n in bits. If this is not set, or if set to zero, the service-level\n min RSA modulus size will continue to apply.\n baselineValues:\n type: object\n x-dcl-go-name: BaselineValues\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValues\n description: Optional. A set of X.509 values that will be applied to\n all certificates issued through this CaPool. If a certificate request\n includes conflicting values for the same properties, they will be\n overwritten by the values defined here. If a certificate request uses\n a CertificateTemplate that defines conflicting predefined_values for\n the same properties, the certificate issuance request will fail.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-dcl-mutable-unreadable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyBaselineValuesPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n identityConstraints:\n type: object\n x-dcl-go-name: IdentityConstraints\n x-dcl-go-type: CaPoolIssuancePolicyIdentityConstraints\n description: Optional. Describes constraints on identities that may\n appear in Certificates issued through this CaPool. If this is omitted,\n then this CaPool will not add restrictions on a certificate's identity.\n required:\n - allowSubjectPassthrough\n - allowSubjectAltNamesPassthrough\n properties:\n allowSubjectAltNamesPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectAltNamesPassthrough\n description: Required. If this is true, the SubjectAltNames extension\n may be copied from a certificate request into the signed certificate.\n Otherwise, the requested SubjectAltNames will be discarded.\n allowSubjectPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectPassthrough\n description: Required. If this is true, the Subject field may be\n copied from a certificate request into the signed certificate.\n Otherwise, the requested Subject will be discarded.\n celExpression:\n type: object\n x-dcl-go-name: CelExpression\n x-dcl-go-type: CaPoolIssuancePolicyIdentityConstraintsCelExpression\n description: Optional. A CEL expression that may be used to validate\n the resolved X.509 Subject and/or Subject Alternative Name before\n a certificate is signed. To see the full allowed syntax and some\n examples, see https://cloud.google.com/certificate-authority-service/docs/using-cel\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This is\n a longer text which describes the expression, e.g. when hovered\n over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common\n Expression Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the\n expression for error reporting, e.g. a file name and a position\n in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short\n string describing its purpose. This can be used e.g. in UIs\n which allow to enter the expression.\n maximumLifetime:\n type: string\n x-dcl-go-name: MaximumLifetime\n description: Optional. The maximum lifetime allowed for issued Certificates.\n Note that if the issuing CertificateAuthority expires before a Certificate's\n requested maximum_lifetime, the effective lifetime will be explicitly\n truncated to match it.\n passthroughExtensions:\n type: object\n x-dcl-go-name: PassthroughExtensions\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensions\n description: Optional. Describes the set of X.509 extensions that may\n appear in a Certificate issued through this CaPool. If a certificate\n request sets extensions that don't appear in the passthrough_extensions,\n those extensions will be dropped. If a certificate request uses a\n CertificateTemplate with predefined_values that don't appear here,\n the certificate issuance request will fail. If this is omitted, then\n this CaPool will not add restrictions on a certificate's X.509 extensions.\n These constraints do not apply to X.509 extensions set in this CaPool's\n baseline_values.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. A set of ObjectIds identifying custom X.509\n extensions. Will be combined with known_extensions to determine\n the full set of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensionsAdditionalExtensions\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n knownExtensions:\n type: array\n x-dcl-go-name: KnownExtensions\n description: Optional. A set of named X.509 extensions. Will be\n combined with additional_extensions to determine the full set\n of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: CaPoolIssuancePolicyPassthroughExtensionsKnownExtensionsEnum\n enum:\n - KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\n - BASE_KEY_USAGE\n - EXTENDED_KEY_USAGE\n - CA_OPTIONS\n - POLICY_IDS\n - AIA_OCSP_SERVERS\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n publishingOptions:\n type: object\n x-dcl-go-name: PublishingOptions\n x-dcl-go-type: CaPoolPublishingOptions\n description: Optional. The PublishingOptions to follow when issuing Certificates\n from any CertificateAuthority in this CaPool.\n properties:\n publishCaCert:\n type: boolean\n x-dcl-go-name: PublishCaCert\n description: Optional. When true, publishes each CertificateAuthority's\n CA certificate and includes its URL in the \"Authority Information\n Access\" X.509 extension in all issued Certificates. If this is false,\n the CA certificate will not be published and the corresponding X.509\n extension will not be written in issued certificates.\n publishCrl:\n type: boolean\n x-dcl-go-name: PublishCrl\n description: Optional. When true, publishes each CertificateAuthority's\n CRL and includes its URL in the \"CRL Distribution Points\" X.509 extension\n in all issued Certificates. If this is false, CRLs will not be published\n and the corresponding X.509 extension will not be written in issued\n certificates. CRLs will expire 7 days from their creation. However,\n we will rebuild daily. CRLs are also rebuilt shortly after a certificate\n is revoked.\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: CaPoolTierEnum\n description: 'Required. Immutable. The Tier of this CaPool. Possible values:\n TIER_UNSPECIFIED, ENTERPRISE, DEVOPS'\n x-kubernetes-immutable: true\n enum:\n - TIER_UNSPECIFIED\n - ENTERPRISE\n - DEVOPS\n") -// 26957 bytes -// MD5: 43691fb97041965407dfd92ebd056d00 +// 26982 bytes +// MD5: d1d752745f623190b9e52a0393c2a73e diff --git a/services/google/privateca/certificate.yaml b/services/google/privateca/certificate.yaml index 22fb667e7b..3bffe78ffa 100755 --- a/services/google/privateca/certificate.yaml +++ b/services/google/privateca/certificate.yaml @@ -15,6 +15,7 @@ info: title: Privateca/Certificate description: The Privateca Certificate resource x-dcl-struct-name: Certificate + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/privateca/certificate_authority.yaml b/services/google/privateca/certificate_authority.yaml index 7aad4af3a8..da4f7de8c5 100755 --- a/services/google/privateca/certificate_authority.yaml +++ b/services/google/privateca/certificate_authority.yaml @@ -15,6 +15,7 @@ info: title: Privateca/CertificateAuthority description: The Privateca CertificateAuthority resource x-dcl-struct-name: CertificateAuthority + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/privateca/certificate_authority_schema.go b/services/google/privateca/certificate_authority_schema.go index 349388f5a4..7cd1886552 100755 --- a/services/google/privateca/certificate_authority_schema.go +++ b/services/google/privateca/certificate_authority_schema.go @@ -23,6 +23,7 @@ func DCLCertificateAuthoritySchema() *dcl.Schema { Title: "Privateca/CertificateAuthority", Description: "The Privateca CertificateAuthority resource", StructName: "CertificateAuthority", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/privateca/certificate_authority_yaml_embed.go b/services/google/privateca/certificate_authority_yaml_embed.go index f3a573001a..0a9ff363d5 100755 --- a/services/google/privateca/certificate_authority_yaml_embed.go +++ b/services/google/privateca/certificate_authority_yaml_embed.go @@ -17,7 +17,7 @@ package privateca // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/privateca/certificate_authority.yaml -var YAML_certificate_authority = []byte("info:\n title: Privateca/CertificateAuthority\n description: The Privateca CertificateAuthority resource\n x-dcl-struct-name: CertificateAuthority\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n apply:\n description: The function used to apply information about a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n delete:\n description: The function used to delete a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n deleteAll:\n description: The function used to delete all CertificateAuthority\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CertificateAuthority\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CertificateAuthority:\n title: CertificateAuthority\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{ca_pool}}/certificateAuthorities/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - config\n - lifetime\n - keySpec\n - project\n - location\n - caPool\n properties:\n accessUrls:\n type: object\n x-dcl-go-name: AccessUrls\n x-dcl-go-type: CertificateAuthorityAccessUrls\n readOnly: true\n description: Output only. URLs for accessing content published by this CA,\n such as the CA certificate and CRLs.\n x-kubernetes-immutable: true\n properties:\n caCertificateAccessUrl:\n type: string\n x-dcl-go-name: CaCertificateAccessUrl\n description: The URL where this CertificateAuthority's CA certificate\n is published. This will only be set for CAs that have been activated.\n x-kubernetes-immutable: true\n crlAccessUrls:\n type: array\n x-dcl-go-name: CrlAccessUrls\n description: The URLs where this CertificateAuthority's CRLs are published.\n This will only be set for CAs that have been activated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caCertificateDescriptions:\n type: array\n x-dcl-go-name: CaCertificateDescriptions\n readOnly: true\n description: Output only. A structured description of this CertificateAuthority's\n CA certificate and its issuers. Ordered as self-to-root.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptions\n properties:\n aiaIssuingCertificateUrls:\n type: array\n x-dcl-go-name: AiaIssuingCertificateUrls\n description: Describes lists of issuer CA certificate URLs that appear\n in the \"Authority Information Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorityKeyId:\n type: object\n x-dcl-go-name: AuthorityKeyId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsAuthorityKeyId\n description: Identifies the subject_key_id of the parent certificate,\n per https://tools.ietf.org/html/rfc5280#section-4.2.1.1\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n certFingerprint:\n type: object\n x-dcl-go-name: CertFingerprint\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsCertFingerprint\n description: The hash of the x.509 certificate.\n properties:\n sha256Hash:\n type: string\n x-dcl-go-name: Sha256Hash\n description: The SHA 256 hash, encoded in hexadecimal, of the\n DER x509 certificate.\n crlDistributionPoints:\n type: array\n x-dcl-go-name: CrlDistributionPoints\n description: Describes a list of locations to obtain CRL information,\n i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsPublicKey\n description: The public key that corresponds to an issued certificate.\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible\n values: PEM'\n enum:\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding\n must match with the `KeyFormat` value specified for the `format`\n field.\n subjectDescription:\n type: object\n x-dcl-go-name: SubjectDescription\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescription\n description: Describes some of the values in a certificate that are\n related to the subject and lifetime.\n properties:\n hexSerialNumber:\n type: string\n x-dcl-go-name: HexSerialNumber\n description: The serial number encoded in lowercase hexadecimal.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: For convenience, the actual lifetime of an issued\n certificate.\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n description: The time after which the certificate is expired.\n Per RFC 5280, the validity period for a certificate is the period\n of time from not_before_time through not_after_time, inclusive.\n Corresponds to 'not_before_time' + 'lifetime' - 1 second.\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n description: The time at which the certificate becomes valid.\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubject\n description: Contains distinguished name fields such as the common\n name, location and organization.\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of\n the subject.\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltName\n description: The subject alternative name fields.\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name\n values.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltNameCustomSans\n required:\n - objectId\n - critical\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this\n extension is critical (i.e., if the client does not\n know how to handle this extension, the client should\n consider this to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path.\n The most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or\n RFC 4291 IPv6 addresses.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subjectKeyId:\n type: object\n x-dcl-go-name: SubjectKeyId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectKeyId\n description: Provides a means of identifiying certificates that contain\n a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x509Description:\n type: object\n x-dcl-go-name: X509Description\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509Description\n description: Describes some of the technical X.509 fields in a certificate.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n readOnly: true\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension,\n which is a boolean value. When this value is missing, the\n extension will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If\n this value is missing, the max path length will be omitted\n from the CA certificate.\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may\n be used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though\n regularly used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though\n regularly used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are\n not listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy\n object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n caPool:\n type: string\n x-dcl-go-name: CaPool\n description: The caPool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CaPool\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: CertificateAuthorityConfig\n description: Required. Immutable. The config used to create a self-signed\n X.509 certificate or CSR.\n x-kubernetes-immutable: true\n required:\n - subjectConfig\n - x509Config\n properties:\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateAuthorityConfigPublicKey\n readOnly: true\n description: Optional. The public key that corresponds to this config.\n This is, for example, used when issuing Certificates, but not when\n creating a self-signed CertificateAuthority or CertificateAuthority\n CSR.\n x-kubernetes-immutable: true\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateAuthorityConfigPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n PEM'\n x-kubernetes-immutable: true\n enum:\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectConfig:\n type: object\n x-dcl-go-name: SubjectConfig\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfig\n description: Required. Specifies some of the values in a certificate\n that are related to the subject.\n x-kubernetes-immutable: true\n required:\n - subject\n properties:\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubject\n description: Required. Contains distinguished name fields such as\n the common name, location and organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltName\n description: Optional. The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name values.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltNameCustomSans\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x509Config:\n type: object\n x-dcl-go-name: X509Config\n x-dcl-go-type: CertificateAuthorityConfigX509Config\n description: Required. Describes how some of the technical X.509 fields\n in a certificate should be populated.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n readOnly: true\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n soft deleted, if it is in the DELETED state.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority will\n be permanently purged, if it is in the DELETED state.\n x-kubernetes-immutable: true\n gcsBucket:\n type: string\n x-dcl-go-name: GcsBucket\n description: Immutable. The name of a Cloud Storage bucket where this CertificateAuthority\n will publish content, such as the CA certificate and CRLs. This must be\n a bucket name, without any prefixes (such as `gs://`) or suffixes (such\n as `.googleapis.com`). For example, to use a bucket named `my-bucket`,\n you would simply specify `my-bucket`. If not specified, a managed bucket\n will be created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n keySpec:\n type: object\n x-dcl-go-name: KeySpec\n x-dcl-go-type: CertificateAuthorityKeySpec\n description: Required. Immutable. Used when issuing certificates for this\n CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority,\n this key is also used to sign the self-signed CA certificate. Otherwise,\n it is used to sign a CSR.\n x-kubernetes-immutable: true\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CertificateAuthorityKeySpecAlgorithmEnum\n description: 'The algorithm to use for creating a managed Cloud KMS\n key for a for a simplified experience. All managed keys will be have\n their ProtectionLevel as `HSM`. Possible values: RSA_PSS_2048_SHA256,\n RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256, RSA_PKCS1_2048_SHA256, RSA_PKCS1_3072_SHA256,\n RSA_PKCS1_4096_SHA256, EC_P256_SHA256, EC_P384_SHA384'\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudKmsKeyVersion\n enum:\n - RSA_PSS_2048_SHA256\n - RSA_PSS_3072_SHA256\n - RSA_PSS_4096_SHA256\n - RSA_PKCS1_2048_SHA256\n - RSA_PKCS1_3072_SHA256\n - RSA_PKCS1_4096_SHA256\n - EC_P256_SHA256\n - EC_P384_SHA384\n cloudKmsKeyVersion:\n type: string\n x-dcl-go-name: CloudKmsKeyVersion\n description: The resource name for an existing Cloud KMS CryptoKeyVersion\n in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n This option enables full flexibility in the key's capabilities and\n properties.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - algorithm\n x-dcl-references:\n - resource: Cloudkms/CryptoKeyVersion\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: Required. The desired lifetime of the CA certificate. Used\n to create the \"not_before_time\" and \"not_after_time\" fields inside an\n X.509 certificate.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CertificateAuthority in the format\n `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n pemCaCertificates:\n type: array\n x-dcl-go-name: PemCaCertificates\n readOnly: true\n description: Output only. This CertificateAuthority's certificate chain,\n including the current CertificateAuthority's certificate. Ordered such\n that the root issuer is the final element (consistent with RFC 5246).\n For a self-signed CA, this will only list the current CertificateAuthority's\n certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CertificateAuthorityStateEnum\n readOnly: true\n description: 'Output only. The State for this CertificateAuthority. Possible\n values: ENABLED, DISABLED, STAGED, AWAITING_USER_ACTIVATION, DELETED'\n x-kubernetes-immutable: true\n enum:\n - ENABLED\n - DISABLED\n - STAGED\n - AWAITING_USER_ACTIVATION\n - DELETED\n subordinateConfig:\n type: object\n x-dcl-go-name: SubordinateConfig\n x-dcl-go-type: CertificateAuthoritySubordinateConfig\n readOnly: true\n description: Optional. If this is a subordinate CertificateAuthority, this\n field will be set with the subordinate configuration, which describes\n its issuers. This may be updated, but this CertificateAuthority must continue\n to validate.\n x-kubernetes-immutable: true\n properties:\n certificateAuthority:\n type: string\n x-dcl-go-name: CertificateAuthority\n description: Required. This can refer to a CertificateAuthority in the\n same project that was used to create a subordinate CertificateAuthority.\n This field is used for information and usability purposes only. The\n resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - pemIssuerChain\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: selfLink\n pemIssuerChain:\n type: object\n x-dcl-go-name: PemIssuerChain\n x-dcl-go-type: CertificateAuthoritySubordinateConfigPemIssuerChain\n description: Required. Contains the PEM certificate chain for the issuers\n of this CertificateAuthority, but not pem certificate for this CA\n itself.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - certificateAuthority\n required:\n - pemCertificates\n properties:\n pemCertificates:\n type: array\n x-dcl-go-name: PemCertificates\n description: Required. Expected to be in leaf-to-root order according\n to RFC 5246.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: CertificateAuthorityTierEnum\n readOnly: true\n description: 'Output only. The CaPool.Tier of the CaPool that includes this\n CertificateAuthority. Possible values: ENTERPRISE, DEVOPS'\n x-kubernetes-immutable: true\n enum:\n - ENTERPRISE\n - DEVOPS\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: CertificateAuthorityTypeEnum\n description: 'Required. Immutable. The Type of this CertificateAuthority.\n Possible values: SELF_SIGNED, SUBORDINATE'\n x-kubernetes-immutable: true\n enum:\n - SELF_SIGNED\n - SUBORDINATE\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n last updated.\n x-kubernetes-immutable: true\n") +var YAML_certificate_authority = []byte("info:\n title: Privateca/CertificateAuthority\n description: The Privateca CertificateAuthority resource\n x-dcl-struct-name: CertificateAuthority\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n apply:\n description: The function used to apply information about a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n delete:\n description: The function used to delete a CertificateAuthority\n parameters:\n - name: CertificateAuthority\n required: true\n description: A full instance of a CertificateAuthority\n deleteAll:\n description: The function used to delete all CertificateAuthority\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CertificateAuthority\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CertificateAuthority:\n title: CertificateAuthority\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{ca_pool}}/certificateAuthorities/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - type\n - config\n - lifetime\n - keySpec\n - project\n - location\n - caPool\n properties:\n accessUrls:\n type: object\n x-dcl-go-name: AccessUrls\n x-dcl-go-type: CertificateAuthorityAccessUrls\n readOnly: true\n description: Output only. URLs for accessing content published by this CA,\n such as the CA certificate and CRLs.\n x-kubernetes-immutable: true\n properties:\n caCertificateAccessUrl:\n type: string\n x-dcl-go-name: CaCertificateAccessUrl\n description: The URL where this CertificateAuthority's CA certificate\n is published. This will only be set for CAs that have been activated.\n x-kubernetes-immutable: true\n crlAccessUrls:\n type: array\n x-dcl-go-name: CrlAccessUrls\n description: The URLs where this CertificateAuthority's CRLs are published.\n This will only be set for CAs that have been activated.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caCertificateDescriptions:\n type: array\n x-dcl-go-name: CaCertificateDescriptions\n readOnly: true\n description: Output only. A structured description of this CertificateAuthority's\n CA certificate and its issuers. Ordered as self-to-root.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptions\n properties:\n aiaIssuingCertificateUrls:\n type: array\n x-dcl-go-name: AiaIssuingCertificateUrls\n description: Describes lists of issuer CA certificate URLs that appear\n in the \"Authority Information Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorityKeyId:\n type: object\n x-dcl-go-name: AuthorityKeyId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsAuthorityKeyId\n description: Identifies the subject_key_id of the parent certificate,\n per https://tools.ietf.org/html/rfc5280#section-4.2.1.1\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n certFingerprint:\n type: object\n x-dcl-go-name: CertFingerprint\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsCertFingerprint\n description: The hash of the x.509 certificate.\n properties:\n sha256Hash:\n type: string\n x-dcl-go-name: Sha256Hash\n description: The SHA 256 hash, encoded in hexadecimal, of the\n DER x509 certificate.\n crlDistributionPoints:\n type: array\n x-dcl-go-name: CrlDistributionPoints\n description: Describes a list of locations to obtain CRL information,\n i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsPublicKey\n description: The public key that corresponds to an issued certificate.\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible\n values: PEM'\n enum:\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding\n must match with the `KeyFormat` value specified for the `format`\n field.\n subjectDescription:\n type: object\n x-dcl-go-name: SubjectDescription\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescription\n description: Describes some of the values in a certificate that are\n related to the subject and lifetime.\n properties:\n hexSerialNumber:\n type: string\n x-dcl-go-name: HexSerialNumber\n description: The serial number encoded in lowercase hexadecimal.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: For convenience, the actual lifetime of an issued\n certificate.\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n description: The time after which the certificate is expired.\n Per RFC 5280, the validity period for a certificate is the period\n of time from not_before_time through not_after_time, inclusive.\n Corresponds to 'not_before_time' + 'lifetime' - 1 second.\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n description: The time at which the certificate becomes valid.\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubject\n description: Contains distinguished name fields such as the common\n name, location and organization.\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of\n the subject.\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltName\n description: The subject alternative name fields.\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name\n values.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltNameCustomSans\n required:\n - objectId\n - critical\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this\n extension is critical (i.e., if the client does not\n know how to handle this extension, the client should\n consider this to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectDescriptionSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path.\n The most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or\n RFC 4291 IPv6 addresses.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subjectKeyId:\n type: object\n x-dcl-go-name: SubjectKeyId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsSubjectKeyId\n description: Provides a means of identifiying certificates that contain\n a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x509Description:\n type: object\n x-dcl-go-name: X509Description\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509Description\n description: Describes some of the technical X.509 fields in a certificate.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n readOnly: true\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension,\n which is a boolean value. When this value is missing, the\n extension will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If\n this value is missing, the max path length will be omitted\n from the CA certificate.\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may\n be used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though\n regularly used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though\n regularly used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are\n not listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy\n object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityCaCertificateDescriptionsX509DescriptionPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n caPool:\n type: string\n x-dcl-go-name: CaPool\n description: The caPool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CaPool\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: CertificateAuthorityConfig\n description: Required. Immutable. The config used to create a self-signed\n X.509 certificate or CSR.\n x-kubernetes-immutable: true\n required:\n - subjectConfig\n - x509Config\n properties:\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateAuthorityConfigPublicKey\n readOnly: true\n description: Optional. The public key that corresponds to this config.\n This is, for example, used when issuing Certificates, but not when\n creating a self-signed CertificateAuthority or CertificateAuthority\n CSR.\n x-kubernetes-immutable: true\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateAuthorityConfigPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n PEM'\n x-kubernetes-immutable: true\n enum:\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectConfig:\n type: object\n x-dcl-go-name: SubjectConfig\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfig\n description: Required. Specifies some of the values in a certificate\n that are related to the subject.\n x-kubernetes-immutable: true\n required:\n - subject\n properties:\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubject\n description: Required. Contains distinguished name fields such as\n the common name, location and organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltName\n description: Optional. The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name values.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltNameCustomSans\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityConfigSubjectConfigSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x509Config:\n type: object\n x-dcl-go-name: X509Config\n x-dcl-go-type: CertificateAuthorityConfigX509Config\n description: Required. Describes how some of the technical X.509 fields\n in a certificate should be populated.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n readOnly: true\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateAuthorityConfigX509ConfigPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n soft deleted, if it is in the DELETED state.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority will\n be permanently purged, if it is in the DELETED state.\n x-kubernetes-immutable: true\n gcsBucket:\n type: string\n x-dcl-go-name: GcsBucket\n description: Immutable. The name of a Cloud Storage bucket where this CertificateAuthority\n will publish content, such as the CA certificate and CRLs. This must be\n a bucket name, without any prefixes (such as `gs://`) or suffixes (such\n as `.googleapis.com`). For example, to use a bucket named `my-bucket`,\n you would simply specify `my-bucket`. If not specified, a managed bucket\n will be created.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n keySpec:\n type: object\n x-dcl-go-name: KeySpec\n x-dcl-go-type: CertificateAuthorityKeySpec\n description: Required. Immutable. Used when issuing certificates for this\n CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority,\n this key is also used to sign the self-signed CA certificate. Otherwise,\n it is used to sign a CSR.\n x-kubernetes-immutable: true\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: CertificateAuthorityKeySpecAlgorithmEnum\n description: 'The algorithm to use for creating a managed Cloud KMS\n key for a for a simplified experience. All managed keys will be have\n their ProtectionLevel as `HSM`. Possible values: RSA_PSS_2048_SHA256,\n RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256, RSA_PKCS1_2048_SHA256, RSA_PKCS1_3072_SHA256,\n RSA_PKCS1_4096_SHA256, EC_P256_SHA256, EC_P384_SHA384'\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - cloudKmsKeyVersion\n enum:\n - RSA_PSS_2048_SHA256\n - RSA_PSS_3072_SHA256\n - RSA_PSS_4096_SHA256\n - RSA_PKCS1_2048_SHA256\n - RSA_PKCS1_3072_SHA256\n - RSA_PKCS1_4096_SHA256\n - EC_P256_SHA256\n - EC_P384_SHA384\n cloudKmsKeyVersion:\n type: string\n x-dcl-go-name: CloudKmsKeyVersion\n description: The resource name for an existing Cloud KMS CryptoKeyVersion\n in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n This option enables full flexibility in the key's capabilities and\n properties.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - algorithm\n x-dcl-references:\n - resource: Cloudkms/CryptoKeyVersion\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: Required. The desired lifetime of the CA certificate. Used\n to create the \"not_before_time\" and \"not_after_time\" fields inside an\n X.509 certificate.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CertificateAuthority in the format\n `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n pemCaCertificates:\n type: array\n x-dcl-go-name: PemCaCertificates\n readOnly: true\n description: Output only. This CertificateAuthority's certificate chain,\n including the current CertificateAuthority's certificate. Ordered such\n that the root issuer is the final element (consistent with RFC 5246).\n For a self-signed CA, this will only list the current CertificateAuthority's\n certificate.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: CertificateAuthorityStateEnum\n readOnly: true\n description: 'Output only. The State for this CertificateAuthority. Possible\n values: ENABLED, DISABLED, STAGED, AWAITING_USER_ACTIVATION, DELETED'\n x-kubernetes-immutable: true\n enum:\n - ENABLED\n - DISABLED\n - STAGED\n - AWAITING_USER_ACTIVATION\n - DELETED\n subordinateConfig:\n type: object\n x-dcl-go-name: SubordinateConfig\n x-dcl-go-type: CertificateAuthoritySubordinateConfig\n readOnly: true\n description: Optional. If this is a subordinate CertificateAuthority, this\n field will be set with the subordinate configuration, which describes\n its issuers. This may be updated, but this CertificateAuthority must continue\n to validate.\n x-kubernetes-immutable: true\n properties:\n certificateAuthority:\n type: string\n x-dcl-go-name: CertificateAuthority\n description: Required. This can refer to a CertificateAuthority in the\n same project that was used to create a subordinate CertificateAuthority.\n This field is used for information and usability purposes only. The\n resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - pemIssuerChain\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: selfLink\n pemIssuerChain:\n type: object\n x-dcl-go-name: PemIssuerChain\n x-dcl-go-type: CertificateAuthoritySubordinateConfigPemIssuerChain\n description: Required. Contains the PEM certificate chain for the issuers\n of this CertificateAuthority, but not pem certificate for this CA\n itself.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - certificateAuthority\n required:\n - pemCertificates\n properties:\n pemCertificates:\n type: array\n x-dcl-go-name: PemCertificates\n description: Required. Expected to be in leaf-to-root order according\n to RFC 5246.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n tier:\n type: string\n x-dcl-go-name: Tier\n x-dcl-go-type: CertificateAuthorityTierEnum\n readOnly: true\n description: 'Output only. The CaPool.Tier of the CaPool that includes this\n CertificateAuthority. Possible values: ENTERPRISE, DEVOPS'\n x-kubernetes-immutable: true\n enum:\n - ENTERPRISE\n - DEVOPS\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: CertificateAuthorityTypeEnum\n description: 'Required. Immutable. The Type of this CertificateAuthority.\n Possible values: SELF_SIGNED, SUBORDINATE'\n x-kubernetes-immutable: true\n enum:\n - SELF_SIGNED\n - SUBORDINATE\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this CertificateAuthority was\n last updated.\n x-kubernetes-immutable: true\n") -// 60170 bytes -// MD5: d38bae061e8d9c5efe45734eb51cb46e +// 60195 bytes +// MD5: eebfa096992ea881493160bfb680bd7c diff --git a/services/google/privateca/certificate_schema.go b/services/google/privateca/certificate_schema.go index 6ee9cba64d..8ffd065d61 100755 --- a/services/google/privateca/certificate_schema.go +++ b/services/google/privateca/certificate_schema.go @@ -23,6 +23,7 @@ func DCLCertificateSchema() *dcl.Schema { Title: "Privateca/Certificate", Description: "The Privateca Certificate resource", StructName: "Certificate", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/privateca/certificate_template.yaml b/services/google/privateca/certificate_template.yaml index ba987214bd..f9969de8af 100755 --- a/services/google/privateca/certificate_template.yaml +++ b/services/google/privateca/certificate_template.yaml @@ -19,6 +19,7 @@ info: an organization. A certificate template can essentially become a full-fledged vertical certificate issuance framework. x-dcl-struct-name: CertificateTemplate + x-dcl-has-create: true x-dcl-has-iam: false x-dcl-ref: text: REST API diff --git a/services/google/privateca/certificate_template_schema.go b/services/google/privateca/certificate_template_schema.go index 56cf0e8e06..227f1162bb 100755 --- a/services/google/privateca/certificate_template_schema.go +++ b/services/google/privateca/certificate_template_schema.go @@ -23,6 +23,7 @@ func DCLCertificateTemplateSchema() *dcl.Schema { Title: "Privateca/CertificateTemplate", Description: "Certificate Authority Service provides reusable and parameterized templates that you can use for common certificate issuance scenarios. A certificate template represents a relatively static and well-defined certificate issuance schema within an organization. A certificate template can essentially become a full-fledged vertical certificate issuance framework.", StructName: "CertificateTemplate", + HasCreate: true, Reference: &dcl.Link{ Text: "REST API", URL: "https://cloud.google.com/certificate-authority-service/docs/reference/rest/v1/projects.locations.certificateTemplates", diff --git a/services/google/privateca/certificate_template_yaml_embed.go b/services/google/privateca/certificate_template_yaml_embed.go index 0d61d0aa8b..3c5512a526 100755 --- a/services/google/privateca/certificate_template_yaml_embed.go +++ b/services/google/privateca/certificate_template_yaml_embed.go @@ -17,7 +17,7 @@ package privateca // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/privateca/certificate_template.yaml -var YAML_certificate_template = []byte("info:\n title: Privateca/CertificateTemplate\n description: Certificate Authority Service provides reusable and parameterized templates\n that you can use for common certificate issuance scenarios. A certificate template\n represents a relatively static and well-defined certificate issuance schema within\n an organization. A certificate template can essentially become a full-fledged\n vertical certificate issuance framework.\n x-dcl-struct-name: CertificateTemplate\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/certificate-authority-service/docs/reference/rest/v1/projects.locations.certificateTemplates\n x-dcl-guides:\n - text: Understanding Certificate Templates\n url: https://cloud.google.com/certificate-authority-service/docs/certificate-template\n - text: Common configurations and Certificate Profiles\n url: https://cloud.google.com/certificate-authority-service/docs/certificate-profile\npaths:\n get:\n description: The function used to get information about a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n apply:\n description: The function used to apply information about a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n delete:\n description: The function used to delete a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n deleteAll:\n description: The function used to delete all CertificateTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CertificateTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CertificateTemplate:\n title: CertificateTemplate\n x-dcl-id: projects/{{project}}/locations/{{location}}/certificateTemplates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CertificateTemplate was\n created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human-readable description of scenarios this template\n is intended for.\n identityConstraints:\n type: object\n x-dcl-go-name: IdentityConstraints\n x-dcl-go-type: CertificateTemplateIdentityConstraints\n description: Optional. Describes constraints on identities that may be appear\n in Certificates issued using this template. If this is omitted, then this\n template will not add restrictions on a certificate's identity.\n required:\n - allowSubjectPassthrough\n - allowSubjectAltNamesPassthrough\n properties:\n allowSubjectAltNamesPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectAltNamesPassthrough\n description: Required. If this is true, the SubjectAltNames extension\n may be copied from a certificate request into the signed certificate.\n Otherwise, the requested SubjectAltNames will be discarded.\n allowSubjectPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectPassthrough\n description: Required. If this is true, the Subject field may be copied\n from a certificate request into the signed certificate. Otherwise,\n the requested Subject will be discarded.\n celExpression:\n type: object\n x-dcl-go-name: CelExpression\n x-dcl-go-type: CertificateTemplateIdentityConstraintsCelExpression\n description: Optional. A CEL expression that may be used to validate\n the resolved X.509 Subject and/or Subject Alternative Name before\n a certificate is signed. To see the full allowed syntax and some examples,\n see https://cloud.google.com/certificate-authority-service/docs/using-cel\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This is a\n longer text which describes the expression, e.g. when hovered\n over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common Expression\n Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the expression\n for error reporting, e.g. a file name and a position in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short string\n describing its purpose. This can be used e.g. in UIs which allow\n to enter the expression.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CertificateTemplate in the format\n `projects/*/locations/*/certificateTemplates/*`.\n x-kubernetes-immutable: true\n passthroughExtensions:\n type: object\n x-dcl-go-name: PassthroughExtensions\n x-dcl-go-type: CertificateTemplatePassthroughExtensions\n description: Optional. Describes the set of X.509 extensions that may appear\n in a Certificate issued using this CertificateTemplate. If a certificate\n request sets extensions that don't appear in the passthrough_extensions,\n those extensions will be dropped. If the issuing CaPool's IssuancePolicy\n defines baseline_values that don't appear here, the certificate issuance\n request will fail. If this is omitted, then this template will not add\n restrictions on a certificate's X.509 extensions. These constraints do\n not apply to X.509 extensions set in this CertificateTemplate's predefined_values.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. A set of ObjectIds identifying custom X.509 extensions.\n Will be combined with known_extensions to determine the full set of\n X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePassthroughExtensionsAdditionalExtensions\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most significant\n parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n knownExtensions:\n type: array\n x-dcl-go-name: KnownExtensions\n description: Optional. A set of named X.509 extensions. Will be combined\n with additional_extensions to determine the full set of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: CertificateTemplatePassthroughExtensionsKnownExtensionsEnum\n enum:\n - KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\n - BASE_KEY_USAGE\n - EXTENDED_KEY_USAGE\n - CA_OPTIONS\n - POLICY_IDS\n - AIA_OCSP_SERVERS\n predefinedValues:\n type: object\n x-dcl-go-name: PredefinedValues\n x-dcl-go-type: CertificateTemplatePredefinedValues\n description: Optional. A set of X.509 values that will be applied to all\n issued certificates that use this template. If the certificate request\n includes conflicting values for the same properties, they will be overwritten\n by the values defined here. If the issuing CaPool's IssuancePolicy defines\n conflicting baseline_values for the same properties, the certificate issuance\n request will fail.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateTemplatePredefinedValuesAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateTemplatePredefinedValuesCaOptions\n description: Optional. Describes options in this X509Parameters that\n are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction X.509\n extension. For a CA certificate, this value describes the depth\n of subordinate CA certificates that are allowed. If this value\n is less than 0, the request will fail. If this value is missing,\n the max path length will be omitted from the CA certificate.\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsage\n description: Optional. Indicates the intended use for keys that correspond\n to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code client\n authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not listed\n in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most significant\n parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this CertificateTemplate was\n updated.\n x-kubernetes-immutable: true\n") +var YAML_certificate_template = []byte("info:\n title: Privateca/CertificateTemplate\n description: Certificate Authority Service provides reusable and parameterized templates\n that you can use for common certificate issuance scenarios. A certificate template\n represents a relatively static and well-defined certificate issuance schema within\n an organization. A certificate template can essentially become a full-fledged\n vertical certificate issuance framework.\n x-dcl-struct-name: CertificateTemplate\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-ref:\n text: REST API\n url: https://cloud.google.com/certificate-authority-service/docs/reference/rest/v1/projects.locations.certificateTemplates\n x-dcl-guides:\n - text: Understanding Certificate Templates\n url: https://cloud.google.com/certificate-authority-service/docs/certificate-template\n - text: Common configurations and Certificate Profiles\n url: https://cloud.google.com/certificate-authority-service/docs/certificate-profile\npaths:\n get:\n description: The function used to get information about a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n apply:\n description: The function used to apply information about a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n delete:\n description: The function used to delete a CertificateTemplate\n parameters:\n - name: CertificateTemplate\n required: true\n description: A full instance of a CertificateTemplate\n deleteAll:\n description: The function used to delete all CertificateTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many CertificateTemplate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n CertificateTemplate:\n title: CertificateTemplate\n x-dcl-id: projects/{{project}}/locations/{{location}}/certificateTemplates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this CertificateTemplate was\n created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human-readable description of scenarios this template\n is intended for.\n identityConstraints:\n type: object\n x-dcl-go-name: IdentityConstraints\n x-dcl-go-type: CertificateTemplateIdentityConstraints\n description: Optional. Describes constraints on identities that may be appear\n in Certificates issued using this template. If this is omitted, then this\n template will not add restrictions on a certificate's identity.\n required:\n - allowSubjectPassthrough\n - allowSubjectAltNamesPassthrough\n properties:\n allowSubjectAltNamesPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectAltNamesPassthrough\n description: Required. If this is true, the SubjectAltNames extension\n may be copied from a certificate request into the signed certificate.\n Otherwise, the requested SubjectAltNames will be discarded.\n allowSubjectPassthrough:\n type: boolean\n x-dcl-go-name: AllowSubjectPassthrough\n description: Required. If this is true, the Subject field may be copied\n from a certificate request into the signed certificate. Otherwise,\n the requested Subject will be discarded.\n celExpression:\n type: object\n x-dcl-go-name: CelExpression\n x-dcl-go-type: CertificateTemplateIdentityConstraintsCelExpression\n description: Optional. A CEL expression that may be used to validate\n the resolved X.509 Subject and/or Subject Alternative Name before\n a certificate is signed. To see the full allowed syntax and some examples,\n see https://cloud.google.com/certificate-authority-service/docs/using-cel\n properties:\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the expression. This is a\n longer text which describes the expression, e.g. when hovered\n over it in a UI.\n expression:\n type: string\n x-dcl-go-name: Expression\n description: Textual representation of an expression in Common Expression\n Language syntax.\n location:\n type: string\n x-dcl-go-name: Location\n description: Optional. String indicating the location of the expression\n for error reporting, e.g. a file name and a position in the file.\n title:\n type: string\n x-dcl-go-name: Title\n description: Optional. Title for the expression, i.e. a short string\n describing its purpose. This can be used e.g. in UIs which allow\n to enter the expression.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this CertificateTemplate in the format\n `projects/*/locations/*/certificateTemplates/*`.\n x-kubernetes-immutable: true\n passthroughExtensions:\n type: object\n x-dcl-go-name: PassthroughExtensions\n x-dcl-go-type: CertificateTemplatePassthroughExtensions\n description: Optional. Describes the set of X.509 extensions that may appear\n in a Certificate issued using this CertificateTemplate. If a certificate\n request sets extensions that don't appear in the passthrough_extensions,\n those extensions will be dropped. If the issuing CaPool's IssuancePolicy\n defines baseline_values that don't appear here, the certificate issuance\n request will fail. If this is omitted, then this template will not add\n restrictions on a certificate's X.509 extensions. These constraints do\n not apply to X.509 extensions set in this CertificateTemplate's predefined_values.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. A set of ObjectIds identifying custom X.509 extensions.\n Will be combined with known_extensions to determine the full set of\n X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePassthroughExtensionsAdditionalExtensions\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most significant\n parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n knownExtensions:\n type: array\n x-dcl-go-name: KnownExtensions\n description: Optional. A set of named X.509 extensions. Will be combined\n with additional_extensions to determine the full set of X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: CertificateTemplatePassthroughExtensionsKnownExtensionsEnum\n enum:\n - KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\n - BASE_KEY_USAGE\n - EXTENDED_KEY_USAGE\n - CA_OPTIONS\n - POLICY_IDS\n - AIA_OCSP_SERVERS\n predefinedValues:\n type: object\n x-dcl-go-name: PredefinedValues\n x-dcl-go-type: CertificateTemplatePredefinedValues\n description: Optional. A set of X.509 values that will be applied to all\n issued certificates that use this template. If the certificate request\n includes conflicting values for the same properties, they will be overwritten\n by the values defined here. If the issuing CaPool's IssuancePolicy defines\n conflicting baseline_values for the same properties, the certificate issuance\n request will fail.\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an error).\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateTemplatePredefinedValuesAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateTemplatePredefinedValuesCaOptions\n description: Optional. Describes options in this X509Parameters that\n are relevant in a CA certificate.\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction X.509\n extension. For a CA certificate, this value describes the depth\n of subordinate CA certificates that are allowed. If this value\n is less than 0, the request will fail. If this value is missing,\n the max path length will be omitted from the CA certificate.\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsage\n description: Optional. Indicates the intended use for keys that correspond\n to a certificate.\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be used.\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code client\n authentication\".\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not listed\n in the KeyUsage.ExtendedKeyUsageOptions message.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateTemplatePredefinedValuesPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most significant\n parts of the path come first.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this CertificateTemplate was\n updated.\n x-kubernetes-immutable: true\n") -// 20887 bytes -// MD5: 8b5b396ac288649acc6cc5d985851631 +// 20912 bytes +// MD5: e8f878c0ae104d2f806570b491065dae diff --git a/services/google/privateca/certificate_yaml_embed.go b/services/google/privateca/certificate_yaml_embed.go index 0ac6bb1dac..e2cb6bf342 100755 --- a/services/google/privateca/certificate_yaml_embed.go +++ b/services/google/privateca/certificate_yaml_embed.go @@ -17,7 +17,7 @@ package privateca // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/privateca/certificate.yaml -var YAML_certificate = []byte("info:\n title: Privateca/Certificate\n description: The Privateca Certificate resource\n x-dcl-struct-name: Certificate\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n apply:\n description: The function used to apply information about a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n delete:\n description: The function used to delete a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n deleteAll:\n description: The function used to delete all Certificate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Certificate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Certificate:\n title: Certificate\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{ca_pool}}/certificates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - lifetime\n - project\n - location\n - caPool\n properties:\n caPool:\n type: string\n x-dcl-go-name: CaPool\n description: The ca_pool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CaPool\n field: name\n parent: true\n certificateAuthority:\n type: string\n x-dcl-go-name: CertificateAuthority\n description: The certificate authority for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: name\n certificateDescription:\n type: object\n x-dcl-go-name: CertificateDescription\n x-dcl-go-type: CertificateCertificateDescription\n readOnly: true\n description: Output only. A structured description of the issued X.509 certificate.\n x-kubernetes-immutable: true\n properties:\n aiaIssuingCertificateUrls:\n type: array\n x-dcl-go-name: AiaIssuingCertificateUrls\n description: Describes lists of issuer CA certificate URLs that appear\n in the \"Authority Information Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorityKeyId:\n type: object\n x-dcl-go-name: AuthorityKeyId\n x-dcl-go-type: CertificateCertificateDescriptionAuthorityKeyId\n description: Identifies the subject_key_id of the parent certificate,\n per https://tools.ietf.org/html/rfc5280#section-4.2.1.1\n x-kubernetes-immutable: true\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x-kubernetes-immutable: true\n certFingerprint:\n type: object\n x-dcl-go-name: CertFingerprint\n x-dcl-go-type: CertificateCertificateDescriptionCertFingerprint\n description: The hash of the x.509 certificate.\n x-kubernetes-immutable: true\n properties:\n sha256Hash:\n type: string\n x-dcl-go-name: Sha256Hash\n description: The SHA 256 hash, encoded in hexadecimal, of the DER\n x509 certificate.\n x-kubernetes-immutable: true\n crlDistributionPoints:\n type: array\n x-dcl-go-name: CrlDistributionPoints\n description: Describes a list of locations to obtain CRL information,\n i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateCertificateDescriptionPublicKey\n description: The public key that corresponds to an issued certificate.\n x-kubernetes-immutable: true\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateCertificateDescriptionPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n KEY_FORMAT_UNSPECIFIED, PEM'\n x-kubernetes-immutable: true\n enum:\n - KEY_FORMAT_UNSPECIFIED\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectDescription:\n type: object\n x-dcl-go-name: SubjectDescription\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescription\n description: Describes some of the values in a certificate that are\n related to the subject and lifetime.\n x-kubernetes-immutable: true\n properties:\n hexSerialNumber:\n type: string\n x-dcl-go-name: HexSerialNumber\n description: The serial number encoded in lowercase hexadecimal.\n x-kubernetes-immutable: true\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: For convenience, the actual lifetime of an issued certificate.\n x-kubernetes-immutable: true\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n description: The time after which the certificate is expired. Per\n RFC 5280, the validity period for a certificate is the period\n of time from not_before_time through not_after_time, inclusive.\n Corresponds to 'not_before_time' + 'lifetime' - 1 second.\n x-kubernetes-immutable: true\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n description: The time at which the certificate becomes valid.\n x-kubernetes-immutable: true\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubject\n description: Contains distinguished name fields such as the common\n name, location and / organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltName\n description: The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name values.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSans\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subjectKeyId:\n type: object\n x-dcl-go-name: SubjectKeyId\n x-dcl-go-type: CertificateCertificateDescriptionSubjectKeyId\n description: Provides a means of identifiying certificates that contain\n a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.\n x-kubernetes-immutable: true\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x-kubernetes-immutable: true\n x509Description:\n type: object\n x-dcl-go-name: X509Description\n x-dcl-go-type: CertificateCertificateDescriptionX509Description\n description: Describes some of the technical X.509 fields in a certificate.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionAdditionalExtensions\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageUnknownExtendedKeyUsages\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionPolicyIds\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n certificateTemplate:\n type: string\n x-dcl-go-name: CertificateTemplate\n description: Immutable. The resource name for a CertificateTemplate used\n to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`.\n If this is specified, the caller must have the necessary permission to\n use this template. If this is omitted, no template will be used. This\n template must be in the same location as the Certificate.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateTemplate\n field: selfLink\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: CertificateConfig\n description: Immutable. A description of the certificate and key that does\n not require X.509 or ASN.1.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - pemCsr\n required:\n - subjectConfig\n - x509Config\n properties:\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateConfigPublicKey\n description: Optional. The public key that corresponds to this config.\n This is, for example, used when issuing Certificates, but not when\n creating a self-signed CertificateAuthority or CertificateAuthority\n CSR.\n x-kubernetes-immutable: true\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateConfigPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n KEY_FORMAT_UNSPECIFIED, PEM'\n x-kubernetes-immutable: true\n enum:\n - KEY_FORMAT_UNSPECIFIED\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectConfig:\n type: object\n x-dcl-go-name: SubjectConfig\n x-dcl-go-type: CertificateConfigSubjectConfig\n description: Required. Specifies some of the values in a certificate\n that are related to the subject.\n x-kubernetes-immutable: true\n required:\n - subject\n properties:\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateConfigSubjectConfigSubject\n description: Required. Contains distinguished name fields such as\n the common name, location and organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateConfigSubjectConfigSubjectAltName\n description: Optional. The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x509Config:\n type: object\n x-dcl-go-name: X509Config\n x-dcl-go-type: CertificateConfigX509Config\n description: Required. Describes how some of the technical X.509 fields\n in a certificate should be populated.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateConfigX509ConfigAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateConfigX509ConfigCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. When true, the \"CA\" in Basic Constraints\n extension will be set to true.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the \"path length constraint\"\n in Basic Constraints extension. For a CA certificate, this\n value describes the depth of subordinate CA certificates that\n are allowed. If this value is less than 0, the request will\n fail.\n x-kubernetes-immutable: true\n nonCa:\n type: boolean\n x-dcl-go-name: NonCa\n description: Optional. When true, the \"CA\" in Basic Constraints\n extension will be set to false. If both `is_ca` and `non_ca`\n are unset, the extension will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n zeroMaxIssuerPathLength:\n type: boolean\n x-dcl-go-name: ZeroMaxIssuerPathLength\n description: Optional. When true, the \"path length constraint\"\n in Basic Constraints extension will be set to 0. if both max_issuer_path_length\n and zero_max_issuer_path_length are unset, the max path length\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this Certificate was created.\n x-kubernetes-immutable: true\n issuerCertificateAuthority:\n type: string\n x-dcl-go-name: IssuerCertificateAuthority\n readOnly: true\n description: Output only. The resource name of the issuing CertificateAuthority\n in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: selfLink\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: Required. Immutable. The desired lifetime of a certificate.\n Used to create the \"not_before_time\" and \"not_after_time\" fields inside\n an X.509 certificate. Note that the lifetime may be truncated if it would\n extend past the life of any certificate authority in the issuing chain.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.\n x-kubernetes-immutable: true\n pemCertificate:\n type: string\n x-dcl-go-name: PemCertificate\n readOnly: true\n description: Output only. The pem-encoded, signed X.509 certificate.\n x-kubernetes-immutable: true\n pemCertificateChain:\n type: array\n x-dcl-go-name: PemCertificateChain\n readOnly: true\n description: Output only. The chain that may be used to verify the X.509\n certificate. Expected to be in issuer-to-root order according to RFC 5246.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n pemCsr:\n type: string\n x-dcl-go-name: PemCsr\n description: Immutable. A pem-encoded X.509 certificate signing request\n (CSR).\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - config\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n revocationDetails:\n type: object\n x-dcl-go-name: RevocationDetails\n x-dcl-go-type: CertificateRevocationDetails\n readOnly: true\n description: Output only. Details regarding the revocation of this Certificate.\n This Certificate is considered revoked if and only if this field is present.\n x-kubernetes-immutable: true\n properties:\n revocationState:\n type: string\n x-dcl-go-name: RevocationState\n x-dcl-go-type: CertificateRevocationDetailsRevocationStateEnum\n description: 'Indicates why a Certificate was revoked. Possible values:\n REVOCATION_REASON_UNSPECIFIED, KEY_COMPROMISE, CERTIFICATE_AUTHORITY_COMPROMISE,\n AFFILIATION_CHANGED, SUPERSEDED, CESSATION_OF_OPERATION, CERTIFICATE_HOLD,\n PRIVILEGE_WITHDRAWN, ATTRIBUTE_AUTHORITY_COMPROMISE'\n x-kubernetes-immutable: true\n enum:\n - REVOCATION_REASON_UNSPECIFIED\n - KEY_COMPROMISE\n - CERTIFICATE_AUTHORITY_COMPROMISE\n - AFFILIATION_CHANGED\n - SUPERSEDED\n - CESSATION_OF_OPERATION\n - CERTIFICATE_HOLD\n - PRIVILEGE_WITHDRAWN\n - ATTRIBUTE_AUTHORITY_COMPROMISE\n revocationTime:\n type: string\n format: date-time\n x-dcl-go-name: RevocationTime\n description: The time at which this Certificate was revoked.\n x-kubernetes-immutable: true\n subjectMode:\n type: string\n x-dcl-go-name: SubjectMode\n x-dcl-go-type: CertificateSubjectModeEnum\n description: 'Immutable. Specifies how the Certificate''s identity fields\n are to be decided. If this is omitted, the `DEFAULT` subject mode will\n be used. Possible values: SUBJECT_REQUEST_MODE_UNSPECIFIED, DEFAULT, REFLECTED_SPIFFE'\n x-kubernetes-immutable: true\n enum:\n - SUBJECT_REQUEST_MODE_UNSPECIFIED\n - DEFAULT\n - REFLECTED_SPIFFE\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this Certificate was updated.\n x-kubernetes-immutable: true\n") +var YAML_certificate = []byte("info:\n title: Privateca/Certificate\n description: The Privateca Certificate resource\n x-dcl-struct-name: Certificate\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n apply:\n description: The function used to apply information about a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n delete:\n description: The function used to delete a Certificate\n parameters:\n - name: Certificate\n required: true\n description: A full instance of a Certificate\n deleteAll:\n description: The function used to delete all Certificate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Certificate\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: capool\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Certificate:\n title: Certificate\n x-dcl-id: projects/{{project}}/locations/{{location}}/caPools/{{ca_pool}}/certificates/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - lifetime\n - project\n - location\n - caPool\n properties:\n caPool:\n type: string\n x-dcl-go-name: CaPool\n description: The ca_pool for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CaPool\n field: name\n parent: true\n certificateAuthority:\n type: string\n x-dcl-go-name: CertificateAuthority\n description: The certificate authority for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: name\n certificateDescription:\n type: object\n x-dcl-go-name: CertificateDescription\n x-dcl-go-type: CertificateCertificateDescription\n readOnly: true\n description: Output only. A structured description of the issued X.509 certificate.\n x-kubernetes-immutable: true\n properties:\n aiaIssuingCertificateUrls:\n type: array\n x-dcl-go-name: AiaIssuingCertificateUrls\n description: Describes lists of issuer CA certificate URLs that appear\n in the \"Authority Information Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n authorityKeyId:\n type: object\n x-dcl-go-name: AuthorityKeyId\n x-dcl-go-type: CertificateCertificateDescriptionAuthorityKeyId\n description: Identifies the subject_key_id of the parent certificate,\n per https://tools.ietf.org/html/rfc5280#section-4.2.1.1\n x-kubernetes-immutable: true\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x-kubernetes-immutable: true\n certFingerprint:\n type: object\n x-dcl-go-name: CertFingerprint\n x-dcl-go-type: CertificateCertificateDescriptionCertFingerprint\n description: The hash of the x.509 certificate.\n x-kubernetes-immutable: true\n properties:\n sha256Hash:\n type: string\n x-dcl-go-name: Sha256Hash\n description: The SHA 256 hash, encoded in hexadecimal, of the DER\n x509 certificate.\n x-kubernetes-immutable: true\n crlDistributionPoints:\n type: array\n x-dcl-go-name: CrlDistributionPoints\n description: Describes a list of locations to obtain CRL information,\n i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateCertificateDescriptionPublicKey\n description: The public key that corresponds to an issued certificate.\n x-kubernetes-immutable: true\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateCertificateDescriptionPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n KEY_FORMAT_UNSPECIFIED, PEM'\n x-kubernetes-immutable: true\n enum:\n - KEY_FORMAT_UNSPECIFIED\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectDescription:\n type: object\n x-dcl-go-name: SubjectDescription\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescription\n description: Describes some of the values in a certificate that are\n related to the subject and lifetime.\n x-kubernetes-immutable: true\n properties:\n hexSerialNumber:\n type: string\n x-dcl-go-name: HexSerialNumber\n description: The serial number encoded in lowercase hexadecimal.\n x-kubernetes-immutable: true\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: For convenience, the actual lifetime of an issued certificate.\n x-kubernetes-immutable: true\n notAfterTime:\n type: string\n format: date-time\n x-dcl-go-name: NotAfterTime\n description: The time after which the certificate is expired. Per\n RFC 5280, the validity period for a certificate is the period\n of time from not_before_time through not_after_time, inclusive.\n Corresponds to 'not_before_time' + 'lifetime' - 1 second.\n x-kubernetes-immutable: true\n notBeforeTime:\n type: string\n format: date-time\n x-dcl-go-name: NotBeforeTime\n description: The time at which the certificate becomes valid.\n x-kubernetes-immutable: true\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubject\n description: Contains distinguished name fields such as the common\n name, location and / organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltName\n description: The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n customSans:\n type: array\n x-dcl-go-name: CustomSans\n description: Contains additional subject alternative name values.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSans\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to\n handle this extension, the client should consider this\n to be an error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSansObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The\n most significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n subjectKeyId:\n type: object\n x-dcl-go-name: SubjectKeyId\n x-dcl-go-type: CertificateCertificateDescriptionSubjectKeyId\n description: Provides a means of identifiying certificates that contain\n a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.\n x-kubernetes-immutable: true\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: Optional. The value of this KeyId encoded in lowercase\n hexadecimal. This is most likely the 160 bit SHA-1 hash of the\n public key.\n x-kubernetes-immutable: true\n x509Description:\n type: object\n x-dcl-go-name: X509Description\n x-dcl-go-type: CertificateCertificateDescriptionX509Description\n description: Describes some of the technical X.509 fields in a certificate.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionAdditionalExtensions\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. Refers to the \"CA\" X.509 extension, which\n is a boolean value. When this value is missing, the extension\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the path length restriction\n X.509 extension. For a CA certificate, this value describes\n the depth of subordinate CA certificates that are allowed.\n If this value is less than 0, the request will fail. If this\n value is missing, the max path length will be omitted from\n the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionKeyUsageUnknownExtendedKeyUsages\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateCertificateDescriptionX509DescriptionPolicyIds\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n certificateTemplate:\n type: string\n x-dcl-go-name: CertificateTemplate\n description: Immutable. The resource name for a CertificateTemplate used\n to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`.\n If this is specified, the caller must have the necessary permission to\n use this template. If this is omitted, no template will be used. This\n template must be in the same location as the Certificate.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateTemplate\n field: selfLink\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: CertificateConfig\n description: Immutable. A description of the certificate and key that does\n not require X.509 or ASN.1.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - pemCsr\n required:\n - subjectConfig\n - x509Config\n properties:\n publicKey:\n type: object\n x-dcl-go-name: PublicKey\n x-dcl-go-type: CertificateConfigPublicKey\n description: Optional. The public key that corresponds to this config.\n This is, for example, used when issuing Certificates, but not when\n creating a self-signed CertificateAuthority or CertificateAuthority\n CSR.\n x-kubernetes-immutable: true\n required:\n - key\n - format\n properties:\n format:\n type: string\n x-dcl-go-name: Format\n x-dcl-go-type: CertificateConfigPublicKeyFormatEnum\n description: 'Required. The format of the public key. Possible values:\n KEY_FORMAT_UNSPECIFIED, PEM'\n x-kubernetes-immutable: true\n enum:\n - KEY_FORMAT_UNSPECIFIED\n - PEM\n key:\n type: string\n x-dcl-go-name: Key\n description: Required. A public key. The padding and encoding must\n match with the `KeyFormat` value specified for the `format` field.\n x-kubernetes-immutable: true\n subjectConfig:\n type: object\n x-dcl-go-name: SubjectConfig\n x-dcl-go-type: CertificateConfigSubjectConfig\n description: Required. Specifies some of the values in a certificate\n that are related to the subject.\n x-kubernetes-immutable: true\n required:\n - subject\n properties:\n subject:\n type: object\n x-dcl-go-name: Subject\n x-dcl-go-type: CertificateConfigSubjectConfigSubject\n description: Required. Contains distinguished name fields such as\n the common name, location and organization.\n x-kubernetes-immutable: true\n properties:\n commonName:\n type: string\n x-dcl-go-name: CommonName\n description: The \"common name\" of the subject.\n x-kubernetes-immutable: true\n countryCode:\n type: string\n x-dcl-go-name: CountryCode\n description: The country code of the subject.\n x-kubernetes-immutable: true\n locality:\n type: string\n x-dcl-go-name: Locality\n description: The locality or city of the subject.\n x-kubernetes-immutable: true\n organization:\n type: string\n x-dcl-go-name: Organization\n description: The organization of the subject.\n x-kubernetes-immutable: true\n organizationalUnit:\n type: string\n x-dcl-go-name: OrganizationalUnit\n description: The organizational_unit of the subject.\n x-kubernetes-immutable: true\n postalCode:\n type: string\n x-dcl-go-name: PostalCode\n description: The postal code of the subject.\n x-kubernetes-immutable: true\n province:\n type: string\n x-dcl-go-name: Province\n description: The province, territory, or regional state of the\n subject.\n x-kubernetes-immutable: true\n streetAddress:\n type: string\n x-dcl-go-name: StreetAddress\n description: The street address of the subject.\n x-kubernetes-immutable: true\n subjectAltName:\n type: object\n x-dcl-go-name: SubjectAltName\n x-dcl-go-type: CertificateConfigSubjectConfigSubjectAltName\n description: Optional. The subject alternative name fields.\n x-kubernetes-immutable: true\n properties:\n dnsNames:\n type: array\n x-dcl-go-name: DnsNames\n description: Contains only valid, fully-qualified host names.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n emailAddresses:\n type: array\n x-dcl-go-name: EmailAddresses\n description: Contains only valid RFC 2822 E-mail addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipAddresses:\n type: array\n x-dcl-go-name: IPAddresses\n description: Contains only valid 32-bit IPv4 addresses or RFC\n 4291 IPv6 addresses.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uris:\n type: array\n x-dcl-go-name: Uris\n description: Contains only valid RFC 3986 URIs.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x509Config:\n type: object\n x-dcl-go-name: X509Config\n x-dcl-go-type: CertificateConfigX509Config\n description: Required. Describes how some of the technical X.509 fields\n in a certificate should be populated.\n x-kubernetes-immutable: true\n properties:\n additionalExtensions:\n type: array\n x-dcl-go-name: AdditionalExtensions\n description: Optional. Describes custom X.509 extensions.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigAdditionalExtensions\n required:\n - objectId\n - value\n properties:\n critical:\n type: boolean\n x-dcl-go-name: Critical\n description: Optional. Indicates whether or not this extension\n is critical (i.e., if the client does not know how to handle\n this extension, the client should consider this to be an\n error).\n x-kubernetes-immutable: true\n objectId:\n type: object\n x-dcl-go-name: ObjectId\n x-dcl-go-type: CertificateConfigX509ConfigAdditionalExtensionsObjectId\n description: Required. The OID for this X.509 extension.\n x-kubernetes-immutable: true\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. The value of this X.509 extension.\n x-kubernetes-immutable: true\n aiaOcspServers:\n type: array\n x-dcl-go-name: AiaOcspServers\n description: Optional. Describes Online Certificate Status Protocol\n (OCSP) endpoint addresses that appear in the \"Authority Information\n Access\" extension in the certificate.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n caOptions:\n type: object\n x-dcl-go-name: CaOptions\n x-dcl-go-type: CertificateConfigX509ConfigCaOptions\n description: Optional. Describes options in this X509Parameters\n that are relevant in a CA certificate.\n x-kubernetes-immutable: true\n properties:\n isCa:\n type: boolean\n x-dcl-go-name: IsCa\n description: Optional. When true, the \"CA\" in Basic Constraints\n extension will be set to true.\n x-kubernetes-immutable: true\n maxIssuerPathLength:\n type: integer\n format: int64\n x-dcl-go-name: MaxIssuerPathLength\n description: Optional. Refers to the \"path length constraint\"\n in Basic Constraints extension. For a CA certificate, this\n value describes the depth of subordinate CA certificates that\n are allowed. If this value is less than 0, the request will\n fail.\n x-kubernetes-immutable: true\n nonCa:\n type: boolean\n x-dcl-go-name: NonCa\n description: Optional. When true, the \"CA\" in Basic Constraints\n extension will be set to false. If both `is_ca` and `non_ca`\n are unset, the extension will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n zeroMaxIssuerPathLength:\n type: boolean\n x-dcl-go-name: ZeroMaxIssuerPathLength\n description: Optional. When true, the \"path length constraint\"\n in Basic Constraints extension will be set to 0. if both max_issuer_path_length\n and zero_max_issuer_path_length are unset, the max path length\n will be omitted from the CA certificate.\n x-kubernetes-immutable: true\n keyUsage:\n type: object\n x-dcl-go-name: KeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsage\n description: Optional. Indicates the intended use for keys that\n correspond to a certificate.\n x-kubernetes-immutable: true\n properties:\n baseKeyUsage:\n type: object\n x-dcl-go-name: BaseKeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageBaseKeyUsage\n description: Describes high-level ways in which a key may be\n used.\n x-kubernetes-immutable: true\n properties:\n certSign:\n type: boolean\n x-dcl-go-name: CertSign\n description: The key may be used to sign certificates.\n x-kubernetes-immutable: true\n contentCommitment:\n type: boolean\n x-dcl-go-name: ContentCommitment\n description: The key may be used for cryptographic commitments.\n Note that this may also be referred to as \"non-repudiation\".\n x-kubernetes-immutable: true\n crlSign:\n type: boolean\n x-dcl-go-name: CrlSign\n description: The key may be used sign certificate revocation\n lists.\n x-kubernetes-immutable: true\n dataEncipherment:\n type: boolean\n x-dcl-go-name: DataEncipherment\n description: The key may be used to encipher data.\n x-kubernetes-immutable: true\n decipherOnly:\n type: boolean\n x-dcl-go-name: DecipherOnly\n description: The key may be used to decipher only.\n x-kubernetes-immutable: true\n digitalSignature:\n type: boolean\n x-dcl-go-name: DigitalSignature\n description: The key may be used for digital signatures.\n x-kubernetes-immutable: true\n encipherOnly:\n type: boolean\n x-dcl-go-name: EncipherOnly\n description: The key may be used to encipher only.\n x-kubernetes-immutable: true\n keyAgreement:\n type: boolean\n x-dcl-go-name: KeyAgreement\n description: The key may be used in a key agreement protocol.\n x-kubernetes-immutable: true\n keyEncipherment:\n type: boolean\n x-dcl-go-name: KeyEncipherment\n description: The key may be used to encipher other keys.\n x-kubernetes-immutable: true\n extendedKeyUsage:\n type: object\n x-dcl-go-name: ExtendedKeyUsage\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageExtendedKeyUsage\n description: Detailed scenarios in which a key may be used.\n x-kubernetes-immutable: true\n properties:\n clientAuth:\n type: boolean\n x-dcl-go-name: ClientAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially\n described as \"TLS WWW client authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n codeSigning:\n type: boolean\n x-dcl-go-name: CodeSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially\n described as \"Signing of downloadable executable code\n client authentication\".\n x-kubernetes-immutable: true\n emailProtection:\n type: boolean\n x-dcl-go-name: EmailProtection\n description: Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially\n described as \"Email protection\".\n x-kubernetes-immutable: true\n ocspSigning:\n type: boolean\n x-dcl-go-name: OcspSigning\n description: Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially\n described as \"Signing OCSP responses\".\n x-kubernetes-immutable: true\n serverAuth:\n type: boolean\n x-dcl-go-name: ServerAuth\n description: Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially\n described as \"TLS WWW server authentication\", though regularly\n used for non-WWW TLS.\n x-kubernetes-immutable: true\n timeStamping:\n type: boolean\n x-dcl-go-name: TimeStamping\n description: Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially\n described as \"Binding the hash of an object to a time\".\n x-kubernetes-immutable: true\n unknownExtendedKeyUsages:\n type: array\n x-dcl-go-name: UnknownExtendedKeyUsages\n description: Used to describe extended key usages that are not\n listed in the KeyUsage.ExtendedKeyUsageOptions message.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigKeyUsageUnknownExtendedKeyUsages\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n policyIds:\n type: array\n x-dcl-go-name: PolicyIds\n description: Optional. Describes the X.509 certificate policy object\n identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: CertificateConfigX509ConfigPolicyIds\n required:\n - objectIdPath\n properties:\n objectIdPath:\n type: array\n x-dcl-go-name: ObjectIdPath\n description: Required. The parts of an OID path. The most\n significant parts of the path come first.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this Certificate was created.\n x-kubernetes-immutable: true\n issuerCertificateAuthority:\n type: string\n x-dcl-go-name: IssuerCertificateAuthority\n readOnly: true\n description: Output only. The resource name of the issuing CertificateAuthority\n in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Privateca/CertificateAuthority\n field: selfLink\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. Labels with user-defined metadata.\n lifetime:\n type: string\n x-dcl-go-name: Lifetime\n description: Required. Immutable. The desired lifetime of a certificate.\n Used to create the \"not_before_time\" and \"not_after_time\" fields inside\n an X.509 certificate. Note that the lifetime may be truncated if it would\n extend past the life of any certificate authority in the issuing chain.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.\n x-kubernetes-immutable: true\n pemCertificate:\n type: string\n x-dcl-go-name: PemCertificate\n readOnly: true\n description: Output only. The pem-encoded, signed X.509 certificate.\n x-kubernetes-immutable: true\n pemCertificateChain:\n type: array\n x-dcl-go-name: PemCertificateChain\n readOnly: true\n description: Output only. The chain that may be used to verify the X.509\n certificate. Expected to be in issuer-to-root order according to RFC 5246.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n pemCsr:\n type: string\n x-dcl-go-name: PemCsr\n description: Immutable. A pem-encoded X.509 certificate signing request\n (CSR).\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - config\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n revocationDetails:\n type: object\n x-dcl-go-name: RevocationDetails\n x-dcl-go-type: CertificateRevocationDetails\n readOnly: true\n description: Output only. Details regarding the revocation of this Certificate.\n This Certificate is considered revoked if and only if this field is present.\n x-kubernetes-immutable: true\n properties:\n revocationState:\n type: string\n x-dcl-go-name: RevocationState\n x-dcl-go-type: CertificateRevocationDetailsRevocationStateEnum\n description: 'Indicates why a Certificate was revoked. Possible values:\n REVOCATION_REASON_UNSPECIFIED, KEY_COMPROMISE, CERTIFICATE_AUTHORITY_COMPROMISE,\n AFFILIATION_CHANGED, SUPERSEDED, CESSATION_OF_OPERATION, CERTIFICATE_HOLD,\n PRIVILEGE_WITHDRAWN, ATTRIBUTE_AUTHORITY_COMPROMISE'\n x-kubernetes-immutable: true\n enum:\n - REVOCATION_REASON_UNSPECIFIED\n - KEY_COMPROMISE\n - CERTIFICATE_AUTHORITY_COMPROMISE\n - AFFILIATION_CHANGED\n - SUPERSEDED\n - CESSATION_OF_OPERATION\n - CERTIFICATE_HOLD\n - PRIVILEGE_WITHDRAWN\n - ATTRIBUTE_AUTHORITY_COMPROMISE\n revocationTime:\n type: string\n format: date-time\n x-dcl-go-name: RevocationTime\n description: The time at which this Certificate was revoked.\n x-kubernetes-immutable: true\n subjectMode:\n type: string\n x-dcl-go-name: SubjectMode\n x-dcl-go-type: CertificateSubjectModeEnum\n description: 'Immutable. Specifies how the Certificate''s identity fields\n are to be decided. If this is omitted, the `DEFAULT` subject mode will\n be used. Possible values: SUBJECT_REQUEST_MODE_UNSPECIFIED, DEFAULT, REFLECTED_SPIFFE'\n x-kubernetes-immutable: true\n enum:\n - SUBJECT_REQUEST_MODE_UNSPECIFIED\n - DEFAULT\n - REFLECTED_SPIFFE\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this Certificate was updated.\n x-kubernetes-immutable: true\n") -// 55435 bytes -// MD5: 3056b668053cc1b6fa95370c689bf34e +// 55460 bytes +// MD5: 8ae4722ae0b8c84ec5bcea2f93093507 diff --git a/services/google/pubsub/alpha/schema.yaml b/services/google/pubsub/alpha/schema.yaml index 3974d250cb..0a0599c355 100755 --- a/services/google/pubsub/alpha/schema.yaml +++ b/services/google/pubsub/alpha/schema.yaml @@ -15,6 +15,7 @@ info: title: Pubsub/Schema description: The Pubsub Schema resource x-dcl-struct-name: Schema + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/pubsub/alpha/subscription.yaml b/services/google/pubsub/alpha/subscription.yaml index 8d6957ca1d..bfba5f9d42 100755 --- a/services/google/pubsub/alpha/subscription.yaml +++ b/services/google/pubsub/alpha/subscription.yaml @@ -15,6 +15,7 @@ info: title: Pubsub/Subscription description: The Pubsub Subscription resource x-dcl-struct-name: Subscription + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/pubsub/alpha/topic.yaml b/services/google/pubsub/alpha/topic.yaml index 39b65a6dff..6a729c4abd 100755 --- a/services/google/pubsub/alpha/topic.yaml +++ b/services/google/pubsub/alpha/topic.yaml @@ -15,6 +15,7 @@ info: title: Pubsub/Topic description: The Pubsub Topic resource x-dcl-struct-name: Topic + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/pubsub/alpha/topic_alpha_yaml_embed.go b/services/google/pubsub/alpha/topic_alpha_yaml_embed.go index 56a4b2a7f0..edb7f0a71f 100755 --- a/services/google/pubsub/alpha/topic_alpha_yaml_embed.go +++ b/services/google/pubsub/alpha/topic_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/pubsub/alpha/topic.yaml -var YAML_topic = []byte("info:\n title: Pubsub/Topic\n description: The Pubsub Topic resource\n x-dcl-struct-name: Topic\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n apply:\n description: The function used to apply information about a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n delete:\n description: The function used to delete a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n deleteAll:\n description: The function used to delete all Topic\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Topic\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Topic:\n title: Topic\n x-dcl-id: projects/{{project}}/topics/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'The resource name of the Cloud KMS CryptoKey to be used to\n protect access to messages published on this topic. Your project''s Pub/Sub\n service account (`service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com`)\n must have `roles/cloudkms.cryptoKeyEncrypterDecrypter` to use this feature. The\n expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*` '\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'A set of key/value label pairs to assign to this Topic. '\n messageStoragePolicy:\n type: object\n x-dcl-go-name: MessageStoragePolicy\n x-dcl-go-type: TopicMessageStoragePolicy\n description: 'Policy constraining the set of Google Cloud Platform regions\n where messages published to the topic may be stored. If not present, then\n no constraints are in effect. '\n x-dcl-server-default: true\n properties:\n allowedPersistenceRegions:\n type: array\n x-dcl-go-name: AllowedPersistenceRegions\n description: 'A list of IDs of GCP regions where messages that are published\n to the topic may be persisted in storage. Messages published by publishers\n running in non-allowed GCP regions (or running outside of GCP altogether)\n will be routed for storage in one of the allowed regions. An empty\n list means that no regions are allowed, and is not a valid configuration. '\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the topic.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_topic = []byte("info:\n title: Pubsub/Topic\n description: The Pubsub Topic resource\n x-dcl-struct-name: Topic\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n apply:\n description: The function used to apply information about a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n delete:\n description: The function used to delete a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n deleteAll:\n description: The function used to delete all Topic\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Topic\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Topic:\n title: Topic\n x-dcl-id: projects/{{project}}/topics/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'The resource name of the Cloud KMS CryptoKey to be used to\n protect access to messages published on this topic. Your project''s Pub/Sub\n service account (`service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com`)\n must have `roles/cloudkms.cryptoKeyEncrypterDecrypter` to use this feature. The\n expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*` '\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'A set of key/value label pairs to assign to this Topic. '\n messageStoragePolicy:\n type: object\n x-dcl-go-name: MessageStoragePolicy\n x-dcl-go-type: TopicMessageStoragePolicy\n description: 'Policy constraining the set of Google Cloud Platform regions\n where messages published to the topic may be stored. If not present, then\n no constraints are in effect. '\n x-dcl-server-default: true\n properties:\n allowedPersistenceRegions:\n type: array\n x-dcl-go-name: AllowedPersistenceRegions\n description: 'A list of IDs of GCP regions where messages that are published\n to the topic may be persisted in storage. Messages published by publishers\n running in non-allowed GCP regions (or running outside of GCP altogether)\n will be routed for storage in one of the allowed regions. An empty\n list means that no regions are allowed, and is not a valid configuration. '\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the topic.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 3584 bytes -// MD5: ed3c46a51efda893c1ff30f1c1576580 +// 3609 bytes +// MD5: 1a06190bf0f53a127c040b8965c3c76d diff --git a/services/google/pubsub/alpha/topic_schema.go b/services/google/pubsub/alpha/topic_schema.go index 9967d81c51..8a73286d0c 100755 --- a/services/google/pubsub/alpha/topic_schema.go +++ b/services/google/pubsub/alpha/topic_schema.go @@ -23,6 +23,7 @@ func DCLTopicSchema() *dcl.Schema { Title: "Pubsub/Topic", Description: "The Pubsub Topic resource", StructName: "Topic", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/pubsub/beta/schema.yaml b/services/google/pubsub/beta/schema.yaml index 3974d250cb..0a0599c355 100755 --- a/services/google/pubsub/beta/schema.yaml +++ b/services/google/pubsub/beta/schema.yaml @@ -15,6 +15,7 @@ info: title: Pubsub/Schema description: The Pubsub Schema resource x-dcl-struct-name: Schema + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/pubsub/beta/subscription.yaml b/services/google/pubsub/beta/subscription.yaml index 8d6957ca1d..bfba5f9d42 100755 --- a/services/google/pubsub/beta/subscription.yaml +++ b/services/google/pubsub/beta/subscription.yaml @@ -15,6 +15,7 @@ info: title: Pubsub/Subscription description: The Pubsub Subscription resource x-dcl-struct-name: Subscription + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/pubsub/beta/topic.yaml b/services/google/pubsub/beta/topic.yaml index 39b65a6dff..6a729c4abd 100755 --- a/services/google/pubsub/beta/topic.yaml +++ b/services/google/pubsub/beta/topic.yaml @@ -15,6 +15,7 @@ info: title: Pubsub/Topic description: The Pubsub Topic resource x-dcl-struct-name: Topic + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/pubsub/beta/topic_beta_yaml_embed.go b/services/google/pubsub/beta/topic_beta_yaml_embed.go index 8f9e45f650..42091745b6 100755 --- a/services/google/pubsub/beta/topic_beta_yaml_embed.go +++ b/services/google/pubsub/beta/topic_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/pubsub/beta/topic.yaml -var YAML_topic = []byte("info:\n title: Pubsub/Topic\n description: The Pubsub Topic resource\n x-dcl-struct-name: Topic\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n apply:\n description: The function used to apply information about a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n delete:\n description: The function used to delete a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n deleteAll:\n description: The function used to delete all Topic\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Topic\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Topic:\n title: Topic\n x-dcl-id: projects/{{project}}/topics/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'The resource name of the Cloud KMS CryptoKey to be used to\n protect access to messages published on this topic. Your project''s Pub/Sub\n service account (`service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com`)\n must have `roles/cloudkms.cryptoKeyEncrypterDecrypter` to use this feature. The\n expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*` '\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'A set of key/value label pairs to assign to this Topic. '\n messageStoragePolicy:\n type: object\n x-dcl-go-name: MessageStoragePolicy\n x-dcl-go-type: TopicMessageStoragePolicy\n description: 'Policy constraining the set of Google Cloud Platform regions\n where messages published to the topic may be stored. If not present, then\n no constraints are in effect. '\n x-dcl-server-default: true\n properties:\n allowedPersistenceRegions:\n type: array\n x-dcl-go-name: AllowedPersistenceRegions\n description: 'A list of IDs of GCP regions where messages that are published\n to the topic may be persisted in storage. Messages published by publishers\n running in non-allowed GCP regions (or running outside of GCP altogether)\n will be routed for storage in one of the allowed regions. An empty\n list means that no regions are allowed, and is not a valid configuration. '\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the topic.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_topic = []byte("info:\n title: Pubsub/Topic\n description: The Pubsub Topic resource\n x-dcl-struct-name: Topic\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n apply:\n description: The function used to apply information about a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n delete:\n description: The function used to delete a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n deleteAll:\n description: The function used to delete all Topic\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Topic\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Topic:\n title: Topic\n x-dcl-id: projects/{{project}}/topics/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'The resource name of the Cloud KMS CryptoKey to be used to\n protect access to messages published on this topic. Your project''s Pub/Sub\n service account (`service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com`)\n must have `roles/cloudkms.cryptoKeyEncrypterDecrypter` to use this feature. The\n expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*` '\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'A set of key/value label pairs to assign to this Topic. '\n messageStoragePolicy:\n type: object\n x-dcl-go-name: MessageStoragePolicy\n x-dcl-go-type: TopicMessageStoragePolicy\n description: 'Policy constraining the set of Google Cloud Platform regions\n where messages published to the topic may be stored. If not present, then\n no constraints are in effect. '\n x-dcl-server-default: true\n properties:\n allowedPersistenceRegions:\n type: array\n x-dcl-go-name: AllowedPersistenceRegions\n description: 'A list of IDs of GCP regions where messages that are published\n to the topic may be persisted in storage. Messages published by publishers\n running in non-allowed GCP regions (or running outside of GCP altogether)\n will be routed for storage in one of the allowed regions. An empty\n list means that no regions are allowed, and is not a valid configuration. '\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the topic.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 3584 bytes -// MD5: ed3c46a51efda893c1ff30f1c1576580 +// 3609 bytes +// MD5: 1a06190bf0f53a127c040b8965c3c76d diff --git a/services/google/pubsub/beta/topic_schema.go b/services/google/pubsub/beta/topic_schema.go index 2b23306fc7..b17ff47ba3 100755 --- a/services/google/pubsub/beta/topic_schema.go +++ b/services/google/pubsub/beta/topic_schema.go @@ -23,6 +23,7 @@ func DCLTopicSchema() *dcl.Schema { Title: "Pubsub/Topic", Description: "The Pubsub Topic resource", StructName: "Topic", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/pubsub/schema.yaml b/services/google/pubsub/schema.yaml index 3974d250cb..0a0599c355 100755 --- a/services/google/pubsub/schema.yaml +++ b/services/google/pubsub/schema.yaml @@ -15,6 +15,7 @@ info: title: Pubsub/Schema description: The Pubsub Schema resource x-dcl-struct-name: Schema + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/pubsub/subscription.yaml b/services/google/pubsub/subscription.yaml index 8d6957ca1d..bfba5f9d42 100755 --- a/services/google/pubsub/subscription.yaml +++ b/services/google/pubsub/subscription.yaml @@ -15,6 +15,7 @@ info: title: Pubsub/Subscription description: The Pubsub Subscription resource x-dcl-struct-name: Subscription + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/pubsub/topic.yaml b/services/google/pubsub/topic.yaml index 39b65a6dff..6a729c4abd 100755 --- a/services/google/pubsub/topic.yaml +++ b/services/google/pubsub/topic.yaml @@ -15,6 +15,7 @@ info: title: Pubsub/Topic description: The Pubsub Topic resource x-dcl-struct-name: Topic + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/pubsub/topic_schema.go b/services/google/pubsub/topic_schema.go index 3c25a056ec..77b5880b2c 100755 --- a/services/google/pubsub/topic_schema.go +++ b/services/google/pubsub/topic_schema.go @@ -23,6 +23,7 @@ func DCLTopicSchema() *dcl.Schema { Title: "Pubsub/Topic", Description: "The Pubsub Topic resource", StructName: "Topic", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/pubsub/topic_yaml_embed.go b/services/google/pubsub/topic_yaml_embed.go index e280542cff..8dbc036e56 100755 --- a/services/google/pubsub/topic_yaml_embed.go +++ b/services/google/pubsub/topic_yaml_embed.go @@ -17,7 +17,7 @@ package pubsub // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/pubsub/topic.yaml -var YAML_topic = []byte("info:\n title: Pubsub/Topic\n description: The Pubsub Topic resource\n x-dcl-struct-name: Topic\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n apply:\n description: The function used to apply information about a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n delete:\n description: The function used to delete a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n deleteAll:\n description: The function used to delete all Topic\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Topic\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Topic:\n title: Topic\n x-dcl-id: projects/{{project}}/topics/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'The resource name of the Cloud KMS CryptoKey to be used to\n protect access to messages published on this topic. Your project''s Pub/Sub\n service account (`service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com`)\n must have `roles/cloudkms.cryptoKeyEncrypterDecrypter` to use this feature. The\n expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*` '\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'A set of key/value label pairs to assign to this Topic. '\n messageStoragePolicy:\n type: object\n x-dcl-go-name: MessageStoragePolicy\n x-dcl-go-type: TopicMessageStoragePolicy\n description: 'Policy constraining the set of Google Cloud Platform regions\n where messages published to the topic may be stored. If not present, then\n no constraints are in effect. '\n x-dcl-server-default: true\n properties:\n allowedPersistenceRegions:\n type: array\n x-dcl-go-name: AllowedPersistenceRegions\n description: 'A list of IDs of GCP regions where messages that are published\n to the topic may be persisted in storage. Messages published by publishers\n running in non-allowed GCP regions (or running outside of GCP altogether)\n will be routed for storage in one of the allowed regions. An empty\n list means that no regions are allowed, and is not a valid configuration. '\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the topic.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_topic = []byte("info:\n title: Pubsub/Topic\n description: The Pubsub Topic resource\n x-dcl-struct-name: Topic\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n apply:\n description: The function used to apply information about a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n delete:\n description: The function used to delete a Topic\n parameters:\n - name: Topic\n required: true\n description: A full instance of a Topic\n deleteAll:\n description: The function used to delete all Topic\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Topic\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Topic:\n title: Topic\n x-dcl-id: projects/{{project}}/topics/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'The resource name of the Cloud KMS CryptoKey to be used to\n protect access to messages published on this topic. Your project''s Pub/Sub\n service account (`service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com`)\n must have `roles/cloudkms.cryptoKeyEncrypterDecrypter` to use this feature. The\n expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*` '\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: 'A set of key/value label pairs to assign to this Topic. '\n messageStoragePolicy:\n type: object\n x-dcl-go-name: MessageStoragePolicy\n x-dcl-go-type: TopicMessageStoragePolicy\n description: 'Policy constraining the set of Google Cloud Platform regions\n where messages published to the topic may be stored. If not present, then\n no constraints are in effect. '\n x-dcl-server-default: true\n properties:\n allowedPersistenceRegions:\n type: array\n x-dcl-go-name: AllowedPersistenceRegions\n description: 'A list of IDs of GCP regions where messages that are published\n to the topic may be persisted in storage. Messages published by publishers\n running in non-allowed GCP regions (or running outside of GCP altogether)\n will be routed for storage in one of the allowed regions. An empty\n list means that no regions are allowed, and is not a valid configuration. '\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the topic.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 3584 bytes -// MD5: ed3c46a51efda893c1ff30f1c1576580 +// 3609 bytes +// MD5: 1a06190bf0f53a127c040b8965c3c76d diff --git a/services/google/recaptchaenterprise/alpha/key.yaml b/services/google/recaptchaenterprise/alpha/key.yaml index 0dd274c5b9..6ef230d248 100755 --- a/services/google/recaptchaenterprise/alpha/key.yaml +++ b/services/google/recaptchaenterprise/alpha/key.yaml @@ -15,6 +15,7 @@ info: title: RecaptchaEnterprise/Key description: The RecaptchaEnterprise Key resource x-dcl-struct-name: Key + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/recaptchaenterprise/alpha/key_alpha_yaml_embed.go b/services/google/recaptchaenterprise/alpha/key_alpha_yaml_embed.go index 62877de2e3..fbcadd4ad9 100755 --- a/services/google/recaptchaenterprise/alpha/key_alpha_yaml_embed.go +++ b/services/google/recaptchaenterprise/alpha/key_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/recaptchaenterprise/alpha/key.yaml -var YAML_key = []byte("info:\n title: RecaptchaEnterprise/Key\n description: The RecaptchaEnterprise Key resource\n x-dcl-struct-name: Key\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n apply:\n description: The function used to apply information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n delete:\n description: The function used to delete a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n deleteAll:\n description: The function used to delete all Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Key:\n title: Key\n x-dcl-id: projects/{{project}}/keys/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - project\n properties:\n androidSettings:\n type: object\n x-dcl-go-name: AndroidSettings\n x-dcl-go-type: KeyAndroidSettings\n description: Settings for keys that can be used by Android apps.\n x-dcl-conflicts:\n - webSettings\n - iosSettings\n properties:\n allowAllPackageNames:\n type: boolean\n x-dcl-go-name: AllowAllPackageNames\n description: If set to true, it means allowed_package_names will not\n be enforced.\n allowedPackageNames:\n type: array\n x-dcl-go-name: AllowedPackageNames\n description: 'Android package names of apps allowed to use the key.\n Example: ''com.companyname.appname'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: The timestamp corresponding to the creation of this Key.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-readable display name of this key. Modifiable by user.\n iosSettings:\n type: object\n x-dcl-go-name: IosSettings\n x-dcl-go-type: KeyIosSettings\n description: Settings for keys that can be used by iOS apps.\n x-dcl-conflicts:\n - webSettings\n - androidSettings\n properties:\n allowAllBundleIds:\n type: boolean\n x-dcl-go-name: AllowAllBundleIds\n description: If set to true, it means allowed_bundle_ids will not be\n enforced.\n allowedBundleIds:\n type: array\n x-dcl-go-name: AllowedBundleIds\n description: 'iOS bundle ids of apps allowed to use the key. Example:\n ''com.companyname.productname.appname'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: See [Creating and managing labels](https://cloud.google.com/recaptcha-enterprise/docs/labels).\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the Key in the format \"projects/{project}/keys/{key}\".\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testingOptions:\n type: object\n x-dcl-go-name: TestingOptions\n x-dcl-go-type: KeyTestingOptions\n description: Options for user acceptance testing.\n x-kubernetes-immutable: true\n properties:\n testingChallenge:\n type: string\n x-dcl-go-name: TestingChallenge\n x-dcl-go-type: KeyTestingOptionsTestingChallengeEnum\n description: 'For challenge-based keys only (CHECKBOX, INVISIBLE), all\n challenge requests for this site will return nocaptcha if NOCAPTCHA,\n or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values:\n TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TESTING_CHALLENGE_UNSPECIFIED\n - NOCAPTCHA\n - UNSOLVABLE_CHALLENGE\n testingScore:\n type: number\n format: double\n x-dcl-go-name: TestingScore\n description: All assessments for this Key will return this score. Must\n be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.\n x-kubernetes-immutable: true\n webSettings:\n type: object\n x-dcl-go-name: WebSettings\n x-dcl-go-type: KeyWebSettings\n description: Settings for keys that can be used by websites.\n x-dcl-conflicts:\n - androidSettings\n - iosSettings\n required:\n - integrationType\n properties:\n allowAllDomains:\n type: boolean\n x-dcl-go-name: AllowAllDomains\n description: If set to true, it means allowed_domains will not be enforced.\n allowAmpTraffic:\n type: boolean\n x-dcl-go-name: AllowAmpTraffic\n description: If set to true, the key can be used on AMP (Accelerated\n Mobile Pages) websites. This is supported only for the SCORE integration\n type.\n allowedDomains:\n type: array\n x-dcl-go-name: AllowedDomains\n description: 'Domains or subdomains of websites allowed to use the key.\n All subdomains of an allowed domain are automatically allowed. A valid\n domain requires a host and must not include any path, port, query\n or fragment. Examples: ''example.com'' or ''subdomain.example.com'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n challengeSecurityPreference:\n type: string\n x-dcl-go-name: ChallengeSecurityPreference\n x-dcl-go-type: KeyWebSettingsChallengeSecurityPreferenceEnum\n description: 'Settings for the frequency and difficulty at which this\n key triggers captcha challenges. This should only be specified for\n IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED,\n USABILITY, BALANCE, SECURITY'\n x-dcl-server-default: true\n enum:\n - CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED\n - USABILITY\n - BALANCE\n - SECURITY\n integrationType:\n type: string\n x-dcl-go-name: IntegrationType\n x-dcl-go-type: KeyWebSettingsIntegrationTypeEnum\n description: 'Required. Describes how this key is integrated with the\n website. Possible values: SCORE, CHECKBOX, INVISIBLE'\n x-kubernetes-immutable: true\n enum:\n - SCORE\n - CHECKBOX\n - INVISIBLE\n") +var YAML_key = []byte("info:\n title: RecaptchaEnterprise/Key\n description: The RecaptchaEnterprise Key resource\n x-dcl-struct-name: Key\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n apply:\n description: The function used to apply information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n delete:\n description: The function used to delete a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n deleteAll:\n description: The function used to delete all Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Key:\n title: Key\n x-dcl-id: projects/{{project}}/keys/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - project\n properties:\n androidSettings:\n type: object\n x-dcl-go-name: AndroidSettings\n x-dcl-go-type: KeyAndroidSettings\n description: Settings for keys that can be used by Android apps.\n x-dcl-conflicts:\n - webSettings\n - iosSettings\n properties:\n allowAllPackageNames:\n type: boolean\n x-dcl-go-name: AllowAllPackageNames\n description: If set to true, it means allowed_package_names will not\n be enforced.\n allowedPackageNames:\n type: array\n x-dcl-go-name: AllowedPackageNames\n description: 'Android package names of apps allowed to use the key.\n Example: ''com.companyname.appname'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: The timestamp corresponding to the creation of this Key.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-readable display name of this key. Modifiable by user.\n iosSettings:\n type: object\n x-dcl-go-name: IosSettings\n x-dcl-go-type: KeyIosSettings\n description: Settings for keys that can be used by iOS apps.\n x-dcl-conflicts:\n - webSettings\n - androidSettings\n properties:\n allowAllBundleIds:\n type: boolean\n x-dcl-go-name: AllowAllBundleIds\n description: If set to true, it means allowed_bundle_ids will not be\n enforced.\n allowedBundleIds:\n type: array\n x-dcl-go-name: AllowedBundleIds\n description: 'iOS bundle ids of apps allowed to use the key. Example:\n ''com.companyname.productname.appname'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: See [Creating and managing labels](https://cloud.google.com/recaptcha-enterprise/docs/labels).\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the Key in the format \"projects/{project}/keys/{key}\".\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testingOptions:\n type: object\n x-dcl-go-name: TestingOptions\n x-dcl-go-type: KeyTestingOptions\n description: Options for user acceptance testing.\n x-kubernetes-immutable: true\n properties:\n testingChallenge:\n type: string\n x-dcl-go-name: TestingChallenge\n x-dcl-go-type: KeyTestingOptionsTestingChallengeEnum\n description: 'For challenge-based keys only (CHECKBOX, INVISIBLE), all\n challenge requests for this site will return nocaptcha if NOCAPTCHA,\n or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values:\n TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TESTING_CHALLENGE_UNSPECIFIED\n - NOCAPTCHA\n - UNSOLVABLE_CHALLENGE\n testingScore:\n type: number\n format: double\n x-dcl-go-name: TestingScore\n description: All assessments for this Key will return this score. Must\n be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.\n x-kubernetes-immutable: true\n webSettings:\n type: object\n x-dcl-go-name: WebSettings\n x-dcl-go-type: KeyWebSettings\n description: Settings for keys that can be used by websites.\n x-dcl-conflicts:\n - androidSettings\n - iosSettings\n required:\n - integrationType\n properties:\n allowAllDomains:\n type: boolean\n x-dcl-go-name: AllowAllDomains\n description: If set to true, it means allowed_domains will not be enforced.\n allowAmpTraffic:\n type: boolean\n x-dcl-go-name: AllowAmpTraffic\n description: If set to true, the key can be used on AMP (Accelerated\n Mobile Pages) websites. This is supported only for the SCORE integration\n type.\n allowedDomains:\n type: array\n x-dcl-go-name: AllowedDomains\n description: 'Domains or subdomains of websites allowed to use the key.\n All subdomains of an allowed domain are automatically allowed. A valid\n domain requires a host and must not include any path, port, query\n or fragment. Examples: ''example.com'' or ''subdomain.example.com'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n challengeSecurityPreference:\n type: string\n x-dcl-go-name: ChallengeSecurityPreference\n x-dcl-go-type: KeyWebSettingsChallengeSecurityPreferenceEnum\n description: 'Settings for the frequency and difficulty at which this\n key triggers captcha challenges. This should only be specified for\n IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED,\n USABILITY, BALANCE, SECURITY'\n x-dcl-server-default: true\n enum:\n - CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED\n - USABILITY\n - BALANCE\n - SECURITY\n integrationType:\n type: string\n x-dcl-go-name: IntegrationType\n x-dcl-go-type: KeyWebSettingsIntegrationTypeEnum\n description: 'Required. Describes how this key is integrated with the\n website. Possible values: SCORE, CHECKBOX, INVISIBLE'\n x-kubernetes-immutable: true\n enum:\n - SCORE\n - CHECKBOX\n - INVISIBLE\n") -// 8229 bytes -// MD5: fcc4d572276459af44ee15727e96aa80 +// 8254 bytes +// MD5: b5845766897059fbcb5bbe7c1c6f07eb diff --git a/services/google/recaptchaenterprise/alpha/key_schema.go b/services/google/recaptchaenterprise/alpha/key_schema.go index 57ddad542c..85b039f452 100755 --- a/services/google/recaptchaenterprise/alpha/key_schema.go +++ b/services/google/recaptchaenterprise/alpha/key_schema.go @@ -23,6 +23,7 @@ func DCLKeySchema() *dcl.Schema { Title: "RecaptchaEnterprise/Key", Description: "The RecaptchaEnterprise Key resource", StructName: "Key", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/recaptchaenterprise/beta/key.yaml b/services/google/recaptchaenterprise/beta/key.yaml index 0dd274c5b9..6ef230d248 100755 --- a/services/google/recaptchaenterprise/beta/key.yaml +++ b/services/google/recaptchaenterprise/beta/key.yaml @@ -15,6 +15,7 @@ info: title: RecaptchaEnterprise/Key description: The RecaptchaEnterprise Key resource x-dcl-struct-name: Key + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/recaptchaenterprise/beta/key_beta_yaml_embed.go b/services/google/recaptchaenterprise/beta/key_beta_yaml_embed.go index f39d653b07..5076a35e5e 100755 --- a/services/google/recaptchaenterprise/beta/key_beta_yaml_embed.go +++ b/services/google/recaptchaenterprise/beta/key_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/recaptchaenterprise/beta/key.yaml -var YAML_key = []byte("info:\n title: RecaptchaEnterprise/Key\n description: The RecaptchaEnterprise Key resource\n x-dcl-struct-name: Key\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n apply:\n description: The function used to apply information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n delete:\n description: The function used to delete a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n deleteAll:\n description: The function used to delete all Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Key:\n title: Key\n x-dcl-id: projects/{{project}}/keys/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - project\n properties:\n androidSettings:\n type: object\n x-dcl-go-name: AndroidSettings\n x-dcl-go-type: KeyAndroidSettings\n description: Settings for keys that can be used by Android apps.\n x-dcl-conflicts:\n - webSettings\n - iosSettings\n properties:\n allowAllPackageNames:\n type: boolean\n x-dcl-go-name: AllowAllPackageNames\n description: If set to true, it means allowed_package_names will not\n be enforced.\n allowedPackageNames:\n type: array\n x-dcl-go-name: AllowedPackageNames\n description: 'Android package names of apps allowed to use the key.\n Example: ''com.companyname.appname'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: The timestamp corresponding to the creation of this Key.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-readable display name of this key. Modifiable by user.\n iosSettings:\n type: object\n x-dcl-go-name: IosSettings\n x-dcl-go-type: KeyIosSettings\n description: Settings for keys that can be used by iOS apps.\n x-dcl-conflicts:\n - webSettings\n - androidSettings\n properties:\n allowAllBundleIds:\n type: boolean\n x-dcl-go-name: AllowAllBundleIds\n description: If set to true, it means allowed_bundle_ids will not be\n enforced.\n allowedBundleIds:\n type: array\n x-dcl-go-name: AllowedBundleIds\n description: 'iOS bundle ids of apps allowed to use the key. Example:\n ''com.companyname.productname.appname'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: See [Creating and managing labels](https://cloud.google.com/recaptcha-enterprise/docs/labels).\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the Key in the format \"projects/{project}/keys/{key}\".\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testingOptions:\n type: object\n x-dcl-go-name: TestingOptions\n x-dcl-go-type: KeyTestingOptions\n description: Options for user acceptance testing.\n x-kubernetes-immutable: true\n properties:\n testingChallenge:\n type: string\n x-dcl-go-name: TestingChallenge\n x-dcl-go-type: KeyTestingOptionsTestingChallengeEnum\n description: 'For challenge-based keys only (CHECKBOX, INVISIBLE), all\n challenge requests for this site will return nocaptcha if NOCAPTCHA,\n or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values:\n TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TESTING_CHALLENGE_UNSPECIFIED\n - NOCAPTCHA\n - UNSOLVABLE_CHALLENGE\n testingScore:\n type: number\n format: double\n x-dcl-go-name: TestingScore\n description: All assessments for this Key will return this score. Must\n be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.\n x-kubernetes-immutable: true\n webSettings:\n type: object\n x-dcl-go-name: WebSettings\n x-dcl-go-type: KeyWebSettings\n description: Settings for keys that can be used by websites.\n x-dcl-conflicts:\n - androidSettings\n - iosSettings\n required:\n - integrationType\n properties:\n allowAllDomains:\n type: boolean\n x-dcl-go-name: AllowAllDomains\n description: If set to true, it means allowed_domains will not be enforced.\n allowAmpTraffic:\n type: boolean\n x-dcl-go-name: AllowAmpTraffic\n description: If set to true, the key can be used on AMP (Accelerated\n Mobile Pages) websites. This is supported only for the SCORE integration\n type.\n allowedDomains:\n type: array\n x-dcl-go-name: AllowedDomains\n description: 'Domains or subdomains of websites allowed to use the key.\n All subdomains of an allowed domain are automatically allowed. A valid\n domain requires a host and must not include any path, port, query\n or fragment. Examples: ''example.com'' or ''subdomain.example.com'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n challengeSecurityPreference:\n type: string\n x-dcl-go-name: ChallengeSecurityPreference\n x-dcl-go-type: KeyWebSettingsChallengeSecurityPreferenceEnum\n description: 'Settings for the frequency and difficulty at which this\n key triggers captcha challenges. This should only be specified for\n IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED,\n USABILITY, BALANCE, SECURITY'\n x-dcl-server-default: true\n enum:\n - CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED\n - USABILITY\n - BALANCE\n - SECURITY\n integrationType:\n type: string\n x-dcl-go-name: IntegrationType\n x-dcl-go-type: KeyWebSettingsIntegrationTypeEnum\n description: 'Required. Describes how this key is integrated with the\n website. Possible values: SCORE, CHECKBOX, INVISIBLE'\n x-kubernetes-immutable: true\n enum:\n - SCORE\n - CHECKBOX\n - INVISIBLE\n") +var YAML_key = []byte("info:\n title: RecaptchaEnterprise/Key\n description: The RecaptchaEnterprise Key resource\n x-dcl-struct-name: Key\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n apply:\n description: The function used to apply information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n delete:\n description: The function used to delete a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n deleteAll:\n description: The function used to delete all Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Key:\n title: Key\n x-dcl-id: projects/{{project}}/keys/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - project\n properties:\n androidSettings:\n type: object\n x-dcl-go-name: AndroidSettings\n x-dcl-go-type: KeyAndroidSettings\n description: Settings for keys that can be used by Android apps.\n x-dcl-conflicts:\n - webSettings\n - iosSettings\n properties:\n allowAllPackageNames:\n type: boolean\n x-dcl-go-name: AllowAllPackageNames\n description: If set to true, it means allowed_package_names will not\n be enforced.\n allowedPackageNames:\n type: array\n x-dcl-go-name: AllowedPackageNames\n description: 'Android package names of apps allowed to use the key.\n Example: ''com.companyname.appname'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: The timestamp corresponding to the creation of this Key.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-readable display name of this key. Modifiable by user.\n iosSettings:\n type: object\n x-dcl-go-name: IosSettings\n x-dcl-go-type: KeyIosSettings\n description: Settings for keys that can be used by iOS apps.\n x-dcl-conflicts:\n - webSettings\n - androidSettings\n properties:\n allowAllBundleIds:\n type: boolean\n x-dcl-go-name: AllowAllBundleIds\n description: If set to true, it means allowed_bundle_ids will not be\n enforced.\n allowedBundleIds:\n type: array\n x-dcl-go-name: AllowedBundleIds\n description: 'iOS bundle ids of apps allowed to use the key. Example:\n ''com.companyname.productname.appname'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: See [Creating and managing labels](https://cloud.google.com/recaptcha-enterprise/docs/labels).\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the Key in the format \"projects/{project}/keys/{key}\".\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testingOptions:\n type: object\n x-dcl-go-name: TestingOptions\n x-dcl-go-type: KeyTestingOptions\n description: Options for user acceptance testing.\n x-kubernetes-immutable: true\n properties:\n testingChallenge:\n type: string\n x-dcl-go-name: TestingChallenge\n x-dcl-go-type: KeyTestingOptionsTestingChallengeEnum\n description: 'For challenge-based keys only (CHECKBOX, INVISIBLE), all\n challenge requests for this site will return nocaptcha if NOCAPTCHA,\n or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values:\n TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TESTING_CHALLENGE_UNSPECIFIED\n - NOCAPTCHA\n - UNSOLVABLE_CHALLENGE\n testingScore:\n type: number\n format: double\n x-dcl-go-name: TestingScore\n description: All assessments for this Key will return this score. Must\n be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.\n x-kubernetes-immutable: true\n webSettings:\n type: object\n x-dcl-go-name: WebSettings\n x-dcl-go-type: KeyWebSettings\n description: Settings for keys that can be used by websites.\n x-dcl-conflicts:\n - androidSettings\n - iosSettings\n required:\n - integrationType\n properties:\n allowAllDomains:\n type: boolean\n x-dcl-go-name: AllowAllDomains\n description: If set to true, it means allowed_domains will not be enforced.\n allowAmpTraffic:\n type: boolean\n x-dcl-go-name: AllowAmpTraffic\n description: If set to true, the key can be used on AMP (Accelerated\n Mobile Pages) websites. This is supported only for the SCORE integration\n type.\n allowedDomains:\n type: array\n x-dcl-go-name: AllowedDomains\n description: 'Domains or subdomains of websites allowed to use the key.\n All subdomains of an allowed domain are automatically allowed. A valid\n domain requires a host and must not include any path, port, query\n or fragment. Examples: ''example.com'' or ''subdomain.example.com'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n challengeSecurityPreference:\n type: string\n x-dcl-go-name: ChallengeSecurityPreference\n x-dcl-go-type: KeyWebSettingsChallengeSecurityPreferenceEnum\n description: 'Settings for the frequency and difficulty at which this\n key triggers captcha challenges. This should only be specified for\n IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED,\n USABILITY, BALANCE, SECURITY'\n x-dcl-server-default: true\n enum:\n - CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED\n - USABILITY\n - BALANCE\n - SECURITY\n integrationType:\n type: string\n x-dcl-go-name: IntegrationType\n x-dcl-go-type: KeyWebSettingsIntegrationTypeEnum\n description: 'Required. Describes how this key is integrated with the\n website. Possible values: SCORE, CHECKBOX, INVISIBLE'\n x-kubernetes-immutable: true\n enum:\n - SCORE\n - CHECKBOX\n - INVISIBLE\n") -// 8229 bytes -// MD5: fcc4d572276459af44ee15727e96aa80 +// 8254 bytes +// MD5: b5845766897059fbcb5bbe7c1c6f07eb diff --git a/services/google/recaptchaenterprise/beta/key_schema.go b/services/google/recaptchaenterprise/beta/key_schema.go index 19f27e0947..489c14b120 100755 --- a/services/google/recaptchaenterprise/beta/key_schema.go +++ b/services/google/recaptchaenterprise/beta/key_schema.go @@ -23,6 +23,7 @@ func DCLKeySchema() *dcl.Schema { Title: "RecaptchaEnterprise/Key", Description: "The RecaptchaEnterprise Key resource", StructName: "Key", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/recaptchaenterprise/key.yaml b/services/google/recaptchaenterprise/key.yaml index 0dd274c5b9..6ef230d248 100755 --- a/services/google/recaptchaenterprise/key.yaml +++ b/services/google/recaptchaenterprise/key.yaml @@ -15,6 +15,7 @@ info: title: RecaptchaEnterprise/Key description: The RecaptchaEnterprise Key resource x-dcl-struct-name: Key + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/recaptchaenterprise/key_schema.go b/services/google/recaptchaenterprise/key_schema.go index bbb1c29452..9c29ee6ed6 100755 --- a/services/google/recaptchaenterprise/key_schema.go +++ b/services/google/recaptchaenterprise/key_schema.go @@ -23,6 +23,7 @@ func DCLKeySchema() *dcl.Schema { Title: "RecaptchaEnterprise/Key", Description: "The RecaptchaEnterprise Key resource", StructName: "Key", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/recaptchaenterprise/key_yaml_embed.go b/services/google/recaptchaenterprise/key_yaml_embed.go index f6234238ad..5329b84c16 100755 --- a/services/google/recaptchaenterprise/key_yaml_embed.go +++ b/services/google/recaptchaenterprise/key_yaml_embed.go @@ -17,7 +17,7 @@ package recaptchaenterprise // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/recaptchaenterprise/key.yaml -var YAML_key = []byte("info:\n title: RecaptchaEnterprise/Key\n description: The RecaptchaEnterprise Key resource\n x-dcl-struct-name: Key\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n apply:\n description: The function used to apply information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n delete:\n description: The function used to delete a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n deleteAll:\n description: The function used to delete all Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Key:\n title: Key\n x-dcl-id: projects/{{project}}/keys/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - project\n properties:\n androidSettings:\n type: object\n x-dcl-go-name: AndroidSettings\n x-dcl-go-type: KeyAndroidSettings\n description: Settings for keys that can be used by Android apps.\n x-dcl-conflicts:\n - webSettings\n - iosSettings\n properties:\n allowAllPackageNames:\n type: boolean\n x-dcl-go-name: AllowAllPackageNames\n description: If set to true, it means allowed_package_names will not\n be enforced.\n allowedPackageNames:\n type: array\n x-dcl-go-name: AllowedPackageNames\n description: 'Android package names of apps allowed to use the key.\n Example: ''com.companyname.appname'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: The timestamp corresponding to the creation of this Key.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-readable display name of this key. Modifiable by user.\n iosSettings:\n type: object\n x-dcl-go-name: IosSettings\n x-dcl-go-type: KeyIosSettings\n description: Settings for keys that can be used by iOS apps.\n x-dcl-conflicts:\n - webSettings\n - androidSettings\n properties:\n allowAllBundleIds:\n type: boolean\n x-dcl-go-name: AllowAllBundleIds\n description: If set to true, it means allowed_bundle_ids will not be\n enforced.\n allowedBundleIds:\n type: array\n x-dcl-go-name: AllowedBundleIds\n description: 'iOS bundle ids of apps allowed to use the key. Example:\n ''com.companyname.productname.appname'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: See [Creating and managing labels](https://cloud.google.com/recaptcha-enterprise/docs/labels).\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the Key in the format \"projects/{project}/keys/{key}\".\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testingOptions:\n type: object\n x-dcl-go-name: TestingOptions\n x-dcl-go-type: KeyTestingOptions\n description: Options for user acceptance testing.\n x-kubernetes-immutable: true\n properties:\n testingChallenge:\n type: string\n x-dcl-go-name: TestingChallenge\n x-dcl-go-type: KeyTestingOptionsTestingChallengeEnum\n description: 'For challenge-based keys only (CHECKBOX, INVISIBLE), all\n challenge requests for this site will return nocaptcha if NOCAPTCHA,\n or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values:\n TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TESTING_CHALLENGE_UNSPECIFIED\n - NOCAPTCHA\n - UNSOLVABLE_CHALLENGE\n testingScore:\n type: number\n format: double\n x-dcl-go-name: TestingScore\n description: All assessments for this Key will return this score. Must\n be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.\n x-kubernetes-immutable: true\n webSettings:\n type: object\n x-dcl-go-name: WebSettings\n x-dcl-go-type: KeyWebSettings\n description: Settings for keys that can be used by websites.\n x-dcl-conflicts:\n - androidSettings\n - iosSettings\n required:\n - integrationType\n properties:\n allowAllDomains:\n type: boolean\n x-dcl-go-name: AllowAllDomains\n description: If set to true, it means allowed_domains will not be enforced.\n allowAmpTraffic:\n type: boolean\n x-dcl-go-name: AllowAmpTraffic\n description: If set to true, the key can be used on AMP (Accelerated\n Mobile Pages) websites. This is supported only for the SCORE integration\n type.\n allowedDomains:\n type: array\n x-dcl-go-name: AllowedDomains\n description: 'Domains or subdomains of websites allowed to use the key.\n All subdomains of an allowed domain are automatically allowed. A valid\n domain requires a host and must not include any path, port, query\n or fragment. Examples: ''example.com'' or ''subdomain.example.com'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n challengeSecurityPreference:\n type: string\n x-dcl-go-name: ChallengeSecurityPreference\n x-dcl-go-type: KeyWebSettingsChallengeSecurityPreferenceEnum\n description: 'Settings for the frequency and difficulty at which this\n key triggers captcha challenges. This should only be specified for\n IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED,\n USABILITY, BALANCE, SECURITY'\n x-dcl-server-default: true\n enum:\n - CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED\n - USABILITY\n - BALANCE\n - SECURITY\n integrationType:\n type: string\n x-dcl-go-name: IntegrationType\n x-dcl-go-type: KeyWebSettingsIntegrationTypeEnum\n description: 'Required. Describes how this key is integrated with the\n website. Possible values: SCORE, CHECKBOX, INVISIBLE'\n x-kubernetes-immutable: true\n enum:\n - SCORE\n - CHECKBOX\n - INVISIBLE\n") +var YAML_key = []byte("info:\n title: RecaptchaEnterprise/Key\n description: The RecaptchaEnterprise Key resource\n x-dcl-struct-name: Key\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n apply:\n description: The function used to apply information about a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n delete:\n description: The function used to delete a Key\n parameters:\n - name: Key\n required: true\n description: A full instance of a Key\n deleteAll:\n description: The function used to delete all Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Key\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Key:\n title: Key\n x-dcl-id: projects/{{project}}/keys/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - project\n properties:\n androidSettings:\n type: object\n x-dcl-go-name: AndroidSettings\n x-dcl-go-type: KeyAndroidSettings\n description: Settings for keys that can be used by Android apps.\n x-dcl-conflicts:\n - webSettings\n - iosSettings\n properties:\n allowAllPackageNames:\n type: boolean\n x-dcl-go-name: AllowAllPackageNames\n description: If set to true, it means allowed_package_names will not\n be enforced.\n allowedPackageNames:\n type: array\n x-dcl-go-name: AllowedPackageNames\n description: 'Android package names of apps allowed to use the key.\n Example: ''com.companyname.appname'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: The timestamp corresponding to the creation of this Key.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Human-readable display name of this key. Modifiable by user.\n iosSettings:\n type: object\n x-dcl-go-name: IosSettings\n x-dcl-go-type: KeyIosSettings\n description: Settings for keys that can be used by iOS apps.\n x-dcl-conflicts:\n - webSettings\n - androidSettings\n properties:\n allowAllBundleIds:\n type: boolean\n x-dcl-go-name: AllowAllBundleIds\n description: If set to true, it means allowed_bundle_ids will not be\n enforced.\n allowedBundleIds:\n type: array\n x-dcl-go-name: AllowedBundleIds\n description: 'iOS bundle ids of apps allowed to use the key. Example:\n ''com.companyname.productname.appname'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: See [Creating and managing labels](https://cloud.google.com/recaptcha-enterprise/docs/labels).\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name for the Key in the format \"projects/{project}/keys/{key}\".\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testingOptions:\n type: object\n x-dcl-go-name: TestingOptions\n x-dcl-go-type: KeyTestingOptions\n description: Options for user acceptance testing.\n x-kubernetes-immutable: true\n properties:\n testingChallenge:\n type: string\n x-dcl-go-name: TestingChallenge\n x-dcl-go-type: KeyTestingOptionsTestingChallengeEnum\n description: 'For challenge-based keys only (CHECKBOX, INVISIBLE), all\n challenge requests for this site will return nocaptcha if NOCAPTCHA,\n or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values:\n TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n enum:\n - TESTING_CHALLENGE_UNSPECIFIED\n - NOCAPTCHA\n - UNSOLVABLE_CHALLENGE\n testingScore:\n type: number\n format: double\n x-dcl-go-name: TestingScore\n description: All assessments for this Key will return this score. Must\n be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.\n x-kubernetes-immutable: true\n webSettings:\n type: object\n x-dcl-go-name: WebSettings\n x-dcl-go-type: KeyWebSettings\n description: Settings for keys that can be used by websites.\n x-dcl-conflicts:\n - androidSettings\n - iosSettings\n required:\n - integrationType\n properties:\n allowAllDomains:\n type: boolean\n x-dcl-go-name: AllowAllDomains\n description: If set to true, it means allowed_domains will not be enforced.\n allowAmpTraffic:\n type: boolean\n x-dcl-go-name: AllowAmpTraffic\n description: If set to true, the key can be used on AMP (Accelerated\n Mobile Pages) websites. This is supported only for the SCORE integration\n type.\n allowedDomains:\n type: array\n x-dcl-go-name: AllowedDomains\n description: 'Domains or subdomains of websites allowed to use the key.\n All subdomains of an allowed domain are automatically allowed. A valid\n domain requires a host and must not include any path, port, query\n or fragment. Examples: ''example.com'' or ''subdomain.example.com'''\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n challengeSecurityPreference:\n type: string\n x-dcl-go-name: ChallengeSecurityPreference\n x-dcl-go-type: KeyWebSettingsChallengeSecurityPreferenceEnum\n description: 'Settings for the frequency and difficulty at which this\n key triggers captcha challenges. This should only be specified for\n IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED,\n USABILITY, BALANCE, SECURITY'\n x-dcl-server-default: true\n enum:\n - CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED\n - USABILITY\n - BALANCE\n - SECURITY\n integrationType:\n type: string\n x-dcl-go-name: IntegrationType\n x-dcl-go-type: KeyWebSettingsIntegrationTypeEnum\n description: 'Required. Describes how this key is integrated with the\n website. Possible values: SCORE, CHECKBOX, INVISIBLE'\n x-kubernetes-immutable: true\n enum:\n - SCORE\n - CHECKBOX\n - INVISIBLE\n") -// 8229 bytes -// MD5: fcc4d572276459af44ee15727e96aa80 +// 8254 bytes +// MD5: b5845766897059fbcb5bbe7c1c6f07eb diff --git a/services/google/run/alpha/job.yaml b/services/google/run/alpha/job.yaml index 1c70f09180..612fd05cb5 100755 --- a/services/google/run/alpha/job.yaml +++ b/services/google/run/alpha/job.yaml @@ -15,6 +15,7 @@ info: title: Run/Job description: The Run Job resource x-dcl-struct-name: Job + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/run/alpha/job_alpha_yaml_embed.go b/services/google/run/alpha/job_alpha_yaml_embed.go index f35f1fb1c5..5d4719fae6 100755 --- a/services/google/run/alpha/job_alpha_yaml_embed.go +++ b/services/google/run/alpha/job_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/run/alpha/job.yaml -var YAML_job = []byte("info:\n title: Run/Job\n description: The Run Job resource\n x-dcl-struct-name: Job\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n apply:\n description: The function used to apply information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n delete:\n description: The function used to delete a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n deleteAll:\n description: The function used to delete all Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Job:\n title: Job\n x-dcl-id: projects/{{project}}/locations/{{location}}/jobs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - template\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'KRM-style annotations for the resource. Unstructured key value\n map that may be set by external tools to store and arbitrary metadata.\n They are not queryable and should be preserved when modifying objects.\n Cloud Run will populate some annotations using ''run.googleapis.com''\n or ''serving.knative.dev'' namespaces. This field follows Kubernetes annotations''\n namespacing, limits, and rules. More info: https://kubernetes.io/docs/user-guide/annotations'\n binaryAuthorization:\n type: object\n x-dcl-go-name: BinaryAuthorization\n x-dcl-go-type: JobBinaryAuthorization\n description: Settings for the Binary Authorization feature.\n properties:\n breakglassJustification:\n type: string\n x-dcl-go-name: BreakglassJustification\n description: If present, indicates to use Breakglass using this justification.\n If use_default is False, then it must be empty. For more information\n on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass\n useDefault:\n type: boolean\n x-dcl-go-name: UseDefault\n description: If True, indicates to use the default project's binary\n authorization policy. If False, binary authorization will be disabled.\n client:\n type: string\n x-dcl-go-name: Client\n description: Arbitrary identifier for the API client.\n clientVersion:\n type: string\n x-dcl-go-name: ClientVersion\n description: Arbitrary version identifier for the API client.\n conditions:\n type: array\n x-dcl-go-name: Conditions\n readOnly: true\n description: Output only. The Conditions of all other associated sub-resources.\n They contain additional diagnostics information in case the Job does not\n reach its desired state. See comments in `reconciling` for additional\n information on reconciliation process in Cloud Run.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobConditions\n properties:\n executionReason:\n type: string\n x-dcl-go-name: ExecutionReason\n x-dcl-go-type: JobConditionsExecutionReasonEnum\n description: 'A reason for the execution condition. Possible values:\n EXECUTION_REASON_UNDEFINED, JOB_STATUS_SERVICE_POLLING_ERROR, NON_ZERO_EXIT_CODE'\n x-dcl-conflicts:\n - reason\n - revisionReason\n enum:\n - EXECUTION_REASON_UNDEFINED\n - JOB_STATUS_SERVICE_POLLING_ERROR\n - NON_ZERO_EXIT_CODE\n lastTransitionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastTransitionTime\n description: Last time the condition transitioned from one status\n to another.\n message:\n type: string\n x-dcl-go-name: Message\n description: Human readable message indicating details about the current\n status.\n reason:\n type: string\n x-dcl-go-name: Reason\n x-dcl-go-type: JobConditionsReasonEnum\n description: 'A common (service-level) reason for this condition.\n Possible values: COMMON_REASON_UNDEFINED, UNKNOWN, REVISION_FAILED,\n PROGRESS_DEADLINE_EXCEEDED, BUILD_STEP_FAILED, CONTAINER_MISSING,\n CONTAINER_PERMISSION_DENIED, CONTAINER_IMAGE_UNAUTHORIZED, CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED,\n ENCRYPTION_KEY_PERMISSION_DENIED, ENCRYPTION_KEY_CHECK_FAILED, SECRETS_ACCESS_CHECK_FAILED,\n WAITING_FOR_OPERATION, IMMEDIATE_RETRY, POSTPONED_RETRY'\n x-dcl-conflicts:\n - revisionReason\n - executionReason\n enum:\n - COMMON_REASON_UNDEFINED\n - UNKNOWN\n - REVISION_FAILED\n - PROGRESS_DEADLINE_EXCEEDED\n - BUILD_STEP_FAILED\n - CONTAINER_MISSING\n - CONTAINER_PERMISSION_DENIED\n - CONTAINER_IMAGE_UNAUTHORIZED\n - CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED\n - ENCRYPTION_KEY_PERMISSION_DENIED\n - ENCRYPTION_KEY_CHECK_FAILED\n - SECRETS_ACCESS_CHECK_FAILED\n - WAITING_FOR_OPERATION\n - IMMEDIATE_RETRY\n - POSTPONED_RETRY\n revisionReason:\n type: string\n x-dcl-go-name: RevisionReason\n x-dcl-go-type: JobConditionsRevisionReasonEnum\n description: 'A reason for the revision condition. Possible values:\n REVISION_REASON_UNDEFINED, PENDING, RESERVE, RETIRED, RETIRING,\n RECREATING, HEALTH_CHECK_CONTAINER_ERROR, CUSTOMIZED_PATH_RESPONSE_PENDING,\n MIN_INSTANCES_NOT_PROVISIONED, ACTIVE_REVISION_LIMIT_REACHED, NO_DEPLOYMENT,\n HEALTH_CHECK_SKIPPED'\n x-dcl-conflicts:\n - reason\n - executionReason\n enum:\n - REVISION_REASON_UNDEFINED\n - PENDING\n - RESERVE\n - RETIRED\n - RETIRING\n - RECREATING\n - HEALTH_CHECK_CONTAINER_ERROR\n - CUSTOMIZED_PATH_RESPONSE_PENDING\n - MIN_INSTANCES_NOT_PROVISIONED\n - ACTIVE_REVISION_LIMIT_REACHED\n - NO_DEPLOYMENT\n - HEALTH_CHECK_SKIPPED\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: JobConditionsSeverityEnum\n description: 'How to interpret failures of this condition, one of\n Error, Warning, Info Possible values: SEVERITY_UNSPECIFIED, ERROR,\n WARNING, INFO'\n enum:\n - SEVERITY_UNSPECIFIED\n - ERROR\n - WARNING\n - INFO\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: JobConditionsStateEnum\n description: 'State of the condition. Possible values: STATE_UNSPECIFIED,\n CONDITION_PENDING, CONDITION_RECONCILING, CONDITION_FAILED, CONDITION_SUCCEEDED'\n enum:\n - STATE_UNSPECIFIED\n - CONDITION_PENDING\n - CONDITION_RECONCILING\n - CONDITION_FAILED\n - CONDITION_SUCCEEDED\n type:\n type: string\n x-dcl-go-name: Type\n description: 'type is used to communicate the status of the reconciliation\n process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting\n Types common to all resources include: * \"Ready\": True when the\n Resource is ready.'\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n creator:\n type: string\n x-dcl-go-name: Creator\n readOnly: true\n description: Output only. Email address of the authenticated creator.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. The deletion time.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A system-generated fingerprint for this version\n of the resource. May be used to detect modification conflict during updates.\n x-kubernetes-immutable: true\n executionCount:\n type: integer\n format: int64\n x-dcl-go-name: ExecutionCount\n readOnly: true\n description: Output only. Number of executions created for this job.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. For a deleted resource, the time after which it\n will be permamently deleted.\n x-kubernetes-immutable: true\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n readOnly: true\n description: Output only. A number that monotonically increases every time\n the user modifies the desired state.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n readOnly: true\n description: KRM-style labels for the resource. User-provided labels are\n shared with Google's billing system, so they can be used to filter, or\n break down billing charges by team, component, environment, state, etc.\n For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels\n or https://cloud.google.com/run/docs/configuring/labels Cloud Run will\n populate some labels with 'run.googleapis.com' or 'serving.knative.dev'\n namespaces. Those labels are read-only, and user changes will not be preserved.\n x-kubernetes-immutable: true\n lastModifier:\n type: string\n x-dcl-go-name: LastModifier\n readOnly: true\n description: Output only. Email address of the last authenticated modifier.\n x-kubernetes-immutable: true\n latestCreatedExecution:\n type: object\n x-dcl-go-name: LatestCreatedExecution\n x-dcl-go-type: JobLatestCreatedExecution\n readOnly: true\n description: Output only. Name of the last created execution.\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n description: Creation timestamp of the execution.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the execution.\n x-dcl-references:\n - resource: Run/Execution\n field: selfLink\n parent: true\n latestSucceededExecution:\n type: object\n x-dcl-go-name: LatestSucceededExecution\n x-dcl-go-type: JobLatestSucceededExecution\n readOnly: true\n description: Output only. Name of the last succeeded execution.\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n description: Creation timestamp of the execution.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the execution.\n x-dcl-references:\n - resource: Run/Execution\n field: selfLink\n parent: true\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: JobLaunchStageEnum\n description: 'The launch stage as defined by [Google Cloud Platform Launch\n Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports\n `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Possible\n values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS,\n ALPHA, BETA, GA, DEPRECATED'\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job}'\n observedGeneration:\n type: integer\n format: int64\n x-dcl-go-name: ObservedGeneration\n readOnly: true\n description: Output only. The generation of this Job. See comments in `reconciling`\n for additional information on reconciliation process in Cloud Run.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: 'Output only. Returns true if the Job is currently being acted\n upon by the system to bring it into the desired state. When a new Job\n is created, or an existing one is updated, Cloud Run will asynchronously\n perform all necessary steps to bring the Job to the desired state. This\n process is called reconciliation. While reconciliation is in process,\n `observed_generation` and `latest_succeeded_execution`, will have transient\n values that might mismatch the intended state: Once reconciliation is\n over (and this field is false), there are two possible outcomes: reconciliation\n succeeded and the state matches the Job, or there was an error, and reconciliation\n failed. This state can be found in `terminal_condition.state`. If reconciliation\n succeeded, the following fields will match: `observed_generation` and\n `generation`, `latest_succeeded_execution` and `latest_created_execution`.\n If reconciliation failed, `observed_generation` and `latest_succeeded_execution`\n will have the state of the last succeeded execution or empty for newly\n created Job. Additional information on the failure can be found in `terminal_condition`\n and `conditions`.'\n x-kubernetes-immutable: true\n template:\n type: object\n x-dcl-go-name: Template\n x-dcl-go-type: JobTemplate\n description: Required. The template used to create executions for this Job.\n required:\n - template\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: KRM-style annotations for the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: KRM-style labels for the resource.\n parallelism:\n type: integer\n format: int64\n x-dcl-go-name: Parallelism\n description: 'Specifies the maximum desired number of tasks the execution\n should run at any given time. Must be <= task_count. The actual number\n of tasks running in steady state will be less than this number when\n ((.spec.task_count - .status.successful) < .spec.parallelism), i.e.\n when the work left to do is less than max parallelism. More info:\n https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/'\n x-dcl-server-default: true\n taskCount:\n type: integer\n format: int64\n x-dcl-go-name: TaskCount\n description: 'Specifies the desired number of tasks the execution should\n run. Setting to 1 means that parallelism is limited to 1 and the success\n of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/'\n x-dcl-server-default: true\n template:\n type: object\n x-dcl-go-name: Template\n x-dcl-go-type: JobTemplateTemplate\n description: Required. Describes the task(s) that will be created when\n executing an execution.\n properties:\n containers:\n type: array\n x-dcl-go-name: Containers\n description: Holds the single container that defines the unit of\n execution for this task.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateContainers\n required:\n - image\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: 'Arguments to the entrypoint. The docker image''s\n CMD is used if this is not provided. Variable references\n $(VAR_NAME) are expanded using the container''s environment.\n If a variable cannot be resolved, the reference in the input\n string will be unchanged. The $(VAR_NAME) syntax can be\n escaped with a double $$, ie: $$(VAR_NAME). Escaped references\n will never be expanded, regardless of whether the variable\n exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n command:\n type: array\n x-dcl-go-name: Command\n description: 'Entrypoint array. Not executed within a shell.\n The docker image''s ENTRYPOINT is used if this is not provided.\n Variable references $(VAR_NAME) are expanded using the container''s\n environment. If a variable cannot be resolved, the reference\n in the input string will be unchanged. The $(VAR_NAME) syntax\n can be escaped with a double $$, ie: $$(VAR_NAME). Escaped\n references will never be expanded, regardless of whether\n the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n env:\n type: array\n x-dcl-go-name: Env\n description: List of environment variables to set in the container.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateContainersEnv\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment variable.\n Must be a C_IDENTIFIER, and mnay not exceed 32768\n characters.\n value:\n type: string\n x-dcl-go-name: Value\n description: 'Variable references $(VAR_NAME) are expanded\n using the previous defined environment variables in\n the container and any route environment variables.\n If a variable cannot be resolved, the reference in\n the input string will be unchanged. The $(VAR_NAME)\n syntax can be escaped with a double $$, ie: $$(VAR_NAME).\n Escaped references will never be expanded, regardless\n of whether the variable exists or not. Defaults to\n \"\", and the maximum length is 32768 bytes.'\n x-dcl-conflicts:\n - valueSource\n valueSource:\n type: object\n x-dcl-go-name: ValueSource\n x-dcl-go-type: JobTemplateTemplateContainersEnvValueSource\n description: Source for the environment variable's value.\n x-dcl-conflicts:\n - value\n properties:\n secretKeyRef:\n type: object\n x-dcl-go-name: SecretKeyRef\n x-dcl-go-type: JobTemplateTemplateContainersEnvValueSourceSecretKeyRef\n description: Selects a secret and a specific version\n from Cloud Secret Manager.\n required:\n - secret\n properties:\n secret:\n type: string\n x-dcl-go-name: Secret\n description: 'Required. The name of the secret\n in Cloud Secret Manager. Format: {secret_name}\n if the secret is in the same project. projects/{project}/secrets/{secret_name}\n if the secret is in a different project.'\n x-dcl-references:\n - resource: Secretmanager/Secret\n field: selfLink\n version:\n type: string\n x-dcl-go-name: Version\n description: The Cloud Secret Manager secret\n version. Can be 'latest' for the latest value\n or an integer for a specific version.\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: selfLink\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Required. URL of the Container image in Google\n Container Registry or Docker More info: https://kubernetes.io/docs/concepts/containers/images'\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the container specified as a DNS_LABEL.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: List of ports to expose from the container. Only\n a single port can be specified. The specified ports must\n be listening on all interfaces (0.0.0.0) within the container\n to be accessible. If omitted, a port number will be chosen\n and passed to the container through the PORT environment\n variable for the container to listen on.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateContainersPorts\n properties:\n containerPort:\n type: integer\n format: int64\n x-dcl-go-name: ContainerPort\n description: Port number the container listens on. This\n must be a valid TCP port number, 0 < container_port\n < 65536.\n name:\n type: string\n x-dcl-go-name: Name\n description: If specified, used to specify which protocol\n to use. Allowed values are \"http1\" and \"h2c\".\n resources:\n type: object\n x-dcl-go-name: Resources\n x-dcl-go-type: JobTemplateTemplateContainersResources\n description: 'Compute Resource requirements by this container.\n More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'\n x-dcl-server-default: true\n properties:\n cpuIdle:\n type: boolean\n x-dcl-go-name: CpuIdle\n description: Determines whether CPU should be throttled\n or not outside of requests.\n x-dcl-server-default: true\n limits:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Limits\n description: 'Only memory and CPU are supported. Note:\n The only supported values for CPU are ''1'', ''2'',\n and ''4''. Setting 4 CPU requires at least 2Gi of memory.\n The values of the map is string form of the ''quantity''\n k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go'\n volumeMounts:\n type: array\n x-dcl-go-name: VolumeMounts\n description: Volume to mount into the container's filesystem.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateContainersVolumeMounts\n required:\n - name\n - mountPath\n properties:\n mountPath:\n type: string\n x-dcl-go-name: MountPath\n description: Required. Path within the container at\n which the volume should be mounted. Must not contain\n ':'. For Cloud SQL volumes, it can be left empty,\n or must otherwise be `/cloudsql`. All instances defined\n in the Volume will be available as `/cloudsql/[instance]`.\n For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. This must match the Name of a\n Volume.\n encryptionKey:\n type: string\n x-dcl-go-name: EncryptionKey\n description: A reference to a customer managed encryption key (CMEK)\n to use to encrypt this container image. For more information,\n go to https://cloud.google.com/run/docs/securing/using-cmek\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n executionEnvironment:\n type: string\n x-dcl-go-name: ExecutionEnvironment\n x-dcl-go-type: JobTemplateTemplateExecutionEnvironmentEnum\n description: 'The execution environment being used to host this\n Task. Possible values: EXECUTION_ENVIRONMENT_UNSPECIFIED, EXECUTION_ENVIRONMENT_DEFAULT,\n EXECUTION_ENVIRONMENT_GEN2'\n enum:\n - EXECUTION_ENVIRONMENT_UNSPECIFIED\n - EXECUTION_ENVIRONMENT_DEFAULT\n - EXECUTION_ENVIRONMENT_GEN2\n maxRetries:\n type: integer\n format: int64\n x-dcl-go-name: MaxRetries\n description: Number of retries allowed per Task, before marking\n this Task failed.\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Email address of the IAM service account associated\n with the Task of a Job. The service account represents the identity\n of the running task, and determines what permissions the task\n has. If not provided, the task will use the project's default\n service account.\n x-dcl-server-default: true\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Max allowed time duration the Task may be active before\n the system will actively try to mark it failed and kill associated\n containers. This applies per attempt of a task, meaning each retry\n can run for the full timeout.\n x-dcl-server-default: true\n volumes:\n type: array\n x-dcl-go-name: Volumes\n description: A list of Volumes to make available to containers.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateVolumes\n required:\n - name\n properties:\n cloudSqlInstance:\n type: object\n x-dcl-go-name: CloudSqlInstance\n x-dcl-go-type: JobTemplateTemplateVolumesCloudSqlInstance\n description: For Cloud SQL volumes, contains the specific\n instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run\n for more information on how to connect Cloud SQL and Cloud\n Run.\n x-dcl-conflicts:\n - secret\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: 'The Cloud SQL instance connection names,\n as can be found in https://console.cloud.google.com/sql/instances.\n Visit https://cloud.google.com/sql/docs/mysql/connect-run\n for more information on how to connect Cloud SQL and\n Cloud Run. Format: {project}:{location}:{instance}'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Volume's name.\n secret:\n type: object\n x-dcl-go-name: Secret\n x-dcl-go-type: JobTemplateTemplateVolumesSecret\n description: 'Secret represents a secret that should populate\n this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'\n x-dcl-conflicts:\n - cloudSqlInstance\n required:\n - secret\n properties:\n defaultMode:\n type: integer\n format: int64\n x-dcl-go-name: DefaultMode\n description: 'Integer representation of mode bits to use\n on created files by default. Must be a value between\n 0000 and 0777 (octal), defaulting to 0644. Directories\n within the path are not affected by this setting. Notes\n * Internally, a umask of 0222 will be applied to any\n non-zero value. * This is an integer representation\n of the mode bits. So, the octal integer value should\n look exactly as the chmod numeric notation with a leading\n zero. Some examples: for chmod 777 (a=rwx), set to 0777\n (octal) or 511 (base-10). For chmod 640 (u=rw,g=r),\n set to 0640 (octal) or 416 (base-10). For chmod 755\n (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10).\n * This might be in conflict with other options that\n affect the file mode, like fsGroup, and the result can\n be other mode bits set. This might be in conflict with\n other options that affect the file mode, like fsGroup,\n and as a result, other mode bits could be set.'\n items:\n type: array\n x-dcl-go-name: Items\n description: If unspecified, the volume will expose a\n file whose name is the secret, relative to VolumeMount.mount_path.\n If specified, the key will be used as the version to\n fetch from Cloud Secret Manager and the path will be\n the name of the file exposed in the volume. When items\n are defined, they must specify a path and a version.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateVolumesSecretItems\n required:\n - path\n properties:\n mode:\n type: integer\n format: int64\n x-dcl-go-name: Mode\n description: 'Integer octal mode bits to use on\n this file, must be a value between 01 and 0777\n (octal). If 0 or not set, the Volume''s default\n mode will be used. Notes * Internally, a umask\n of 0222 will be applied to any non-zero value.\n * This is an integer representation of the mode\n bits. So, the octal integer value should look\n exactly as the chmod numeric notation with a leading\n zero. Some examples: for chmod 777 (a=rwx), set\n to 0777 (octal) or 511 (base-10). For chmod 640\n (u=rw,g=r), set to 0640 (octal) or 416 (base-10).\n For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal)\n or 493 (base-10). * This might be in conflict\n with other options that affect the file mode,\n like fsGroup, and the result can be other mode\n bits set.'\n path:\n type: string\n x-dcl-go-name: Path\n description: Required. The relative path of the\n secret in the container.\n version:\n type: string\n x-dcl-go-name: Version\n description: The Cloud Secret Manager secret version.\n Can be 'latest' for the latest value or an integer\n for a specific version.\n secret:\n type: string\n x-dcl-go-name: Secret\n description: 'Required. The name of the secret in Cloud\n Secret Manager. Format: {secret} if the secret is in\n the same project. projects/{project}/secrets/{secret}\n if the secret is in a different project.'\n vpcAccess:\n type: object\n x-dcl-go-name: VPCAccess\n x-dcl-go-type: JobTemplateTemplateVPCAccess\n description: VPC Access configuration to use for this Task. For\n more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.\n properties:\n connector:\n type: string\n x-dcl-go-name: Connector\n description: 'VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}'\n x-dcl-references:\n - resource: Vpcaccess/Connector\n field: selfLink\n egress:\n type: string\n x-dcl-go-name: Egress\n x-dcl-go-type: JobTemplateTemplateVPCAccessEgressEnum\n description: 'Traffic VPC egress settings. Possible values:\n VPC_EGRESS_UNSPECIFIED, ALL_TRAFFIC, PRIVATE_RANGES_ONLY'\n enum:\n - VPC_EGRESS_UNSPECIFIED\n - ALL_TRAFFIC\n - PRIVATE_RANGES_ONLY\n terminalCondition:\n type: object\n x-dcl-go-name: TerminalCondition\n x-dcl-go-type: JobTerminalCondition\n readOnly: true\n description: Output only. The Condition of this Job, containing its readiness\n status, and detailed error information in case it did not reach the desired\n state.\n properties:\n domainMappingReason:\n type: string\n x-dcl-go-name: DomainMappingReason\n x-dcl-go-type: JobTerminalConditionDomainMappingReasonEnum\n description: 'A reason for the domain mapping condition. Possible values:\n DOMAIN_MAPPING_REASON_UNDEFINED, ROUTE_NOT_READY, PERMISSION_DENIED,\n CERTIFICATE_ALREADY_EXISTS, MAPPING_ALREADY_EXISTS, CERTIFICATE_PENDING,\n CERTIFICATE_FAILED'\n x-dcl-conflicts:\n - reason\n - internalReason\n - revisionReason\n - executionReason\n enum:\n - DOMAIN_MAPPING_REASON_UNDEFINED\n - ROUTE_NOT_READY\n - PERMISSION_DENIED\n - CERTIFICATE_ALREADY_EXISTS\n - MAPPING_ALREADY_EXISTS\n - CERTIFICATE_PENDING\n - CERTIFICATE_FAILED\n executionReason:\n type: string\n x-dcl-go-name: ExecutionReason\n x-dcl-go-type: JobTerminalConditionExecutionReasonEnum\n description: 'A reason for the execution condition. Possible values:\n EXECUTION_REASON_UNDEFINED, JOB_STATUS_SERVICE_POLLING_ERROR, NON_ZERO_EXIT_CODE'\n x-dcl-conflicts:\n - reason\n - internalReason\n - domainMappingReason\n - revisionReason\n enum:\n - EXECUTION_REASON_UNDEFINED\n - JOB_STATUS_SERVICE_POLLING_ERROR\n - NON_ZERO_EXIT_CODE\n internalReason:\n type: string\n x-dcl-go-name: InternalReason\n x-dcl-go-type: JobTerminalConditionInternalReasonEnum\n description: 'A reason for the internal condition. Possible values:\n INTERNAL_REASON_UNDEFINED, CONFLICTING_REVISION_NAME, REVISION_MISSING,\n CONFIGURATION_MISSING, ASSIGNING_TRAFFIC, UPDATING_INGRESS_TRAFFIC_ALLOWED,\n REVISION_ORG_POLICY_VIOLATION, ENABLING_GCFV2_URI_SUPPORT'\n x-dcl-conflicts:\n - reason\n - domainMappingReason\n - revisionReason\n - executionReason\n enum:\n - INTERNAL_REASON_UNDEFINED\n - CONFLICTING_REVISION_NAME\n - REVISION_MISSING\n - CONFIGURATION_MISSING\n - ASSIGNING_TRAFFIC\n - UPDATING_INGRESS_TRAFFIC_ALLOWED\n - REVISION_ORG_POLICY_VIOLATION\n - ENABLING_GCFV2_URI_SUPPORT\n lastTransitionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastTransitionTime\n description: Last time the condition transitioned from one status to\n another.\n message:\n type: string\n x-dcl-go-name: Message\n description: Human readable message indicating details about the current\n status.\n reason:\n type: string\n x-dcl-go-name: Reason\n x-dcl-go-type: JobTerminalConditionReasonEnum\n description: 'A common (service-level) reason for this condition. Possible\n values: COMMON_REASON_UNDEFINED, UNKNOWN, ROUTE_MISSING, REVISION_FAILED,\n PROGRESS_DEADLINE_EXCEEDED, CONTAINER_MISSING, CONTAINER_PERMISSION_DENIED,\n CONTAINER_IMAGE_UNAUTHORIZED, CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED,\n ENCRYPTION_KEY_PERMISSION_DENIED, ENCRYPTION_KEY_CHECK_FAILED, SECRETS_ACCESS_CHECK_FAILED,\n WAITING_FOR_OPERATION, IMMEDIATE_RETRY, POSTPONED_RETRY'\n x-dcl-conflicts:\n - internalReason\n - domainMappingReason\n - revisionReason\n - executionReason\n enum:\n - COMMON_REASON_UNDEFINED\n - UNKNOWN\n - ROUTE_MISSING\n - REVISION_FAILED\n - PROGRESS_DEADLINE_EXCEEDED\n - CONTAINER_MISSING\n - CONTAINER_PERMISSION_DENIED\n - CONTAINER_IMAGE_UNAUTHORIZED\n - CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED\n - ENCRYPTION_KEY_PERMISSION_DENIED\n - ENCRYPTION_KEY_CHECK_FAILED\n - SECRETS_ACCESS_CHECK_FAILED\n - WAITING_FOR_OPERATION\n - IMMEDIATE_RETRY\n - POSTPONED_RETRY\n revisionReason:\n type: string\n x-dcl-go-name: RevisionReason\n x-dcl-go-type: JobTerminalConditionRevisionReasonEnum\n description: 'A reason for the revision condition. Possible values:\n REVISION_REASON_UNDEFINED, PENDING, RESERVE, RETIRED, RETIRING, RECREATING,\n HEALTH_CHECK_CONTAINER_ERROR, CUSTOMIZED_PATH_RESPONSE_PENDING, MIN_INSTANCES_NOT_PROVISIONED,\n ACTIVE_REVISION_LIMIT_REACHED, NO_DEPLOYMENT, HEALTH_CHECK_SKIPPED'\n x-dcl-conflicts:\n - reason\n - internalReason\n - domainMappingReason\n - executionReason\n enum:\n - REVISION_REASON_UNDEFINED\n - PENDING\n - RESERVE\n - RETIRED\n - RETIRING\n - RECREATING\n - HEALTH_CHECK_CONTAINER_ERROR\n - CUSTOMIZED_PATH_RESPONSE_PENDING\n - MIN_INSTANCES_NOT_PROVISIONED\n - ACTIVE_REVISION_LIMIT_REACHED\n - NO_DEPLOYMENT\n - HEALTH_CHECK_SKIPPED\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: JobTerminalConditionSeverityEnum\n description: 'How to interpret failures of this condition, one of Error,\n Warning, Info Possible values: SEVERITY_UNSPECIFIED, ERROR, WARNING,\n INFO'\n enum:\n - SEVERITY_UNSPECIFIED\n - ERROR\n - WARNING\n - INFO\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: JobTerminalConditionStateEnum\n description: 'State of the condition. Possible values: STATE_UNSPECIFIED,\n CONDITION_PENDING, CONDITION_RECONCILING, CONDITION_FAILED, CONDITION_SUCCEEDED'\n enum:\n - STATE_UNSPECIFIED\n - CONDITION_PENDING\n - CONDITION_RECONCILING\n - CONDITION_FAILED\n - CONDITION_SUCCEEDED\n type:\n type: string\n x-dcl-go-name: Type\n description: 'type is used to communicate the status of the reconciliation\n process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting\n Types common to all resources include: * \"Ready\": True when the Resource\n is ready.'\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the Execution.\n The value is a UUID4 string and guaranteed to remain unchanged until the\n resource is deleted.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") +var YAML_job = []byte("info:\n title: Run/Job\n description: The Run Job resource\n x-dcl-struct-name: Job\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n apply:\n description: The function used to apply information about a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n delete:\n description: The function used to delete a Job\n parameters:\n - name: Job\n required: true\n description: A full instance of a Job\n deleteAll:\n description: The function used to delete all Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Job\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Job:\n title: Job\n x-dcl-id: projects/{{project}}/locations/{{location}}/jobs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - template\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'KRM-style annotations for the resource. Unstructured key value\n map that may be set by external tools to store and arbitrary metadata.\n They are not queryable and should be preserved when modifying objects.\n Cloud Run will populate some annotations using ''run.googleapis.com''\n or ''serving.knative.dev'' namespaces. This field follows Kubernetes annotations''\n namespacing, limits, and rules. More info: https://kubernetes.io/docs/user-guide/annotations'\n binaryAuthorization:\n type: object\n x-dcl-go-name: BinaryAuthorization\n x-dcl-go-type: JobBinaryAuthorization\n description: Settings for the Binary Authorization feature.\n properties:\n breakglassJustification:\n type: string\n x-dcl-go-name: BreakglassJustification\n description: If present, indicates to use Breakglass using this justification.\n If use_default is False, then it must be empty. For more information\n on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass\n useDefault:\n type: boolean\n x-dcl-go-name: UseDefault\n description: If True, indicates to use the default project's binary\n authorization policy. If False, binary authorization will be disabled.\n client:\n type: string\n x-dcl-go-name: Client\n description: Arbitrary identifier for the API client.\n clientVersion:\n type: string\n x-dcl-go-name: ClientVersion\n description: Arbitrary version identifier for the API client.\n conditions:\n type: array\n x-dcl-go-name: Conditions\n readOnly: true\n description: Output only. The Conditions of all other associated sub-resources.\n They contain additional diagnostics information in case the Job does not\n reach its desired state. See comments in `reconciling` for additional\n information on reconciliation process in Cloud Run.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobConditions\n properties:\n executionReason:\n type: string\n x-dcl-go-name: ExecutionReason\n x-dcl-go-type: JobConditionsExecutionReasonEnum\n description: 'A reason for the execution condition. Possible values:\n EXECUTION_REASON_UNDEFINED, JOB_STATUS_SERVICE_POLLING_ERROR, NON_ZERO_EXIT_CODE'\n x-dcl-conflicts:\n - reason\n - revisionReason\n enum:\n - EXECUTION_REASON_UNDEFINED\n - JOB_STATUS_SERVICE_POLLING_ERROR\n - NON_ZERO_EXIT_CODE\n lastTransitionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastTransitionTime\n description: Last time the condition transitioned from one status\n to another.\n message:\n type: string\n x-dcl-go-name: Message\n description: Human readable message indicating details about the current\n status.\n reason:\n type: string\n x-dcl-go-name: Reason\n x-dcl-go-type: JobConditionsReasonEnum\n description: 'A common (service-level) reason for this condition.\n Possible values: COMMON_REASON_UNDEFINED, UNKNOWN, REVISION_FAILED,\n PROGRESS_DEADLINE_EXCEEDED, BUILD_STEP_FAILED, CONTAINER_MISSING,\n CONTAINER_PERMISSION_DENIED, CONTAINER_IMAGE_UNAUTHORIZED, CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED,\n ENCRYPTION_KEY_PERMISSION_DENIED, ENCRYPTION_KEY_CHECK_FAILED, SECRETS_ACCESS_CHECK_FAILED,\n WAITING_FOR_OPERATION, IMMEDIATE_RETRY, POSTPONED_RETRY'\n x-dcl-conflicts:\n - revisionReason\n - executionReason\n enum:\n - COMMON_REASON_UNDEFINED\n - UNKNOWN\n - REVISION_FAILED\n - PROGRESS_DEADLINE_EXCEEDED\n - BUILD_STEP_FAILED\n - CONTAINER_MISSING\n - CONTAINER_PERMISSION_DENIED\n - CONTAINER_IMAGE_UNAUTHORIZED\n - CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED\n - ENCRYPTION_KEY_PERMISSION_DENIED\n - ENCRYPTION_KEY_CHECK_FAILED\n - SECRETS_ACCESS_CHECK_FAILED\n - WAITING_FOR_OPERATION\n - IMMEDIATE_RETRY\n - POSTPONED_RETRY\n revisionReason:\n type: string\n x-dcl-go-name: RevisionReason\n x-dcl-go-type: JobConditionsRevisionReasonEnum\n description: 'A reason for the revision condition. Possible values:\n REVISION_REASON_UNDEFINED, PENDING, RESERVE, RETIRED, RETIRING,\n RECREATING, HEALTH_CHECK_CONTAINER_ERROR, CUSTOMIZED_PATH_RESPONSE_PENDING,\n MIN_INSTANCES_NOT_PROVISIONED, ACTIVE_REVISION_LIMIT_REACHED, NO_DEPLOYMENT,\n HEALTH_CHECK_SKIPPED'\n x-dcl-conflicts:\n - reason\n - executionReason\n enum:\n - REVISION_REASON_UNDEFINED\n - PENDING\n - RESERVE\n - RETIRED\n - RETIRING\n - RECREATING\n - HEALTH_CHECK_CONTAINER_ERROR\n - CUSTOMIZED_PATH_RESPONSE_PENDING\n - MIN_INSTANCES_NOT_PROVISIONED\n - ACTIVE_REVISION_LIMIT_REACHED\n - NO_DEPLOYMENT\n - HEALTH_CHECK_SKIPPED\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: JobConditionsSeverityEnum\n description: 'How to interpret failures of this condition, one of\n Error, Warning, Info Possible values: SEVERITY_UNSPECIFIED, ERROR,\n WARNING, INFO'\n enum:\n - SEVERITY_UNSPECIFIED\n - ERROR\n - WARNING\n - INFO\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: JobConditionsStateEnum\n description: 'State of the condition. Possible values: STATE_UNSPECIFIED,\n CONDITION_PENDING, CONDITION_RECONCILING, CONDITION_FAILED, CONDITION_SUCCEEDED'\n enum:\n - STATE_UNSPECIFIED\n - CONDITION_PENDING\n - CONDITION_RECONCILING\n - CONDITION_FAILED\n - CONDITION_SUCCEEDED\n type:\n type: string\n x-dcl-go-name: Type\n description: 'type is used to communicate the status of the reconciliation\n process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting\n Types common to all resources include: * \"Ready\": True when the\n Resource is ready.'\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n creator:\n type: string\n x-dcl-go-name: Creator\n readOnly: true\n description: Output only. Email address of the authenticated creator.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. The deletion time.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A system-generated fingerprint for this version\n of the resource. May be used to detect modification conflict during updates.\n x-kubernetes-immutable: true\n executionCount:\n type: integer\n format: int64\n x-dcl-go-name: ExecutionCount\n readOnly: true\n description: Output only. Number of executions created for this job.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. For a deleted resource, the time after which it\n will be permamently deleted.\n x-kubernetes-immutable: true\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n readOnly: true\n description: Output only. A number that monotonically increases every time\n the user modifies the desired state.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n readOnly: true\n description: KRM-style labels for the resource. User-provided labels are\n shared with Google's billing system, so they can be used to filter, or\n break down billing charges by team, component, environment, state, etc.\n For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels\n or https://cloud.google.com/run/docs/configuring/labels Cloud Run will\n populate some labels with 'run.googleapis.com' or 'serving.knative.dev'\n namespaces. Those labels are read-only, and user changes will not be preserved.\n x-kubernetes-immutable: true\n lastModifier:\n type: string\n x-dcl-go-name: LastModifier\n readOnly: true\n description: Output only. Email address of the last authenticated modifier.\n x-kubernetes-immutable: true\n latestCreatedExecution:\n type: object\n x-dcl-go-name: LatestCreatedExecution\n x-dcl-go-type: JobLatestCreatedExecution\n readOnly: true\n description: Output only. Name of the last created execution.\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n description: Creation timestamp of the execution.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the execution.\n x-dcl-references:\n - resource: Run/Execution\n field: selfLink\n parent: true\n latestSucceededExecution:\n type: object\n x-dcl-go-name: LatestSucceededExecution\n x-dcl-go-type: JobLatestSucceededExecution\n readOnly: true\n description: Output only. Name of the last succeeded execution.\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n description: Creation timestamp of the execution.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the execution.\n x-dcl-references:\n - resource: Run/Execution\n field: selfLink\n parent: true\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: JobLaunchStageEnum\n description: 'The launch stage as defined by [Google Cloud Platform Launch\n Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports\n `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Possible\n values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS,\n ALPHA, BETA, GA, DEPRECATED'\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job}'\n observedGeneration:\n type: integer\n format: int64\n x-dcl-go-name: ObservedGeneration\n readOnly: true\n description: Output only. The generation of this Job. See comments in `reconciling`\n for additional information on reconciliation process in Cloud Run.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: 'Output only. Returns true if the Job is currently being acted\n upon by the system to bring it into the desired state. When a new Job\n is created, or an existing one is updated, Cloud Run will asynchronously\n perform all necessary steps to bring the Job to the desired state. This\n process is called reconciliation. While reconciliation is in process,\n `observed_generation` and `latest_succeeded_execution`, will have transient\n values that might mismatch the intended state: Once reconciliation is\n over (and this field is false), there are two possible outcomes: reconciliation\n succeeded and the state matches the Job, or there was an error, and reconciliation\n failed. This state can be found in `terminal_condition.state`. If reconciliation\n succeeded, the following fields will match: `observed_generation` and\n `generation`, `latest_succeeded_execution` and `latest_created_execution`.\n If reconciliation failed, `observed_generation` and `latest_succeeded_execution`\n will have the state of the last succeeded execution or empty for newly\n created Job. Additional information on the failure can be found in `terminal_condition`\n and `conditions`.'\n x-kubernetes-immutable: true\n template:\n type: object\n x-dcl-go-name: Template\n x-dcl-go-type: JobTemplate\n description: Required. The template used to create executions for this Job.\n required:\n - template\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: KRM-style annotations for the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: KRM-style labels for the resource.\n parallelism:\n type: integer\n format: int64\n x-dcl-go-name: Parallelism\n description: 'Specifies the maximum desired number of tasks the execution\n should run at any given time. Must be <= task_count. The actual number\n of tasks running in steady state will be less than this number when\n ((.spec.task_count - .status.successful) < .spec.parallelism), i.e.\n when the work left to do is less than max parallelism. More info:\n https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/'\n x-dcl-server-default: true\n taskCount:\n type: integer\n format: int64\n x-dcl-go-name: TaskCount\n description: 'Specifies the desired number of tasks the execution should\n run. Setting to 1 means that parallelism is limited to 1 and the success\n of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/'\n x-dcl-server-default: true\n template:\n type: object\n x-dcl-go-name: Template\n x-dcl-go-type: JobTemplateTemplate\n description: Required. Describes the task(s) that will be created when\n executing an execution.\n properties:\n containers:\n type: array\n x-dcl-go-name: Containers\n description: Holds the single container that defines the unit of\n execution for this task.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateContainers\n required:\n - image\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: 'Arguments to the entrypoint. The docker image''s\n CMD is used if this is not provided. Variable references\n $(VAR_NAME) are expanded using the container''s environment.\n If a variable cannot be resolved, the reference in the input\n string will be unchanged. The $(VAR_NAME) syntax can be\n escaped with a double $$, ie: $$(VAR_NAME). Escaped references\n will never be expanded, regardless of whether the variable\n exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n command:\n type: array\n x-dcl-go-name: Command\n description: 'Entrypoint array. Not executed within a shell.\n The docker image''s ENTRYPOINT is used if this is not provided.\n Variable references $(VAR_NAME) are expanded using the container''s\n environment. If a variable cannot be resolved, the reference\n in the input string will be unchanged. The $(VAR_NAME) syntax\n can be escaped with a double $$, ie: $$(VAR_NAME). Escaped\n references will never be expanded, regardless of whether\n the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n env:\n type: array\n x-dcl-go-name: Env\n description: List of environment variables to set in the container.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateContainersEnv\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment variable.\n Must be a C_IDENTIFIER, and mnay not exceed 32768\n characters.\n value:\n type: string\n x-dcl-go-name: Value\n description: 'Variable references $(VAR_NAME) are expanded\n using the previous defined environment variables in\n the container and any route environment variables.\n If a variable cannot be resolved, the reference in\n the input string will be unchanged. The $(VAR_NAME)\n syntax can be escaped with a double $$, ie: $$(VAR_NAME).\n Escaped references will never be expanded, regardless\n of whether the variable exists or not. Defaults to\n \"\", and the maximum length is 32768 bytes.'\n x-dcl-conflicts:\n - valueSource\n valueSource:\n type: object\n x-dcl-go-name: ValueSource\n x-dcl-go-type: JobTemplateTemplateContainersEnvValueSource\n description: Source for the environment variable's value.\n x-dcl-conflicts:\n - value\n properties:\n secretKeyRef:\n type: object\n x-dcl-go-name: SecretKeyRef\n x-dcl-go-type: JobTemplateTemplateContainersEnvValueSourceSecretKeyRef\n description: Selects a secret and a specific version\n from Cloud Secret Manager.\n required:\n - secret\n properties:\n secret:\n type: string\n x-dcl-go-name: Secret\n description: 'Required. The name of the secret\n in Cloud Secret Manager. Format: {secret_name}\n if the secret is in the same project. projects/{project}/secrets/{secret_name}\n if the secret is in a different project.'\n x-dcl-references:\n - resource: Secretmanager/Secret\n field: selfLink\n version:\n type: string\n x-dcl-go-name: Version\n description: The Cloud Secret Manager secret\n version. Can be 'latest' for the latest value\n or an integer for a specific version.\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: selfLink\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Required. URL of the Container image in Google\n Container Registry or Docker More info: https://kubernetes.io/docs/concepts/containers/images'\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the container specified as a DNS_LABEL.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: List of ports to expose from the container. Only\n a single port can be specified. The specified ports must\n be listening on all interfaces (0.0.0.0) within the container\n to be accessible. If omitted, a port number will be chosen\n and passed to the container through the PORT environment\n variable for the container to listen on.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateContainersPorts\n properties:\n containerPort:\n type: integer\n format: int64\n x-dcl-go-name: ContainerPort\n description: Port number the container listens on. This\n must be a valid TCP port number, 0 < container_port\n < 65536.\n name:\n type: string\n x-dcl-go-name: Name\n description: If specified, used to specify which protocol\n to use. Allowed values are \"http1\" and \"h2c\".\n resources:\n type: object\n x-dcl-go-name: Resources\n x-dcl-go-type: JobTemplateTemplateContainersResources\n description: 'Compute Resource requirements by this container.\n More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'\n x-dcl-server-default: true\n properties:\n cpuIdle:\n type: boolean\n x-dcl-go-name: CpuIdle\n description: Determines whether CPU should be throttled\n or not outside of requests.\n x-dcl-server-default: true\n limits:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Limits\n description: 'Only memory and CPU are supported. Note:\n The only supported values for CPU are ''1'', ''2'',\n and ''4''. Setting 4 CPU requires at least 2Gi of memory.\n The values of the map is string form of the ''quantity''\n k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go'\n volumeMounts:\n type: array\n x-dcl-go-name: VolumeMounts\n description: Volume to mount into the container's filesystem.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateContainersVolumeMounts\n required:\n - name\n - mountPath\n properties:\n mountPath:\n type: string\n x-dcl-go-name: MountPath\n description: Required. Path within the container at\n which the volume should be mounted. Must not contain\n ':'. For Cloud SQL volumes, it can be left empty,\n or must otherwise be `/cloudsql`. All instances defined\n in the Volume will be available as `/cloudsql/[instance]`.\n For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. This must match the Name of a\n Volume.\n encryptionKey:\n type: string\n x-dcl-go-name: EncryptionKey\n description: A reference to a customer managed encryption key (CMEK)\n to use to encrypt this container image. For more information,\n go to https://cloud.google.com/run/docs/securing/using-cmek\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n executionEnvironment:\n type: string\n x-dcl-go-name: ExecutionEnvironment\n x-dcl-go-type: JobTemplateTemplateExecutionEnvironmentEnum\n description: 'The execution environment being used to host this\n Task. Possible values: EXECUTION_ENVIRONMENT_UNSPECIFIED, EXECUTION_ENVIRONMENT_DEFAULT,\n EXECUTION_ENVIRONMENT_GEN2'\n enum:\n - EXECUTION_ENVIRONMENT_UNSPECIFIED\n - EXECUTION_ENVIRONMENT_DEFAULT\n - EXECUTION_ENVIRONMENT_GEN2\n maxRetries:\n type: integer\n format: int64\n x-dcl-go-name: MaxRetries\n description: Number of retries allowed per Task, before marking\n this Task failed.\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Email address of the IAM service account associated\n with the Task of a Job. The service account represents the identity\n of the running task, and determines what permissions the task\n has. If not provided, the task will use the project's default\n service account.\n x-dcl-server-default: true\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Max allowed time duration the Task may be active before\n the system will actively try to mark it failed and kill associated\n containers. This applies per attempt of a task, meaning each retry\n can run for the full timeout.\n x-dcl-server-default: true\n volumes:\n type: array\n x-dcl-go-name: Volumes\n description: A list of Volumes to make available to containers.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateVolumes\n required:\n - name\n properties:\n cloudSqlInstance:\n type: object\n x-dcl-go-name: CloudSqlInstance\n x-dcl-go-type: JobTemplateTemplateVolumesCloudSqlInstance\n description: For Cloud SQL volumes, contains the specific\n instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run\n for more information on how to connect Cloud SQL and Cloud\n Run.\n x-dcl-conflicts:\n - secret\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: 'The Cloud SQL instance connection names,\n as can be found in https://console.cloud.google.com/sql/instances.\n Visit https://cloud.google.com/sql/docs/mysql/connect-run\n for more information on how to connect Cloud SQL and\n Cloud Run. Format: {project}:{location}:{instance}'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Volume's name.\n secret:\n type: object\n x-dcl-go-name: Secret\n x-dcl-go-type: JobTemplateTemplateVolumesSecret\n description: 'Secret represents a secret that should populate\n this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'\n x-dcl-conflicts:\n - cloudSqlInstance\n required:\n - secret\n properties:\n defaultMode:\n type: integer\n format: int64\n x-dcl-go-name: DefaultMode\n description: 'Integer representation of mode bits to use\n on created files by default. Must be a value between\n 0000 and 0777 (octal), defaulting to 0644. Directories\n within the path are not affected by this setting. Notes\n * Internally, a umask of 0222 will be applied to any\n non-zero value. * This is an integer representation\n of the mode bits. So, the octal integer value should\n look exactly as the chmod numeric notation with a leading\n zero. Some examples: for chmod 777 (a=rwx), set to 0777\n (octal) or 511 (base-10). For chmod 640 (u=rw,g=r),\n set to 0640 (octal) or 416 (base-10). For chmod 755\n (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10).\n * This might be in conflict with other options that\n affect the file mode, like fsGroup, and the result can\n be other mode bits set. This might be in conflict with\n other options that affect the file mode, like fsGroup,\n and as a result, other mode bits could be set.'\n items:\n type: array\n x-dcl-go-name: Items\n description: If unspecified, the volume will expose a\n file whose name is the secret, relative to VolumeMount.mount_path.\n If specified, the key will be used as the version to\n fetch from Cloud Secret Manager and the path will be\n the name of the file exposed in the volume. When items\n are defined, they must specify a path and a version.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateVolumesSecretItems\n required:\n - path\n properties:\n mode:\n type: integer\n format: int64\n x-dcl-go-name: Mode\n description: 'Integer octal mode bits to use on\n this file, must be a value between 01 and 0777\n (octal). If 0 or not set, the Volume''s default\n mode will be used. Notes * Internally, a umask\n of 0222 will be applied to any non-zero value.\n * This is an integer representation of the mode\n bits. So, the octal integer value should look\n exactly as the chmod numeric notation with a leading\n zero. Some examples: for chmod 777 (a=rwx), set\n to 0777 (octal) or 511 (base-10). For chmod 640\n (u=rw,g=r), set to 0640 (octal) or 416 (base-10).\n For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal)\n or 493 (base-10). * This might be in conflict\n with other options that affect the file mode,\n like fsGroup, and the result can be other mode\n bits set.'\n path:\n type: string\n x-dcl-go-name: Path\n description: Required. The relative path of the\n secret in the container.\n version:\n type: string\n x-dcl-go-name: Version\n description: The Cloud Secret Manager secret version.\n Can be 'latest' for the latest value or an integer\n for a specific version.\n secret:\n type: string\n x-dcl-go-name: Secret\n description: 'Required. The name of the secret in Cloud\n Secret Manager. Format: {secret} if the secret is in\n the same project. projects/{project}/secrets/{secret}\n if the secret is in a different project.'\n vpcAccess:\n type: object\n x-dcl-go-name: VPCAccess\n x-dcl-go-type: JobTemplateTemplateVPCAccess\n description: VPC Access configuration to use for this Task. For\n more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.\n properties:\n connector:\n type: string\n x-dcl-go-name: Connector\n description: 'VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}'\n x-dcl-references:\n - resource: Vpcaccess/Connector\n field: selfLink\n egress:\n type: string\n x-dcl-go-name: Egress\n x-dcl-go-type: JobTemplateTemplateVPCAccessEgressEnum\n description: 'Traffic VPC egress settings. Possible values:\n VPC_EGRESS_UNSPECIFIED, ALL_TRAFFIC, PRIVATE_RANGES_ONLY'\n enum:\n - VPC_EGRESS_UNSPECIFIED\n - ALL_TRAFFIC\n - PRIVATE_RANGES_ONLY\n terminalCondition:\n type: object\n x-dcl-go-name: TerminalCondition\n x-dcl-go-type: JobTerminalCondition\n readOnly: true\n description: Output only. The Condition of this Job, containing its readiness\n status, and detailed error information in case it did not reach the desired\n state.\n properties:\n domainMappingReason:\n type: string\n x-dcl-go-name: DomainMappingReason\n x-dcl-go-type: JobTerminalConditionDomainMappingReasonEnum\n description: 'A reason for the domain mapping condition. Possible values:\n DOMAIN_MAPPING_REASON_UNDEFINED, ROUTE_NOT_READY, PERMISSION_DENIED,\n CERTIFICATE_ALREADY_EXISTS, MAPPING_ALREADY_EXISTS, CERTIFICATE_PENDING,\n CERTIFICATE_FAILED'\n x-dcl-conflicts:\n - reason\n - internalReason\n - revisionReason\n - executionReason\n enum:\n - DOMAIN_MAPPING_REASON_UNDEFINED\n - ROUTE_NOT_READY\n - PERMISSION_DENIED\n - CERTIFICATE_ALREADY_EXISTS\n - MAPPING_ALREADY_EXISTS\n - CERTIFICATE_PENDING\n - CERTIFICATE_FAILED\n executionReason:\n type: string\n x-dcl-go-name: ExecutionReason\n x-dcl-go-type: JobTerminalConditionExecutionReasonEnum\n description: 'A reason for the execution condition. Possible values:\n EXECUTION_REASON_UNDEFINED, JOB_STATUS_SERVICE_POLLING_ERROR, NON_ZERO_EXIT_CODE'\n x-dcl-conflicts:\n - reason\n - internalReason\n - domainMappingReason\n - revisionReason\n enum:\n - EXECUTION_REASON_UNDEFINED\n - JOB_STATUS_SERVICE_POLLING_ERROR\n - NON_ZERO_EXIT_CODE\n internalReason:\n type: string\n x-dcl-go-name: InternalReason\n x-dcl-go-type: JobTerminalConditionInternalReasonEnum\n description: 'A reason for the internal condition. Possible values:\n INTERNAL_REASON_UNDEFINED, CONFLICTING_REVISION_NAME, REVISION_MISSING,\n CONFIGURATION_MISSING, ASSIGNING_TRAFFIC, UPDATING_INGRESS_TRAFFIC_ALLOWED,\n REVISION_ORG_POLICY_VIOLATION, ENABLING_GCFV2_URI_SUPPORT'\n x-dcl-conflicts:\n - reason\n - domainMappingReason\n - revisionReason\n - executionReason\n enum:\n - INTERNAL_REASON_UNDEFINED\n - CONFLICTING_REVISION_NAME\n - REVISION_MISSING\n - CONFIGURATION_MISSING\n - ASSIGNING_TRAFFIC\n - UPDATING_INGRESS_TRAFFIC_ALLOWED\n - REVISION_ORG_POLICY_VIOLATION\n - ENABLING_GCFV2_URI_SUPPORT\n lastTransitionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastTransitionTime\n description: Last time the condition transitioned from one status to\n another.\n message:\n type: string\n x-dcl-go-name: Message\n description: Human readable message indicating details about the current\n status.\n reason:\n type: string\n x-dcl-go-name: Reason\n x-dcl-go-type: JobTerminalConditionReasonEnum\n description: 'A common (service-level) reason for this condition. Possible\n values: COMMON_REASON_UNDEFINED, UNKNOWN, ROUTE_MISSING, REVISION_FAILED,\n PROGRESS_DEADLINE_EXCEEDED, CONTAINER_MISSING, CONTAINER_PERMISSION_DENIED,\n CONTAINER_IMAGE_UNAUTHORIZED, CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED,\n ENCRYPTION_KEY_PERMISSION_DENIED, ENCRYPTION_KEY_CHECK_FAILED, SECRETS_ACCESS_CHECK_FAILED,\n WAITING_FOR_OPERATION, IMMEDIATE_RETRY, POSTPONED_RETRY'\n x-dcl-conflicts:\n - internalReason\n - domainMappingReason\n - revisionReason\n - executionReason\n enum:\n - COMMON_REASON_UNDEFINED\n - UNKNOWN\n - ROUTE_MISSING\n - REVISION_FAILED\n - PROGRESS_DEADLINE_EXCEEDED\n - CONTAINER_MISSING\n - CONTAINER_PERMISSION_DENIED\n - CONTAINER_IMAGE_UNAUTHORIZED\n - CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED\n - ENCRYPTION_KEY_PERMISSION_DENIED\n - ENCRYPTION_KEY_CHECK_FAILED\n - SECRETS_ACCESS_CHECK_FAILED\n - WAITING_FOR_OPERATION\n - IMMEDIATE_RETRY\n - POSTPONED_RETRY\n revisionReason:\n type: string\n x-dcl-go-name: RevisionReason\n x-dcl-go-type: JobTerminalConditionRevisionReasonEnum\n description: 'A reason for the revision condition. Possible values:\n REVISION_REASON_UNDEFINED, PENDING, RESERVE, RETIRED, RETIRING, RECREATING,\n HEALTH_CHECK_CONTAINER_ERROR, CUSTOMIZED_PATH_RESPONSE_PENDING, MIN_INSTANCES_NOT_PROVISIONED,\n ACTIVE_REVISION_LIMIT_REACHED, NO_DEPLOYMENT, HEALTH_CHECK_SKIPPED'\n x-dcl-conflicts:\n - reason\n - internalReason\n - domainMappingReason\n - executionReason\n enum:\n - REVISION_REASON_UNDEFINED\n - PENDING\n - RESERVE\n - RETIRED\n - RETIRING\n - RECREATING\n - HEALTH_CHECK_CONTAINER_ERROR\n - CUSTOMIZED_PATH_RESPONSE_PENDING\n - MIN_INSTANCES_NOT_PROVISIONED\n - ACTIVE_REVISION_LIMIT_REACHED\n - NO_DEPLOYMENT\n - HEALTH_CHECK_SKIPPED\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: JobTerminalConditionSeverityEnum\n description: 'How to interpret failures of this condition, one of Error,\n Warning, Info Possible values: SEVERITY_UNSPECIFIED, ERROR, WARNING,\n INFO'\n enum:\n - SEVERITY_UNSPECIFIED\n - ERROR\n - WARNING\n - INFO\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: JobTerminalConditionStateEnum\n description: 'State of the condition. Possible values: STATE_UNSPECIFIED,\n CONDITION_PENDING, CONDITION_RECONCILING, CONDITION_FAILED, CONDITION_SUCCEEDED'\n enum:\n - STATE_UNSPECIFIED\n - CONDITION_PENDING\n - CONDITION_RECONCILING\n - CONDITION_FAILED\n - CONDITION_SUCCEEDED\n type:\n type: string\n x-dcl-go-name: Type\n description: 'type is used to communicate the status of the reconciliation\n process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting\n Types common to all resources include: * \"Ready\": True when the Resource\n is ready.'\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the Execution.\n The value is a UUID4 string and guaranteed to remain unchanged until the\n resource is deleted.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n") -// 50102 bytes -// MD5: 850849bd10d82fd33a91bdd0078af4e8 +// 50127 bytes +// MD5: fdf7869c97b0eb8d2a5d9f96af592128 diff --git a/services/google/run/alpha/job_schema.go b/services/google/run/alpha/job_schema.go index 05f6293d66..e3f98c0bdb 100755 --- a/services/google/run/alpha/job_schema.go +++ b/services/google/run/alpha/job_schema.go @@ -23,6 +23,7 @@ func DCLJobSchema() *dcl.Schema { Title: "Run/Job", Description: "The Run Job resource", StructName: "Job", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/run/alpha/service.yaml b/services/google/run/alpha/service.yaml index 82e0d3c44b..836c8dd3b0 100755 --- a/services/google/run/alpha/service.yaml +++ b/services/google/run/alpha/service.yaml @@ -15,6 +15,7 @@ info: title: Run/Service description: The Run Service resource x-dcl-struct-name: Service + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/run/alpha/service_alpha_yaml_embed.go b/services/google/run/alpha/service_alpha_yaml_embed.go index 8eecfad772..67252b56b9 100755 --- a/services/google/run/alpha/service_alpha_yaml_embed.go +++ b/services/google/run/alpha/service_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/run/alpha/service.yaml -var YAML_service = []byte("info:\n title: Run/Service\n description: The Run Service resource\n x-dcl-struct-name: Service\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n apply:\n description: The function used to apply information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n delete:\n description: The function used to delete a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n deleteAll:\n description: The function used to delete all Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Service:\n title: Service\n x-dcl-id: projects/{{project}}/locations/{{location}}/services/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - template\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Unstructured key value map that may be set by external tools\n to store and arbitrary metadata. They are not queryable and should be\n preserved when modifying objects. Cloud Run will populate some annotations\n using ''run.googleapis.com'' or ''serving.knative.dev'' namespaces. This\n field follows Kubernetes annotations'' namespacing, limits, and rules.\n More info: http://kubernetes.io/docs/user-guide/annotations'\n binaryAuthorization:\n type: object\n x-dcl-go-name: BinaryAuthorization\n x-dcl-go-type: ServiceBinaryAuthorization\n description: Settings for the Binary Authorization feature.\n properties:\n breakglassJustification:\n type: string\n x-dcl-go-name: BreakglassJustification\n description: If present, indicates to use Breakglass using this justification.\n For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass\n useDefault:\n type: boolean\n x-dcl-go-name: UseDefault\n description: If True, indicates to use the default project's binary\n authorization policy. If False, binary authorization will be disabled\n client:\n type: string\n x-dcl-go-name: Client\n description: Arbitrary identifier for the API client.\n clientVersion:\n type: string\n x-dcl-go-name: ClientVersion\n description: Arbitrary version identifier for the API client.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n creator:\n type: string\n x-dcl-go-name: Creator\n readOnly: true\n description: Output only. Email address of the authenticated creator.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. The deletion time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: User-provided description of the Service.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A system-generated fingerprint for this version\n of the resource. May be used to detect modification conflict during updates.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. For a deleted resource, the time after which it\n will be permamently deleted.\n x-kubernetes-immutable: true\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n readOnly: true\n description: Output only. A number that monotonically increases every time\n the user modifies the desired state.\n x-kubernetes-immutable: true\n ingress:\n type: string\n x-dcl-go-name: Ingress\n x-dcl-go-type: ServiceIngressEnum\n description: Provides the ingress settings for this Service. On output,\n returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED\n if no revision is active.\n enum:\n - INGRESS_TRAFFIC_UNSPECIFIED\n - INGRESS_TRAFFIC_ALL\n - INGRESS_TRAFFIC_INTERNAL_ONLY\n - INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n readOnly: true\n description: Map of string keys and values that can be used to organize\n and categorize objects. User-provided labels are shared with Google's\n billing system, so they can be used to filter, or break down billing charges\n by team, component, environment, state, etc. For more information, visit\n https://cloud.google.com/resource-manager/docs/creating-managing-labels\n or https://cloud.google.com/run/docs/configuring/labels Cloud Run will\n populate some labels with 'run.googleapis.com' or 'serving.knative.dev'\n namespaces. Those labels are read-only, and user changes will not be preserved.\n x-kubernetes-immutable: true\n lastModifier:\n type: string\n x-dcl-go-name: LastModifier\n readOnly: true\n description: Output only. Email address of the last authenticated modifier.\n x-kubernetes-immutable: true\n latestCreatedRevision:\n type: string\n x-dcl-go-name: LatestCreatedRevision\n readOnly: true\n description: Output only. Name of the last created revision. See comments\n in `reconciling` for additional information on reconciliation process\n in Cloud Run.\n x-kubernetes-immutable: true\n latestReadyRevision:\n type: string\n x-dcl-go-name: LatestReadyRevision\n readOnly: true\n description: Output only. Name of the latest revision that is serving traffic.\n See comments in `reconciling` for additional information on reconciliation\n process in Cloud Run.\n x-kubernetes-immutable: true\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: ServiceLaunchStageEnum\n description: 'The launch stage as defined by [Google Cloud Platform Launch\n Stages](http://cloud.google.com/terms/launch-stages). Cloud Run supports\n `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Possible\n values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS,\n ALPHA, BETA, GA, DEPRECATED'\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The fully qualified name of this Service, composed\n from CreateServiceRequest.parent and CreateServiceRequest.service_id.\n Format: projects/{project}/locations/{location}/services/{service_id}'\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: 'Output only. Returns true if the Service is currently being\n acted upon by the system to bring it into the desired state. When a new\n Service is created, or an existing one is updated, Cloud Run will asynchronously\n perform all necessary steps to bring the Service to the desired serving\n state. This process is called reconciliation. While reconciliation is\n in process, `observed_generation`, `latest_ready_revison`, `traffic_statuses`,\n and `uri` will have transient values that might mismatch the intended\n state: Once reconciliation is over (and this field is false), there are\n two possible outcomes: reconciliation succeeded and the serving state\n matches the Service, or there was an error, and reconciliation failed.\n This state can be found in `terminal_condition.state`. If reconciliation\n succeeded, the following fields will match: `traffic` and `traffic_statuses`,\n `observed_generation` and `generation`, `latest_ready_revision` and `latest_created_revision`.\n If reconciliation failed, `traffic_statuses`, `observed_generation`, and\n `latest_ready_revision` will have the state of the last serving revision,\n or empty for newly created Services. Additional information on the failure\n can be found in `terminal_condition` and `conditions`.'\n x-kubernetes-immutable: true\n template:\n type: object\n x-dcl-go-name: Template\n x-dcl-go-type: ServiceTemplate\n description: Required. The template used to create revisions for this Service.\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: KRM-style annotations for the resource.\n containerConcurrency:\n type: integer\n format: int64\n x-dcl-go-name: ContainerConcurrency\n description: Sets the maximum number of requests that each serving instance\n can receive.\n containers:\n type: array\n x-dcl-go-name: Containers\n description: Holds the single container that defines the unit of execution\n for this Revision.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateContainers\n required:\n - image\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: 'Arguments to the entrypoint. The docker image''s\n CMD is used if this is not provided. Variable references $(VAR_NAME)\n are expanded using the container''s environment. If a variable\n cannot be resolved, the reference in the input string will be\n unchanged. The $(VAR_NAME) syntax can be escaped with a double\n $$, ie: $$(VAR_NAME). Escaped references will never be expanded,\n regardless of whether the variable exists or not. More info:\n https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n command:\n type: array\n x-dcl-go-name: Command\n description: 'Entrypoint array. Not executed within a shell. The\n docker image''s ENTRYPOINT is used if this is not provided.\n Variable references $(VAR_NAME) are expanded using the container''s\n environment. If a variable cannot be resolved, the reference\n in the input string will be unchanged. The $(VAR_NAME) syntax\n can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references\n will never be expanded, regardless of whether the variable exists\n or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n env:\n type: array\n x-dcl-go-name: Env\n description: List of environment variables to set in the container.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateContainersEnv\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment variable.\n Must be a C_IDENTIFIER, and mnay not exceed 32768 characters.\n value:\n type: string\n x-dcl-go-name: Value\n description: 'Variable references $(VAR_NAME) are expanded\n using the previous defined environment variables in the\n container and any route environment variables. If a variable\n cannot be resolved, the reference in the input string\n will be unchanged. The $(VAR_NAME) syntax can be escaped\n with a double $$, ie: $$(VAR_NAME). Escaped references\n will never be expanded, regardless of whether the variable\n exists or not. Defaults to \"\", and the maximum length\n is 32768 bytes.'\n x-dcl-conflicts:\n - valueSource\n valueSource:\n type: object\n x-dcl-go-name: ValueSource\n x-dcl-go-type: ServiceTemplateContainersEnvValueSource\n description: Source for the environment variable's value.\n x-dcl-conflicts:\n - value\n properties:\n secretKeyRef:\n type: object\n x-dcl-go-name: SecretKeyRef\n x-dcl-go-type: ServiceTemplateContainersEnvValueSourceSecretKeyRef\n description: Selects a secret and a specific version\n from Cloud Secret Manager.\n required:\n - secret\n properties:\n secret:\n type: string\n x-dcl-go-name: Secret\n description: 'Required. The name of the secret in\n Cloud Secret Manager. Format: {secret_name} if\n the secret is in the same project. projects/{project}/secrets/{secret_name}\n if the secret is in a different project.'\n x-dcl-references:\n - resource: Secretmanager/Secret\n field: name\n version:\n type: string\n x-dcl-go-name: Version\n description: The Cloud Secret Manager secret version.\n Can be 'latest' for the latest value or an integer\n for a specific version.\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: name\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Required. URL of the Container image in Google Container\n Registry or Docker More info: https://kubernetes.io/docs/concepts/containers/images'\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the container specified as a DNS_LABEL.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: List of ports to expose from the container. Only\n a single port can be specified. The specified ports must be\n listening on all interfaces (0.0.0.0) within the container to\n be accessible. If omitted, a port number will be chosen and\n passed to the container through the PORT environment variable\n for the container to listen on.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateContainersPorts\n properties:\n containerPort:\n type: integer\n format: int64\n x-dcl-go-name: ContainerPort\n description: Port number the container listens on. This\n must be a valid TCP port number, 0 < container_port <\n 65536.\n name:\n type: string\n x-dcl-go-name: Name\n description: If specified, used to specify which protocol\n to use. Allowed values are \"http1\" and \"h2c\".\n resources:\n type: object\n x-dcl-go-name: Resources\n x-dcl-go-type: ServiceTemplateContainersResources\n description: 'Compute Resource requirements by this container.\n More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'\n properties:\n cpuIdle:\n type: boolean\n x-dcl-go-name: CpuIdle\n description: Determines whether CPU should be throttled or\n not outside of requests.\n limits:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Limits\n description: 'Only memory and CPU are supported. Note: The\n only supported values for CPU are ''1'', ''2'', and ''4''.\n Setting 4 CPU requires at least 2Gi of memory. The values\n of the map is string form of the ''quantity'' k8s type:\n https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go'\n volumeMounts:\n type: array\n x-dcl-go-name: VolumeMounts\n description: Volume to mount into the container's filesystem.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateContainersVolumeMounts\n required:\n - name\n - mountPath\n properties:\n mountPath:\n type: string\n x-dcl-go-name: MountPath\n description: Required. Path within the container at which\n the volume should be mounted. Must not contain ':'. For\n Cloud SQL volumes, it can be left empty, or must otherwise\n be `/cloudsql`. All instances defined in the Volume will\n be available as `/cloudsql/[instance]`. For more information\n on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. This must match the Name of a Volume.\n executionEnvironment:\n type: string\n x-dcl-go-name: ExecutionEnvironment\n x-dcl-go-type: ServiceTemplateExecutionEnvironmentEnum\n description: 'The sandbox environment to host this Revision. Possible\n values: EXECUTION_ENVIRONMENT_UNSPECIFIED, EXECUTION_ENVIRONMENT_GEN1,\n EXECUTION_ENVIRONMENT_GEN2'\n enum:\n - EXECUTION_ENVIRONMENT_UNSPECIFIED\n - EXECUTION_ENVIRONMENT_GEN1\n - EXECUTION_ENVIRONMENT_GEN2\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: KRM-style labels for the resource.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The unique name for the revision. If this field is omitted,\n it will be automatically generated based on the Service name.\n scaling:\n type: object\n x-dcl-go-name: Scaling\n x-dcl-go-type: ServiceTemplateScaling\n description: Scaling settings for this Revision.\n properties:\n maxInstanceCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstanceCount\n description: Maximum number of serving instances that this resource\n should have.\n minInstanceCount:\n type: integer\n format: int64\n x-dcl-go-name: MinInstanceCount\n description: Minimum number of serving instances that this resource\n should have.\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Email address of the IAM service account associated with\n the revision of the service. The service account represents the identity\n of the running revision, and determines what permissions the revision\n has. If not provided, the revision will use the project's default\n service account.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Max allowed time for an instance to respond to a request.\n volumes:\n type: array\n x-dcl-go-name: Volumes\n description: A list of Volumes to make available to containers.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateVolumes\n required:\n - name\n properties:\n cloudSqlInstance:\n type: object\n x-dcl-go-name: CloudSqlInstance\n x-dcl-go-type: ServiceTemplateVolumesCloudSqlInstance\n description: For Cloud SQL volumes, contains the specific instances\n that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run\n for more information on how to connect Cloud SQL and Cloud Run.\n x-dcl-conflicts:\n - secret\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: 'The Cloud SQL instance connection names, as\n can be found in https://console.cloud.google.com/sql/instances.\n Visit https://cloud.google.com/sql/docs/mysql/connect-run\n for more information on how to connect Cloud SQL and Cloud\n Run. Format: {project}:{location}:{instance}'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Sql/Instance\n field: instanceName\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Volume's name.\n secret:\n type: object\n x-dcl-go-name: Secret\n x-dcl-go-type: ServiceTemplateVolumesSecret\n description: 'Secret represents a secret that should populate\n this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'\n x-dcl-conflicts:\n - cloudSqlInstance\n required:\n - secret\n properties:\n defaultMode:\n type: integer\n format: int64\n x-dcl-go-name: DefaultMode\n description: 'Integer representation of mode bits to use on\n created files by default. Must be a value between 0000 and\n 0777 (octal), defaulting to 0644. Directories within the\n path are not affected by this setting. Notes * Internally,\n a umask of 0222 will be applied to any non-zero value. *\n This is an integer representation of the mode bits. So,\n the octal integer value should look exactly as the chmod\n numeric notation with a leading zero. Some examples: for\n chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10).\n For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10).\n For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or\n 493 (base-10). * This might be in conflict with other options\n that affect the file mode, like fsGroup, and the result\n can be other mode bits set. This might be in conflict with\n other options that affect the file mode, like fsGroup, and\n as a result, other mode bits could be set.'\n items:\n type: array\n x-dcl-go-name: Items\n description: If unspecified, the volume will expose a file\n whose name is the secret, relative to VolumeMount.mount_path.\n If specified, the key will be used as the version to fetch\n from Cloud Secret Manager and the path will be the name\n of the file exposed in the volume. When items are defined,\n they must specify a path and a version.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateVolumesSecretItems\n required:\n - path\n properties:\n mode:\n type: integer\n format: int64\n x-dcl-go-name: Mode\n description: 'Integer octal mode bits to use on this\n file, must be a value between 01 and 0777 (octal).\n If 0 or not set, the Volume''s default mode will be\n used. Notes * Internally, a umask of 0222 will be\n applied to any non-zero value. * This is an integer\n representation of the mode bits. So, the octal integer\n value should look exactly as the chmod numeric notation\n with a leading zero. Some examples: for chmod 777\n (a=rwx), set to 0777 (octal) or 511 (base-10). For\n chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10).\n For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal)\n or 493 (base-10). * This might be in conflict with\n other options that affect the file mode, like fsGroup,\n and the result can be other mode bits set.'\n path:\n type: string\n x-dcl-go-name: Path\n description: Required. The relative path of the secret\n in the container.\n version:\n type: string\n x-dcl-go-name: Version\n description: The Cloud Secret Manager secret version.\n Can be 'latest' for the latest value or an integer\n for a specific version.\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: name\n secret:\n type: string\n x-dcl-go-name: Secret\n description: 'Required. The name of the secret in Cloud Secret\n Manager. Format: {secret} if the secret is in the same project.\n projects/{project}/secrets/{secret} if the secret is in\n a different project.'\n x-dcl-references:\n - resource: Secretmanager/Secret\n field: name\n vpcAccess:\n type: object\n x-dcl-go-name: VPCAccess\n x-dcl-go-type: ServiceTemplateVPCAccess\n description: VPC Access configuration to use for this Revision. For\n more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.\n properties:\n connector:\n type: string\n x-dcl-go-name: Connector\n description: 'VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}'\n x-dcl-references:\n - resource: Vpcaccess/Connector\n field: name\n egress:\n type: string\n x-dcl-go-name: Egress\n x-dcl-go-type: ServiceTemplateVPCAccessEgressEnum\n description: 'Traffic VPC egress settings. Possible values: VPC_EGRESS_UNSPECIFIED,\n ALL_TRAFFIC, PRIVATE_RANGES_ONLY'\n enum:\n - VPC_EGRESS_UNSPECIFIED\n - ALL_TRAFFIC\n - PRIVATE_RANGES_ONLY\n terminalCondition:\n type: object\n x-dcl-go-name: TerminalCondition\n x-dcl-go-type: ServiceTerminalCondition\n readOnly: true\n description: Output only. The Condition of this Service, containing its\n readiness status, and detailed error information in case it did not reach\n a serving state. See comments in `reconciling` for additional information\n on reconciliation process in Cloud Run.\n properties:\n jobReason:\n type: string\n x-dcl-go-name: JobReason\n x-dcl-go-type: ServiceTerminalConditionJobReasonEnum\n description: 'A reason for the job condition. Possible values: JOB_REASON_UNDEFINED,\n JOB_STATUS_SERVICE_POLLING_ERROR'\n x-dcl-conflicts:\n - reason\n - revisionReason\n enum:\n - JOB_REASON_UNDEFINED\n - JOB_STATUS_SERVICE_POLLING_ERROR\n lastTransitionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastTransitionTime\n description: Last time the condition transitioned from one status to\n another.\n message:\n type: string\n x-dcl-go-name: Message\n description: Human readable message indicating details about the current\n status.\n reason:\n type: string\n x-dcl-go-name: Reason\n x-dcl-go-type: ServiceTerminalConditionReasonEnum\n description: 'A common (service-level) reason for this condition. Possible\n values: COMMON_REASON_UNDEFINED, UNKNOWN, REVISION_FAILED, PROGRESS_DEADLINE_EXCEEDED,\n CONTAINER_MISSING, CONTAINER_PERMISSION_DENIED, CONTAINER_IMAGE_UNAUTHORIZED,\n CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED, ENCRYPTION_KEY_PERMISSION_DENIED,\n ENCRYPTION_KEY_CHECK_FAILED, SECRETS_ACCESS_CHECK_FAILED, WAITING_FOR_OPERATION,\n IMMEDIATE_RETRY, POSTPONED_RETRY, INTERNAL'\n x-dcl-conflicts:\n - revisionReason\n - jobReason\n enum:\n - COMMON_REASON_UNDEFINED\n - UNKNOWN\n - REVISION_FAILED\n - PROGRESS_DEADLINE_EXCEEDED\n - CONTAINER_MISSING\n - CONTAINER_PERMISSION_DENIED\n - CONTAINER_IMAGE_UNAUTHORIZED\n - CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED\n - ENCRYPTION_KEY_PERMISSION_DENIED\n - ENCRYPTION_KEY_CHECK_FAILED\n - SECRETS_ACCESS_CHECK_FAILED\n - WAITING_FOR_OPERATION\n - IMMEDIATE_RETRY\n - POSTPONED_RETRY\n - INTERNAL\n revisionReason:\n type: string\n x-dcl-go-name: RevisionReason\n x-dcl-go-type: ServiceTerminalConditionRevisionReasonEnum\n description: 'A reason for the revision condition. Possible values:\n REVISION_REASON_UNDEFINED, PENDING, RESERVE, RETIRED, RETIRING, RECREATING,\n HEALTH_CHECK_CONTAINER_ERROR, CUSTOMIZED_PATH_RESPONSE_PENDING, MIN_INSTANCES_NOT_PROVISIONED,\n ACTIVE_REVISION_LIMIT_REACHED, NO_DEPLOYMENT'\n x-dcl-conflicts:\n - reason\n - jobReason\n enum:\n - REVISION_REASON_UNDEFINED\n - PENDING\n - RESERVE\n - RETIRED\n - RETIRING\n - RECREATING\n - HEALTH_CHECK_CONTAINER_ERROR\n - CUSTOMIZED_PATH_RESPONSE_PENDING\n - MIN_INSTANCES_NOT_PROVISIONED\n - ACTIVE_REVISION_LIMIT_REACHED\n - NO_DEPLOYMENT\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: ServiceTerminalConditionSeverityEnum\n description: 'How to interpret failures of this condition, one of Error,\n Warning, Info Possible values: SEVERITY_UNSPECIFIED, ERROR, WARNING,\n INFO'\n enum:\n - SEVERITY_UNSPECIFIED\n - ERROR\n - WARNING\n - INFO\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ServiceTerminalConditionStateEnum\n description: 'State of the condition. Possible values: STATE_UNSPECIFIED,\n CONDITION_PENDING, CONDITION_RECONCILING, CONDITION_FAILED, CONDITION_SUCCEEDED'\n enum:\n - STATE_UNSPECIFIED\n - CONDITION_PENDING\n - CONDITION_RECONCILING\n - CONDITION_FAILED\n - CONDITION_SUCCEEDED\n type:\n type: string\n x-dcl-go-name: Type\n description: 'type is used to communicate the status of the reconciliation\n process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting\n Types common to all resources include: * \"Ready\": True when the Resource\n is ready.'\n traffic:\n type: array\n x-dcl-go-name: Traffic\n description: Specifies how to distribute traffic over a collection of Revisions\n belonging to the Service. If traffic is empty or not provided, defaults\n to 100% traffic to the latest `Ready` Revision.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTraffic\n properties:\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies percent of the traffic to this Revision. This\n defaults to zero if unspecified. Cloud Run currently requires 100\n percent for a single TrafficTarget entry.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: Revision to which to send this portion of traffic, if\n traffic allocation is by revision.\n tag:\n type: string\n x-dcl-go-name: Tag\n description: Indicates a string to be part of the URI to exclusively\n reference this target.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ServiceTrafficTypeEnum\n description: 'The allocation type for this traffic target. Possible\n values: TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED, TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST,\n TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION'\n enum:\n - TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED\n - TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST\n - TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION\n trafficStatuses:\n type: array\n x-dcl-go-name: TrafficStatuses\n readOnly: true\n description: Output only. Detailed status information for corresponding\n traffic targets. See comments in `reconciling` for additional information\n on reconciliation process in Cloud Run.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTrafficStatuses\n properties:\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies percent of the traffic to this Revision.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: Revision to which this traffic is sent.\n tag:\n type: string\n x-dcl-go-name: Tag\n description: Indicates the string used in the URI to exclusively reference\n this target.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ServiceTrafficStatusesTypeEnum\n description: 'The allocation type for this traffic target. Possible\n values: TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED, TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST,\n TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION'\n enum:\n - TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED\n - TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST\n - TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Displays the target URI.\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the trigger.\n The value is a UUID4 string and guaranteed to remain unchanged until the\n resource is deleted.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n uri:\n type: string\n x-dcl-go-name: Uri\n readOnly: true\n description: Output only. The main URI in which this Service is serving\n traffic.\n x-kubernetes-immutable: true\n") +var YAML_service = []byte("info:\n title: Run/Service\n description: The Run Service resource\n x-dcl-struct-name: Service\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n apply:\n description: The function used to apply information about a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n delete:\n description: The function used to delete a Service\n parameters:\n - name: Service\n required: true\n description: A full instance of a Service\n deleteAll:\n description: The function used to delete all Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Service\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Service:\n title: Service\n x-dcl-id: projects/{{project}}/locations/{{location}}/services/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - template\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Unstructured key value map that may be set by external tools\n to store and arbitrary metadata. They are not queryable and should be\n preserved when modifying objects. Cloud Run will populate some annotations\n using ''run.googleapis.com'' or ''serving.knative.dev'' namespaces. This\n field follows Kubernetes annotations'' namespacing, limits, and rules.\n More info: http://kubernetes.io/docs/user-guide/annotations'\n binaryAuthorization:\n type: object\n x-dcl-go-name: BinaryAuthorization\n x-dcl-go-type: ServiceBinaryAuthorization\n description: Settings for the Binary Authorization feature.\n properties:\n breakglassJustification:\n type: string\n x-dcl-go-name: BreakglassJustification\n description: If present, indicates to use Breakglass using this justification.\n For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass\n useDefault:\n type: boolean\n x-dcl-go-name: UseDefault\n description: If True, indicates to use the default project's binary\n authorization policy. If False, binary authorization will be disabled\n client:\n type: string\n x-dcl-go-name: Client\n description: Arbitrary identifier for the API client.\n clientVersion:\n type: string\n x-dcl-go-name: ClientVersion\n description: Arbitrary version identifier for the API client.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n creator:\n type: string\n x-dcl-go-name: Creator\n readOnly: true\n description: Output only. Email address of the authenticated creator.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. The deletion time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: User-provided description of the Service.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A system-generated fingerprint for this version\n of the resource. May be used to detect modification conflict during updates.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. For a deleted resource, the time after which it\n will be permamently deleted.\n x-kubernetes-immutable: true\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n readOnly: true\n description: Output only. A number that monotonically increases every time\n the user modifies the desired state.\n x-kubernetes-immutable: true\n ingress:\n type: string\n x-dcl-go-name: Ingress\n x-dcl-go-type: ServiceIngressEnum\n description: Provides the ingress settings for this Service. On output,\n returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED\n if no revision is active.\n enum:\n - INGRESS_TRAFFIC_UNSPECIFIED\n - INGRESS_TRAFFIC_ALL\n - INGRESS_TRAFFIC_INTERNAL_ONLY\n - INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n readOnly: true\n description: Map of string keys and values that can be used to organize\n and categorize objects. User-provided labels are shared with Google's\n billing system, so they can be used to filter, or break down billing charges\n by team, component, environment, state, etc. For more information, visit\n https://cloud.google.com/resource-manager/docs/creating-managing-labels\n or https://cloud.google.com/run/docs/configuring/labels Cloud Run will\n populate some labels with 'run.googleapis.com' or 'serving.knative.dev'\n namespaces. Those labels are read-only, and user changes will not be preserved.\n x-kubernetes-immutable: true\n lastModifier:\n type: string\n x-dcl-go-name: LastModifier\n readOnly: true\n description: Output only. Email address of the last authenticated modifier.\n x-kubernetes-immutable: true\n latestCreatedRevision:\n type: string\n x-dcl-go-name: LatestCreatedRevision\n readOnly: true\n description: Output only. Name of the last created revision. See comments\n in `reconciling` for additional information on reconciliation process\n in Cloud Run.\n x-kubernetes-immutable: true\n latestReadyRevision:\n type: string\n x-dcl-go-name: LatestReadyRevision\n readOnly: true\n description: Output only. Name of the latest revision that is serving traffic.\n See comments in `reconciling` for additional information on reconciliation\n process in Cloud Run.\n x-kubernetes-immutable: true\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: ServiceLaunchStageEnum\n description: 'The launch stage as defined by [Google Cloud Platform Launch\n Stages](http://cloud.google.com/terms/launch-stages). Cloud Run supports\n `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Possible\n values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS,\n ALPHA, BETA, GA, DEPRECATED'\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The fully qualified name of this Service, composed\n from CreateServiceRequest.parent and CreateServiceRequest.service_id.\n Format: projects/{project}/locations/{location}/services/{service_id}'\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: 'Output only. Returns true if the Service is currently being\n acted upon by the system to bring it into the desired state. When a new\n Service is created, or an existing one is updated, Cloud Run will asynchronously\n perform all necessary steps to bring the Service to the desired serving\n state. This process is called reconciliation. While reconciliation is\n in process, `observed_generation`, `latest_ready_revison`, `traffic_statuses`,\n and `uri` will have transient values that might mismatch the intended\n state: Once reconciliation is over (and this field is false), there are\n two possible outcomes: reconciliation succeeded and the serving state\n matches the Service, or there was an error, and reconciliation failed.\n This state can be found in `terminal_condition.state`. If reconciliation\n succeeded, the following fields will match: `traffic` and `traffic_statuses`,\n `observed_generation` and `generation`, `latest_ready_revision` and `latest_created_revision`.\n If reconciliation failed, `traffic_statuses`, `observed_generation`, and\n `latest_ready_revision` will have the state of the last serving revision,\n or empty for newly created Services. Additional information on the failure\n can be found in `terminal_condition` and `conditions`.'\n x-kubernetes-immutable: true\n template:\n type: object\n x-dcl-go-name: Template\n x-dcl-go-type: ServiceTemplate\n description: Required. The template used to create revisions for this Service.\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: KRM-style annotations for the resource.\n containerConcurrency:\n type: integer\n format: int64\n x-dcl-go-name: ContainerConcurrency\n description: Sets the maximum number of requests that each serving instance\n can receive.\n containers:\n type: array\n x-dcl-go-name: Containers\n description: Holds the single container that defines the unit of execution\n for this Revision.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateContainers\n required:\n - image\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: 'Arguments to the entrypoint. The docker image''s\n CMD is used if this is not provided. Variable references $(VAR_NAME)\n are expanded using the container''s environment. If a variable\n cannot be resolved, the reference in the input string will be\n unchanged. The $(VAR_NAME) syntax can be escaped with a double\n $$, ie: $$(VAR_NAME). Escaped references will never be expanded,\n regardless of whether the variable exists or not. More info:\n https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n command:\n type: array\n x-dcl-go-name: Command\n description: 'Entrypoint array. Not executed within a shell. The\n docker image''s ENTRYPOINT is used if this is not provided.\n Variable references $(VAR_NAME) are expanded using the container''s\n environment. If a variable cannot be resolved, the reference\n in the input string will be unchanged. The $(VAR_NAME) syntax\n can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references\n will never be expanded, regardless of whether the variable exists\n or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n env:\n type: array\n x-dcl-go-name: Env\n description: List of environment variables to set in the container.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateContainersEnv\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment variable.\n Must be a C_IDENTIFIER, and mnay not exceed 32768 characters.\n value:\n type: string\n x-dcl-go-name: Value\n description: 'Variable references $(VAR_NAME) are expanded\n using the previous defined environment variables in the\n container and any route environment variables. If a variable\n cannot be resolved, the reference in the input string\n will be unchanged. The $(VAR_NAME) syntax can be escaped\n with a double $$, ie: $$(VAR_NAME). Escaped references\n will never be expanded, regardless of whether the variable\n exists or not. Defaults to \"\", and the maximum length\n is 32768 bytes.'\n x-dcl-conflicts:\n - valueSource\n valueSource:\n type: object\n x-dcl-go-name: ValueSource\n x-dcl-go-type: ServiceTemplateContainersEnvValueSource\n description: Source for the environment variable's value.\n x-dcl-conflicts:\n - value\n properties:\n secretKeyRef:\n type: object\n x-dcl-go-name: SecretKeyRef\n x-dcl-go-type: ServiceTemplateContainersEnvValueSourceSecretKeyRef\n description: Selects a secret and a specific version\n from Cloud Secret Manager.\n required:\n - secret\n properties:\n secret:\n type: string\n x-dcl-go-name: Secret\n description: 'Required. The name of the secret in\n Cloud Secret Manager. Format: {secret_name} if\n the secret is in the same project. projects/{project}/secrets/{secret_name}\n if the secret is in a different project.'\n x-dcl-references:\n - resource: Secretmanager/Secret\n field: name\n version:\n type: string\n x-dcl-go-name: Version\n description: The Cloud Secret Manager secret version.\n Can be 'latest' for the latest value or an integer\n for a specific version.\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: name\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Required. URL of the Container image in Google Container\n Registry or Docker More info: https://kubernetes.io/docs/concepts/containers/images'\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the container specified as a DNS_LABEL.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: List of ports to expose from the container. Only\n a single port can be specified. The specified ports must be\n listening on all interfaces (0.0.0.0) within the container to\n be accessible. If omitted, a port number will be chosen and\n passed to the container through the PORT environment variable\n for the container to listen on.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateContainersPorts\n properties:\n containerPort:\n type: integer\n format: int64\n x-dcl-go-name: ContainerPort\n description: Port number the container listens on. This\n must be a valid TCP port number, 0 < container_port <\n 65536.\n name:\n type: string\n x-dcl-go-name: Name\n description: If specified, used to specify which protocol\n to use. Allowed values are \"http1\" and \"h2c\".\n resources:\n type: object\n x-dcl-go-name: Resources\n x-dcl-go-type: ServiceTemplateContainersResources\n description: 'Compute Resource requirements by this container.\n More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'\n properties:\n cpuIdle:\n type: boolean\n x-dcl-go-name: CpuIdle\n description: Determines whether CPU should be throttled or\n not outside of requests.\n limits:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Limits\n description: 'Only memory and CPU are supported. Note: The\n only supported values for CPU are ''1'', ''2'', and ''4''.\n Setting 4 CPU requires at least 2Gi of memory. The values\n of the map is string form of the ''quantity'' k8s type:\n https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go'\n volumeMounts:\n type: array\n x-dcl-go-name: VolumeMounts\n description: Volume to mount into the container's filesystem.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateContainersVolumeMounts\n required:\n - name\n - mountPath\n properties:\n mountPath:\n type: string\n x-dcl-go-name: MountPath\n description: Required. Path within the container at which\n the volume should be mounted. Must not contain ':'. For\n Cloud SQL volumes, it can be left empty, or must otherwise\n be `/cloudsql`. All instances defined in the Volume will\n be available as `/cloudsql/[instance]`. For more information\n on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. This must match the Name of a Volume.\n executionEnvironment:\n type: string\n x-dcl-go-name: ExecutionEnvironment\n x-dcl-go-type: ServiceTemplateExecutionEnvironmentEnum\n description: 'The sandbox environment to host this Revision. Possible\n values: EXECUTION_ENVIRONMENT_UNSPECIFIED, EXECUTION_ENVIRONMENT_GEN1,\n EXECUTION_ENVIRONMENT_GEN2'\n enum:\n - EXECUTION_ENVIRONMENT_UNSPECIFIED\n - EXECUTION_ENVIRONMENT_GEN1\n - EXECUTION_ENVIRONMENT_GEN2\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: KRM-style labels for the resource.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The unique name for the revision. If this field is omitted,\n it will be automatically generated based on the Service name.\n scaling:\n type: object\n x-dcl-go-name: Scaling\n x-dcl-go-type: ServiceTemplateScaling\n description: Scaling settings for this Revision.\n properties:\n maxInstanceCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstanceCount\n description: Maximum number of serving instances that this resource\n should have.\n minInstanceCount:\n type: integer\n format: int64\n x-dcl-go-name: MinInstanceCount\n description: Minimum number of serving instances that this resource\n should have.\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Email address of the IAM service account associated with\n the revision of the service. The service account represents the identity\n of the running revision, and determines what permissions the revision\n has. If not provided, the revision will use the project's default\n service account.\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Max allowed time for an instance to respond to a request.\n volumes:\n type: array\n x-dcl-go-name: Volumes\n description: A list of Volumes to make available to containers.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateVolumes\n required:\n - name\n properties:\n cloudSqlInstance:\n type: object\n x-dcl-go-name: CloudSqlInstance\n x-dcl-go-type: ServiceTemplateVolumesCloudSqlInstance\n description: For Cloud SQL volumes, contains the specific instances\n that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run\n for more information on how to connect Cloud SQL and Cloud Run.\n x-dcl-conflicts:\n - secret\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: 'The Cloud SQL instance connection names, as\n can be found in https://console.cloud.google.com/sql/instances.\n Visit https://cloud.google.com/sql/docs/mysql/connect-run\n for more information on how to connect Cloud SQL and Cloud\n Run. Format: {project}:{location}:{instance}'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Sql/Instance\n field: instanceName\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Volume's name.\n secret:\n type: object\n x-dcl-go-name: Secret\n x-dcl-go-type: ServiceTemplateVolumesSecret\n description: 'Secret represents a secret that should populate\n this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'\n x-dcl-conflicts:\n - cloudSqlInstance\n required:\n - secret\n properties:\n defaultMode:\n type: integer\n format: int64\n x-dcl-go-name: DefaultMode\n description: 'Integer representation of mode bits to use on\n created files by default. Must be a value between 0000 and\n 0777 (octal), defaulting to 0644. Directories within the\n path are not affected by this setting. Notes * Internally,\n a umask of 0222 will be applied to any non-zero value. *\n This is an integer representation of the mode bits. So,\n the octal integer value should look exactly as the chmod\n numeric notation with a leading zero. Some examples: for\n chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10).\n For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10).\n For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or\n 493 (base-10). * This might be in conflict with other options\n that affect the file mode, like fsGroup, and the result\n can be other mode bits set. This might be in conflict with\n other options that affect the file mode, like fsGroup, and\n as a result, other mode bits could be set.'\n items:\n type: array\n x-dcl-go-name: Items\n description: If unspecified, the volume will expose a file\n whose name is the secret, relative to VolumeMount.mount_path.\n If specified, the key will be used as the version to fetch\n from Cloud Secret Manager and the path will be the name\n of the file exposed in the volume. When items are defined,\n they must specify a path and a version.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateVolumesSecretItems\n required:\n - path\n properties:\n mode:\n type: integer\n format: int64\n x-dcl-go-name: Mode\n description: 'Integer octal mode bits to use on this\n file, must be a value between 01 and 0777 (octal).\n If 0 or not set, the Volume''s default mode will be\n used. Notes * Internally, a umask of 0222 will be\n applied to any non-zero value. * This is an integer\n representation of the mode bits. So, the octal integer\n value should look exactly as the chmod numeric notation\n with a leading zero. Some examples: for chmod 777\n (a=rwx), set to 0777 (octal) or 511 (base-10). For\n chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10).\n For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal)\n or 493 (base-10). * This might be in conflict with\n other options that affect the file mode, like fsGroup,\n and the result can be other mode bits set.'\n path:\n type: string\n x-dcl-go-name: Path\n description: Required. The relative path of the secret\n in the container.\n version:\n type: string\n x-dcl-go-name: Version\n description: The Cloud Secret Manager secret version.\n Can be 'latest' for the latest value or an integer\n for a specific version.\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: name\n secret:\n type: string\n x-dcl-go-name: Secret\n description: 'Required. The name of the secret in Cloud Secret\n Manager. Format: {secret} if the secret is in the same project.\n projects/{project}/secrets/{secret} if the secret is in\n a different project.'\n x-dcl-references:\n - resource: Secretmanager/Secret\n field: name\n vpcAccess:\n type: object\n x-dcl-go-name: VPCAccess\n x-dcl-go-type: ServiceTemplateVPCAccess\n description: VPC Access configuration to use for this Revision. For\n more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.\n properties:\n connector:\n type: string\n x-dcl-go-name: Connector\n description: 'VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}'\n x-dcl-references:\n - resource: Vpcaccess/Connector\n field: name\n egress:\n type: string\n x-dcl-go-name: Egress\n x-dcl-go-type: ServiceTemplateVPCAccessEgressEnum\n description: 'Traffic VPC egress settings. Possible values: VPC_EGRESS_UNSPECIFIED,\n ALL_TRAFFIC, PRIVATE_RANGES_ONLY'\n enum:\n - VPC_EGRESS_UNSPECIFIED\n - ALL_TRAFFIC\n - PRIVATE_RANGES_ONLY\n terminalCondition:\n type: object\n x-dcl-go-name: TerminalCondition\n x-dcl-go-type: ServiceTerminalCondition\n readOnly: true\n description: Output only. The Condition of this Service, containing its\n readiness status, and detailed error information in case it did not reach\n a serving state. See comments in `reconciling` for additional information\n on reconciliation process in Cloud Run.\n properties:\n jobReason:\n type: string\n x-dcl-go-name: JobReason\n x-dcl-go-type: ServiceTerminalConditionJobReasonEnum\n description: 'A reason for the job condition. Possible values: JOB_REASON_UNDEFINED,\n JOB_STATUS_SERVICE_POLLING_ERROR'\n x-dcl-conflicts:\n - reason\n - revisionReason\n enum:\n - JOB_REASON_UNDEFINED\n - JOB_STATUS_SERVICE_POLLING_ERROR\n lastTransitionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastTransitionTime\n description: Last time the condition transitioned from one status to\n another.\n message:\n type: string\n x-dcl-go-name: Message\n description: Human readable message indicating details about the current\n status.\n reason:\n type: string\n x-dcl-go-name: Reason\n x-dcl-go-type: ServiceTerminalConditionReasonEnum\n description: 'A common (service-level) reason for this condition. Possible\n values: COMMON_REASON_UNDEFINED, UNKNOWN, REVISION_FAILED, PROGRESS_DEADLINE_EXCEEDED,\n CONTAINER_MISSING, CONTAINER_PERMISSION_DENIED, CONTAINER_IMAGE_UNAUTHORIZED,\n CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED, ENCRYPTION_KEY_PERMISSION_DENIED,\n ENCRYPTION_KEY_CHECK_FAILED, SECRETS_ACCESS_CHECK_FAILED, WAITING_FOR_OPERATION,\n IMMEDIATE_RETRY, POSTPONED_RETRY, INTERNAL'\n x-dcl-conflicts:\n - revisionReason\n - jobReason\n enum:\n - COMMON_REASON_UNDEFINED\n - UNKNOWN\n - REVISION_FAILED\n - PROGRESS_DEADLINE_EXCEEDED\n - CONTAINER_MISSING\n - CONTAINER_PERMISSION_DENIED\n - CONTAINER_IMAGE_UNAUTHORIZED\n - CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED\n - ENCRYPTION_KEY_PERMISSION_DENIED\n - ENCRYPTION_KEY_CHECK_FAILED\n - SECRETS_ACCESS_CHECK_FAILED\n - WAITING_FOR_OPERATION\n - IMMEDIATE_RETRY\n - POSTPONED_RETRY\n - INTERNAL\n revisionReason:\n type: string\n x-dcl-go-name: RevisionReason\n x-dcl-go-type: ServiceTerminalConditionRevisionReasonEnum\n description: 'A reason for the revision condition. Possible values:\n REVISION_REASON_UNDEFINED, PENDING, RESERVE, RETIRED, RETIRING, RECREATING,\n HEALTH_CHECK_CONTAINER_ERROR, CUSTOMIZED_PATH_RESPONSE_PENDING, MIN_INSTANCES_NOT_PROVISIONED,\n ACTIVE_REVISION_LIMIT_REACHED, NO_DEPLOYMENT'\n x-dcl-conflicts:\n - reason\n - jobReason\n enum:\n - REVISION_REASON_UNDEFINED\n - PENDING\n - RESERVE\n - RETIRED\n - RETIRING\n - RECREATING\n - HEALTH_CHECK_CONTAINER_ERROR\n - CUSTOMIZED_PATH_RESPONSE_PENDING\n - MIN_INSTANCES_NOT_PROVISIONED\n - ACTIVE_REVISION_LIMIT_REACHED\n - NO_DEPLOYMENT\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: ServiceTerminalConditionSeverityEnum\n description: 'How to interpret failures of this condition, one of Error,\n Warning, Info Possible values: SEVERITY_UNSPECIFIED, ERROR, WARNING,\n INFO'\n enum:\n - SEVERITY_UNSPECIFIED\n - ERROR\n - WARNING\n - INFO\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ServiceTerminalConditionStateEnum\n description: 'State of the condition. Possible values: STATE_UNSPECIFIED,\n CONDITION_PENDING, CONDITION_RECONCILING, CONDITION_FAILED, CONDITION_SUCCEEDED'\n enum:\n - STATE_UNSPECIFIED\n - CONDITION_PENDING\n - CONDITION_RECONCILING\n - CONDITION_FAILED\n - CONDITION_SUCCEEDED\n type:\n type: string\n x-dcl-go-name: Type\n description: 'type is used to communicate the status of the reconciliation\n process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting\n Types common to all resources include: * \"Ready\": True when the Resource\n is ready.'\n traffic:\n type: array\n x-dcl-go-name: Traffic\n description: Specifies how to distribute traffic over a collection of Revisions\n belonging to the Service. If traffic is empty or not provided, defaults\n to 100% traffic to the latest `Ready` Revision.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTraffic\n properties:\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies percent of the traffic to this Revision. This\n defaults to zero if unspecified. Cloud Run currently requires 100\n percent for a single TrafficTarget entry.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: Revision to which to send this portion of traffic, if\n traffic allocation is by revision.\n tag:\n type: string\n x-dcl-go-name: Tag\n description: Indicates a string to be part of the URI to exclusively\n reference this target.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ServiceTrafficTypeEnum\n description: 'The allocation type for this traffic target. Possible\n values: TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED, TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST,\n TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION'\n enum:\n - TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED\n - TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST\n - TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION\n trafficStatuses:\n type: array\n x-dcl-go-name: TrafficStatuses\n readOnly: true\n description: Output only. Detailed status information for corresponding\n traffic targets. See comments in `reconciling` for additional information\n on reconciliation process in Cloud Run.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTrafficStatuses\n properties:\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies percent of the traffic to this Revision.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: Revision to which this traffic is sent.\n tag:\n type: string\n x-dcl-go-name: Tag\n description: Indicates the string used in the URI to exclusively reference\n this target.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ServiceTrafficStatusesTypeEnum\n description: 'The allocation type for this traffic target. Possible\n values: TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED, TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST,\n TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION'\n enum:\n - TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED\n - TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST\n - TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Displays the target URI.\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the trigger.\n The value is a UUID4 string and guaranteed to remain unchanged until the\n resource is deleted.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The last-modified time.\n x-kubernetes-immutable: true\n uri:\n type: string\n x-dcl-go-name: Uri\n readOnly: true\n description: Output only. The main URI in which this Service is serving\n traffic.\n x-kubernetes-immutable: true\n") -// 43211 bytes -// MD5: 217fa09af016d60a451bc21573c634ae +// 43236 bytes +// MD5: ad43f4aa7f1e56c6d31271492914d136 diff --git a/services/google/run/alpha/service_schema.go b/services/google/run/alpha/service_schema.go index 115536eafa..5583aa4698 100755 --- a/services/google/run/alpha/service_schema.go +++ b/services/google/run/alpha/service_schema.go @@ -23,6 +23,7 @@ func DCLServiceSchema() *dcl.Schema { Title: "Run/Service", Description: "The Run Service resource", StructName: "Service", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/servicemanagement/alpha/managed_service.yaml b/services/google/servicemanagement/alpha/managed_service.yaml index bc10493307..49c821f7b4 100755 --- a/services/google/servicemanagement/alpha/managed_service.yaml +++ b/services/google/servicemanagement/alpha/managed_service.yaml @@ -15,6 +15,7 @@ info: title: Servicemanagement/ManagedService description: The Servicemanagement ManagedService resource x-dcl-struct-name: ManagedService + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/servicemanagement/alpha/managed_service_alpha_yaml_embed.go b/services/google/servicemanagement/alpha/managed_service_alpha_yaml_embed.go index 0c071244a7..ec4408804c 100755 --- a/services/google/servicemanagement/alpha/managed_service_alpha_yaml_embed.go +++ b/services/google/servicemanagement/alpha/managed_service_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/servicemanagement/alpha/managed_service.yaml -var YAML_managed_service = []byte("info:\n title: Servicemanagement/ManagedService\n description: The Servicemanagement ManagedService resource\n x-dcl-struct-name: ManagedService\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n apply:\n description: The function used to apply information about a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n delete:\n description: The function used to delete a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n deleteAll:\n description: The function used to delete all ManagedService\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ManagedService\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ManagedService:\n title: ManagedService\n x-dcl-id: services/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the service. See the overview for naming requirements.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: ID of the project that produces and owns this service.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_managed_service = []byte("info:\n title: Servicemanagement/ManagedService\n description: The Servicemanagement ManagedService resource\n x-dcl-struct-name: ManagedService\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n apply:\n description: The function used to apply information about a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n delete:\n description: The function used to delete a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n deleteAll:\n description: The function used to delete all ManagedService\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ManagedService\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ManagedService:\n title: ManagedService\n x-dcl-id: services/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the service. See the overview for naming requirements.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: ID of the project that produces and owns this service.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 1892 bytes -// MD5: cbb21ffbe81bba774064f8f2123af96b +// 1917 bytes +// MD5: ffd37f7c0ba66497376ba1ea4cf181ea diff --git a/services/google/servicemanagement/alpha/managed_service_schema.go b/services/google/servicemanagement/alpha/managed_service_schema.go index b846741875..7dfdf735d8 100755 --- a/services/google/servicemanagement/alpha/managed_service_schema.go +++ b/services/google/servicemanagement/alpha/managed_service_schema.go @@ -23,6 +23,7 @@ func DCLManagedServiceSchema() *dcl.Schema { Title: "Servicemanagement/ManagedService", Description: "The Servicemanagement ManagedService resource", StructName: "ManagedService", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/servicemanagement/beta/managed_service.yaml b/services/google/servicemanagement/beta/managed_service.yaml index bc10493307..49c821f7b4 100755 --- a/services/google/servicemanagement/beta/managed_service.yaml +++ b/services/google/servicemanagement/beta/managed_service.yaml @@ -15,6 +15,7 @@ info: title: Servicemanagement/ManagedService description: The Servicemanagement ManagedService resource x-dcl-struct-name: ManagedService + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/servicemanagement/beta/managed_service_beta_yaml_embed.go b/services/google/servicemanagement/beta/managed_service_beta_yaml_embed.go index 4357a17f0c..b251a13cc1 100755 --- a/services/google/servicemanagement/beta/managed_service_beta_yaml_embed.go +++ b/services/google/servicemanagement/beta/managed_service_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/servicemanagement/beta/managed_service.yaml -var YAML_managed_service = []byte("info:\n title: Servicemanagement/ManagedService\n description: The Servicemanagement ManagedService resource\n x-dcl-struct-name: ManagedService\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n apply:\n description: The function used to apply information about a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n delete:\n description: The function used to delete a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n deleteAll:\n description: The function used to delete all ManagedService\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ManagedService\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ManagedService:\n title: ManagedService\n x-dcl-id: services/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the service. See the overview for naming requirements.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: ID of the project that produces and owns this service.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_managed_service = []byte("info:\n title: Servicemanagement/ManagedService\n description: The Servicemanagement ManagedService resource\n x-dcl-struct-name: ManagedService\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n apply:\n description: The function used to apply information about a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n delete:\n description: The function used to delete a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n deleteAll:\n description: The function used to delete all ManagedService\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ManagedService\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ManagedService:\n title: ManagedService\n x-dcl-id: services/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the service. See the overview for naming requirements.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: ID of the project that produces and owns this service.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 1892 bytes -// MD5: cbb21ffbe81bba774064f8f2123af96b +// 1917 bytes +// MD5: ffd37f7c0ba66497376ba1ea4cf181ea diff --git a/services/google/servicemanagement/beta/managed_service_schema.go b/services/google/servicemanagement/beta/managed_service_schema.go index f27355a2e8..d89881b474 100755 --- a/services/google/servicemanagement/beta/managed_service_schema.go +++ b/services/google/servicemanagement/beta/managed_service_schema.go @@ -23,6 +23,7 @@ func DCLManagedServiceSchema() *dcl.Schema { Title: "Servicemanagement/ManagedService", Description: "The Servicemanagement ManagedService resource", StructName: "ManagedService", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/servicemanagement/managed_service.yaml b/services/google/servicemanagement/managed_service.yaml index bc10493307..49c821f7b4 100755 --- a/services/google/servicemanagement/managed_service.yaml +++ b/services/google/servicemanagement/managed_service.yaml @@ -15,6 +15,7 @@ info: title: Servicemanagement/ManagedService description: The Servicemanagement ManagedService resource x-dcl-struct-name: ManagedService + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/servicemanagement/managed_service_schema.go b/services/google/servicemanagement/managed_service_schema.go index e778c7def1..49d35c7526 100755 --- a/services/google/servicemanagement/managed_service_schema.go +++ b/services/google/servicemanagement/managed_service_schema.go @@ -23,6 +23,7 @@ func DCLManagedServiceSchema() *dcl.Schema { Title: "Servicemanagement/ManagedService", Description: "The Servicemanagement ManagedService resource", StructName: "ManagedService", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/servicemanagement/managed_service_yaml_embed.go b/services/google/servicemanagement/managed_service_yaml_embed.go index 23c491dead..7151e9db6b 100755 --- a/services/google/servicemanagement/managed_service_yaml_embed.go +++ b/services/google/servicemanagement/managed_service_yaml_embed.go @@ -17,7 +17,7 @@ package servicemanagement // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/servicemanagement/managed_service.yaml -var YAML_managed_service = []byte("info:\n title: Servicemanagement/ManagedService\n description: The Servicemanagement ManagedService resource\n x-dcl-struct-name: ManagedService\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n apply:\n description: The function used to apply information about a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n delete:\n description: The function used to delete a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n deleteAll:\n description: The function used to delete all ManagedService\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ManagedService\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ManagedService:\n title: ManagedService\n x-dcl-id: services/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the service. See the overview for naming requirements.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: ID of the project that produces and owns this service.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") +var YAML_managed_service = []byte("info:\n title: Servicemanagement/ManagedService\n description: The Servicemanagement ManagedService resource\n x-dcl-struct-name: ManagedService\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n apply:\n description: The function used to apply information about a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n delete:\n description: The function used to delete a ManagedService\n parameters:\n - name: ManagedService\n required: true\n description: A full instance of a ManagedService\n deleteAll:\n description: The function used to delete all ManagedService\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ManagedService\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ManagedService:\n title: ManagedService\n x-dcl-id: services/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the service. See the overview for naming requirements.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: ID of the project that produces and owns this service.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n") -// 1892 bytes -// MD5: cbb21ffbe81bba774064f8f2123af96b +// 1917 bytes +// MD5: ffd37f7c0ba66497376ba1ea4cf181ea diff --git a/services/google/storage/alpha/bucket.yaml b/services/google/storage/alpha/bucket.yaml index a59041d01e..b1ebfbb38d 100755 --- a/services/google/storage/alpha/bucket.yaml +++ b/services/google/storage/alpha/bucket.yaml @@ -15,6 +15,7 @@ info: title: Storage/Bucket description: The Storage Bucket resource x-dcl-struct-name: Bucket + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/storage/alpha/bucket_alpha_yaml_embed.go b/services/google/storage/alpha/bucket_alpha_yaml_embed.go index 07fdd002b2..c00a2e661c 100755 --- a/services/google/storage/alpha/bucket_alpha_yaml_embed.go +++ b/services/google/storage/alpha/bucket_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/storage/alpha/bucket.yaml -var YAML_bucket = []byte("info:\n title: Storage/Bucket\n description: The Storage Bucket resource\n x-dcl-struct-name: Bucket\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n apply:\n description: The function used to apply information about a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n delete:\n description: The function used to delete a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n deleteAll:\n description: The function used to delete all Bucket\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Bucket\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Bucket:\n title: Bucket\n x-dcl-id: b/{{name}}?userProject={{project}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - project\n - location\n - name\n properties:\n cors:\n type: array\n x-dcl-go-name: Cors\n description: 'The bucket''s Cross-Origin Resource Sharing (CORS) configuration. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BucketCors\n properties:\n maxAgeSeconds:\n type: integer\n format: int64\n x-dcl-go-name: MaxAgeSeconds\n description: 'The value, in seconds, to return in the Access-Control-Max-Age\n header used in preflight responses. '\n method:\n type: array\n x-dcl-go-name: Method\n description: 'The list of HTTP methods on which to include CORS response\n headers, (GET, OPTIONS, POST, etc) Note: \"*\" is permitted in the\n list of methods, and means \"any method\". '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n origin:\n type: array\n x-dcl-go-name: Origin\n description: 'The list of Origins eligible to receive CORS response\n headers. Note: \"*\" is permitted in the list of origins, and means\n \"any Origin\". '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n responseHeader:\n type: array\n x-dcl-go-name: ResponseHeader\n description: 'The list of HTTP headers other than the simple response\n headers to give permission for the user-agent to share across domains. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lifecycle:\n type: object\n x-dcl-go-name: Lifecycle\n x-dcl-go-type: BucketLifecycle\n description: 'The bucket''s lifecycle configuration. See https://developers.google.com/storage/docs/lifecycle\n for more information. '\n properties:\n rule:\n type: array\n x-dcl-go-name: Rule\n description: 'A lifecycle management rule, which is made of an action\n to take and the condition(s) under which the action will be taken. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BucketLifecycleRule\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: BucketLifecycleRuleAction\n description: The action to take.\n properties:\n storageClass:\n type: string\n x-dcl-go-name: StorageClass\n description: 'Target storage class. Required if the type of\n the action is SetStorageClass. '\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: BucketLifecycleRuleActionTypeEnum\n description: 'Type of the action. Currently, only Delete and\n SetStorageClass are supported. '\n enum:\n - Delete\n - SetStorageClass\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: BucketLifecycleRuleCondition\n description: 'The condition(s) under which the action will be\n taken. '\n properties:\n age:\n type: integer\n format: int64\n x-dcl-go-name: Age\n description: 'Age of an object (in days). This condition is\n satisfied when an object reaches the specified age. '\n createdBefore:\n type: string\n format: date-time\n x-dcl-go-name: CreatedBefore\n description: 'A date in RFC 3339 format with only the date\n part (for instance, \"2013-01-15\"). This condition is satisfied\n when an object is created before midnight of the specified\n date in UTC. '\n matchesStorageClass:\n type: array\n x-dcl-go-name: MatchesStorageClass\n description: 'Objects having any of the storage classes specified\n by this condition will be matched. Values include MULTI_REGIONAL,\n REGIONAL, NEARLINE, COLDLINE, STANDARD, and DURABLE_REDUCED_AVAILABILITY. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n numNewerVersions:\n type: integer\n format: int64\n x-dcl-go-name: NumNewerVersions\n description: 'Relevant only for versioned objects. If the\n value is N, this condition is satisfied when there are at\n least N versions (including the live version) newer than\n this version of the object. '\n withState:\n type: string\n x-dcl-go-name: WithState\n x-dcl-go-type: BucketLifecycleRuleConditionWithStateEnum\n description: 'Match to live and/or archived objects. Unversioned\n buckets have only live objects. Supported values include:\n ''LIVE'', ''ARCHIVED'', ''ANY''.'\n enum:\n - LIVE\n - ARCHIVED\n - ANY\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the bucket. Object data for objects in the\n bucket resides in physical storage within this region. Defaults to `US`. '\n x-kubernetes-immutable: true\n logging:\n type: object\n x-dcl-go-name: Logging\n x-dcl-go-type: BucketLogging\n description: 'The bucket''s logging configuration, which defines the destination\n bucket and optional name prefix for the current bucket''s logs. '\n properties:\n logBucket:\n type: string\n x-dcl-go-name: LogBucket\n description: 'The destination bucket where the current bucket''s logs\n should be placed. '\n logObjectPrefix:\n type: string\n x-dcl-go-name: LogObjectPrefix\n description: The object prefix for log objects. If it's not provided,\n it defaults to the bucket's name.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of the bucket. '\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n storageClass:\n type: string\n x-dcl-go-name: StorageClass\n x-dcl-go-type: BucketStorageClassEnum\n description: 'The bucket''s default storage class, used whenever no storageClass\n is specified for a newly-created object. This defines how objects in the\n bucket are stored and determines the SLA and the cost of storage. Values\n include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE,\n and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when\n the bucket is created, it will default to STANDARD. For more information,\n see storage classes. '\n enum:\n - MULTI_REGIONAL\n - REGIONAL\n - STANDARD\n - NEARLINE\n - COLDLINE\n - ARCHIVE\n - DURABLE_REDUCED_AVAILABILITY\n versioning:\n type: object\n x-dcl-go-name: Versioning\n x-dcl-go-type: BucketVersioning\n description: The bucket's versioning configuration.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: 'While set to true, versioning is fully enabled for this\n bucket. '\n website:\n type: object\n x-dcl-go-name: Website\n x-dcl-go-type: BucketWebsite\n description: 'The bucket''s website configuration, controlling how the service\n behaves when accessing bucket contents as a web site. See the Static Website\n Examples for more information. '\n properties:\n mainPageSuffix:\n type: string\n x-dcl-go-name: MainPageSuffix\n description: 'If the requested object path is missing, the service will\n ensure the path has a trailing ''/'', append this suffix, and attempt\n to retrieve the resulting object. This allows the creation of index.html\n objects to represent directory pages. '\n notFoundPage:\n type: string\n x-dcl-go-name: NotFoundPage\n description: 'If the requested object path is missing, and any mainPageSuffix\n object is missing, if applicable, the service will return the named\n object from this bucket as the content for a 404 Not Found result. '\n") +var YAML_bucket = []byte("info:\n title: Storage/Bucket\n description: The Storage Bucket resource\n x-dcl-struct-name: Bucket\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n apply:\n description: The function used to apply information about a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n delete:\n description: The function used to delete a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n deleteAll:\n description: The function used to delete all Bucket\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Bucket\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Bucket:\n title: Bucket\n x-dcl-id: b/{{name}}?userProject={{project}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - project\n - location\n - name\n properties:\n cors:\n type: array\n x-dcl-go-name: Cors\n description: 'The bucket''s Cross-Origin Resource Sharing (CORS) configuration. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BucketCors\n properties:\n maxAgeSeconds:\n type: integer\n format: int64\n x-dcl-go-name: MaxAgeSeconds\n description: 'The value, in seconds, to return in the Access-Control-Max-Age\n header used in preflight responses. '\n method:\n type: array\n x-dcl-go-name: Method\n description: 'The list of HTTP methods on which to include CORS response\n headers, (GET, OPTIONS, POST, etc) Note: \"*\" is permitted in the\n list of methods, and means \"any method\". '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n origin:\n type: array\n x-dcl-go-name: Origin\n description: 'The list of Origins eligible to receive CORS response\n headers. Note: \"*\" is permitted in the list of origins, and means\n \"any Origin\". '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n responseHeader:\n type: array\n x-dcl-go-name: ResponseHeader\n description: 'The list of HTTP headers other than the simple response\n headers to give permission for the user-agent to share across domains. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lifecycle:\n type: object\n x-dcl-go-name: Lifecycle\n x-dcl-go-type: BucketLifecycle\n description: 'The bucket''s lifecycle configuration. See https://developers.google.com/storage/docs/lifecycle\n for more information. '\n properties:\n rule:\n type: array\n x-dcl-go-name: Rule\n description: 'A lifecycle management rule, which is made of an action\n to take and the condition(s) under which the action will be taken. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BucketLifecycleRule\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: BucketLifecycleRuleAction\n description: The action to take.\n properties:\n storageClass:\n type: string\n x-dcl-go-name: StorageClass\n description: 'Target storage class. Required if the type of\n the action is SetStorageClass. '\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: BucketLifecycleRuleActionTypeEnum\n description: 'Type of the action. Currently, only Delete and\n SetStorageClass are supported. '\n enum:\n - Delete\n - SetStorageClass\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: BucketLifecycleRuleCondition\n description: 'The condition(s) under which the action will be\n taken. '\n properties:\n age:\n type: integer\n format: int64\n x-dcl-go-name: Age\n description: 'Age of an object (in days). This condition is\n satisfied when an object reaches the specified age. '\n createdBefore:\n type: string\n format: date-time\n x-dcl-go-name: CreatedBefore\n description: 'A date in RFC 3339 format with only the date\n part (for instance, \"2013-01-15\"). This condition is satisfied\n when an object is created before midnight of the specified\n date in UTC. '\n matchesStorageClass:\n type: array\n x-dcl-go-name: MatchesStorageClass\n description: 'Objects having any of the storage classes specified\n by this condition will be matched. Values include MULTI_REGIONAL,\n REGIONAL, NEARLINE, COLDLINE, STANDARD, and DURABLE_REDUCED_AVAILABILITY. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n numNewerVersions:\n type: integer\n format: int64\n x-dcl-go-name: NumNewerVersions\n description: 'Relevant only for versioned objects. If the\n value is N, this condition is satisfied when there are at\n least N versions (including the live version) newer than\n this version of the object. '\n withState:\n type: string\n x-dcl-go-name: WithState\n x-dcl-go-type: BucketLifecycleRuleConditionWithStateEnum\n description: 'Match to live and/or archived objects. Unversioned\n buckets have only live objects. Supported values include:\n ''LIVE'', ''ARCHIVED'', ''ANY''.'\n enum:\n - LIVE\n - ARCHIVED\n - ANY\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the bucket. Object data for objects in the\n bucket resides in physical storage within this region. Defaults to `US`. '\n x-kubernetes-immutable: true\n logging:\n type: object\n x-dcl-go-name: Logging\n x-dcl-go-type: BucketLogging\n description: 'The bucket''s logging configuration, which defines the destination\n bucket and optional name prefix for the current bucket''s logs. '\n properties:\n logBucket:\n type: string\n x-dcl-go-name: LogBucket\n description: 'The destination bucket where the current bucket''s logs\n should be placed. '\n logObjectPrefix:\n type: string\n x-dcl-go-name: LogObjectPrefix\n description: The object prefix for log objects. If it's not provided,\n it defaults to the bucket's name.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of the bucket. '\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n storageClass:\n type: string\n x-dcl-go-name: StorageClass\n x-dcl-go-type: BucketStorageClassEnum\n description: 'The bucket''s default storage class, used whenever no storageClass\n is specified for a newly-created object. This defines how objects in the\n bucket are stored and determines the SLA and the cost of storage. Values\n include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE,\n and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when\n the bucket is created, it will default to STANDARD. For more information,\n see storage classes. '\n enum:\n - MULTI_REGIONAL\n - REGIONAL\n - STANDARD\n - NEARLINE\n - COLDLINE\n - ARCHIVE\n - DURABLE_REDUCED_AVAILABILITY\n versioning:\n type: object\n x-dcl-go-name: Versioning\n x-dcl-go-type: BucketVersioning\n description: The bucket's versioning configuration.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: 'While set to true, versioning is fully enabled for this\n bucket. '\n website:\n type: object\n x-dcl-go-name: Website\n x-dcl-go-type: BucketWebsite\n description: 'The bucket''s website configuration, controlling how the service\n behaves when accessing bucket contents as a web site. See the Static Website\n Examples for more information. '\n properties:\n mainPageSuffix:\n type: string\n x-dcl-go-name: MainPageSuffix\n description: 'If the requested object path is missing, the service will\n ensure the path has a trailing ''/'', append this suffix, and attempt\n to retrieve the resulting object. This allows the creation of index.html\n objects to represent directory pages. '\n notFoundPage:\n type: string\n x-dcl-go-name: NotFoundPage\n description: 'If the requested object path is missing, and any mainPageSuffix\n object is missing, if applicable, the service will return the named\n object from this bucket as the content for a 404 Not Found result. '\n") -// 11611 bytes -// MD5: 598b3b5396ac4d8981428dba33a15865 +// 11636 bytes +// MD5: 1916676410d50deed8c73b50e9884240 diff --git a/services/google/storage/alpha/bucket_schema.go b/services/google/storage/alpha/bucket_schema.go index ed1bf2701f..90539e54a2 100755 --- a/services/google/storage/alpha/bucket_schema.go +++ b/services/google/storage/alpha/bucket_schema.go @@ -23,6 +23,7 @@ func DCLBucketSchema() *dcl.Schema { Title: "Storage/Bucket", Description: "The Storage Bucket resource", StructName: "Bucket", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/storage/alpha/default_object_access_control.yaml b/services/google/storage/alpha/default_object_access_control.yaml index eac6e4c268..7ad72c6064 100755 --- a/services/google/storage/alpha/default_object_access_control.yaml +++ b/services/google/storage/alpha/default_object_access_control.yaml @@ -15,6 +15,7 @@ info: title: Storage/DefaultObjectAccessControl description: The Storage DefaultObjectAccessControl resource x-dcl-struct-name: DefaultObjectAccessControl + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/storage/alpha/hmac_key.yaml b/services/google/storage/alpha/hmac_key.yaml index 38917e695d..e3bba091c9 100755 --- a/services/google/storage/alpha/hmac_key.yaml +++ b/services/google/storage/alpha/hmac_key.yaml @@ -15,6 +15,7 @@ info: title: Storage/HmacKey description: The Storage HmacKey resource x-dcl-struct-name: HmacKey + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/storage/alpha/object.yaml b/services/google/storage/alpha/object.yaml index 240ecc38c9..75514f642e 100755 --- a/services/google/storage/alpha/object.yaml +++ b/services/google/storage/alpha/object.yaml @@ -15,6 +15,7 @@ info: title: Storage/Object description: The Storage Object resource x-dcl-struct-name: Object + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/storage/alpha/object_access_control.yaml b/services/google/storage/alpha/object_access_control.yaml index 8e9a546977..55ebd19467 100755 --- a/services/google/storage/alpha/object_access_control.yaml +++ b/services/google/storage/alpha/object_access_control.yaml @@ -15,6 +15,7 @@ info: title: Storage/ObjectAccessControl description: The Storage ObjectAccessControl resource x-dcl-struct-name: ObjectAccessControl + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/storage/beta/bucket.yaml b/services/google/storage/beta/bucket.yaml index a59041d01e..b1ebfbb38d 100755 --- a/services/google/storage/beta/bucket.yaml +++ b/services/google/storage/beta/bucket.yaml @@ -15,6 +15,7 @@ info: title: Storage/Bucket description: The Storage Bucket resource x-dcl-struct-name: Bucket + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/storage/beta/bucket_beta_yaml_embed.go b/services/google/storage/beta/bucket_beta_yaml_embed.go index da0b6af1cc..647811ba5e 100755 --- a/services/google/storage/beta/bucket_beta_yaml_embed.go +++ b/services/google/storage/beta/bucket_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/storage/beta/bucket.yaml -var YAML_bucket = []byte("info:\n title: Storage/Bucket\n description: The Storage Bucket resource\n x-dcl-struct-name: Bucket\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n apply:\n description: The function used to apply information about a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n delete:\n description: The function used to delete a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n deleteAll:\n description: The function used to delete all Bucket\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Bucket\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Bucket:\n title: Bucket\n x-dcl-id: b/{{name}}?userProject={{project}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - project\n - location\n - name\n properties:\n cors:\n type: array\n x-dcl-go-name: Cors\n description: 'The bucket''s Cross-Origin Resource Sharing (CORS) configuration. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BucketCors\n properties:\n maxAgeSeconds:\n type: integer\n format: int64\n x-dcl-go-name: MaxAgeSeconds\n description: 'The value, in seconds, to return in the Access-Control-Max-Age\n header used in preflight responses. '\n method:\n type: array\n x-dcl-go-name: Method\n description: 'The list of HTTP methods on which to include CORS response\n headers, (GET, OPTIONS, POST, etc) Note: \"*\" is permitted in the\n list of methods, and means \"any method\". '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n origin:\n type: array\n x-dcl-go-name: Origin\n description: 'The list of Origins eligible to receive CORS response\n headers. Note: \"*\" is permitted in the list of origins, and means\n \"any Origin\". '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n responseHeader:\n type: array\n x-dcl-go-name: ResponseHeader\n description: 'The list of HTTP headers other than the simple response\n headers to give permission for the user-agent to share across domains. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lifecycle:\n type: object\n x-dcl-go-name: Lifecycle\n x-dcl-go-type: BucketLifecycle\n description: 'The bucket''s lifecycle configuration. See https://developers.google.com/storage/docs/lifecycle\n for more information. '\n properties:\n rule:\n type: array\n x-dcl-go-name: Rule\n description: 'A lifecycle management rule, which is made of an action\n to take and the condition(s) under which the action will be taken. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BucketLifecycleRule\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: BucketLifecycleRuleAction\n description: The action to take.\n properties:\n storageClass:\n type: string\n x-dcl-go-name: StorageClass\n description: 'Target storage class. Required if the type of\n the action is SetStorageClass. '\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: BucketLifecycleRuleActionTypeEnum\n description: 'Type of the action. Currently, only Delete and\n SetStorageClass are supported. '\n enum:\n - Delete\n - SetStorageClass\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: BucketLifecycleRuleCondition\n description: 'The condition(s) under which the action will be\n taken. '\n properties:\n age:\n type: integer\n format: int64\n x-dcl-go-name: Age\n description: 'Age of an object (in days). This condition is\n satisfied when an object reaches the specified age. '\n createdBefore:\n type: string\n format: date-time\n x-dcl-go-name: CreatedBefore\n description: 'A date in RFC 3339 format with only the date\n part (for instance, \"2013-01-15\"). This condition is satisfied\n when an object is created before midnight of the specified\n date in UTC. '\n matchesStorageClass:\n type: array\n x-dcl-go-name: MatchesStorageClass\n description: 'Objects having any of the storage classes specified\n by this condition will be matched. Values include MULTI_REGIONAL,\n REGIONAL, NEARLINE, COLDLINE, STANDARD, and DURABLE_REDUCED_AVAILABILITY. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n numNewerVersions:\n type: integer\n format: int64\n x-dcl-go-name: NumNewerVersions\n description: 'Relevant only for versioned objects. If the\n value is N, this condition is satisfied when there are at\n least N versions (including the live version) newer than\n this version of the object. '\n withState:\n type: string\n x-dcl-go-name: WithState\n x-dcl-go-type: BucketLifecycleRuleConditionWithStateEnum\n description: 'Match to live and/or archived objects. Unversioned\n buckets have only live objects. Supported values include:\n ''LIVE'', ''ARCHIVED'', ''ANY''.'\n enum:\n - LIVE\n - ARCHIVED\n - ANY\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the bucket. Object data for objects in the\n bucket resides in physical storage within this region. Defaults to `US`. '\n x-kubernetes-immutable: true\n logging:\n type: object\n x-dcl-go-name: Logging\n x-dcl-go-type: BucketLogging\n description: 'The bucket''s logging configuration, which defines the destination\n bucket and optional name prefix for the current bucket''s logs. '\n properties:\n logBucket:\n type: string\n x-dcl-go-name: LogBucket\n description: 'The destination bucket where the current bucket''s logs\n should be placed. '\n logObjectPrefix:\n type: string\n x-dcl-go-name: LogObjectPrefix\n description: The object prefix for log objects. If it's not provided,\n it defaults to the bucket's name.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of the bucket. '\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n storageClass:\n type: string\n x-dcl-go-name: StorageClass\n x-dcl-go-type: BucketStorageClassEnum\n description: 'The bucket''s default storage class, used whenever no storageClass\n is specified for a newly-created object. This defines how objects in the\n bucket are stored and determines the SLA and the cost of storage. Values\n include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE,\n and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when\n the bucket is created, it will default to STANDARD. For more information,\n see storage classes. '\n enum:\n - MULTI_REGIONAL\n - REGIONAL\n - STANDARD\n - NEARLINE\n - COLDLINE\n - ARCHIVE\n - DURABLE_REDUCED_AVAILABILITY\n versioning:\n type: object\n x-dcl-go-name: Versioning\n x-dcl-go-type: BucketVersioning\n description: The bucket's versioning configuration.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: 'While set to true, versioning is fully enabled for this\n bucket. '\n website:\n type: object\n x-dcl-go-name: Website\n x-dcl-go-type: BucketWebsite\n description: 'The bucket''s website configuration, controlling how the service\n behaves when accessing bucket contents as a web site. See the Static Website\n Examples for more information. '\n properties:\n mainPageSuffix:\n type: string\n x-dcl-go-name: MainPageSuffix\n description: 'If the requested object path is missing, the service will\n ensure the path has a trailing ''/'', append this suffix, and attempt\n to retrieve the resulting object. This allows the creation of index.html\n objects to represent directory pages. '\n notFoundPage:\n type: string\n x-dcl-go-name: NotFoundPage\n description: 'If the requested object path is missing, and any mainPageSuffix\n object is missing, if applicable, the service will return the named\n object from this bucket as the content for a 404 Not Found result. '\n") +var YAML_bucket = []byte("info:\n title: Storage/Bucket\n description: The Storage Bucket resource\n x-dcl-struct-name: Bucket\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n apply:\n description: The function used to apply information about a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n delete:\n description: The function used to delete a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n deleteAll:\n description: The function used to delete all Bucket\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Bucket\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Bucket:\n title: Bucket\n x-dcl-id: b/{{name}}?userProject={{project}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - project\n - location\n - name\n properties:\n cors:\n type: array\n x-dcl-go-name: Cors\n description: 'The bucket''s Cross-Origin Resource Sharing (CORS) configuration. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BucketCors\n properties:\n maxAgeSeconds:\n type: integer\n format: int64\n x-dcl-go-name: MaxAgeSeconds\n description: 'The value, in seconds, to return in the Access-Control-Max-Age\n header used in preflight responses. '\n method:\n type: array\n x-dcl-go-name: Method\n description: 'The list of HTTP methods on which to include CORS response\n headers, (GET, OPTIONS, POST, etc) Note: \"*\" is permitted in the\n list of methods, and means \"any method\". '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n origin:\n type: array\n x-dcl-go-name: Origin\n description: 'The list of Origins eligible to receive CORS response\n headers. Note: \"*\" is permitted in the list of origins, and means\n \"any Origin\". '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n responseHeader:\n type: array\n x-dcl-go-name: ResponseHeader\n description: 'The list of HTTP headers other than the simple response\n headers to give permission for the user-agent to share across domains. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lifecycle:\n type: object\n x-dcl-go-name: Lifecycle\n x-dcl-go-type: BucketLifecycle\n description: 'The bucket''s lifecycle configuration. See https://developers.google.com/storage/docs/lifecycle\n for more information. '\n properties:\n rule:\n type: array\n x-dcl-go-name: Rule\n description: 'A lifecycle management rule, which is made of an action\n to take and the condition(s) under which the action will be taken. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BucketLifecycleRule\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: BucketLifecycleRuleAction\n description: The action to take.\n properties:\n storageClass:\n type: string\n x-dcl-go-name: StorageClass\n description: 'Target storage class. Required if the type of\n the action is SetStorageClass. '\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: BucketLifecycleRuleActionTypeEnum\n description: 'Type of the action. Currently, only Delete and\n SetStorageClass are supported. '\n enum:\n - Delete\n - SetStorageClass\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: BucketLifecycleRuleCondition\n description: 'The condition(s) under which the action will be\n taken. '\n properties:\n age:\n type: integer\n format: int64\n x-dcl-go-name: Age\n description: 'Age of an object (in days). This condition is\n satisfied when an object reaches the specified age. '\n createdBefore:\n type: string\n format: date-time\n x-dcl-go-name: CreatedBefore\n description: 'A date in RFC 3339 format with only the date\n part (for instance, \"2013-01-15\"). This condition is satisfied\n when an object is created before midnight of the specified\n date in UTC. '\n matchesStorageClass:\n type: array\n x-dcl-go-name: MatchesStorageClass\n description: 'Objects having any of the storage classes specified\n by this condition will be matched. Values include MULTI_REGIONAL,\n REGIONAL, NEARLINE, COLDLINE, STANDARD, and DURABLE_REDUCED_AVAILABILITY. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n numNewerVersions:\n type: integer\n format: int64\n x-dcl-go-name: NumNewerVersions\n description: 'Relevant only for versioned objects. If the\n value is N, this condition is satisfied when there are at\n least N versions (including the live version) newer than\n this version of the object. '\n withState:\n type: string\n x-dcl-go-name: WithState\n x-dcl-go-type: BucketLifecycleRuleConditionWithStateEnum\n description: 'Match to live and/or archived objects. Unversioned\n buckets have only live objects. Supported values include:\n ''LIVE'', ''ARCHIVED'', ''ANY''.'\n enum:\n - LIVE\n - ARCHIVED\n - ANY\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the bucket. Object data for objects in the\n bucket resides in physical storage within this region. Defaults to `US`. '\n x-kubernetes-immutable: true\n logging:\n type: object\n x-dcl-go-name: Logging\n x-dcl-go-type: BucketLogging\n description: 'The bucket''s logging configuration, which defines the destination\n bucket and optional name prefix for the current bucket''s logs. '\n properties:\n logBucket:\n type: string\n x-dcl-go-name: LogBucket\n description: 'The destination bucket where the current bucket''s logs\n should be placed. '\n logObjectPrefix:\n type: string\n x-dcl-go-name: LogObjectPrefix\n description: The object prefix for log objects. If it's not provided,\n it defaults to the bucket's name.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of the bucket. '\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n storageClass:\n type: string\n x-dcl-go-name: StorageClass\n x-dcl-go-type: BucketStorageClassEnum\n description: 'The bucket''s default storage class, used whenever no storageClass\n is specified for a newly-created object. This defines how objects in the\n bucket are stored and determines the SLA and the cost of storage. Values\n include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE,\n and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when\n the bucket is created, it will default to STANDARD. For more information,\n see storage classes. '\n enum:\n - MULTI_REGIONAL\n - REGIONAL\n - STANDARD\n - NEARLINE\n - COLDLINE\n - ARCHIVE\n - DURABLE_REDUCED_AVAILABILITY\n versioning:\n type: object\n x-dcl-go-name: Versioning\n x-dcl-go-type: BucketVersioning\n description: The bucket's versioning configuration.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: 'While set to true, versioning is fully enabled for this\n bucket. '\n website:\n type: object\n x-dcl-go-name: Website\n x-dcl-go-type: BucketWebsite\n description: 'The bucket''s website configuration, controlling how the service\n behaves when accessing bucket contents as a web site. See the Static Website\n Examples for more information. '\n properties:\n mainPageSuffix:\n type: string\n x-dcl-go-name: MainPageSuffix\n description: 'If the requested object path is missing, the service will\n ensure the path has a trailing ''/'', append this suffix, and attempt\n to retrieve the resulting object. This allows the creation of index.html\n objects to represent directory pages. '\n notFoundPage:\n type: string\n x-dcl-go-name: NotFoundPage\n description: 'If the requested object path is missing, and any mainPageSuffix\n object is missing, if applicable, the service will return the named\n object from this bucket as the content for a 404 Not Found result. '\n") -// 11611 bytes -// MD5: 598b3b5396ac4d8981428dba33a15865 +// 11636 bytes +// MD5: 1916676410d50deed8c73b50e9884240 diff --git a/services/google/storage/beta/bucket_schema.go b/services/google/storage/beta/bucket_schema.go index 24246dad95..306807feb5 100755 --- a/services/google/storage/beta/bucket_schema.go +++ b/services/google/storage/beta/bucket_schema.go @@ -23,6 +23,7 @@ func DCLBucketSchema() *dcl.Schema { Title: "Storage/Bucket", Description: "The Storage Bucket resource", StructName: "Bucket", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/storage/beta/default_object_access_control.yaml b/services/google/storage/beta/default_object_access_control.yaml index eac6e4c268..7ad72c6064 100755 --- a/services/google/storage/beta/default_object_access_control.yaml +++ b/services/google/storage/beta/default_object_access_control.yaml @@ -15,6 +15,7 @@ info: title: Storage/DefaultObjectAccessControl description: The Storage DefaultObjectAccessControl resource x-dcl-struct-name: DefaultObjectAccessControl + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/storage/beta/hmac_key.yaml b/services/google/storage/beta/hmac_key.yaml index 38917e695d..e3bba091c9 100755 --- a/services/google/storage/beta/hmac_key.yaml +++ b/services/google/storage/beta/hmac_key.yaml @@ -15,6 +15,7 @@ info: title: Storage/HmacKey description: The Storage HmacKey resource x-dcl-struct-name: HmacKey + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/storage/beta/object.yaml b/services/google/storage/beta/object.yaml index 240ecc38c9..75514f642e 100755 --- a/services/google/storage/beta/object.yaml +++ b/services/google/storage/beta/object.yaml @@ -15,6 +15,7 @@ info: title: Storage/Object description: The Storage Object resource x-dcl-struct-name: Object + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/storage/beta/object_access_control.yaml b/services/google/storage/beta/object_access_control.yaml index 8e9a546977..55ebd19467 100755 --- a/services/google/storage/beta/object_access_control.yaml +++ b/services/google/storage/beta/object_access_control.yaml @@ -15,6 +15,7 @@ info: title: Storage/ObjectAccessControl description: The Storage ObjectAccessControl resource x-dcl-struct-name: ObjectAccessControl + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/storage/bucket.yaml b/services/google/storage/bucket.yaml index a59041d01e..b1ebfbb38d 100755 --- a/services/google/storage/bucket.yaml +++ b/services/google/storage/bucket.yaml @@ -15,6 +15,7 @@ info: title: Storage/Bucket description: The Storage Bucket resource x-dcl-struct-name: Bucket + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/storage/bucket_schema.go b/services/google/storage/bucket_schema.go index 459d968742..268ec016e2 100755 --- a/services/google/storage/bucket_schema.go +++ b/services/google/storage/bucket_schema.go @@ -23,6 +23,7 @@ func DCLBucketSchema() *dcl.Schema { Title: "Storage/Bucket", Description: "The Storage Bucket resource", StructName: "Bucket", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/storage/bucket_yaml_embed.go b/services/google/storage/bucket_yaml_embed.go index 6982331eb2..f6f0a3bafd 100755 --- a/services/google/storage/bucket_yaml_embed.go +++ b/services/google/storage/bucket_yaml_embed.go @@ -17,7 +17,7 @@ package storage // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/storage/bucket.yaml -var YAML_bucket = []byte("info:\n title: Storage/Bucket\n description: The Storage Bucket resource\n x-dcl-struct-name: Bucket\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n apply:\n description: The function used to apply information about a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n delete:\n description: The function used to delete a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n deleteAll:\n description: The function used to delete all Bucket\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Bucket\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Bucket:\n title: Bucket\n x-dcl-id: b/{{name}}?userProject={{project}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - project\n - location\n - name\n properties:\n cors:\n type: array\n x-dcl-go-name: Cors\n description: 'The bucket''s Cross-Origin Resource Sharing (CORS) configuration. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BucketCors\n properties:\n maxAgeSeconds:\n type: integer\n format: int64\n x-dcl-go-name: MaxAgeSeconds\n description: 'The value, in seconds, to return in the Access-Control-Max-Age\n header used in preflight responses. '\n method:\n type: array\n x-dcl-go-name: Method\n description: 'The list of HTTP methods on which to include CORS response\n headers, (GET, OPTIONS, POST, etc) Note: \"*\" is permitted in the\n list of methods, and means \"any method\". '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n origin:\n type: array\n x-dcl-go-name: Origin\n description: 'The list of Origins eligible to receive CORS response\n headers. Note: \"*\" is permitted in the list of origins, and means\n \"any Origin\". '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n responseHeader:\n type: array\n x-dcl-go-name: ResponseHeader\n description: 'The list of HTTP headers other than the simple response\n headers to give permission for the user-agent to share across domains. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lifecycle:\n type: object\n x-dcl-go-name: Lifecycle\n x-dcl-go-type: BucketLifecycle\n description: 'The bucket''s lifecycle configuration. See https://developers.google.com/storage/docs/lifecycle\n for more information. '\n properties:\n rule:\n type: array\n x-dcl-go-name: Rule\n description: 'A lifecycle management rule, which is made of an action\n to take and the condition(s) under which the action will be taken. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BucketLifecycleRule\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: BucketLifecycleRuleAction\n description: The action to take.\n properties:\n storageClass:\n type: string\n x-dcl-go-name: StorageClass\n description: 'Target storage class. Required if the type of\n the action is SetStorageClass. '\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: BucketLifecycleRuleActionTypeEnum\n description: 'Type of the action. Currently, only Delete and\n SetStorageClass are supported. '\n enum:\n - Delete\n - SetStorageClass\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: BucketLifecycleRuleCondition\n description: 'The condition(s) under which the action will be\n taken. '\n properties:\n age:\n type: integer\n format: int64\n x-dcl-go-name: Age\n description: 'Age of an object (in days). This condition is\n satisfied when an object reaches the specified age. '\n createdBefore:\n type: string\n format: date-time\n x-dcl-go-name: CreatedBefore\n description: 'A date in RFC 3339 format with only the date\n part (for instance, \"2013-01-15\"). This condition is satisfied\n when an object is created before midnight of the specified\n date in UTC. '\n matchesStorageClass:\n type: array\n x-dcl-go-name: MatchesStorageClass\n description: 'Objects having any of the storage classes specified\n by this condition will be matched. Values include MULTI_REGIONAL,\n REGIONAL, NEARLINE, COLDLINE, STANDARD, and DURABLE_REDUCED_AVAILABILITY. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n numNewerVersions:\n type: integer\n format: int64\n x-dcl-go-name: NumNewerVersions\n description: 'Relevant only for versioned objects. If the\n value is N, this condition is satisfied when there are at\n least N versions (including the live version) newer than\n this version of the object. '\n withState:\n type: string\n x-dcl-go-name: WithState\n x-dcl-go-type: BucketLifecycleRuleConditionWithStateEnum\n description: 'Match to live and/or archived objects. Unversioned\n buckets have only live objects. Supported values include:\n ''LIVE'', ''ARCHIVED'', ''ANY''.'\n enum:\n - LIVE\n - ARCHIVED\n - ANY\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the bucket. Object data for objects in the\n bucket resides in physical storage within this region. Defaults to `US`. '\n x-kubernetes-immutable: true\n logging:\n type: object\n x-dcl-go-name: Logging\n x-dcl-go-type: BucketLogging\n description: 'The bucket''s logging configuration, which defines the destination\n bucket and optional name prefix for the current bucket''s logs. '\n properties:\n logBucket:\n type: string\n x-dcl-go-name: LogBucket\n description: 'The destination bucket where the current bucket''s logs\n should be placed. '\n logObjectPrefix:\n type: string\n x-dcl-go-name: LogObjectPrefix\n description: The object prefix for log objects. If it's not provided,\n it defaults to the bucket's name.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of the bucket. '\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n storageClass:\n type: string\n x-dcl-go-name: StorageClass\n x-dcl-go-type: BucketStorageClassEnum\n description: 'The bucket''s default storage class, used whenever no storageClass\n is specified for a newly-created object. This defines how objects in the\n bucket are stored and determines the SLA and the cost of storage. Values\n include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE,\n and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when\n the bucket is created, it will default to STANDARD. For more information,\n see storage classes. '\n enum:\n - MULTI_REGIONAL\n - REGIONAL\n - STANDARD\n - NEARLINE\n - COLDLINE\n - ARCHIVE\n - DURABLE_REDUCED_AVAILABILITY\n versioning:\n type: object\n x-dcl-go-name: Versioning\n x-dcl-go-type: BucketVersioning\n description: The bucket's versioning configuration.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: 'While set to true, versioning is fully enabled for this\n bucket. '\n website:\n type: object\n x-dcl-go-name: Website\n x-dcl-go-type: BucketWebsite\n description: 'The bucket''s website configuration, controlling how the service\n behaves when accessing bucket contents as a web site. See the Static Website\n Examples for more information. '\n properties:\n mainPageSuffix:\n type: string\n x-dcl-go-name: MainPageSuffix\n description: 'If the requested object path is missing, the service will\n ensure the path has a trailing ''/'', append this suffix, and attempt\n to retrieve the resulting object. This allows the creation of index.html\n objects to represent directory pages. '\n notFoundPage:\n type: string\n x-dcl-go-name: NotFoundPage\n description: 'If the requested object path is missing, and any mainPageSuffix\n object is missing, if applicable, the service will return the named\n object from this bucket as the content for a 404 Not Found result. '\n") +var YAML_bucket = []byte("info:\n title: Storage/Bucket\n description: The Storage Bucket resource\n x-dcl-struct-name: Bucket\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n apply:\n description: The function used to apply information about a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n delete:\n description: The function used to delete a Bucket\n parameters:\n - name: Bucket\n required: true\n description: A full instance of a Bucket\n deleteAll:\n description: The function used to delete all Bucket\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Bucket\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Bucket:\n title: Bucket\n x-dcl-id: b/{{name}}?userProject={{project}}\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - project\n - location\n - name\n properties:\n cors:\n type: array\n x-dcl-go-name: Cors\n description: 'The bucket''s Cross-Origin Resource Sharing (CORS) configuration. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BucketCors\n properties:\n maxAgeSeconds:\n type: integer\n format: int64\n x-dcl-go-name: MaxAgeSeconds\n description: 'The value, in seconds, to return in the Access-Control-Max-Age\n header used in preflight responses. '\n method:\n type: array\n x-dcl-go-name: Method\n description: 'The list of HTTP methods on which to include CORS response\n headers, (GET, OPTIONS, POST, etc) Note: \"*\" is permitted in the\n list of methods, and means \"any method\". '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n origin:\n type: array\n x-dcl-go-name: Origin\n description: 'The list of Origins eligible to receive CORS response\n headers. Note: \"*\" is permitted in the list of origins, and means\n \"any Origin\". '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n responseHeader:\n type: array\n x-dcl-go-name: ResponseHeader\n description: 'The list of HTTP headers other than the simple response\n headers to give permission for the user-agent to share across domains. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lifecycle:\n type: object\n x-dcl-go-name: Lifecycle\n x-dcl-go-type: BucketLifecycle\n description: 'The bucket''s lifecycle configuration. See https://developers.google.com/storage/docs/lifecycle\n for more information. '\n properties:\n rule:\n type: array\n x-dcl-go-name: Rule\n description: 'A lifecycle management rule, which is made of an action\n to take and the condition(s) under which the action will be taken. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: BucketLifecycleRule\n properties:\n action:\n type: object\n x-dcl-go-name: Action\n x-dcl-go-type: BucketLifecycleRuleAction\n description: The action to take.\n properties:\n storageClass:\n type: string\n x-dcl-go-name: StorageClass\n description: 'Target storage class. Required if the type of\n the action is SetStorageClass. '\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: BucketLifecycleRuleActionTypeEnum\n description: 'Type of the action. Currently, only Delete and\n SetStorageClass are supported. '\n enum:\n - Delete\n - SetStorageClass\n condition:\n type: object\n x-dcl-go-name: Condition\n x-dcl-go-type: BucketLifecycleRuleCondition\n description: 'The condition(s) under which the action will be\n taken. '\n properties:\n age:\n type: integer\n format: int64\n x-dcl-go-name: Age\n description: 'Age of an object (in days). This condition is\n satisfied when an object reaches the specified age. '\n createdBefore:\n type: string\n format: date-time\n x-dcl-go-name: CreatedBefore\n description: 'A date in RFC 3339 format with only the date\n part (for instance, \"2013-01-15\"). This condition is satisfied\n when an object is created before midnight of the specified\n date in UTC. '\n matchesStorageClass:\n type: array\n x-dcl-go-name: MatchesStorageClass\n description: 'Objects having any of the storage classes specified\n by this condition will be matched. Values include MULTI_REGIONAL,\n REGIONAL, NEARLINE, COLDLINE, STANDARD, and DURABLE_REDUCED_AVAILABILITY. '\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n numNewerVersions:\n type: integer\n format: int64\n x-dcl-go-name: NumNewerVersions\n description: 'Relevant only for versioned objects. If the\n value is N, this condition is satisfied when there are at\n least N versions (including the live version) newer than\n this version of the object. '\n withState:\n type: string\n x-dcl-go-name: WithState\n x-dcl-go-type: BucketLifecycleRuleConditionWithStateEnum\n description: 'Match to live and/or archived objects. Unversioned\n buckets have only live objects. Supported values include:\n ''LIVE'', ''ARCHIVED'', ''ANY''.'\n enum:\n - LIVE\n - ARCHIVED\n - ANY\n location:\n type: string\n x-dcl-go-name: Location\n description: 'The location of the bucket. Object data for objects in the\n bucket resides in physical storage within this region. Defaults to `US`. '\n x-kubernetes-immutable: true\n logging:\n type: object\n x-dcl-go-name: Logging\n x-dcl-go-type: BucketLogging\n description: 'The bucket''s logging configuration, which defines the destination\n bucket and optional name prefix for the current bucket''s logs. '\n properties:\n logBucket:\n type: string\n x-dcl-go-name: LogBucket\n description: 'The destination bucket where the current bucket''s logs\n should be placed. '\n logObjectPrefix:\n type: string\n x-dcl-go-name: LogObjectPrefix\n description: The object prefix for log objects. If it's not provided,\n it defaults to the bucket's name.\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The name of the bucket. '\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project id of the resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n storageClass:\n type: string\n x-dcl-go-name: StorageClass\n x-dcl-go-type: BucketStorageClassEnum\n description: 'The bucket''s default storage class, used whenever no storageClass\n is specified for a newly-created object. This defines how objects in the\n bucket are stored and determines the SLA and the cost of storage. Values\n include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE,\n and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when\n the bucket is created, it will default to STANDARD. For more information,\n see storage classes. '\n enum:\n - MULTI_REGIONAL\n - REGIONAL\n - STANDARD\n - NEARLINE\n - COLDLINE\n - ARCHIVE\n - DURABLE_REDUCED_AVAILABILITY\n versioning:\n type: object\n x-dcl-go-name: Versioning\n x-dcl-go-type: BucketVersioning\n description: The bucket's versioning configuration.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: 'While set to true, versioning is fully enabled for this\n bucket. '\n website:\n type: object\n x-dcl-go-name: Website\n x-dcl-go-type: BucketWebsite\n description: 'The bucket''s website configuration, controlling how the service\n behaves when accessing bucket contents as a web site. See the Static Website\n Examples for more information. '\n properties:\n mainPageSuffix:\n type: string\n x-dcl-go-name: MainPageSuffix\n description: 'If the requested object path is missing, the service will\n ensure the path has a trailing ''/'', append this suffix, and attempt\n to retrieve the resulting object. This allows the creation of index.html\n objects to represent directory pages. '\n notFoundPage:\n type: string\n x-dcl-go-name: NotFoundPage\n description: 'If the requested object path is missing, and any mainPageSuffix\n object is missing, if applicable, the service will return the named\n object from this bucket as the content for a 404 Not Found result. '\n") -// 11611 bytes -// MD5: 598b3b5396ac4d8981428dba33a15865 +// 11636 bytes +// MD5: 1916676410d50deed8c73b50e9884240 diff --git a/services/google/storage/default_object_access_control.yaml b/services/google/storage/default_object_access_control.yaml index eac6e4c268..7ad72c6064 100755 --- a/services/google/storage/default_object_access_control.yaml +++ b/services/google/storage/default_object_access_control.yaml @@ -15,6 +15,7 @@ info: title: Storage/DefaultObjectAccessControl description: The Storage DefaultObjectAccessControl resource x-dcl-struct-name: DefaultObjectAccessControl + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/storage/hmac_key.yaml b/services/google/storage/hmac_key.yaml index 38917e695d..e3bba091c9 100755 --- a/services/google/storage/hmac_key.yaml +++ b/services/google/storage/hmac_key.yaml @@ -15,6 +15,7 @@ info: title: Storage/HmacKey description: The Storage HmacKey resource x-dcl-struct-name: HmacKey + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/storage/object.yaml b/services/google/storage/object.yaml index 240ecc38c9..75514f642e 100755 --- a/services/google/storage/object.yaml +++ b/services/google/storage/object.yaml @@ -15,6 +15,7 @@ info: title: Storage/Object description: The Storage Object resource x-dcl-struct-name: Object + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/storage/object_access_control.yaml b/services/google/storage/object_access_control.yaml index 8e9a546977..55ebd19467 100755 --- a/services/google/storage/object_access_control.yaml +++ b/services/google/storage/object_access_control.yaml @@ -15,6 +15,7 @@ info: title: Storage/ObjectAccessControl description: The Storage ObjectAccessControl resource x-dcl-struct-name: ObjectAccessControl + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/alpha/endpoint.yaml b/services/google/vertexai/alpha/endpoint.yaml index b25d8d2a3e..914c988d79 100755 --- a/services/google/vertexai/alpha/endpoint.yaml +++ b/services/google/vertexai/alpha/endpoint.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/Endpoint description: The VertexAI Endpoint resource x-dcl-struct-name: Endpoint + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/alpha/endpoint_alpha_yaml_embed.go b/services/google/vertexai/alpha/endpoint_alpha_yaml_embed.go index c4ce48629e..fca203df6b 100755 --- a/services/google/vertexai/alpha/endpoint_alpha_yaml_embed.go +++ b/services/google/vertexai/alpha/endpoint_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/alpha/endpoint.yaml -var YAML_endpoint = []byte("info:\n title: VertexAI/Endpoint\n description: The VertexAI Endpoint resource\n x-dcl-struct-name: Endpoint\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n apply:\n description: The function used to apply information about a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n delete:\n description: The function used to delete a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n deleteAll:\n description: The function used to delete all Endpoint\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Endpoint\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Endpoint:\n title: Endpoint\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this Endpoint was created.\n x-kubernetes-immutable: true\n deployedModels:\n type: array\n x-dcl-go-name: DeployedModels\n readOnly: true\n description: Output only. The models deployed in this Endpoint. To add or\n remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel\n respectively.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointDeployedModels\n properties:\n automaticResources:\n type: object\n x-dcl-go-name: AutomaticResources\n x-dcl-go-type: EndpointDeployedModelsAutomaticResources\n description: A description of resources that to large degree are decided\n by Vertex AI, and require only a modest additional configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - dedicatedResources\n properties:\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If\n the requested value is too large, the deployment will error,\n but if deployment succeeds then the ability to scale the model\n to that many replicas is guaranteed (barring service outages).\n If traffic against the DeployedModel increases beyond what its\n replicas at maximum may handle, a portion of the traffic will\n be dropped. If this value is not provided, a no upper bound\n for scaling under heavy traffic will be assume, though Vertex\n AI may be unable to scale beyond certain replica number.\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: The minimum number of replicas this DeployedModel\n will be always deployed on. If traffic against it increases,\n it may dynamically be deployed onto more replicas up to max_replica_count,\n and as traffic decreases, some of these extra replicas may be\n freed. If the requested value is too large, the deployment will\n error.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when the DeployedModel was created.\n x-kubernetes-immutable: true\n dedicatedResources:\n type: object\n x-dcl-go-name: DedicatedResources\n x-dcl-go-type: EndpointDeployedModelsDedicatedResources\n description: A description of resources that are dedicated to the\n DeployedModel, and that need a higher degree of manual configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - automaticResources\n properties:\n autoscalingMetricSpecs:\n type: array\n x-dcl-go-name: AutoscalingMetricSpecs\n description: The metric specifications that overrides a resource\n utilization metric (CPU utilization, accelerator's duty cycle,\n and so on) target value (default to 60 if not set). At most\n one entry is allowed per metric. If machine_spec.accelerator_count\n is above 0, the autoscaling will be based on both CPU utilization\n and accelerator's duty cycle metrics and scale up when either\n metrics exceeds its target value while scale down if both metrics\n are under their target value. The default target value is 60\n for both metrics. If machine_spec.accelerator_count is 0, the\n autoscaling will be based on CPU utilization metric only with\n default target value 60 if not explicitly set. For example,\n in the case of Online Prediction, if you want to override target\n CPU utilization to 80, you should set autoscaling_metric_specs.metric_name\n to `aiplatform.googleapis.com/prediction/online/cpu/utilization`\n and autoscaling_metric_specs.target to `80`.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs\n properties:\n metricName:\n type: string\n x-dcl-go-name: MetricName\n description: 'The resource metric name. Supported metrics:\n * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle`\n * `aiplatform.googleapis.com/prediction/online/cpu/utilization`'\n x-kubernetes-immutable: true\n target:\n type: integer\n format: int64\n x-dcl-go-name: Target\n description: The target resource utilization in percentage\n (1% - 100%) for the given metric; once the real usage\n deviates from the target by a certain percentage, the\n machine replicas change. The default value is 60 (representing\n 60%) if not provided.\n x-kubernetes-immutable: true\n machineSpec:\n type: object\n x-dcl-go-name: MachineSpec\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpec\n description: The specification of a single machine used by the\n prediction.\n x-kubernetes-immutable: true\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of accelerators to attach to the machine.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum\n description: 'The type of accelerator(s) that may be attached\n to the machine as per accelerator_count. Possible values:\n ACCELERATOR_TYPE_UNSPECIFIED, NVIDIA_TESLA_K80, NVIDIA_TESLA_P100,\n NVIDIA_TESLA_V100, NVIDIA_TESLA_P4, NVIDIA_TESLA_T4, NVIDIA_TESLA_A100,\n TPU_V2, TPU_V3'\n x-kubernetes-immutable: true\n enum:\n - ACCELERATOR_TYPE_UNSPECIFIED\n - NVIDIA_TESLA_K80\n - NVIDIA_TESLA_P100\n - NVIDIA_TESLA_V100\n - NVIDIA_TESLA_P4\n - NVIDIA_TESLA_T4\n - NVIDIA_TESLA_A100\n - TPU_V2\n - TPU_V3\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'The type of the machine. See the [list of machine\n types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n For DeployedModel this field is optional, and the default\n value is `n1-standard-2`. For BatchPredictionJob or as part\n of WorkerPoolSpec this field is required. TODO(rsurowka):\n Try to better unify the required vs optional.'\n x-kubernetes-immutable: true\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If\n the requested value is too large, the deployment will error,\n but if deployment succeeds then the ability to scale the model\n to that many replicas is guaranteed (barring service outages).\n If traffic against the DeployedModel increases beyond what its\n replicas at maximum may handle, a portion of the traffic will\n be dropped. If this value is not provided, will use min_replica_count\n as the default value. The value of this field impacts the charge\n against Vertex CPU and GPU quotas. Specifically, you will be\n charged for max_replica_count * number of cores in the selected\n machine type) and (max_replica_count * number of GPUs per replica\n in the selected machine type).\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: The minimum number of machine replicas this DeployedModel\n will be always deployed on. This value must be greater than\n or equal to 1. If traffic against the DeployedModel increases,\n it may dynamically be deployed onto more replicas, and as traffic\n decreases, some of these extra replicas may be freed.\n x-kubernetes-immutable: true\n disableContainerLogging:\n type: boolean\n x-dcl-go-name: DisableContainerLogging\n description: For custom-trained Models and AutoML Tabular Models,\n the container of the DeployedModel instances will send `stderr`\n and `stdout` streams to Stackdriver Logging by default. Please note\n that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/stackdriver/pricing).\n User can disable container logging by setting this flag to true.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the DeployedModel. If not provided\n upon creation, the Model's display_name is used.\n x-kubernetes-immutable: true\n enableAccessLogging:\n type: boolean\n x-dcl-go-name: EnableAccessLogging\n description: These logs are like standard server access logs, containing\n information like timestamp and latency for each prediction request.\n Note that Stackdriver logs may incur a cost, especially if your\n project receives prediction requests at a high queries per second\n rate (QPS). Estimate your costs before enabling this option.\n x-kubernetes-immutable: true\n enableContainerLogging:\n type: boolean\n x-dcl-go-name: EnableContainerLogging\n description: If true, the container of the DeployedModel instances\n will send `stderr` and `stdout` streams to Stackdriver Logging.\n Only supported for custom-trained Models and AutoML Tabular Models.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the DeployedModel. If not provided upon deployment,\n Vertex AI will generate a value for this ID. This value should be\n 1-10 characters, and valid characters are /[0-9]/.\n x-kubernetes-immutable: true\n model:\n type: string\n x-dcl-go-name: Model\n description: The name of the Model that this is the deployment of.\n Note that the Model may be in a different location than the DeployedModel's\n Endpoint.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Model\n field: selfLink\n modelVersionId:\n type: string\n x-dcl-go-name: ModelVersionId\n readOnly: true\n description: Output only. The version ID of the model that is deployed.\n x-kubernetes-immutable: true\n privateEndpoints:\n type: object\n x-dcl-go-name: PrivateEndpoints\n x-dcl-go-type: EndpointDeployedModelsPrivateEndpoints\n readOnly: true\n description: Output only. Provide paths for users to send predict/explain/health\n requests directly to the deployed model services running on Cloud\n via private services access. This field is populated if network\n is configured.\n x-kubernetes-immutable: true\n properties:\n explainHttpUri:\n type: string\n x-dcl-go-name: ExplainHttpUri\n readOnly: true\n description: Output only. Http(s) path to send explain requests.\n x-kubernetes-immutable: true\n healthHttpUri:\n type: string\n x-dcl-go-name: HealthHttpUri\n readOnly: true\n description: Output only. Http(s) path to send health check requests.\n x-kubernetes-immutable: true\n predictHttpUri:\n type: string\n x-dcl-go-name: PredictHttpUri\n readOnly: true\n description: Output only. Http(s) path to send prediction requests.\n x-kubernetes-immutable: true\n serviceAttachment:\n type: string\n x-dcl-go-name: ServiceAttachment\n readOnly: true\n description: Output only. The name of the service attachment resource.\n Populated if private service connect is enabled.\n x-kubernetes-immutable: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: The service account that the DeployedModel's container\n runs as. Specify the email address of the service account. If this\n service account is not specified, the container runs as a service\n account that doesn't have access to the resource project. Users\n deploying the Model must have the `iam.serviceAccounts.actAs` permission\n on this service account.\n x-kubernetes-immutable: true\n sharedResources:\n type: string\n x-dcl-go-name: SharedResources\n description: 'The resource name of the shared DeploymentResourcePool\n to deploy on. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/DeploymentResourcePool\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the Endpoint.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The display name of the Endpoint. The name can be\n up to 128 characters long and can be consist of any UTF-8 characters.\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: EndpointEncryptionSpec\n description: Customer-managed encryption key spec for an Endpoint. If set,\n this Endpoint and all sub-resources of this Endpoint will be secured by\n this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels with user-defined metadata to organize your Endpoints.\n Label keys and values can be no longer than 64 characters (Unicode codepoints),\n can only contain lowercase letters, numeric characters, underscores and\n dashes. International characters are allowed. See https://goo.gl/xmQnxf\n for more information and examples of labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n modelDeploymentMonitoringJob:\n type: string\n x-dcl-go-name: ModelDeploymentMonitoringJob\n readOnly: true\n description: 'Output only. Resource name of the Model Monitoring job associated\n with this Endpoint if monitoring is enabled by CreateModelDeploymentMonitoringJob.\n Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the Endpoint.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)\n to which the Endpoint should be peered. Private services access must already\n be configured for the network. If left unspecified, the Endpoint is not\n peered with any network. Only one of the fields, network or enable_private_service_connect,\n can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):\n `projects/{project}/global/networks/{network}`. Where `{project}` is a\n project number, as in `12345`, and `{network}` is network name.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this Endpoint was last updated.\n x-kubernetes-immutable: true\n") +var YAML_endpoint = []byte("info:\n title: VertexAI/Endpoint\n description: The VertexAI Endpoint resource\n x-dcl-struct-name: Endpoint\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n apply:\n description: The function used to apply information about a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n delete:\n description: The function used to delete a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n deleteAll:\n description: The function used to delete all Endpoint\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Endpoint\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Endpoint:\n title: Endpoint\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this Endpoint was created.\n x-kubernetes-immutable: true\n deployedModels:\n type: array\n x-dcl-go-name: DeployedModels\n readOnly: true\n description: Output only. The models deployed in this Endpoint. To add or\n remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel\n respectively.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointDeployedModels\n properties:\n automaticResources:\n type: object\n x-dcl-go-name: AutomaticResources\n x-dcl-go-type: EndpointDeployedModelsAutomaticResources\n description: A description of resources that to large degree are decided\n by Vertex AI, and require only a modest additional configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - dedicatedResources\n properties:\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If\n the requested value is too large, the deployment will error,\n but if deployment succeeds then the ability to scale the model\n to that many replicas is guaranteed (barring service outages).\n If traffic against the DeployedModel increases beyond what its\n replicas at maximum may handle, a portion of the traffic will\n be dropped. If this value is not provided, a no upper bound\n for scaling under heavy traffic will be assume, though Vertex\n AI may be unable to scale beyond certain replica number.\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: The minimum number of replicas this DeployedModel\n will be always deployed on. If traffic against it increases,\n it may dynamically be deployed onto more replicas up to max_replica_count,\n and as traffic decreases, some of these extra replicas may be\n freed. If the requested value is too large, the deployment will\n error.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when the DeployedModel was created.\n x-kubernetes-immutable: true\n dedicatedResources:\n type: object\n x-dcl-go-name: DedicatedResources\n x-dcl-go-type: EndpointDeployedModelsDedicatedResources\n description: A description of resources that are dedicated to the\n DeployedModel, and that need a higher degree of manual configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - automaticResources\n properties:\n autoscalingMetricSpecs:\n type: array\n x-dcl-go-name: AutoscalingMetricSpecs\n description: The metric specifications that overrides a resource\n utilization metric (CPU utilization, accelerator's duty cycle,\n and so on) target value (default to 60 if not set). At most\n one entry is allowed per metric. If machine_spec.accelerator_count\n is above 0, the autoscaling will be based on both CPU utilization\n and accelerator's duty cycle metrics and scale up when either\n metrics exceeds its target value while scale down if both metrics\n are under their target value. The default target value is 60\n for both metrics. If machine_spec.accelerator_count is 0, the\n autoscaling will be based on CPU utilization metric only with\n default target value 60 if not explicitly set. For example,\n in the case of Online Prediction, if you want to override target\n CPU utilization to 80, you should set autoscaling_metric_specs.metric_name\n to `aiplatform.googleapis.com/prediction/online/cpu/utilization`\n and autoscaling_metric_specs.target to `80`.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs\n properties:\n metricName:\n type: string\n x-dcl-go-name: MetricName\n description: 'The resource metric name. Supported metrics:\n * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle`\n * `aiplatform.googleapis.com/prediction/online/cpu/utilization`'\n x-kubernetes-immutable: true\n target:\n type: integer\n format: int64\n x-dcl-go-name: Target\n description: The target resource utilization in percentage\n (1% - 100%) for the given metric; once the real usage\n deviates from the target by a certain percentage, the\n machine replicas change. The default value is 60 (representing\n 60%) if not provided.\n x-kubernetes-immutable: true\n machineSpec:\n type: object\n x-dcl-go-name: MachineSpec\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpec\n description: The specification of a single machine used by the\n prediction.\n x-kubernetes-immutable: true\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of accelerators to attach to the machine.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum\n description: 'The type of accelerator(s) that may be attached\n to the machine as per accelerator_count. Possible values:\n ACCELERATOR_TYPE_UNSPECIFIED, NVIDIA_TESLA_K80, NVIDIA_TESLA_P100,\n NVIDIA_TESLA_V100, NVIDIA_TESLA_P4, NVIDIA_TESLA_T4, NVIDIA_TESLA_A100,\n TPU_V2, TPU_V3'\n x-kubernetes-immutable: true\n enum:\n - ACCELERATOR_TYPE_UNSPECIFIED\n - NVIDIA_TESLA_K80\n - NVIDIA_TESLA_P100\n - NVIDIA_TESLA_V100\n - NVIDIA_TESLA_P4\n - NVIDIA_TESLA_T4\n - NVIDIA_TESLA_A100\n - TPU_V2\n - TPU_V3\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'The type of the machine. See the [list of machine\n types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n For DeployedModel this field is optional, and the default\n value is `n1-standard-2`. For BatchPredictionJob or as part\n of WorkerPoolSpec this field is required. TODO(rsurowka):\n Try to better unify the required vs optional.'\n x-kubernetes-immutable: true\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If\n the requested value is too large, the deployment will error,\n but if deployment succeeds then the ability to scale the model\n to that many replicas is guaranteed (barring service outages).\n If traffic against the DeployedModel increases beyond what its\n replicas at maximum may handle, a portion of the traffic will\n be dropped. If this value is not provided, will use min_replica_count\n as the default value. The value of this field impacts the charge\n against Vertex CPU and GPU quotas. Specifically, you will be\n charged for max_replica_count * number of cores in the selected\n machine type) and (max_replica_count * number of GPUs per replica\n in the selected machine type).\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: The minimum number of machine replicas this DeployedModel\n will be always deployed on. This value must be greater than\n or equal to 1. If traffic against the DeployedModel increases,\n it may dynamically be deployed onto more replicas, and as traffic\n decreases, some of these extra replicas may be freed.\n x-kubernetes-immutable: true\n disableContainerLogging:\n type: boolean\n x-dcl-go-name: DisableContainerLogging\n description: For custom-trained Models and AutoML Tabular Models,\n the container of the DeployedModel instances will send `stderr`\n and `stdout` streams to Stackdriver Logging by default. Please note\n that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/stackdriver/pricing).\n User can disable container logging by setting this flag to true.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the DeployedModel. If not provided\n upon creation, the Model's display_name is used.\n x-kubernetes-immutable: true\n enableAccessLogging:\n type: boolean\n x-dcl-go-name: EnableAccessLogging\n description: These logs are like standard server access logs, containing\n information like timestamp and latency for each prediction request.\n Note that Stackdriver logs may incur a cost, especially if your\n project receives prediction requests at a high queries per second\n rate (QPS). Estimate your costs before enabling this option.\n x-kubernetes-immutable: true\n enableContainerLogging:\n type: boolean\n x-dcl-go-name: EnableContainerLogging\n description: If true, the container of the DeployedModel instances\n will send `stderr` and `stdout` streams to Stackdriver Logging.\n Only supported for custom-trained Models and AutoML Tabular Models.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the DeployedModel. If not provided upon deployment,\n Vertex AI will generate a value for this ID. This value should be\n 1-10 characters, and valid characters are /[0-9]/.\n x-kubernetes-immutable: true\n model:\n type: string\n x-dcl-go-name: Model\n description: The name of the Model that this is the deployment of.\n Note that the Model may be in a different location than the DeployedModel's\n Endpoint.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Model\n field: selfLink\n modelVersionId:\n type: string\n x-dcl-go-name: ModelVersionId\n readOnly: true\n description: Output only. The version ID of the model that is deployed.\n x-kubernetes-immutable: true\n privateEndpoints:\n type: object\n x-dcl-go-name: PrivateEndpoints\n x-dcl-go-type: EndpointDeployedModelsPrivateEndpoints\n readOnly: true\n description: Output only. Provide paths for users to send predict/explain/health\n requests directly to the deployed model services running on Cloud\n via private services access. This field is populated if network\n is configured.\n x-kubernetes-immutable: true\n properties:\n explainHttpUri:\n type: string\n x-dcl-go-name: ExplainHttpUri\n readOnly: true\n description: Output only. Http(s) path to send explain requests.\n x-kubernetes-immutable: true\n healthHttpUri:\n type: string\n x-dcl-go-name: HealthHttpUri\n readOnly: true\n description: Output only. Http(s) path to send health check requests.\n x-kubernetes-immutable: true\n predictHttpUri:\n type: string\n x-dcl-go-name: PredictHttpUri\n readOnly: true\n description: Output only. Http(s) path to send prediction requests.\n x-kubernetes-immutable: true\n serviceAttachment:\n type: string\n x-dcl-go-name: ServiceAttachment\n readOnly: true\n description: Output only. The name of the service attachment resource.\n Populated if private service connect is enabled.\n x-kubernetes-immutable: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: The service account that the DeployedModel's container\n runs as. Specify the email address of the service account. If this\n service account is not specified, the container runs as a service\n account that doesn't have access to the resource project. Users\n deploying the Model must have the `iam.serviceAccounts.actAs` permission\n on this service account.\n x-kubernetes-immutable: true\n sharedResources:\n type: string\n x-dcl-go-name: SharedResources\n description: 'The resource name of the shared DeploymentResourcePool\n to deploy on. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/DeploymentResourcePool\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the Endpoint.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The display name of the Endpoint. The name can be\n up to 128 characters long and can be consist of any UTF-8 characters.\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: EndpointEncryptionSpec\n description: Customer-managed encryption key spec for an Endpoint. If set,\n this Endpoint and all sub-resources of this Endpoint will be secured by\n this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels with user-defined metadata to organize your Endpoints.\n Label keys and values can be no longer than 64 characters (Unicode codepoints),\n can only contain lowercase letters, numeric characters, underscores and\n dashes. International characters are allowed. See https://goo.gl/xmQnxf\n for more information and examples of labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n modelDeploymentMonitoringJob:\n type: string\n x-dcl-go-name: ModelDeploymentMonitoringJob\n readOnly: true\n description: 'Output only. Resource name of the Model Monitoring job associated\n with this Endpoint if monitoring is enabled by CreateModelDeploymentMonitoringJob.\n Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the Endpoint.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)\n to which the Endpoint should be peered. Private services access must already\n be configured for the network. If left unspecified, the Endpoint is not\n peered with any network. Only one of the fields, network or enable_private_service_connect,\n can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):\n `projects/{project}/global/networks/{network}`. Where `{project}` is a\n project number, as in `12345`, and `{network}` is network name.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this Endpoint was last updated.\n x-kubernetes-immutable: true\n") -// 23210 bytes -// MD5: c77af7d4cf3820482159279a98691fb3 +// 23235 bytes +// MD5: efba8b7a45cb818b6a5e470ae34952ea diff --git a/services/google/vertexai/alpha/endpoint_schema.go b/services/google/vertexai/alpha/endpoint_schema.go index 8e41b436f6..edc0172ab1 100755 --- a/services/google/vertexai/alpha/endpoint_schema.go +++ b/services/google/vertexai/alpha/endpoint_schema.go @@ -23,6 +23,7 @@ func DCLEndpointSchema() *dcl.Schema { Title: "VertexAI/Endpoint", Description: "The VertexAI Endpoint resource", StructName: "Endpoint", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/alpha/endpoint_traffic_split.yaml b/services/google/vertexai/alpha/endpoint_traffic_split.yaml index 104c09115d..0d879cd40c 100755 --- a/services/google/vertexai/alpha/endpoint_traffic_split.yaml +++ b/services/google/vertexai/alpha/endpoint_traffic_split.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/EndpointTrafficSplit description: The VertexAI EndpointTrafficSplit resource x-dcl-struct-name: EndpointTrafficSplit + x-dcl-has-create: false x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/alpha/endpoint_traffic_split_alpha_yaml_embed.go b/services/google/vertexai/alpha/endpoint_traffic_split_alpha_yaml_embed.go index eb98714929..4748d4580f 100755 --- a/services/google/vertexai/alpha/endpoint_traffic_split_alpha_yaml_embed.go +++ b/services/google/vertexai/alpha/endpoint_traffic_split_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/alpha/endpoint_traffic_split.yaml -var YAML_endpoint_traffic_split = []byte("info:\n title: VertexAI/EndpointTrafficSplit\n description: The VertexAI EndpointTrafficSplit resource\n x-dcl-struct-name: EndpointTrafficSplit\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EndpointTrafficSplit\n parameters:\n - name: EndpointTrafficSplit\n required: true\n description: A full instance of a EndpointTrafficSplit\n apply:\n description: The function used to apply information about a EndpointTrafficSplit\n parameters:\n - name: EndpointTrafficSplit\n required: true\n description: A full instance of a EndpointTrafficSplit\ncomponents:\n schemas:\n EndpointTrafficSplit:\n title: EndpointTrafficSplit\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{endpoint}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - endpoint\n - project\n - location\n - trafficSplit\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The endpoint for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Endpoint\n field: name\n parent: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n trafficSplit:\n type: array\n x-dcl-go-name: TrafficSplit\n description: A map from a DeployedModel's ID to the percentage of this Endpoint's\n traffic that should be forwarded to that DeployedModel. If a DeployedModel's\n ID is not listed in this map, then it receives no traffic. The traffic\n percentage values must add up to 100, or map must be empty if the Endpoint\n is to not accept any traffic at a moment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointTrafficSplitTrafficSplit\n required:\n - deployedModelId\n - trafficPercentage\n properties:\n deployedModelId:\n type: string\n x-dcl-go-name: DeployedModelId\n description: A deployed model's id.\n x-dcl-references:\n - resource: Vertexai/ModelDeployment\n field: id\n trafficPercentage:\n type: integer\n format: int64\n x-dcl-go-name: TrafficPercentage\n description: The percentage of this Endpoint's traffic that should\n be forwarded to the DeployedModel.\n") +var YAML_endpoint_traffic_split = []byte("info:\n title: VertexAI/EndpointTrafficSplit\n description: The VertexAI EndpointTrafficSplit resource\n x-dcl-struct-name: EndpointTrafficSplit\n x-dcl-has-create: false\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EndpointTrafficSplit\n parameters:\n - name: EndpointTrafficSplit\n required: true\n description: A full instance of a EndpointTrafficSplit\n apply:\n description: The function used to apply information about a EndpointTrafficSplit\n parameters:\n - name: EndpointTrafficSplit\n required: true\n description: A full instance of a EndpointTrafficSplit\ncomponents:\n schemas:\n EndpointTrafficSplit:\n title: EndpointTrafficSplit\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{endpoint}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - endpoint\n - project\n - location\n - trafficSplit\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The endpoint for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Endpoint\n field: name\n parent: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n trafficSplit:\n type: array\n x-dcl-go-name: TrafficSplit\n description: A map from a DeployedModel's ID to the percentage of this Endpoint's\n traffic that should be forwarded to that DeployedModel. If a DeployedModel's\n ID is not listed in this map, then it receives no traffic. The traffic\n percentage values must add up to 100, or map must be empty if the Endpoint\n is to not accept any traffic at a moment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointTrafficSplitTrafficSplit\n required:\n - deployedModelId\n - trafficPercentage\n properties:\n deployedModelId:\n type: string\n x-dcl-go-name: DeployedModelId\n description: A deployed model's id.\n x-dcl-references:\n - resource: Vertexai/ModelDeployment\n field: id\n trafficPercentage:\n type: integer\n format: int64\n x-dcl-go-name: TrafficPercentage\n description: The percentage of this Endpoint's traffic that should\n be forwarded to the DeployedModel.\n") -// 3301 bytes -// MD5: d127d472e94b80ffb873ab747b09c410 +// 3327 bytes +// MD5: 23aac329481e7917293971cc57be0fc9 diff --git a/services/google/vertexai/alpha/metadata_schema.yaml b/services/google/vertexai/alpha/metadata_schema.yaml index a6e30a8e29..429f1e667b 100755 --- a/services/google/vertexai/alpha/metadata_schema.yaml +++ b/services/google/vertexai/alpha/metadata_schema.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/MetadataSchema description: The VertexAI MetadataSchema resource x-dcl-struct-name: MetadataSchema + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/alpha/metadata_schema_alpha_yaml_embed.go b/services/google/vertexai/alpha/metadata_schema_alpha_yaml_embed.go index 93d69ab4ab..7377699a2a 100755 --- a/services/google/vertexai/alpha/metadata_schema_alpha_yaml_embed.go +++ b/services/google/vertexai/alpha/metadata_schema_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/alpha/metadata_schema.yaml -var YAML_metadata_schema = []byte("info:\n title: VertexAI/MetadataSchema\n description: The VertexAI MetadataSchema resource\n x-dcl-struct-name: MetadataSchema\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetadataSchema\n parameters:\n - name: MetadataSchema\n required: true\n description: A full instance of a MetadataSchema\n apply:\n description: The function used to apply information about a MetadataSchema\n parameters:\n - name: MetadataSchema\n required: true\n description: A full instance of a MetadataSchema\n list:\n description: The function used to list information about many MetadataSchema\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: metadatastore\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetadataSchema:\n title: MetadataSchema\n x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{metadata_store}}/metadataSchemas/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - schemaVersion\n - schema\n - schemaType\n - project\n - location\n - metadataStore\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataSchema was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n metadataStore:\n type: string\n x-dcl-go-name: MetadataStore\n description: The metadata store for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertex/MetadataStore\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the MetadataSchema.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n schema:\n type: string\n x-dcl-go-name: Schema\n description: Required. The raw YAML string representation of the MetadataSchema.\n The combination of [MetadataSchema.version] and the schema name given\n by `title` in [MetadataSchema.schema] must be unique within a MetadataStore.\n The schema is defined as an OpenAPI 3.0.2 [MetadataSchema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)\n x-kubernetes-immutable: true\n schemaType:\n type: string\n x-dcl-go-name: SchemaType\n x-dcl-go-type: MetadataSchemaSchemaTypeEnum\n description: 'The type of the MetadataSchema. This is a property that identifies\n which metadata types will use the MetadataSchema. Possible values: METADATA_SCHEMA_TYPE_UNSPECIFIED,\n ARTIFACT_TYPE, EXECUTION_TYPE, CONTEXT_TYPE'\n x-kubernetes-immutable: true\n enum:\n - METADATA_SCHEMA_TYPE_UNSPECIFIED\n - ARTIFACT_TYPE\n - EXECUTION_TYPE\n - CONTEXT_TYPE\n schemaVersion:\n type: string\n x-dcl-go-name: SchemaVersion\n description: 'The version of the MetadataSchema. The version''s format must\n match the following regular expression: `^[0-9]+.+.+$`, which would allow\n to order/compare different versions. Example: 1.0.0, 1.0.1, etc.'\n x-kubernetes-immutable: true\n") +var YAML_metadata_schema = []byte("info:\n title: VertexAI/MetadataSchema\n description: The VertexAI MetadataSchema resource\n x-dcl-struct-name: MetadataSchema\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetadataSchema\n parameters:\n - name: MetadataSchema\n required: true\n description: A full instance of a MetadataSchema\n apply:\n description: The function used to apply information about a MetadataSchema\n parameters:\n - name: MetadataSchema\n required: true\n description: A full instance of a MetadataSchema\n list:\n description: The function used to list information about many MetadataSchema\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: metadatastore\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetadataSchema:\n title: MetadataSchema\n x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{metadata_store}}/metadataSchemas/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - schemaVersion\n - schema\n - schemaType\n - project\n - location\n - metadataStore\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataSchema was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n metadataStore:\n type: string\n x-dcl-go-name: MetadataStore\n description: The metadata store for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertex/MetadataStore\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the MetadataSchema.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n schema:\n type: string\n x-dcl-go-name: Schema\n description: Required. The raw YAML string representation of the MetadataSchema.\n The combination of [MetadataSchema.version] and the schema name given\n by `title` in [MetadataSchema.schema] must be unique within a MetadataStore.\n The schema is defined as an OpenAPI 3.0.2 [MetadataSchema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)\n x-kubernetes-immutable: true\n schemaType:\n type: string\n x-dcl-go-name: SchemaType\n x-dcl-go-type: MetadataSchemaSchemaTypeEnum\n description: 'The type of the MetadataSchema. This is a property that identifies\n which metadata types will use the MetadataSchema. Possible values: METADATA_SCHEMA_TYPE_UNSPECIFIED,\n ARTIFACT_TYPE, EXECUTION_TYPE, CONTEXT_TYPE'\n x-kubernetes-immutable: true\n enum:\n - METADATA_SCHEMA_TYPE_UNSPECIFIED\n - ARTIFACT_TYPE\n - EXECUTION_TYPE\n - CONTEXT_TYPE\n schemaVersion:\n type: string\n x-dcl-go-name: SchemaVersion\n description: 'The version of the MetadataSchema. The version''s format must\n match the following regular expression: `^[0-9]+.+.+$`, which would allow\n to order/compare different versions. Example: 1.0.0, 1.0.1, etc.'\n x-kubernetes-immutable: true\n") -// 4024 bytes -// MD5: 5d59a7bfebde1d40315ac18c6f88517b +// 4049 bytes +// MD5: 5dc4a217896221f6b052d215c5cdcc81 diff --git a/services/google/vertexai/alpha/metadata_schema_schema.go b/services/google/vertexai/alpha/metadata_schema_schema.go index bfc2479010..761cd41805 100755 --- a/services/google/vertexai/alpha/metadata_schema_schema.go +++ b/services/google/vertexai/alpha/metadata_schema_schema.go @@ -23,6 +23,7 @@ func DCLMetadataSchemaSchema() *dcl.Schema { Title: "VertexAI/MetadataSchema", Description: "The VertexAI MetadataSchema resource", StructName: "MetadataSchema", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/alpha/metadata_store.yaml b/services/google/vertexai/alpha/metadata_store.yaml index ef4bdd6723..0b210dc30e 100755 --- a/services/google/vertexai/alpha/metadata_store.yaml +++ b/services/google/vertexai/alpha/metadata_store.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/MetadataStore description: The VertexAI MetadataStore resource x-dcl-struct-name: MetadataStore + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/alpha/metadata_store_alpha_yaml_embed.go b/services/google/vertexai/alpha/metadata_store_alpha_yaml_embed.go index ebfcda79f6..6c2c2044f8 100755 --- a/services/google/vertexai/alpha/metadata_store_alpha_yaml_embed.go +++ b/services/google/vertexai/alpha/metadata_store_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/alpha/metadata_store.yaml -var YAML_metadata_store = []byte("info:\n title: VertexAI/MetadataStore\n description: The VertexAI MetadataStore resource\n x-dcl-struct-name: MetadataStore\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n apply:\n description: The function used to apply information about a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n delete:\n description: The function used to delete a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n deleteAll:\n description: The function used to delete all MetadataStore\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MetadataStore\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetadataStore:\n title: MetadataStore\n x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataStore was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the MetadataStore.\n x-kubernetes-immutable: true\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: MetadataStoreEncryptionSpec\n description: Customer-managed encryption key spec for a Metadata Store.\n If set, this Metadata Store and all sub-resources of this Metadata Store\n are secured using this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the MetadataStore instance.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: MetadataStoreState\n readOnly: true\n description: Output only. State information of the MetadataStore.\n x-kubernetes-immutable: true\n properties:\n diskUtilizationBytes:\n type: integer\n format: int64\n x-dcl-go-name: DiskUtilizationBytes\n description: The disk utilization of the MetadataStore in bytes.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataStore was last updated.\n x-kubernetes-immutable: true\n") +var YAML_metadata_store = []byte("info:\n title: VertexAI/MetadataStore\n description: The VertexAI MetadataStore resource\n x-dcl-struct-name: MetadataStore\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n apply:\n description: The function used to apply information about a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n delete:\n description: The function used to delete a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n deleteAll:\n description: The function used to delete all MetadataStore\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MetadataStore\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetadataStore:\n title: MetadataStore\n x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataStore was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the MetadataStore.\n x-kubernetes-immutable: true\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: MetadataStoreEncryptionSpec\n description: Customer-managed encryption key spec for a Metadata Store.\n If set, this Metadata Store and all sub-resources of this Metadata Store\n are secured using this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the MetadataStore instance.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: MetadataStoreState\n readOnly: true\n description: Output only. State information of the MetadataStore.\n x-kubernetes-immutable: true\n properties:\n diskUtilizationBytes:\n type: integer\n format: int64\n x-dcl-go-name: DiskUtilizationBytes\n description: The disk utilization of the MetadataStore in bytes.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataStore was last updated.\n x-kubernetes-immutable: true\n") -// 4478 bytes -// MD5: 35955ed53e6948d037a24900edf64e16 +// 4503 bytes +// MD5: 9f8ba7fc0f39d641415a66847b311656 diff --git a/services/google/vertexai/alpha/metadata_store_schema.go b/services/google/vertexai/alpha/metadata_store_schema.go index 9613c751d6..8ddedb438e 100755 --- a/services/google/vertexai/alpha/metadata_store_schema.go +++ b/services/google/vertexai/alpha/metadata_store_schema.go @@ -23,6 +23,7 @@ func DCLMetadataStoreSchema() *dcl.Schema { Title: "VertexAI/MetadataStore", Description: "The VertexAI MetadataStore resource", StructName: "MetadataStore", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/alpha/model.yaml b/services/google/vertexai/alpha/model.yaml index 9d83becb6c..784e0c6f6e 100755 --- a/services/google/vertexai/alpha/model.yaml +++ b/services/google/vertexai/alpha/model.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/Model description: The VertexAI Model resource x-dcl-struct-name: Model + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/alpha/model_alpha_yaml_embed.go b/services/google/vertexai/alpha/model_alpha_yaml_embed.go index 9b8d06a540..abd29dfbb2 100755 --- a/services/google/vertexai/alpha/model_alpha_yaml_embed.go +++ b/services/google/vertexai/alpha/model_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/alpha/model.yaml -var YAML_model = []byte("info:\n title: VertexAI/Model\n description: The VertexAI Model resource\n x-dcl-struct-name: Model\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n apply:\n description: The function used to apply information about a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n delete:\n description: The function used to delete a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n deleteAll:\n description: The function used to delete all Model\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Model\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Model:\n title: Model\n x-dcl-id: projects/{{project}}/locations/{{location}}/models/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - containerSpec\n - project\n - location\n properties:\n artifactUri:\n type: string\n x-dcl-go-name: ArtifactUri\n description: Immutable. The path to the directory containing the Model artifact\n and any of its supporting files. Not present for AutoML Models.\n x-kubernetes-immutable: true\n containerSpec:\n type: object\n x-dcl-go-name: ContainerSpec\n x-dcl-go-type: ModelContainerSpec\n description: Input only. The specification of the container that is to be\n used when deploying this Model. The specification is ingested upon ModelService.UploadModel,\n and all binaries it contains are copied and stored internally by Vertex\n AI. Not present for AutoML Models.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n required:\n - imageUri\n properties:\n acceleratorRequirements:\n type: array\n x-dcl-go-name: AcceleratorRequirements\n description: Immutable. Accelerators required to run the container.\n This changes how containers are started. For example, GPU requirements\n are used to set the `resources` field in the Kubernetes [Container\n v1 core](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core)\n spec, as described on the [Schedule GPUs](https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/)\n page of the Kubernetes documentation. Currently, this field is only\n used when deploying to EdgeDevices.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecAcceleratorRequirements\n properties:\n count:\n type: integer\n format: int64\n x-dcl-go-name: Count\n description: Number of accelerators of the specified type needed\n to run the container.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ModelContainerSpecAcceleratorRequirementsTypeEnum\n description: 'Type of the accelerator needed to run the container.\n Possible values: ACCELERATOR_TYPE_UNSPECIFIED, CORAL_EDGE_TPU,\n NVIDIA_GPU, AMD_GPU'\n x-kubernetes-immutable: true\n enum:\n - ACCELERATOR_TYPE_UNSPECIFIED\n - CORAL_EDGE_TPU\n - NVIDIA_GPU\n - AMD_GPU\n args:\n type: array\n x-dcl-go-name: Args\n description: 'Immutable. Specifies arguments for the command that runs\n when the container starts. This overrides the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd).\n Specify this field as an array of executable and arguments, similar\n to a Docker `CMD`''s \"default parameters\" form. If you don''t specify\n this field but do specify the command field, then the command from\n the `command` field runs without any additional arguments. See the\n [Kubernetes documentation about how the `command` and `args` fields\n interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n If you don''t specify this field and don''t specify the `command`\n field, then the container''s [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd)\n and `CMD` determine what runs based on their default behavior. See\n the Docker documentation about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n In this field, you can reference [environment variables set by Vertex\n AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n and environment variables set in the env field. You cannot reference\n environment variables set in the Docker image. In order for environment\n variables to be expanded, reference them by using the following syntax:\n `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n which does not use parentheses. If a variable cannot be resolved,\n the reference in the input string is used unchanged. To avoid variable\n expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n This field corresponds to the `args` field of the Kubernetes Containers\n [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n command:\n type: array\n x-dcl-go-name: Command\n description: 'Immutable. Specifies the command that runs when the container\n starts. This overrides the container''s [ENTRYPOINT](https://docs.docker.com/engine/reference/builder/#entrypoint).\n Specify this field as an array of executable and arguments, similar\n to a Docker `ENTRYPOINT`''s \"exec\" form, not its \"shell\" form. If\n you do not specify this field, then the container''s `ENTRYPOINT`\n runs, in conjunction with the args field or the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd),\n if either exists. If this field is not specified and the container\n does not have an `ENTRYPOINT`, then refer to the Docker documentation\n about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n If you specify this field, then you can also specify the `args` field\n to provide additional arguments for this command. However, if you\n specify this field, then the container''s `CMD` is ignored. See the\n [Kubernetes documentation about how the `command` and `args` fields\n interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n In this field, you can reference [environment variables set by Vertex\n AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n and environment variables set in the env field. You cannot reference\n environment variables set in the Docker image. In order for environment\n variables to be expanded, reference them by using the following syntax:\n `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n which does not use parentheses. If a variable cannot be resolved,\n the reference in the input string is used unchanged. To avoid variable\n expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n This field corresponds to the `command` field of the Kubernetes Containers\n [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n env:\n type: array\n x-dcl-go-name: Env\n description: 'Immutable. List of environment variables to set in the\n container. After the container starts running, code running in the\n container can read these environment variables. Additionally, the\n command and args fields can reference these variables. Later entries\n in this list can also reference earlier entries. For example, the\n following example sets the variable `VAR_2` to have the value `foo\n bar`: ```json [ { \"name\": \"VAR_1\", \"value\": \"foo\" }, { \"name\": \"VAR_2\",\n \"value\": \"$(VAR_1) bar\" } ] ``` If you switch the order of the variables\n in the example, then the expansion does not occur. This field corresponds\n to the `env` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecEnv\n required:\n - name\n - value\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment variable. Must\n be a valid C identifier.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: 'Required. Variables that reference a $(VAR_NAME)\n are expanded using the previous defined environment variables\n in the container and any service environment variables. If a\n variable cannot be resolved, the reference in the input string\n will be unchanged. The $(VAR_NAME) syntax can be escaped with\n a double $$, ie: $$(VAR_NAME). Escaped references will never\n be expanded, regardless of whether the variable exists or not.'\n x-kubernetes-immutable: true\n healthRoute:\n type: string\n x-dcl-go-name: HealthRoute\n description: 'Immutable. HTTP path on the container to send health checks\n to. Vertex AI intermittently sends GET requests to this path on the\n container''s IP address and port to check that the container is healthy.\n Read more about [health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health).\n For example, if you set this field to `/bar`, then Vertex AI intermittently\n sends a GET request to the `/bar` path on the port of your container\n specified by the first value of this `ModelContainerSpec`''s ports\n field. If you don''t specify this field, it defaults to the following\n value when you deploy this Model to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n The placeholders in this value are replaced as follows: * ENDPOINT:\n The last segment (following `endpoints/`)of the Endpoint.name][] field\n of the Endpoint where this Model has been deployed. (Vertex AI makes\n this value available to your container code as the [`AIP_ENDPOINT_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n x-kubernetes-immutable: true\n imageUri:\n type: string\n x-dcl-go-name: ImageUri\n description: Required. Immutable. URI of the Docker image to be used\n as the custom container for serving predictions. This URI must identify\n an image in Artifact Registry or Container Registry. Learn more about\n the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing),\n including permissions requirements for the Vertex AI Service Agent.\n The container image is ingested upon ModelService.UploadModel, stored\n internally, and this original path is afterwards not used. To learn\n about the requirements for the Docker image itself, see [Custom container\n requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#).\n You can use the URI to one of Vertex AI's [pre-built container images\n for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers)\n in this field.\n x-kubernetes-immutable: true\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'Immutable. List of ports to expose from the container.\n Vertex AI sends any prediction requests that it receives to the first\n port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness)\n to this port. If you do not specify this field, it defaults to following\n value: ```json [ { \"containerPort\": 8080 } ] ``` Vertex AI does not\n use ports other than the first one listed. This field corresponds\n to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecPorts\n properties:\n containerPort:\n type: integer\n format: int64\n x-dcl-go-name: ContainerPort\n description: The number of the port to expose on the pod's IP\n address. Must be a valid port number, between 1 and 65535 inclusive.\n x-kubernetes-immutable: true\n predictRoute:\n type: string\n x-dcl-go-name: PredictRoute\n description: 'Immutable. HTTP path on the container to send prediction\n requests to. Vertex AI forwards requests sent using projects.locations.endpoints.predict\n to this path on the container''s IP address and port. Vertex AI then\n returns the container''s response in the API response. For example,\n if you set this field to `/foo`, then when Vertex AI receives a prediction\n request, it forwards the request body in a POST request to the `/foo`\n path on the port of your container specified by the first value of\n this `ModelContainerSpec`''s ports field. If you don''t specify this\n field, it defaults to the following value when you deploy this Model\n to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n The placeholders in this value are replaced as follows: * ENDPOINT:\n The last segment (following `endpoints/`)of the Endpoint.name][] field\n of the Endpoint where this Model has been deployed. (Vertex AI makes\n this value available to your container code as the [`AIP_ENDPOINT_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this Model was uploaded into Vertex\n AI.\n x-kubernetes-immutable: true\n deployedModels:\n type: array\n x-dcl-go-name: DeployedModels\n readOnly: true\n description: Output only. The pointers to DeployedModels created from this\n Model. Note that Model could have been deployed to Endpoints in different\n Locations.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelDeployedModels\n properties:\n deployedModelId:\n type: string\n x-dcl-go-name: DeployedModelId\n description: Immutable. An ID of a DeployedModel in the above Endpoint.\n x-kubernetes-immutable: true\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: Immutable. A resource name of an Endpoint.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Endpoint\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the Model.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The display name of the Model. The name can be up\n to 128 characters long and can be consist of any UTF-8 characters.\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: ModelEncryptionSpec\n description: Customer-managed encryption key spec for a Model. If set, this\n Model and all sub-resources of this Model will be secured by this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels with user-defined metadata to organize your Models.\n Label keys and values can be no longer than 64 characters (Unicode codepoints),\n can only contain lowercase letters, numeric characters, underscores and\n dashes. International characters are allowed. See https://goo.gl/xmQnxf\n for more information and examples of labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the Model.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n originalModelInfo:\n type: object\n x-dcl-go-name: OriginalModelInfo\n x-dcl-go-type: ModelOriginalModelInfo\n readOnly: true\n description: Output only. If this Model is a copy of another Model, this\n contains info about the original.\n x-kubernetes-immutable: true\n properties:\n model:\n type: string\n x-dcl-go-name: Model\n readOnly: true\n description: 'Output only. The resource name of the Model this Model\n is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Model\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n supportedDeploymentResourcesTypes:\n type: array\n x-dcl-go-name: SupportedDeploymentResourcesTypes\n readOnly: true\n description: Output only. When this Model is deployed, its prediction resources\n are described by the `prediction_resources` field of the Endpoint.deployed_models\n object. Because not all Models support all resource configuration types,\n the configuration types this Model supports are listed here. If no configuration\n types are listed, the Model cannot be deployed to an Endpoint and does\n not support online predictions (PredictionService.Predict or PredictionService.Explain).\n Such a Model can serve predictions by using a BatchPredictionJob, if it\n has at least one entry each in supported_input_storage_formats and supported_output_storage_formats.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ModelSupportedDeploymentResourcesTypesEnum\n enum:\n - DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED\n - DEDICATED_RESOURCES\n - AUTOMATIC_RESOURCES\n supportedExportFormats:\n type: array\n x-dcl-go-name: SupportedExportFormats\n readOnly: true\n description: Output only. The formats in which this Model may be exported.\n If empty, this Model is not available for export.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelSupportedExportFormats\n properties:\n exportableContents:\n type: array\n x-dcl-go-name: ExportableContents\n readOnly: true\n description: Output only. The content of this Model that may be exported.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ModelSupportedExportFormatsExportableContentsEnum\n enum:\n - EXPORTABLE_CONTENT_UNSPECIFIED\n - ARTIFACT\n - IMAGE\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: 'Output only. The ID of the export format. The possible\n format IDs are: * `tflite` Used for Android mobile devices. * `edgetpu-tflite`\n Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.\n * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js`\n A [TensorFlow.js](https://www.tensorflow.org/js) model that can\n be used in the browser and in Node.js using JavaScript. * `core-ml`\n Used for iOS mobile devices. * `custom-trained` A Model that was\n uploaded or trained by custom code.'\n x-kubernetes-immutable: true\n supportedInputStorageFormats:\n type: array\n x-dcl-go-name: SupportedInputStorageFormats\n readOnly: true\n description: 'Output only. The formats this Model supports in BatchPredictionJob.input_config.\n If PredictSchemata.instance_schema_uri exists, the instances should be\n given as per that schema. The possible formats are: * `jsonl` The JSON\n Lines format, where each instance is a single line. Uses GcsSource. *\n `csv` The CSV format, where each instance is a single comma-separated\n line. The first line in the file is the header, containing comma-separated\n field names. Uses GcsSource. * `tf-record` The TFRecord format, where\n each instance is a single record in tfrecord syntax. Uses GcsSource. *\n `tf-record-gzip` Similar to `tf-record`, but the file is gzipped. Uses\n GcsSource. * `bigquery` Each instance is a single row in BigQuery. Uses\n BigQuerySource. * `file-list` Each line of the file is the location of\n an instance to process, uses `gcs_source` field of the InputConfig object.\n If this Model doesn''t support any of these formats it means it cannot\n be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n it could serve online predictions by using PredictionService.Predict or\n PredictionService.Explain. TODO(rsurowka): Give a link describing how\n OpenAPI schema instances are expressed in JSONL and BigQuery. TODO(rsurowka):\n Should we provide a schema for TFRecord? Or maybe say that at least for\n now TFRecord input is not supported via schemata (that would also simplify\n giving them back as part of predictions). TODO(rsurowka): Define CSV format\n (decide how much we want to support). E.g. no nesting? Or no arrays, or\n no nested arrays? E.g. https://json-csv.com/ seems to be able to do pretty\n advanced conversions, but we may decide to make it relatively simple for\n now.'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n supportedOutputStorageFormats:\n type: array\n x-dcl-go-name: SupportedOutputStorageFormats\n readOnly: true\n description: 'Output only. The formats this Model supports in BatchPredictionJob.output_config.\n If both PredictSchemata.instance_schema_uri and PredictSchemata.prediction_schema_uri\n exist, the predictions are returned together with their instances. In\n other words, the prediction has the original instance data first, followed\n by the actual prediction content (as per the schema). The possible formats\n are: * `jsonl` The JSON Lines format, where each prediction is a single\n line. Uses GcsDestination. * `csv` The CSV format, where each prediction\n is a single comma-separated line. The first line in the file is the header,\n containing comma-separated field names. Uses GcsDestination. * `bigquery`\n Each prediction is a single row in a BigQuery table, uses BigQueryDestination\n . If this Model doesn''t support any of these formats it means it cannot\n be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n it could serve online predictions by using PredictionService.Predict or\n PredictionService.Explain. TODO(rsurowka): Analogous TODOs as for instances\n field above.'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n trainingPipeline:\n type: string\n x-dcl-go-name: TrainingPipeline\n readOnly: true\n description: Output only. The resource name of the TrainingPipeline that\n uploaded this Model, if any.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this Model was most recently updated.\n x-kubernetes-immutable: true\n versionAliases:\n type: array\n x-dcl-go-name: VersionAliases\n description: User provided version aliases so that a model version can be\n referenced via alias (i.e. projects/{project}/locations/{location}/models/{model_id}@{version_alias}\n instead of auto-generated version id (i.e. projects/{project}/locations/{location}/models/{model_id}@{version_id}).\n The format is a-z{0,126}[a-z0-9] to distinguish from version_id. A default\n version alias will be created for the first version of the model, and\n there must be exactly one default version alias for a model.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n versionCreateTime:\n type: string\n format: date-time\n x-dcl-go-name: VersionCreateTime\n readOnly: true\n description: Output only. Timestamp when this version was created.\n x-kubernetes-immutable: true\n versionDescription:\n type: string\n x-dcl-go-name: VersionDescription\n description: The description of this version.\n x-kubernetes-immutable: true\n versionId:\n type: string\n x-dcl-go-name: VersionId\n readOnly: true\n description: Output only. Immutable. The version ID of the model. A new\n version is committed when a new model version is uploaded or trained under\n an existing model id. It is an auto-incrementing decimal number in string\n representation.\n x-kubernetes-immutable: true\n versionUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: VersionUpdateTime\n readOnly: true\n description: Output only. Timestamp when this version was most recently\n updated.\n x-kubernetes-immutable: true\n") +var YAML_model = []byte("info:\n title: VertexAI/Model\n description: The VertexAI Model resource\n x-dcl-struct-name: Model\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n apply:\n description: The function used to apply information about a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n delete:\n description: The function used to delete a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n deleteAll:\n description: The function used to delete all Model\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Model\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Model:\n title: Model\n x-dcl-id: projects/{{project}}/locations/{{location}}/models/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - containerSpec\n - project\n - location\n properties:\n artifactUri:\n type: string\n x-dcl-go-name: ArtifactUri\n description: Immutable. The path to the directory containing the Model artifact\n and any of its supporting files. Not present for AutoML Models.\n x-kubernetes-immutable: true\n containerSpec:\n type: object\n x-dcl-go-name: ContainerSpec\n x-dcl-go-type: ModelContainerSpec\n description: Input only. The specification of the container that is to be\n used when deploying this Model. The specification is ingested upon ModelService.UploadModel,\n and all binaries it contains are copied and stored internally by Vertex\n AI. Not present for AutoML Models.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n required:\n - imageUri\n properties:\n acceleratorRequirements:\n type: array\n x-dcl-go-name: AcceleratorRequirements\n description: Immutable. Accelerators required to run the container.\n This changes how containers are started. For example, GPU requirements\n are used to set the `resources` field in the Kubernetes [Container\n v1 core](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core)\n spec, as described on the [Schedule GPUs](https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/)\n page of the Kubernetes documentation. Currently, this field is only\n used when deploying to EdgeDevices.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecAcceleratorRequirements\n properties:\n count:\n type: integer\n format: int64\n x-dcl-go-name: Count\n description: Number of accelerators of the specified type needed\n to run the container.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ModelContainerSpecAcceleratorRequirementsTypeEnum\n description: 'Type of the accelerator needed to run the container.\n Possible values: ACCELERATOR_TYPE_UNSPECIFIED, CORAL_EDGE_TPU,\n NVIDIA_GPU, AMD_GPU'\n x-kubernetes-immutable: true\n enum:\n - ACCELERATOR_TYPE_UNSPECIFIED\n - CORAL_EDGE_TPU\n - NVIDIA_GPU\n - AMD_GPU\n args:\n type: array\n x-dcl-go-name: Args\n description: 'Immutable. Specifies arguments for the command that runs\n when the container starts. This overrides the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd).\n Specify this field as an array of executable and arguments, similar\n to a Docker `CMD`''s \"default parameters\" form. If you don''t specify\n this field but do specify the command field, then the command from\n the `command` field runs without any additional arguments. See the\n [Kubernetes documentation about how the `command` and `args` fields\n interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n If you don''t specify this field and don''t specify the `command`\n field, then the container''s [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd)\n and `CMD` determine what runs based on their default behavior. See\n the Docker documentation about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n In this field, you can reference [environment variables set by Vertex\n AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n and environment variables set in the env field. You cannot reference\n environment variables set in the Docker image. In order for environment\n variables to be expanded, reference them by using the following syntax:\n `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n which does not use parentheses. If a variable cannot be resolved,\n the reference in the input string is used unchanged. To avoid variable\n expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n This field corresponds to the `args` field of the Kubernetes Containers\n [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n command:\n type: array\n x-dcl-go-name: Command\n description: 'Immutable. Specifies the command that runs when the container\n starts. This overrides the container''s [ENTRYPOINT](https://docs.docker.com/engine/reference/builder/#entrypoint).\n Specify this field as an array of executable and arguments, similar\n to a Docker `ENTRYPOINT`''s \"exec\" form, not its \"shell\" form. If\n you do not specify this field, then the container''s `ENTRYPOINT`\n runs, in conjunction with the args field or the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd),\n if either exists. If this field is not specified and the container\n does not have an `ENTRYPOINT`, then refer to the Docker documentation\n about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n If you specify this field, then you can also specify the `args` field\n to provide additional arguments for this command. However, if you\n specify this field, then the container''s `CMD` is ignored. See the\n [Kubernetes documentation about how the `command` and `args` fields\n interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n In this field, you can reference [environment variables set by Vertex\n AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n and environment variables set in the env field. You cannot reference\n environment variables set in the Docker image. In order for environment\n variables to be expanded, reference them by using the following syntax:\n `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n which does not use parentheses. If a variable cannot be resolved,\n the reference in the input string is used unchanged. To avoid variable\n expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n This field corresponds to the `command` field of the Kubernetes Containers\n [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n env:\n type: array\n x-dcl-go-name: Env\n description: 'Immutable. List of environment variables to set in the\n container. After the container starts running, code running in the\n container can read these environment variables. Additionally, the\n command and args fields can reference these variables. Later entries\n in this list can also reference earlier entries. For example, the\n following example sets the variable `VAR_2` to have the value `foo\n bar`: ```json [ { \"name\": \"VAR_1\", \"value\": \"foo\" }, { \"name\": \"VAR_2\",\n \"value\": \"$(VAR_1) bar\" } ] ``` If you switch the order of the variables\n in the example, then the expansion does not occur. This field corresponds\n to the `env` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecEnv\n required:\n - name\n - value\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment variable. Must\n be a valid C identifier.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: 'Required. Variables that reference a $(VAR_NAME)\n are expanded using the previous defined environment variables\n in the container and any service environment variables. If a\n variable cannot be resolved, the reference in the input string\n will be unchanged. The $(VAR_NAME) syntax can be escaped with\n a double $$, ie: $$(VAR_NAME). Escaped references will never\n be expanded, regardless of whether the variable exists or not.'\n x-kubernetes-immutable: true\n healthRoute:\n type: string\n x-dcl-go-name: HealthRoute\n description: 'Immutable. HTTP path on the container to send health checks\n to. Vertex AI intermittently sends GET requests to this path on the\n container''s IP address and port to check that the container is healthy.\n Read more about [health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health).\n For example, if you set this field to `/bar`, then Vertex AI intermittently\n sends a GET request to the `/bar` path on the port of your container\n specified by the first value of this `ModelContainerSpec`''s ports\n field. If you don''t specify this field, it defaults to the following\n value when you deploy this Model to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n The placeholders in this value are replaced as follows: * ENDPOINT:\n The last segment (following `endpoints/`)of the Endpoint.name][] field\n of the Endpoint where this Model has been deployed. (Vertex AI makes\n this value available to your container code as the [`AIP_ENDPOINT_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n x-kubernetes-immutable: true\n imageUri:\n type: string\n x-dcl-go-name: ImageUri\n description: Required. Immutable. URI of the Docker image to be used\n as the custom container for serving predictions. This URI must identify\n an image in Artifact Registry or Container Registry. Learn more about\n the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing),\n including permissions requirements for the Vertex AI Service Agent.\n The container image is ingested upon ModelService.UploadModel, stored\n internally, and this original path is afterwards not used. To learn\n about the requirements for the Docker image itself, see [Custom container\n requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#).\n You can use the URI to one of Vertex AI's [pre-built container images\n for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers)\n in this field.\n x-kubernetes-immutable: true\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'Immutable. List of ports to expose from the container.\n Vertex AI sends any prediction requests that it receives to the first\n port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness)\n to this port. If you do not specify this field, it defaults to following\n value: ```json [ { \"containerPort\": 8080 } ] ``` Vertex AI does not\n use ports other than the first one listed. This field corresponds\n to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecPorts\n properties:\n containerPort:\n type: integer\n format: int64\n x-dcl-go-name: ContainerPort\n description: The number of the port to expose on the pod's IP\n address. Must be a valid port number, between 1 and 65535 inclusive.\n x-kubernetes-immutable: true\n predictRoute:\n type: string\n x-dcl-go-name: PredictRoute\n description: 'Immutable. HTTP path on the container to send prediction\n requests to. Vertex AI forwards requests sent using projects.locations.endpoints.predict\n to this path on the container''s IP address and port. Vertex AI then\n returns the container''s response in the API response. For example,\n if you set this field to `/foo`, then when Vertex AI receives a prediction\n request, it forwards the request body in a POST request to the `/foo`\n path on the port of your container specified by the first value of\n this `ModelContainerSpec`''s ports field. If you don''t specify this\n field, it defaults to the following value when you deploy this Model\n to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n The placeholders in this value are replaced as follows: * ENDPOINT:\n The last segment (following `endpoints/`)of the Endpoint.name][] field\n of the Endpoint where this Model has been deployed. (Vertex AI makes\n this value available to your container code as the [`AIP_ENDPOINT_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this Model was uploaded into Vertex\n AI.\n x-kubernetes-immutable: true\n deployedModels:\n type: array\n x-dcl-go-name: DeployedModels\n readOnly: true\n description: Output only. The pointers to DeployedModels created from this\n Model. Note that Model could have been deployed to Endpoints in different\n Locations.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelDeployedModels\n properties:\n deployedModelId:\n type: string\n x-dcl-go-name: DeployedModelId\n description: Immutable. An ID of a DeployedModel in the above Endpoint.\n x-kubernetes-immutable: true\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: Immutable. A resource name of an Endpoint.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Endpoint\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the Model.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The display name of the Model. The name can be up\n to 128 characters long and can be consist of any UTF-8 characters.\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: ModelEncryptionSpec\n description: Customer-managed encryption key spec for a Model. If set, this\n Model and all sub-resources of this Model will be secured by this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels with user-defined metadata to organize your Models.\n Label keys and values can be no longer than 64 characters (Unicode codepoints),\n can only contain lowercase letters, numeric characters, underscores and\n dashes. International characters are allowed. See https://goo.gl/xmQnxf\n for more information and examples of labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the Model.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n originalModelInfo:\n type: object\n x-dcl-go-name: OriginalModelInfo\n x-dcl-go-type: ModelOriginalModelInfo\n readOnly: true\n description: Output only. If this Model is a copy of another Model, this\n contains info about the original.\n x-kubernetes-immutable: true\n properties:\n model:\n type: string\n x-dcl-go-name: Model\n readOnly: true\n description: 'Output only. The resource name of the Model this Model\n is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Model\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n supportedDeploymentResourcesTypes:\n type: array\n x-dcl-go-name: SupportedDeploymentResourcesTypes\n readOnly: true\n description: Output only. When this Model is deployed, its prediction resources\n are described by the `prediction_resources` field of the Endpoint.deployed_models\n object. Because not all Models support all resource configuration types,\n the configuration types this Model supports are listed here. If no configuration\n types are listed, the Model cannot be deployed to an Endpoint and does\n not support online predictions (PredictionService.Predict or PredictionService.Explain).\n Such a Model can serve predictions by using a BatchPredictionJob, if it\n has at least one entry each in supported_input_storage_formats and supported_output_storage_formats.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ModelSupportedDeploymentResourcesTypesEnum\n enum:\n - DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED\n - DEDICATED_RESOURCES\n - AUTOMATIC_RESOURCES\n supportedExportFormats:\n type: array\n x-dcl-go-name: SupportedExportFormats\n readOnly: true\n description: Output only. The formats in which this Model may be exported.\n If empty, this Model is not available for export.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelSupportedExportFormats\n properties:\n exportableContents:\n type: array\n x-dcl-go-name: ExportableContents\n readOnly: true\n description: Output only. The content of this Model that may be exported.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ModelSupportedExportFormatsExportableContentsEnum\n enum:\n - EXPORTABLE_CONTENT_UNSPECIFIED\n - ARTIFACT\n - IMAGE\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: 'Output only. The ID of the export format. The possible\n format IDs are: * `tflite` Used for Android mobile devices. * `edgetpu-tflite`\n Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.\n * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js`\n A [TensorFlow.js](https://www.tensorflow.org/js) model that can\n be used in the browser and in Node.js using JavaScript. * `core-ml`\n Used for iOS mobile devices. * `custom-trained` A Model that was\n uploaded or trained by custom code.'\n x-kubernetes-immutable: true\n supportedInputStorageFormats:\n type: array\n x-dcl-go-name: SupportedInputStorageFormats\n readOnly: true\n description: 'Output only. The formats this Model supports in BatchPredictionJob.input_config.\n If PredictSchemata.instance_schema_uri exists, the instances should be\n given as per that schema. The possible formats are: * `jsonl` The JSON\n Lines format, where each instance is a single line. Uses GcsSource. *\n `csv` The CSV format, where each instance is a single comma-separated\n line. The first line in the file is the header, containing comma-separated\n field names. Uses GcsSource. * `tf-record` The TFRecord format, where\n each instance is a single record in tfrecord syntax. Uses GcsSource. *\n `tf-record-gzip` Similar to `tf-record`, but the file is gzipped. Uses\n GcsSource. * `bigquery` Each instance is a single row in BigQuery. Uses\n BigQuerySource. * `file-list` Each line of the file is the location of\n an instance to process, uses `gcs_source` field of the InputConfig object.\n If this Model doesn''t support any of these formats it means it cannot\n be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n it could serve online predictions by using PredictionService.Predict or\n PredictionService.Explain. TODO(rsurowka): Give a link describing how\n OpenAPI schema instances are expressed in JSONL and BigQuery. TODO(rsurowka):\n Should we provide a schema for TFRecord? Or maybe say that at least for\n now TFRecord input is not supported via schemata (that would also simplify\n giving them back as part of predictions). TODO(rsurowka): Define CSV format\n (decide how much we want to support). E.g. no nesting? Or no arrays, or\n no nested arrays? E.g. https://json-csv.com/ seems to be able to do pretty\n advanced conversions, but we may decide to make it relatively simple for\n now.'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n supportedOutputStorageFormats:\n type: array\n x-dcl-go-name: SupportedOutputStorageFormats\n readOnly: true\n description: 'Output only. The formats this Model supports in BatchPredictionJob.output_config.\n If both PredictSchemata.instance_schema_uri and PredictSchemata.prediction_schema_uri\n exist, the predictions are returned together with their instances. In\n other words, the prediction has the original instance data first, followed\n by the actual prediction content (as per the schema). The possible formats\n are: * `jsonl` The JSON Lines format, where each prediction is a single\n line. Uses GcsDestination. * `csv` The CSV format, where each prediction\n is a single comma-separated line. The first line in the file is the header,\n containing comma-separated field names. Uses GcsDestination. * `bigquery`\n Each prediction is a single row in a BigQuery table, uses BigQueryDestination\n . If this Model doesn''t support any of these formats it means it cannot\n be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n it could serve online predictions by using PredictionService.Predict or\n PredictionService.Explain. TODO(rsurowka): Analogous TODOs as for instances\n field above.'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n trainingPipeline:\n type: string\n x-dcl-go-name: TrainingPipeline\n readOnly: true\n description: Output only. The resource name of the TrainingPipeline that\n uploaded this Model, if any.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this Model was most recently updated.\n x-kubernetes-immutable: true\n versionAliases:\n type: array\n x-dcl-go-name: VersionAliases\n description: User provided version aliases so that a model version can be\n referenced via alias (i.e. projects/{project}/locations/{location}/models/{model_id}@{version_alias}\n instead of auto-generated version id (i.e. projects/{project}/locations/{location}/models/{model_id}@{version_id}).\n The format is a-z{0,126}[a-z0-9] to distinguish from version_id. A default\n version alias will be created for the first version of the model, and\n there must be exactly one default version alias for a model.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n versionCreateTime:\n type: string\n format: date-time\n x-dcl-go-name: VersionCreateTime\n readOnly: true\n description: Output only. Timestamp when this version was created.\n x-kubernetes-immutable: true\n versionDescription:\n type: string\n x-dcl-go-name: VersionDescription\n description: The description of this version.\n x-kubernetes-immutable: true\n versionId:\n type: string\n x-dcl-go-name: VersionId\n readOnly: true\n description: Output only. Immutable. The version ID of the model. A new\n version is committed when a new model version is uploaded or trained under\n an existing model id. It is an auto-incrementing decimal number in string\n representation.\n x-kubernetes-immutable: true\n versionUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: VersionUpdateTime\n readOnly: true\n description: Output only. Timestamp when this version was most recently\n updated.\n x-kubernetes-immutable: true\n") -// 32860 bytes -// MD5: a7ec828490ba0e869471576c64e14e6c +// 32885 bytes +// MD5: bf78914e93dd1933469c1ec8bfc3e78f diff --git a/services/google/vertexai/alpha/model_deployment.yaml b/services/google/vertexai/alpha/model_deployment.yaml index 684647732d..8816e599bd 100755 --- a/services/google/vertexai/alpha/model_deployment.yaml +++ b/services/google/vertexai/alpha/model_deployment.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/ModelDeployment description: The VertexAI ModelDeployment resource x-dcl-struct-name: ModelDeployment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/alpha/model_deployment_alpha_yaml_embed.go b/services/google/vertexai/alpha/model_deployment_alpha_yaml_embed.go index 29dac9fbea..c6b633d4b5 100755 --- a/services/google/vertexai/alpha/model_deployment_alpha_yaml_embed.go +++ b/services/google/vertexai/alpha/model_deployment_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/alpha/model_deployment.yaml -var YAML_model_deployment = []byte("info:\n title: VertexAI/ModelDeployment\n description: The VertexAI ModelDeployment resource\n x-dcl-struct-name: ModelDeployment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n apply:\n description: The function used to apply information about a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n delete:\n description: The function used to delete a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n deleteAll:\n description: The function used to delete all ModelDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: endpoint\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ModelDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: endpoint\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ModelDeployment:\n title: ModelDeployment\n x-dcl-id: models/{{model}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - model\n - dedicatedResources\n - endpoint\n properties:\n dedicatedResources:\n type: object\n x-dcl-go-name: DedicatedResources\n x-dcl-go-type: ModelDeploymentDedicatedResources\n description: A description of resources that are dedicated to the DeployedModel,\n and that need a higher degree of manual configuration.\n x-kubernetes-immutable: true\n required:\n - machineSpec\n - minReplicaCount\n properties:\n machineSpec:\n type: object\n x-dcl-go-name: MachineSpec\n x-dcl-go-type: ModelDeploymentDedicatedResourcesMachineSpec\n description: Required. Immutable. The specification of a single machine\n used by the prediction.\n x-kubernetes-immutable: true\n required:\n - machineType\n properties:\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Immutable. The type of the machine. See the [list\n of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n For DeployedModel this field is optional, and the default value\n is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec\n this field is required. TODO(rsurowka): Try to better unify the\n required vs optional.'\n x-kubernetes-immutable: true\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: Immutable. The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If the requested\n value is too large, the deployment will error, but if deployment succeeds\n then the ability to scale the model to that many replicas is guaranteed\n (barring service outages). If traffic against the DeployedModel increases\n beyond what its replicas at maximum may handle, a portion of the traffic\n will be dropped. If this value is not provided, will use min_replica_count\n as the default value. The value of this field impacts the charge against\n Vertex CPU and GPU quotas. Specifically, you will be charged for max_replica_count\n * number of cores in the selected machine type) and (max_replica_count\n * number of GPUs per replica in the selected machine type).\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: Required. Immutable. The minimum number of machine replicas\n this DeployedModel will be always deployed on. This value must be\n greater than or equal to 1. If traffic against the DeployedModel increases,\n it may dynamically be deployed onto more replicas, and as traffic\n decreases, some of these extra replicas may be freed.\n x-kubernetes-immutable: true\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The name of the endpoint to deploy to\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Endpoint\n field: name\n parent: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The deployed ID of the model in the endpoint\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the endpoint\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n model:\n type: string\n x-dcl-go-name: Model\n description: The name of the model to deploy\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Model\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the endpoint\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n") +var YAML_model_deployment = []byte("info:\n title: VertexAI/ModelDeployment\n description: The VertexAI ModelDeployment resource\n x-dcl-struct-name: ModelDeployment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n apply:\n description: The function used to apply information about a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n delete:\n description: The function used to delete a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n deleteAll:\n description: The function used to delete all ModelDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: endpoint\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ModelDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: endpoint\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ModelDeployment:\n title: ModelDeployment\n x-dcl-id: models/{{model}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - model\n - dedicatedResources\n - endpoint\n properties:\n dedicatedResources:\n type: object\n x-dcl-go-name: DedicatedResources\n x-dcl-go-type: ModelDeploymentDedicatedResources\n description: A description of resources that are dedicated to the DeployedModel,\n and that need a higher degree of manual configuration.\n x-kubernetes-immutable: true\n required:\n - machineSpec\n - minReplicaCount\n properties:\n machineSpec:\n type: object\n x-dcl-go-name: MachineSpec\n x-dcl-go-type: ModelDeploymentDedicatedResourcesMachineSpec\n description: Required. Immutable. The specification of a single machine\n used by the prediction.\n x-kubernetes-immutable: true\n required:\n - machineType\n properties:\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Immutable. The type of the machine. See the [list\n of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n For DeployedModel this field is optional, and the default value\n is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec\n this field is required. TODO(rsurowka): Try to better unify the\n required vs optional.'\n x-kubernetes-immutable: true\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: Immutable. The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If the requested\n value is too large, the deployment will error, but if deployment succeeds\n then the ability to scale the model to that many replicas is guaranteed\n (barring service outages). If traffic against the DeployedModel increases\n beyond what its replicas at maximum may handle, a portion of the traffic\n will be dropped. If this value is not provided, will use min_replica_count\n as the default value. The value of this field impacts the charge against\n Vertex CPU and GPU quotas. Specifically, you will be charged for max_replica_count\n * number of cores in the selected machine type) and (max_replica_count\n * number of GPUs per replica in the selected machine type).\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: Required. Immutable. The minimum number of machine replicas\n this DeployedModel will be always deployed on. This value must be\n greater than or equal to 1. If traffic against the DeployedModel increases,\n it may dynamically be deployed onto more replicas, and as traffic\n decreases, some of these extra replicas may be freed.\n x-kubernetes-immutable: true\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The name of the endpoint to deploy to\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Endpoint\n field: name\n parent: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The deployed ID of the model in the endpoint\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the endpoint\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n model:\n type: string\n x-dcl-go-name: Model\n description: The name of the model to deploy\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Model\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the endpoint\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n") -// 6432 bytes -// MD5: 6a3820ab0b251cec20a38283fe949014 +// 6457 bytes +// MD5: aa281e115a3d0c469a1db53d506d7add diff --git a/services/google/vertexai/alpha/model_deployment_schema.go b/services/google/vertexai/alpha/model_deployment_schema.go index 10248fc084..59e7967e14 100755 --- a/services/google/vertexai/alpha/model_deployment_schema.go +++ b/services/google/vertexai/alpha/model_deployment_schema.go @@ -23,6 +23,7 @@ func DCLModelDeploymentSchema() *dcl.Schema { Title: "VertexAI/ModelDeployment", Description: "The VertexAI ModelDeployment resource", StructName: "ModelDeployment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/alpha/model_schema.go b/services/google/vertexai/alpha/model_schema.go index d959ead2c0..b020717247 100755 --- a/services/google/vertexai/alpha/model_schema.go +++ b/services/google/vertexai/alpha/model_schema.go @@ -23,6 +23,7 @@ func DCLModelSchema() *dcl.Schema { Title: "VertexAI/Model", Description: "The VertexAI Model resource", StructName: "Model", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/beta/endpoint.yaml b/services/google/vertexai/beta/endpoint.yaml index b25d8d2a3e..914c988d79 100755 --- a/services/google/vertexai/beta/endpoint.yaml +++ b/services/google/vertexai/beta/endpoint.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/Endpoint description: The VertexAI Endpoint resource x-dcl-struct-name: Endpoint + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/beta/endpoint_beta_yaml_embed.go b/services/google/vertexai/beta/endpoint_beta_yaml_embed.go index ba4f54cf9c..20ab6239e4 100755 --- a/services/google/vertexai/beta/endpoint_beta_yaml_embed.go +++ b/services/google/vertexai/beta/endpoint_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/beta/endpoint.yaml -var YAML_endpoint = []byte("info:\n title: VertexAI/Endpoint\n description: The VertexAI Endpoint resource\n x-dcl-struct-name: Endpoint\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n apply:\n description: The function used to apply information about a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n delete:\n description: The function used to delete a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n deleteAll:\n description: The function used to delete all Endpoint\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Endpoint\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Endpoint:\n title: Endpoint\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this Endpoint was created.\n x-kubernetes-immutable: true\n deployedModels:\n type: array\n x-dcl-go-name: DeployedModels\n readOnly: true\n description: Output only. The models deployed in this Endpoint. To add or\n remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel\n respectively.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointDeployedModels\n properties:\n automaticResources:\n type: object\n x-dcl-go-name: AutomaticResources\n x-dcl-go-type: EndpointDeployedModelsAutomaticResources\n description: A description of resources that to large degree are decided\n by Vertex AI, and require only a modest additional configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - dedicatedResources\n properties:\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If\n the requested value is too large, the deployment will error,\n but if deployment succeeds then the ability to scale the model\n to that many replicas is guaranteed (barring service outages).\n If traffic against the DeployedModel increases beyond what its\n replicas at maximum may handle, a portion of the traffic will\n be dropped. If this value is not provided, a no upper bound\n for scaling under heavy traffic will be assume, though Vertex\n AI may be unable to scale beyond certain replica number.\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: The minimum number of replicas this DeployedModel\n will be always deployed on. If traffic against it increases,\n it may dynamically be deployed onto more replicas up to max_replica_count,\n and as traffic decreases, some of these extra replicas may be\n freed. If the requested value is too large, the deployment will\n error.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when the DeployedModel was created.\n x-kubernetes-immutable: true\n dedicatedResources:\n type: object\n x-dcl-go-name: DedicatedResources\n x-dcl-go-type: EndpointDeployedModelsDedicatedResources\n description: A description of resources that are dedicated to the\n DeployedModel, and that need a higher degree of manual configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - automaticResources\n properties:\n autoscalingMetricSpecs:\n type: array\n x-dcl-go-name: AutoscalingMetricSpecs\n description: The metric specifications that overrides a resource\n utilization metric (CPU utilization, accelerator's duty cycle,\n and so on) target value (default to 60 if not set). At most\n one entry is allowed per metric. If machine_spec.accelerator_count\n is above 0, the autoscaling will be based on both CPU utilization\n and accelerator's duty cycle metrics and scale up when either\n metrics exceeds its target value while scale down if both metrics\n are under their target value. The default target value is 60\n for both metrics. If machine_spec.accelerator_count is 0, the\n autoscaling will be based on CPU utilization metric only with\n default target value 60 if not explicitly set. For example,\n in the case of Online Prediction, if you want to override target\n CPU utilization to 80, you should set autoscaling_metric_specs.metric_name\n to `aiplatform.googleapis.com/prediction/online/cpu/utilization`\n and autoscaling_metric_specs.target to `80`.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs\n properties:\n metricName:\n type: string\n x-dcl-go-name: MetricName\n description: 'The resource metric name. Supported metrics:\n * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle`\n * `aiplatform.googleapis.com/prediction/online/cpu/utilization`'\n x-kubernetes-immutable: true\n target:\n type: integer\n format: int64\n x-dcl-go-name: Target\n description: The target resource utilization in percentage\n (1% - 100%) for the given metric; once the real usage\n deviates from the target by a certain percentage, the\n machine replicas change. The default value is 60 (representing\n 60%) if not provided.\n x-kubernetes-immutable: true\n machineSpec:\n type: object\n x-dcl-go-name: MachineSpec\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpec\n description: The specification of a single machine used by the\n prediction.\n x-kubernetes-immutable: true\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of accelerators to attach to the machine.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum\n description: 'The type of accelerator(s) that may be attached\n to the machine as per accelerator_count. Possible values:\n ACCELERATOR_TYPE_UNSPECIFIED, NVIDIA_TESLA_K80, NVIDIA_TESLA_P100,\n NVIDIA_TESLA_V100, NVIDIA_TESLA_P4, NVIDIA_TESLA_T4, NVIDIA_TESLA_A100,\n TPU_V2, TPU_V3'\n x-kubernetes-immutable: true\n enum:\n - ACCELERATOR_TYPE_UNSPECIFIED\n - NVIDIA_TESLA_K80\n - NVIDIA_TESLA_P100\n - NVIDIA_TESLA_V100\n - NVIDIA_TESLA_P4\n - NVIDIA_TESLA_T4\n - NVIDIA_TESLA_A100\n - TPU_V2\n - TPU_V3\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'The type of the machine. See the [list of machine\n types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n For DeployedModel this field is optional, and the default\n value is `n1-standard-2`. For BatchPredictionJob or as part\n of WorkerPoolSpec this field is required. TODO(rsurowka):\n Try to better unify the required vs optional.'\n x-kubernetes-immutable: true\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If\n the requested value is too large, the deployment will error,\n but if deployment succeeds then the ability to scale the model\n to that many replicas is guaranteed (barring service outages).\n If traffic against the DeployedModel increases beyond what its\n replicas at maximum may handle, a portion of the traffic will\n be dropped. If this value is not provided, will use min_replica_count\n as the default value. The value of this field impacts the charge\n against Vertex CPU and GPU quotas. Specifically, you will be\n charged for max_replica_count * number of cores in the selected\n machine type) and (max_replica_count * number of GPUs per replica\n in the selected machine type).\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: The minimum number of machine replicas this DeployedModel\n will be always deployed on. This value must be greater than\n or equal to 1. If traffic against the DeployedModel increases,\n it may dynamically be deployed onto more replicas, and as traffic\n decreases, some of these extra replicas may be freed.\n x-kubernetes-immutable: true\n disableContainerLogging:\n type: boolean\n x-dcl-go-name: DisableContainerLogging\n description: For custom-trained Models and AutoML Tabular Models,\n the container of the DeployedModel instances will send `stderr`\n and `stdout` streams to Stackdriver Logging by default. Please note\n that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/stackdriver/pricing).\n User can disable container logging by setting this flag to true.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the DeployedModel. If not provided\n upon creation, the Model's display_name is used.\n x-kubernetes-immutable: true\n enableAccessLogging:\n type: boolean\n x-dcl-go-name: EnableAccessLogging\n description: These logs are like standard server access logs, containing\n information like timestamp and latency for each prediction request.\n Note that Stackdriver logs may incur a cost, especially if your\n project receives prediction requests at a high queries per second\n rate (QPS). Estimate your costs before enabling this option.\n x-kubernetes-immutable: true\n enableContainerLogging:\n type: boolean\n x-dcl-go-name: EnableContainerLogging\n description: If true, the container of the DeployedModel instances\n will send `stderr` and `stdout` streams to Stackdriver Logging.\n Only supported for custom-trained Models and AutoML Tabular Models.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the DeployedModel. If not provided upon deployment,\n Vertex AI will generate a value for this ID. This value should be\n 1-10 characters, and valid characters are /[0-9]/.\n x-kubernetes-immutable: true\n model:\n type: string\n x-dcl-go-name: Model\n description: The name of the Model that this is the deployment of.\n Note that the Model may be in a different location than the DeployedModel's\n Endpoint.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Model\n field: selfLink\n modelVersionId:\n type: string\n x-dcl-go-name: ModelVersionId\n readOnly: true\n description: Output only. The version ID of the model that is deployed.\n x-kubernetes-immutable: true\n privateEndpoints:\n type: object\n x-dcl-go-name: PrivateEndpoints\n x-dcl-go-type: EndpointDeployedModelsPrivateEndpoints\n readOnly: true\n description: Output only. Provide paths for users to send predict/explain/health\n requests directly to the deployed model services running on Cloud\n via private services access. This field is populated if network\n is configured.\n x-kubernetes-immutable: true\n properties:\n explainHttpUri:\n type: string\n x-dcl-go-name: ExplainHttpUri\n readOnly: true\n description: Output only. Http(s) path to send explain requests.\n x-kubernetes-immutable: true\n healthHttpUri:\n type: string\n x-dcl-go-name: HealthHttpUri\n readOnly: true\n description: Output only. Http(s) path to send health check requests.\n x-kubernetes-immutable: true\n predictHttpUri:\n type: string\n x-dcl-go-name: PredictHttpUri\n readOnly: true\n description: Output only. Http(s) path to send prediction requests.\n x-kubernetes-immutable: true\n serviceAttachment:\n type: string\n x-dcl-go-name: ServiceAttachment\n readOnly: true\n description: Output only. The name of the service attachment resource.\n Populated if private service connect is enabled.\n x-kubernetes-immutable: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: The service account that the DeployedModel's container\n runs as. Specify the email address of the service account. If this\n service account is not specified, the container runs as a service\n account that doesn't have access to the resource project. Users\n deploying the Model must have the `iam.serviceAccounts.actAs` permission\n on this service account.\n x-kubernetes-immutable: true\n sharedResources:\n type: string\n x-dcl-go-name: SharedResources\n description: 'The resource name of the shared DeploymentResourcePool\n to deploy on. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/DeploymentResourcePool\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the Endpoint.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The display name of the Endpoint. The name can be\n up to 128 characters long and can be consist of any UTF-8 characters.\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: EndpointEncryptionSpec\n description: Customer-managed encryption key spec for an Endpoint. If set,\n this Endpoint and all sub-resources of this Endpoint will be secured by\n this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels with user-defined metadata to organize your Endpoints.\n Label keys and values can be no longer than 64 characters (Unicode codepoints),\n can only contain lowercase letters, numeric characters, underscores and\n dashes. International characters are allowed. See https://goo.gl/xmQnxf\n for more information and examples of labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n modelDeploymentMonitoringJob:\n type: string\n x-dcl-go-name: ModelDeploymentMonitoringJob\n readOnly: true\n description: 'Output only. Resource name of the Model Monitoring job associated\n with this Endpoint if monitoring is enabled by CreateModelDeploymentMonitoringJob.\n Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the Endpoint.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)\n to which the Endpoint should be peered. Private services access must already\n be configured for the network. If left unspecified, the Endpoint is not\n peered with any network. Only one of the fields, network or enable_private_service_connect,\n can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):\n `projects/{project}/global/networks/{network}`. Where `{project}` is a\n project number, as in `12345`, and `{network}` is network name.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this Endpoint was last updated.\n x-kubernetes-immutable: true\n") +var YAML_endpoint = []byte("info:\n title: VertexAI/Endpoint\n description: The VertexAI Endpoint resource\n x-dcl-struct-name: Endpoint\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n apply:\n description: The function used to apply information about a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n delete:\n description: The function used to delete a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n deleteAll:\n description: The function used to delete all Endpoint\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Endpoint\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Endpoint:\n title: Endpoint\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this Endpoint was created.\n x-kubernetes-immutable: true\n deployedModels:\n type: array\n x-dcl-go-name: DeployedModels\n readOnly: true\n description: Output only. The models deployed in this Endpoint. To add or\n remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel\n respectively.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointDeployedModels\n properties:\n automaticResources:\n type: object\n x-dcl-go-name: AutomaticResources\n x-dcl-go-type: EndpointDeployedModelsAutomaticResources\n description: A description of resources that to large degree are decided\n by Vertex AI, and require only a modest additional configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - dedicatedResources\n properties:\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If\n the requested value is too large, the deployment will error,\n but if deployment succeeds then the ability to scale the model\n to that many replicas is guaranteed (barring service outages).\n If traffic against the DeployedModel increases beyond what its\n replicas at maximum may handle, a portion of the traffic will\n be dropped. If this value is not provided, a no upper bound\n for scaling under heavy traffic will be assume, though Vertex\n AI may be unable to scale beyond certain replica number.\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: The minimum number of replicas this DeployedModel\n will be always deployed on. If traffic against it increases,\n it may dynamically be deployed onto more replicas up to max_replica_count,\n and as traffic decreases, some of these extra replicas may be\n freed. If the requested value is too large, the deployment will\n error.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when the DeployedModel was created.\n x-kubernetes-immutable: true\n dedicatedResources:\n type: object\n x-dcl-go-name: DedicatedResources\n x-dcl-go-type: EndpointDeployedModelsDedicatedResources\n description: A description of resources that are dedicated to the\n DeployedModel, and that need a higher degree of manual configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - automaticResources\n properties:\n autoscalingMetricSpecs:\n type: array\n x-dcl-go-name: AutoscalingMetricSpecs\n description: The metric specifications that overrides a resource\n utilization metric (CPU utilization, accelerator's duty cycle,\n and so on) target value (default to 60 if not set). At most\n one entry is allowed per metric. If machine_spec.accelerator_count\n is above 0, the autoscaling will be based on both CPU utilization\n and accelerator's duty cycle metrics and scale up when either\n metrics exceeds its target value while scale down if both metrics\n are under their target value. The default target value is 60\n for both metrics. If machine_spec.accelerator_count is 0, the\n autoscaling will be based on CPU utilization metric only with\n default target value 60 if not explicitly set. For example,\n in the case of Online Prediction, if you want to override target\n CPU utilization to 80, you should set autoscaling_metric_specs.metric_name\n to `aiplatform.googleapis.com/prediction/online/cpu/utilization`\n and autoscaling_metric_specs.target to `80`.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs\n properties:\n metricName:\n type: string\n x-dcl-go-name: MetricName\n description: 'The resource metric name. Supported metrics:\n * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle`\n * `aiplatform.googleapis.com/prediction/online/cpu/utilization`'\n x-kubernetes-immutable: true\n target:\n type: integer\n format: int64\n x-dcl-go-name: Target\n description: The target resource utilization in percentage\n (1% - 100%) for the given metric; once the real usage\n deviates from the target by a certain percentage, the\n machine replicas change. The default value is 60 (representing\n 60%) if not provided.\n x-kubernetes-immutable: true\n machineSpec:\n type: object\n x-dcl-go-name: MachineSpec\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpec\n description: The specification of a single machine used by the\n prediction.\n x-kubernetes-immutable: true\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of accelerators to attach to the machine.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum\n description: 'The type of accelerator(s) that may be attached\n to the machine as per accelerator_count. Possible values:\n ACCELERATOR_TYPE_UNSPECIFIED, NVIDIA_TESLA_K80, NVIDIA_TESLA_P100,\n NVIDIA_TESLA_V100, NVIDIA_TESLA_P4, NVIDIA_TESLA_T4, NVIDIA_TESLA_A100,\n TPU_V2, TPU_V3'\n x-kubernetes-immutable: true\n enum:\n - ACCELERATOR_TYPE_UNSPECIFIED\n - NVIDIA_TESLA_K80\n - NVIDIA_TESLA_P100\n - NVIDIA_TESLA_V100\n - NVIDIA_TESLA_P4\n - NVIDIA_TESLA_T4\n - NVIDIA_TESLA_A100\n - TPU_V2\n - TPU_V3\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'The type of the machine. See the [list of machine\n types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n For DeployedModel this field is optional, and the default\n value is `n1-standard-2`. For BatchPredictionJob or as part\n of WorkerPoolSpec this field is required. TODO(rsurowka):\n Try to better unify the required vs optional.'\n x-kubernetes-immutable: true\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If\n the requested value is too large, the deployment will error,\n but if deployment succeeds then the ability to scale the model\n to that many replicas is guaranteed (barring service outages).\n If traffic against the DeployedModel increases beyond what its\n replicas at maximum may handle, a portion of the traffic will\n be dropped. If this value is not provided, will use min_replica_count\n as the default value. The value of this field impacts the charge\n against Vertex CPU and GPU quotas. Specifically, you will be\n charged for max_replica_count * number of cores in the selected\n machine type) and (max_replica_count * number of GPUs per replica\n in the selected machine type).\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: The minimum number of machine replicas this DeployedModel\n will be always deployed on. This value must be greater than\n or equal to 1. If traffic against the DeployedModel increases,\n it may dynamically be deployed onto more replicas, and as traffic\n decreases, some of these extra replicas may be freed.\n x-kubernetes-immutable: true\n disableContainerLogging:\n type: boolean\n x-dcl-go-name: DisableContainerLogging\n description: For custom-trained Models and AutoML Tabular Models,\n the container of the DeployedModel instances will send `stderr`\n and `stdout` streams to Stackdriver Logging by default. Please note\n that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/stackdriver/pricing).\n User can disable container logging by setting this flag to true.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the DeployedModel. If not provided\n upon creation, the Model's display_name is used.\n x-kubernetes-immutable: true\n enableAccessLogging:\n type: boolean\n x-dcl-go-name: EnableAccessLogging\n description: These logs are like standard server access logs, containing\n information like timestamp and latency for each prediction request.\n Note that Stackdriver logs may incur a cost, especially if your\n project receives prediction requests at a high queries per second\n rate (QPS). Estimate your costs before enabling this option.\n x-kubernetes-immutable: true\n enableContainerLogging:\n type: boolean\n x-dcl-go-name: EnableContainerLogging\n description: If true, the container of the DeployedModel instances\n will send `stderr` and `stdout` streams to Stackdriver Logging.\n Only supported for custom-trained Models and AutoML Tabular Models.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the DeployedModel. If not provided upon deployment,\n Vertex AI will generate a value for this ID. This value should be\n 1-10 characters, and valid characters are /[0-9]/.\n x-kubernetes-immutable: true\n model:\n type: string\n x-dcl-go-name: Model\n description: The name of the Model that this is the deployment of.\n Note that the Model may be in a different location than the DeployedModel's\n Endpoint.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Model\n field: selfLink\n modelVersionId:\n type: string\n x-dcl-go-name: ModelVersionId\n readOnly: true\n description: Output only. The version ID of the model that is deployed.\n x-kubernetes-immutable: true\n privateEndpoints:\n type: object\n x-dcl-go-name: PrivateEndpoints\n x-dcl-go-type: EndpointDeployedModelsPrivateEndpoints\n readOnly: true\n description: Output only. Provide paths for users to send predict/explain/health\n requests directly to the deployed model services running on Cloud\n via private services access. This field is populated if network\n is configured.\n x-kubernetes-immutable: true\n properties:\n explainHttpUri:\n type: string\n x-dcl-go-name: ExplainHttpUri\n readOnly: true\n description: Output only. Http(s) path to send explain requests.\n x-kubernetes-immutable: true\n healthHttpUri:\n type: string\n x-dcl-go-name: HealthHttpUri\n readOnly: true\n description: Output only. Http(s) path to send health check requests.\n x-kubernetes-immutable: true\n predictHttpUri:\n type: string\n x-dcl-go-name: PredictHttpUri\n readOnly: true\n description: Output only. Http(s) path to send prediction requests.\n x-kubernetes-immutable: true\n serviceAttachment:\n type: string\n x-dcl-go-name: ServiceAttachment\n readOnly: true\n description: Output only. The name of the service attachment resource.\n Populated if private service connect is enabled.\n x-kubernetes-immutable: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: The service account that the DeployedModel's container\n runs as. Specify the email address of the service account. If this\n service account is not specified, the container runs as a service\n account that doesn't have access to the resource project. Users\n deploying the Model must have the `iam.serviceAccounts.actAs` permission\n on this service account.\n x-kubernetes-immutable: true\n sharedResources:\n type: string\n x-dcl-go-name: SharedResources\n description: 'The resource name of the shared DeploymentResourcePool\n to deploy on. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/DeploymentResourcePool\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the Endpoint.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The display name of the Endpoint. The name can be\n up to 128 characters long and can be consist of any UTF-8 characters.\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: EndpointEncryptionSpec\n description: Customer-managed encryption key spec for an Endpoint. If set,\n this Endpoint and all sub-resources of this Endpoint will be secured by\n this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels with user-defined metadata to organize your Endpoints.\n Label keys and values can be no longer than 64 characters (Unicode codepoints),\n can only contain lowercase letters, numeric characters, underscores and\n dashes. International characters are allowed. See https://goo.gl/xmQnxf\n for more information and examples of labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n modelDeploymentMonitoringJob:\n type: string\n x-dcl-go-name: ModelDeploymentMonitoringJob\n readOnly: true\n description: 'Output only. Resource name of the Model Monitoring job associated\n with this Endpoint if monitoring is enabled by CreateModelDeploymentMonitoringJob.\n Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the Endpoint.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)\n to which the Endpoint should be peered. Private services access must already\n be configured for the network. If left unspecified, the Endpoint is not\n peered with any network. Only one of the fields, network or enable_private_service_connect,\n can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):\n `projects/{project}/global/networks/{network}`. Where `{project}` is a\n project number, as in `12345`, and `{network}` is network name.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this Endpoint was last updated.\n x-kubernetes-immutable: true\n") -// 23210 bytes -// MD5: c77af7d4cf3820482159279a98691fb3 +// 23235 bytes +// MD5: efba8b7a45cb818b6a5e470ae34952ea diff --git a/services/google/vertexai/beta/endpoint_schema.go b/services/google/vertexai/beta/endpoint_schema.go index 8de59971e1..bf04219ec7 100755 --- a/services/google/vertexai/beta/endpoint_schema.go +++ b/services/google/vertexai/beta/endpoint_schema.go @@ -23,6 +23,7 @@ func DCLEndpointSchema() *dcl.Schema { Title: "VertexAI/Endpoint", Description: "The VertexAI Endpoint resource", StructName: "Endpoint", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/beta/endpoint_traffic_split.yaml b/services/google/vertexai/beta/endpoint_traffic_split.yaml index 104c09115d..0d879cd40c 100755 --- a/services/google/vertexai/beta/endpoint_traffic_split.yaml +++ b/services/google/vertexai/beta/endpoint_traffic_split.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/EndpointTrafficSplit description: The VertexAI EndpointTrafficSplit resource x-dcl-struct-name: EndpointTrafficSplit + x-dcl-has-create: false x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/beta/endpoint_traffic_split_beta_yaml_embed.go b/services/google/vertexai/beta/endpoint_traffic_split_beta_yaml_embed.go index 494618bd26..e6841cca14 100755 --- a/services/google/vertexai/beta/endpoint_traffic_split_beta_yaml_embed.go +++ b/services/google/vertexai/beta/endpoint_traffic_split_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/beta/endpoint_traffic_split.yaml -var YAML_endpoint_traffic_split = []byte("info:\n title: VertexAI/EndpointTrafficSplit\n description: The VertexAI EndpointTrafficSplit resource\n x-dcl-struct-name: EndpointTrafficSplit\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EndpointTrafficSplit\n parameters:\n - name: EndpointTrafficSplit\n required: true\n description: A full instance of a EndpointTrafficSplit\n apply:\n description: The function used to apply information about a EndpointTrafficSplit\n parameters:\n - name: EndpointTrafficSplit\n required: true\n description: A full instance of a EndpointTrafficSplit\ncomponents:\n schemas:\n EndpointTrafficSplit:\n title: EndpointTrafficSplit\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{endpoint}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - endpoint\n - project\n - location\n - trafficSplit\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The endpoint for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Endpoint\n field: name\n parent: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n trafficSplit:\n type: array\n x-dcl-go-name: TrafficSplit\n description: A map from a DeployedModel's ID to the percentage of this Endpoint's\n traffic that should be forwarded to that DeployedModel. If a DeployedModel's\n ID is not listed in this map, then it receives no traffic. The traffic\n percentage values must add up to 100, or map must be empty if the Endpoint\n is to not accept any traffic at a moment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointTrafficSplitTrafficSplit\n required:\n - deployedModelId\n - trafficPercentage\n properties:\n deployedModelId:\n type: string\n x-dcl-go-name: DeployedModelId\n description: A deployed model's id.\n x-dcl-references:\n - resource: Vertexai/ModelDeployment\n field: id\n trafficPercentage:\n type: integer\n format: int64\n x-dcl-go-name: TrafficPercentage\n description: The percentage of this Endpoint's traffic that should\n be forwarded to the DeployedModel.\n") +var YAML_endpoint_traffic_split = []byte("info:\n title: VertexAI/EndpointTrafficSplit\n description: The VertexAI EndpointTrafficSplit resource\n x-dcl-struct-name: EndpointTrafficSplit\n x-dcl-has-create: false\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EndpointTrafficSplit\n parameters:\n - name: EndpointTrafficSplit\n required: true\n description: A full instance of a EndpointTrafficSplit\n apply:\n description: The function used to apply information about a EndpointTrafficSplit\n parameters:\n - name: EndpointTrafficSplit\n required: true\n description: A full instance of a EndpointTrafficSplit\ncomponents:\n schemas:\n EndpointTrafficSplit:\n title: EndpointTrafficSplit\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{endpoint}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - endpoint\n - project\n - location\n - trafficSplit\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The endpoint for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Endpoint\n field: name\n parent: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n trafficSplit:\n type: array\n x-dcl-go-name: TrafficSplit\n description: A map from a DeployedModel's ID to the percentage of this Endpoint's\n traffic that should be forwarded to that DeployedModel. If a DeployedModel's\n ID is not listed in this map, then it receives no traffic. The traffic\n percentage values must add up to 100, or map must be empty if the Endpoint\n is to not accept any traffic at a moment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointTrafficSplitTrafficSplit\n required:\n - deployedModelId\n - trafficPercentage\n properties:\n deployedModelId:\n type: string\n x-dcl-go-name: DeployedModelId\n description: A deployed model's id.\n x-dcl-references:\n - resource: Vertexai/ModelDeployment\n field: id\n trafficPercentage:\n type: integer\n format: int64\n x-dcl-go-name: TrafficPercentage\n description: The percentage of this Endpoint's traffic that should\n be forwarded to the DeployedModel.\n") -// 3301 bytes -// MD5: d127d472e94b80ffb873ab747b09c410 +// 3327 bytes +// MD5: 23aac329481e7917293971cc57be0fc9 diff --git a/services/google/vertexai/beta/metadata_schema.yaml b/services/google/vertexai/beta/metadata_schema.yaml index a6e30a8e29..429f1e667b 100755 --- a/services/google/vertexai/beta/metadata_schema.yaml +++ b/services/google/vertexai/beta/metadata_schema.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/MetadataSchema description: The VertexAI MetadataSchema resource x-dcl-struct-name: MetadataSchema + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/beta/metadata_schema_beta_yaml_embed.go b/services/google/vertexai/beta/metadata_schema_beta_yaml_embed.go index b3ffbd5200..d4c130592f 100755 --- a/services/google/vertexai/beta/metadata_schema_beta_yaml_embed.go +++ b/services/google/vertexai/beta/metadata_schema_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/beta/metadata_schema.yaml -var YAML_metadata_schema = []byte("info:\n title: VertexAI/MetadataSchema\n description: The VertexAI MetadataSchema resource\n x-dcl-struct-name: MetadataSchema\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetadataSchema\n parameters:\n - name: MetadataSchema\n required: true\n description: A full instance of a MetadataSchema\n apply:\n description: The function used to apply information about a MetadataSchema\n parameters:\n - name: MetadataSchema\n required: true\n description: A full instance of a MetadataSchema\n list:\n description: The function used to list information about many MetadataSchema\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: metadatastore\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetadataSchema:\n title: MetadataSchema\n x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{metadata_store}}/metadataSchemas/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - schemaVersion\n - schema\n - schemaType\n - project\n - location\n - metadataStore\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataSchema was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n metadataStore:\n type: string\n x-dcl-go-name: MetadataStore\n description: The metadata store for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertex/MetadataStore\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the MetadataSchema.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n schema:\n type: string\n x-dcl-go-name: Schema\n description: Required. The raw YAML string representation of the MetadataSchema.\n The combination of [MetadataSchema.version] and the schema name given\n by `title` in [MetadataSchema.schema] must be unique within a MetadataStore.\n The schema is defined as an OpenAPI 3.0.2 [MetadataSchema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)\n x-kubernetes-immutable: true\n schemaType:\n type: string\n x-dcl-go-name: SchemaType\n x-dcl-go-type: MetadataSchemaSchemaTypeEnum\n description: 'The type of the MetadataSchema. This is a property that identifies\n which metadata types will use the MetadataSchema. Possible values: METADATA_SCHEMA_TYPE_UNSPECIFIED,\n ARTIFACT_TYPE, EXECUTION_TYPE, CONTEXT_TYPE'\n x-kubernetes-immutable: true\n enum:\n - METADATA_SCHEMA_TYPE_UNSPECIFIED\n - ARTIFACT_TYPE\n - EXECUTION_TYPE\n - CONTEXT_TYPE\n schemaVersion:\n type: string\n x-dcl-go-name: SchemaVersion\n description: 'The version of the MetadataSchema. The version''s format must\n match the following regular expression: `^[0-9]+.+.+$`, which would allow\n to order/compare different versions. Example: 1.0.0, 1.0.1, etc.'\n x-kubernetes-immutable: true\n") +var YAML_metadata_schema = []byte("info:\n title: VertexAI/MetadataSchema\n description: The VertexAI MetadataSchema resource\n x-dcl-struct-name: MetadataSchema\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetadataSchema\n parameters:\n - name: MetadataSchema\n required: true\n description: A full instance of a MetadataSchema\n apply:\n description: The function used to apply information about a MetadataSchema\n parameters:\n - name: MetadataSchema\n required: true\n description: A full instance of a MetadataSchema\n list:\n description: The function used to list information about many MetadataSchema\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: metadatastore\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetadataSchema:\n title: MetadataSchema\n x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{metadata_store}}/metadataSchemas/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - schemaVersion\n - schema\n - schemaType\n - project\n - location\n - metadataStore\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataSchema was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n metadataStore:\n type: string\n x-dcl-go-name: MetadataStore\n description: The metadata store for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertex/MetadataStore\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the MetadataSchema.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n schema:\n type: string\n x-dcl-go-name: Schema\n description: Required. The raw YAML string representation of the MetadataSchema.\n The combination of [MetadataSchema.version] and the schema name given\n by `title` in [MetadataSchema.schema] must be unique within a MetadataStore.\n The schema is defined as an OpenAPI 3.0.2 [MetadataSchema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)\n x-kubernetes-immutable: true\n schemaType:\n type: string\n x-dcl-go-name: SchemaType\n x-dcl-go-type: MetadataSchemaSchemaTypeEnum\n description: 'The type of the MetadataSchema. This is a property that identifies\n which metadata types will use the MetadataSchema. Possible values: METADATA_SCHEMA_TYPE_UNSPECIFIED,\n ARTIFACT_TYPE, EXECUTION_TYPE, CONTEXT_TYPE'\n x-kubernetes-immutable: true\n enum:\n - METADATA_SCHEMA_TYPE_UNSPECIFIED\n - ARTIFACT_TYPE\n - EXECUTION_TYPE\n - CONTEXT_TYPE\n schemaVersion:\n type: string\n x-dcl-go-name: SchemaVersion\n description: 'The version of the MetadataSchema. The version''s format must\n match the following regular expression: `^[0-9]+.+.+$`, which would allow\n to order/compare different versions. Example: 1.0.0, 1.0.1, etc.'\n x-kubernetes-immutable: true\n") -// 4024 bytes -// MD5: 5d59a7bfebde1d40315ac18c6f88517b +// 4049 bytes +// MD5: 5dc4a217896221f6b052d215c5cdcc81 diff --git a/services/google/vertexai/beta/metadata_schema_schema.go b/services/google/vertexai/beta/metadata_schema_schema.go index 7a56c230c2..6e5592a12c 100755 --- a/services/google/vertexai/beta/metadata_schema_schema.go +++ b/services/google/vertexai/beta/metadata_schema_schema.go @@ -23,6 +23,7 @@ func DCLMetadataSchemaSchema() *dcl.Schema { Title: "VertexAI/MetadataSchema", Description: "The VertexAI MetadataSchema resource", StructName: "MetadataSchema", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/beta/metadata_store.yaml b/services/google/vertexai/beta/metadata_store.yaml index ef4bdd6723..0b210dc30e 100755 --- a/services/google/vertexai/beta/metadata_store.yaml +++ b/services/google/vertexai/beta/metadata_store.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/MetadataStore description: The VertexAI MetadataStore resource x-dcl-struct-name: MetadataStore + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/beta/metadata_store_beta_yaml_embed.go b/services/google/vertexai/beta/metadata_store_beta_yaml_embed.go index 7079dfb363..e0be7f7681 100755 --- a/services/google/vertexai/beta/metadata_store_beta_yaml_embed.go +++ b/services/google/vertexai/beta/metadata_store_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/beta/metadata_store.yaml -var YAML_metadata_store = []byte("info:\n title: VertexAI/MetadataStore\n description: The VertexAI MetadataStore resource\n x-dcl-struct-name: MetadataStore\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n apply:\n description: The function used to apply information about a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n delete:\n description: The function used to delete a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n deleteAll:\n description: The function used to delete all MetadataStore\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MetadataStore\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetadataStore:\n title: MetadataStore\n x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataStore was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the MetadataStore.\n x-kubernetes-immutable: true\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: MetadataStoreEncryptionSpec\n description: Customer-managed encryption key spec for a Metadata Store.\n If set, this Metadata Store and all sub-resources of this Metadata Store\n are secured using this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the MetadataStore instance.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: MetadataStoreState\n readOnly: true\n description: Output only. State information of the MetadataStore.\n x-kubernetes-immutable: true\n properties:\n diskUtilizationBytes:\n type: integer\n format: int64\n x-dcl-go-name: DiskUtilizationBytes\n description: The disk utilization of the MetadataStore in bytes.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataStore was last updated.\n x-kubernetes-immutable: true\n") +var YAML_metadata_store = []byte("info:\n title: VertexAI/MetadataStore\n description: The VertexAI MetadataStore resource\n x-dcl-struct-name: MetadataStore\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n apply:\n description: The function used to apply information about a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n delete:\n description: The function used to delete a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n deleteAll:\n description: The function used to delete all MetadataStore\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MetadataStore\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetadataStore:\n title: MetadataStore\n x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataStore was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the MetadataStore.\n x-kubernetes-immutable: true\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: MetadataStoreEncryptionSpec\n description: Customer-managed encryption key spec for a Metadata Store.\n If set, this Metadata Store and all sub-resources of this Metadata Store\n are secured using this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the MetadataStore instance.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: MetadataStoreState\n readOnly: true\n description: Output only. State information of the MetadataStore.\n x-kubernetes-immutable: true\n properties:\n diskUtilizationBytes:\n type: integer\n format: int64\n x-dcl-go-name: DiskUtilizationBytes\n description: The disk utilization of the MetadataStore in bytes.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataStore was last updated.\n x-kubernetes-immutable: true\n") -// 4478 bytes -// MD5: 35955ed53e6948d037a24900edf64e16 +// 4503 bytes +// MD5: 9f8ba7fc0f39d641415a66847b311656 diff --git a/services/google/vertexai/beta/metadata_store_schema.go b/services/google/vertexai/beta/metadata_store_schema.go index 5198aceb40..4b78f0e8d7 100755 --- a/services/google/vertexai/beta/metadata_store_schema.go +++ b/services/google/vertexai/beta/metadata_store_schema.go @@ -23,6 +23,7 @@ func DCLMetadataStoreSchema() *dcl.Schema { Title: "VertexAI/MetadataStore", Description: "The VertexAI MetadataStore resource", StructName: "MetadataStore", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/beta/model.yaml b/services/google/vertexai/beta/model.yaml index 9d83becb6c..784e0c6f6e 100755 --- a/services/google/vertexai/beta/model.yaml +++ b/services/google/vertexai/beta/model.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/Model description: The VertexAI Model resource x-dcl-struct-name: Model + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/beta/model_beta_yaml_embed.go b/services/google/vertexai/beta/model_beta_yaml_embed.go index 4aab8fc02e..51455987c6 100755 --- a/services/google/vertexai/beta/model_beta_yaml_embed.go +++ b/services/google/vertexai/beta/model_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/beta/model.yaml -var YAML_model = []byte("info:\n title: VertexAI/Model\n description: The VertexAI Model resource\n x-dcl-struct-name: Model\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n apply:\n description: The function used to apply information about a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n delete:\n description: The function used to delete a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n deleteAll:\n description: The function used to delete all Model\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Model\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Model:\n title: Model\n x-dcl-id: projects/{{project}}/locations/{{location}}/models/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - containerSpec\n - project\n - location\n properties:\n artifactUri:\n type: string\n x-dcl-go-name: ArtifactUri\n description: Immutable. The path to the directory containing the Model artifact\n and any of its supporting files. Not present for AutoML Models.\n x-kubernetes-immutable: true\n containerSpec:\n type: object\n x-dcl-go-name: ContainerSpec\n x-dcl-go-type: ModelContainerSpec\n description: Input only. The specification of the container that is to be\n used when deploying this Model. The specification is ingested upon ModelService.UploadModel,\n and all binaries it contains are copied and stored internally by Vertex\n AI. Not present for AutoML Models.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n required:\n - imageUri\n properties:\n acceleratorRequirements:\n type: array\n x-dcl-go-name: AcceleratorRequirements\n description: Immutable. Accelerators required to run the container.\n This changes how containers are started. For example, GPU requirements\n are used to set the `resources` field in the Kubernetes [Container\n v1 core](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core)\n spec, as described on the [Schedule GPUs](https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/)\n page of the Kubernetes documentation. Currently, this field is only\n used when deploying to EdgeDevices.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecAcceleratorRequirements\n properties:\n count:\n type: integer\n format: int64\n x-dcl-go-name: Count\n description: Number of accelerators of the specified type needed\n to run the container.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ModelContainerSpecAcceleratorRequirementsTypeEnum\n description: 'Type of the accelerator needed to run the container.\n Possible values: ACCELERATOR_TYPE_UNSPECIFIED, CORAL_EDGE_TPU,\n NVIDIA_GPU, AMD_GPU'\n x-kubernetes-immutable: true\n enum:\n - ACCELERATOR_TYPE_UNSPECIFIED\n - CORAL_EDGE_TPU\n - NVIDIA_GPU\n - AMD_GPU\n args:\n type: array\n x-dcl-go-name: Args\n description: 'Immutable. Specifies arguments for the command that runs\n when the container starts. This overrides the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd).\n Specify this field as an array of executable and arguments, similar\n to a Docker `CMD`''s \"default parameters\" form. If you don''t specify\n this field but do specify the command field, then the command from\n the `command` field runs without any additional arguments. See the\n [Kubernetes documentation about how the `command` and `args` fields\n interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n If you don''t specify this field and don''t specify the `command`\n field, then the container''s [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd)\n and `CMD` determine what runs based on their default behavior. See\n the Docker documentation about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n In this field, you can reference [environment variables set by Vertex\n AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n and environment variables set in the env field. You cannot reference\n environment variables set in the Docker image. In order for environment\n variables to be expanded, reference them by using the following syntax:\n `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n which does not use parentheses. If a variable cannot be resolved,\n the reference in the input string is used unchanged. To avoid variable\n expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n This field corresponds to the `args` field of the Kubernetes Containers\n [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n command:\n type: array\n x-dcl-go-name: Command\n description: 'Immutable. Specifies the command that runs when the container\n starts. This overrides the container''s [ENTRYPOINT](https://docs.docker.com/engine/reference/builder/#entrypoint).\n Specify this field as an array of executable and arguments, similar\n to a Docker `ENTRYPOINT`''s \"exec\" form, not its \"shell\" form. If\n you do not specify this field, then the container''s `ENTRYPOINT`\n runs, in conjunction with the args field or the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd),\n if either exists. If this field is not specified and the container\n does not have an `ENTRYPOINT`, then refer to the Docker documentation\n about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n If you specify this field, then you can also specify the `args` field\n to provide additional arguments for this command. However, if you\n specify this field, then the container''s `CMD` is ignored. See the\n [Kubernetes documentation about how the `command` and `args` fields\n interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n In this field, you can reference [environment variables set by Vertex\n AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n and environment variables set in the env field. You cannot reference\n environment variables set in the Docker image. In order for environment\n variables to be expanded, reference them by using the following syntax:\n `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n which does not use parentheses. If a variable cannot be resolved,\n the reference in the input string is used unchanged. To avoid variable\n expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n This field corresponds to the `command` field of the Kubernetes Containers\n [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n env:\n type: array\n x-dcl-go-name: Env\n description: 'Immutable. List of environment variables to set in the\n container. After the container starts running, code running in the\n container can read these environment variables. Additionally, the\n command and args fields can reference these variables. Later entries\n in this list can also reference earlier entries. For example, the\n following example sets the variable `VAR_2` to have the value `foo\n bar`: ```json [ { \"name\": \"VAR_1\", \"value\": \"foo\" }, { \"name\": \"VAR_2\",\n \"value\": \"$(VAR_1) bar\" } ] ``` If you switch the order of the variables\n in the example, then the expansion does not occur. This field corresponds\n to the `env` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecEnv\n required:\n - name\n - value\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment variable. Must\n be a valid C identifier.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: 'Required. Variables that reference a $(VAR_NAME)\n are expanded using the previous defined environment variables\n in the container and any service environment variables. If a\n variable cannot be resolved, the reference in the input string\n will be unchanged. The $(VAR_NAME) syntax can be escaped with\n a double $$, ie: $$(VAR_NAME). Escaped references will never\n be expanded, regardless of whether the variable exists or not.'\n x-kubernetes-immutable: true\n healthRoute:\n type: string\n x-dcl-go-name: HealthRoute\n description: 'Immutable. HTTP path on the container to send health checks\n to. Vertex AI intermittently sends GET requests to this path on the\n container''s IP address and port to check that the container is healthy.\n Read more about [health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health).\n For example, if you set this field to `/bar`, then Vertex AI intermittently\n sends a GET request to the `/bar` path on the port of your container\n specified by the first value of this `ModelContainerSpec`''s ports\n field. If you don''t specify this field, it defaults to the following\n value when you deploy this Model to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n The placeholders in this value are replaced as follows: * ENDPOINT:\n The last segment (following `endpoints/`)of the Endpoint.name][] field\n of the Endpoint where this Model has been deployed. (Vertex AI makes\n this value available to your container code as the [`AIP_ENDPOINT_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n x-kubernetes-immutable: true\n imageUri:\n type: string\n x-dcl-go-name: ImageUri\n description: Required. Immutable. URI of the Docker image to be used\n as the custom container for serving predictions. This URI must identify\n an image in Artifact Registry or Container Registry. Learn more about\n the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing),\n including permissions requirements for the Vertex AI Service Agent.\n The container image is ingested upon ModelService.UploadModel, stored\n internally, and this original path is afterwards not used. To learn\n about the requirements for the Docker image itself, see [Custom container\n requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#).\n You can use the URI to one of Vertex AI's [pre-built container images\n for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers)\n in this field.\n x-kubernetes-immutable: true\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'Immutable. List of ports to expose from the container.\n Vertex AI sends any prediction requests that it receives to the first\n port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness)\n to this port. If you do not specify this field, it defaults to following\n value: ```json [ { \"containerPort\": 8080 } ] ``` Vertex AI does not\n use ports other than the first one listed. This field corresponds\n to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecPorts\n properties:\n containerPort:\n type: integer\n format: int64\n x-dcl-go-name: ContainerPort\n description: The number of the port to expose on the pod's IP\n address. Must be a valid port number, between 1 and 65535 inclusive.\n x-kubernetes-immutable: true\n predictRoute:\n type: string\n x-dcl-go-name: PredictRoute\n description: 'Immutable. HTTP path on the container to send prediction\n requests to. Vertex AI forwards requests sent using projects.locations.endpoints.predict\n to this path on the container''s IP address and port. Vertex AI then\n returns the container''s response in the API response. For example,\n if you set this field to `/foo`, then when Vertex AI receives a prediction\n request, it forwards the request body in a POST request to the `/foo`\n path on the port of your container specified by the first value of\n this `ModelContainerSpec`''s ports field. If you don''t specify this\n field, it defaults to the following value when you deploy this Model\n to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n The placeholders in this value are replaced as follows: * ENDPOINT:\n The last segment (following `endpoints/`)of the Endpoint.name][] field\n of the Endpoint where this Model has been deployed. (Vertex AI makes\n this value available to your container code as the [`AIP_ENDPOINT_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this Model was uploaded into Vertex\n AI.\n x-kubernetes-immutable: true\n deployedModels:\n type: array\n x-dcl-go-name: DeployedModels\n readOnly: true\n description: Output only. The pointers to DeployedModels created from this\n Model. Note that Model could have been deployed to Endpoints in different\n Locations.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelDeployedModels\n properties:\n deployedModelId:\n type: string\n x-dcl-go-name: DeployedModelId\n description: Immutable. An ID of a DeployedModel in the above Endpoint.\n x-kubernetes-immutable: true\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: Immutable. A resource name of an Endpoint.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Endpoint\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the Model.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The display name of the Model. The name can be up\n to 128 characters long and can be consist of any UTF-8 characters.\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: ModelEncryptionSpec\n description: Customer-managed encryption key spec for a Model. If set, this\n Model and all sub-resources of this Model will be secured by this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels with user-defined metadata to organize your Models.\n Label keys and values can be no longer than 64 characters (Unicode codepoints),\n can only contain lowercase letters, numeric characters, underscores and\n dashes. International characters are allowed. See https://goo.gl/xmQnxf\n for more information and examples of labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the Model.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n originalModelInfo:\n type: object\n x-dcl-go-name: OriginalModelInfo\n x-dcl-go-type: ModelOriginalModelInfo\n readOnly: true\n description: Output only. If this Model is a copy of another Model, this\n contains info about the original.\n x-kubernetes-immutable: true\n properties:\n model:\n type: string\n x-dcl-go-name: Model\n readOnly: true\n description: 'Output only. The resource name of the Model this Model\n is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Model\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n supportedDeploymentResourcesTypes:\n type: array\n x-dcl-go-name: SupportedDeploymentResourcesTypes\n readOnly: true\n description: Output only. When this Model is deployed, its prediction resources\n are described by the `prediction_resources` field of the Endpoint.deployed_models\n object. Because not all Models support all resource configuration types,\n the configuration types this Model supports are listed here. If no configuration\n types are listed, the Model cannot be deployed to an Endpoint and does\n not support online predictions (PredictionService.Predict or PredictionService.Explain).\n Such a Model can serve predictions by using a BatchPredictionJob, if it\n has at least one entry each in supported_input_storage_formats and supported_output_storage_formats.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ModelSupportedDeploymentResourcesTypesEnum\n enum:\n - DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED\n - DEDICATED_RESOURCES\n - AUTOMATIC_RESOURCES\n supportedExportFormats:\n type: array\n x-dcl-go-name: SupportedExportFormats\n readOnly: true\n description: Output only. The formats in which this Model may be exported.\n If empty, this Model is not available for export.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelSupportedExportFormats\n properties:\n exportableContents:\n type: array\n x-dcl-go-name: ExportableContents\n readOnly: true\n description: Output only. The content of this Model that may be exported.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ModelSupportedExportFormatsExportableContentsEnum\n enum:\n - EXPORTABLE_CONTENT_UNSPECIFIED\n - ARTIFACT\n - IMAGE\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: 'Output only. The ID of the export format. The possible\n format IDs are: * `tflite` Used for Android mobile devices. * `edgetpu-tflite`\n Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.\n * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js`\n A [TensorFlow.js](https://www.tensorflow.org/js) model that can\n be used in the browser and in Node.js using JavaScript. * `core-ml`\n Used for iOS mobile devices. * `custom-trained` A Model that was\n uploaded or trained by custom code.'\n x-kubernetes-immutable: true\n supportedInputStorageFormats:\n type: array\n x-dcl-go-name: SupportedInputStorageFormats\n readOnly: true\n description: 'Output only. The formats this Model supports in BatchPredictionJob.input_config.\n If PredictSchemata.instance_schema_uri exists, the instances should be\n given as per that schema. The possible formats are: * `jsonl` The JSON\n Lines format, where each instance is a single line. Uses GcsSource. *\n `csv` The CSV format, where each instance is a single comma-separated\n line. The first line in the file is the header, containing comma-separated\n field names. Uses GcsSource. * `tf-record` The TFRecord format, where\n each instance is a single record in tfrecord syntax. Uses GcsSource. *\n `tf-record-gzip` Similar to `tf-record`, but the file is gzipped. Uses\n GcsSource. * `bigquery` Each instance is a single row in BigQuery. Uses\n BigQuerySource. * `file-list` Each line of the file is the location of\n an instance to process, uses `gcs_source` field of the InputConfig object.\n If this Model doesn''t support any of these formats it means it cannot\n be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n it could serve online predictions by using PredictionService.Predict or\n PredictionService.Explain. TODO(rsurowka): Give a link describing how\n OpenAPI schema instances are expressed in JSONL and BigQuery. TODO(rsurowka):\n Should we provide a schema for TFRecord? Or maybe say that at least for\n now TFRecord input is not supported via schemata (that would also simplify\n giving them back as part of predictions). TODO(rsurowka): Define CSV format\n (decide how much we want to support). E.g. no nesting? Or no arrays, or\n no nested arrays? E.g. https://json-csv.com/ seems to be able to do pretty\n advanced conversions, but we may decide to make it relatively simple for\n now.'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n supportedOutputStorageFormats:\n type: array\n x-dcl-go-name: SupportedOutputStorageFormats\n readOnly: true\n description: 'Output only. The formats this Model supports in BatchPredictionJob.output_config.\n If both PredictSchemata.instance_schema_uri and PredictSchemata.prediction_schema_uri\n exist, the predictions are returned together with their instances. In\n other words, the prediction has the original instance data first, followed\n by the actual prediction content (as per the schema). The possible formats\n are: * `jsonl` The JSON Lines format, where each prediction is a single\n line. Uses GcsDestination. * `csv` The CSV format, where each prediction\n is a single comma-separated line. The first line in the file is the header,\n containing comma-separated field names. Uses GcsDestination. * `bigquery`\n Each prediction is a single row in a BigQuery table, uses BigQueryDestination\n . If this Model doesn''t support any of these formats it means it cannot\n be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n it could serve online predictions by using PredictionService.Predict or\n PredictionService.Explain. TODO(rsurowka): Analogous TODOs as for instances\n field above.'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n trainingPipeline:\n type: string\n x-dcl-go-name: TrainingPipeline\n readOnly: true\n description: Output only. The resource name of the TrainingPipeline that\n uploaded this Model, if any.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this Model was most recently updated.\n x-kubernetes-immutable: true\n versionAliases:\n type: array\n x-dcl-go-name: VersionAliases\n description: User provided version aliases so that a model version can be\n referenced via alias (i.e. projects/{project}/locations/{location}/models/{model_id}@{version_alias}\n instead of auto-generated version id (i.e. projects/{project}/locations/{location}/models/{model_id}@{version_id}).\n The format is a-z{0,126}[a-z0-9] to distinguish from version_id. A default\n version alias will be created for the first version of the model, and\n there must be exactly one default version alias for a model.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n versionCreateTime:\n type: string\n format: date-time\n x-dcl-go-name: VersionCreateTime\n readOnly: true\n description: Output only. Timestamp when this version was created.\n x-kubernetes-immutable: true\n versionDescription:\n type: string\n x-dcl-go-name: VersionDescription\n description: The description of this version.\n x-kubernetes-immutable: true\n versionId:\n type: string\n x-dcl-go-name: VersionId\n readOnly: true\n description: Output only. Immutable. The version ID of the model. A new\n version is committed when a new model version is uploaded or trained under\n an existing model id. It is an auto-incrementing decimal number in string\n representation.\n x-kubernetes-immutable: true\n versionUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: VersionUpdateTime\n readOnly: true\n description: Output only. Timestamp when this version was most recently\n updated.\n x-kubernetes-immutable: true\n") +var YAML_model = []byte("info:\n title: VertexAI/Model\n description: The VertexAI Model resource\n x-dcl-struct-name: Model\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n apply:\n description: The function used to apply information about a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n delete:\n description: The function used to delete a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n deleteAll:\n description: The function used to delete all Model\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Model\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Model:\n title: Model\n x-dcl-id: projects/{{project}}/locations/{{location}}/models/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - containerSpec\n - project\n - location\n properties:\n artifactUri:\n type: string\n x-dcl-go-name: ArtifactUri\n description: Immutable. The path to the directory containing the Model artifact\n and any of its supporting files. Not present for AutoML Models.\n x-kubernetes-immutable: true\n containerSpec:\n type: object\n x-dcl-go-name: ContainerSpec\n x-dcl-go-type: ModelContainerSpec\n description: Input only. The specification of the container that is to be\n used when deploying this Model. The specification is ingested upon ModelService.UploadModel,\n and all binaries it contains are copied and stored internally by Vertex\n AI. Not present for AutoML Models.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n required:\n - imageUri\n properties:\n acceleratorRequirements:\n type: array\n x-dcl-go-name: AcceleratorRequirements\n description: Immutable. Accelerators required to run the container.\n This changes how containers are started. For example, GPU requirements\n are used to set the `resources` field in the Kubernetes [Container\n v1 core](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core)\n spec, as described on the [Schedule GPUs](https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/)\n page of the Kubernetes documentation. Currently, this field is only\n used when deploying to EdgeDevices.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecAcceleratorRequirements\n properties:\n count:\n type: integer\n format: int64\n x-dcl-go-name: Count\n description: Number of accelerators of the specified type needed\n to run the container.\n x-kubernetes-immutable: true\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ModelContainerSpecAcceleratorRequirementsTypeEnum\n description: 'Type of the accelerator needed to run the container.\n Possible values: ACCELERATOR_TYPE_UNSPECIFIED, CORAL_EDGE_TPU,\n NVIDIA_GPU, AMD_GPU'\n x-kubernetes-immutable: true\n enum:\n - ACCELERATOR_TYPE_UNSPECIFIED\n - CORAL_EDGE_TPU\n - NVIDIA_GPU\n - AMD_GPU\n args:\n type: array\n x-dcl-go-name: Args\n description: 'Immutable. Specifies arguments for the command that runs\n when the container starts. This overrides the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd).\n Specify this field as an array of executable and arguments, similar\n to a Docker `CMD`''s \"default parameters\" form. If you don''t specify\n this field but do specify the command field, then the command from\n the `command` field runs without any additional arguments. See the\n [Kubernetes documentation about how the `command` and `args` fields\n interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n If you don''t specify this field and don''t specify the `command`\n field, then the container''s [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd)\n and `CMD` determine what runs based on their default behavior. See\n the Docker documentation about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n In this field, you can reference [environment variables set by Vertex\n AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n and environment variables set in the env field. You cannot reference\n environment variables set in the Docker image. In order for environment\n variables to be expanded, reference them by using the following syntax:\n `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n which does not use parentheses. If a variable cannot be resolved,\n the reference in the input string is used unchanged. To avoid variable\n expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n This field corresponds to the `args` field of the Kubernetes Containers\n [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n command:\n type: array\n x-dcl-go-name: Command\n description: 'Immutable. Specifies the command that runs when the container\n starts. This overrides the container''s [ENTRYPOINT](https://docs.docker.com/engine/reference/builder/#entrypoint).\n Specify this field as an array of executable and arguments, similar\n to a Docker `ENTRYPOINT`''s \"exec\" form, not its \"shell\" form. If\n you do not specify this field, then the container''s `ENTRYPOINT`\n runs, in conjunction with the args field or the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd),\n if either exists. If this field is not specified and the container\n does not have an `ENTRYPOINT`, then refer to the Docker documentation\n about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n If you specify this field, then you can also specify the `args` field\n to provide additional arguments for this command. However, if you\n specify this field, then the container''s `CMD` is ignored. See the\n [Kubernetes documentation about how the `command` and `args` fields\n interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n In this field, you can reference [environment variables set by Vertex\n AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n and environment variables set in the env field. You cannot reference\n environment variables set in the Docker image. In order for environment\n variables to be expanded, reference them by using the following syntax:\n `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n which does not use parentheses. If a variable cannot be resolved,\n the reference in the input string is used unchanged. To avoid variable\n expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n This field corresponds to the `command` field of the Kubernetes Containers\n [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n env:\n type: array\n x-dcl-go-name: Env\n description: 'Immutable. List of environment variables to set in the\n container. After the container starts running, code running in the\n container can read these environment variables. Additionally, the\n command and args fields can reference these variables. Later entries\n in this list can also reference earlier entries. For example, the\n following example sets the variable `VAR_2` to have the value `foo\n bar`: ```json [ { \"name\": \"VAR_1\", \"value\": \"foo\" }, { \"name\": \"VAR_2\",\n \"value\": \"$(VAR_1) bar\" } ] ``` If you switch the order of the variables\n in the example, then the expansion does not occur. This field corresponds\n to the `env` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecEnv\n required:\n - name\n - value\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment variable. Must\n be a valid C identifier.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: 'Required. Variables that reference a $(VAR_NAME)\n are expanded using the previous defined environment variables\n in the container and any service environment variables. If a\n variable cannot be resolved, the reference in the input string\n will be unchanged. The $(VAR_NAME) syntax can be escaped with\n a double $$, ie: $$(VAR_NAME). Escaped references will never\n be expanded, regardless of whether the variable exists or not.'\n x-kubernetes-immutable: true\n healthRoute:\n type: string\n x-dcl-go-name: HealthRoute\n description: 'Immutable. HTTP path on the container to send health checks\n to. Vertex AI intermittently sends GET requests to this path on the\n container''s IP address and port to check that the container is healthy.\n Read more about [health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health).\n For example, if you set this field to `/bar`, then Vertex AI intermittently\n sends a GET request to the `/bar` path on the port of your container\n specified by the first value of this `ModelContainerSpec`''s ports\n field. If you don''t specify this field, it defaults to the following\n value when you deploy this Model to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n The placeholders in this value are replaced as follows: * ENDPOINT:\n The last segment (following `endpoints/`)of the Endpoint.name][] field\n of the Endpoint where this Model has been deployed. (Vertex AI makes\n this value available to your container code as the [`AIP_ENDPOINT_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n x-kubernetes-immutable: true\n imageUri:\n type: string\n x-dcl-go-name: ImageUri\n description: Required. Immutable. URI of the Docker image to be used\n as the custom container for serving predictions. This URI must identify\n an image in Artifact Registry or Container Registry. Learn more about\n the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing),\n including permissions requirements for the Vertex AI Service Agent.\n The container image is ingested upon ModelService.UploadModel, stored\n internally, and this original path is afterwards not used. To learn\n about the requirements for the Docker image itself, see [Custom container\n requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#).\n You can use the URI to one of Vertex AI's [pre-built container images\n for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers)\n in this field.\n x-kubernetes-immutable: true\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'Immutable. List of ports to expose from the container.\n Vertex AI sends any prediction requests that it receives to the first\n port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness)\n to this port. If you do not specify this field, it defaults to following\n value: ```json [ { \"containerPort\": 8080 } ] ``` Vertex AI does not\n use ports other than the first one listed. This field corresponds\n to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecPorts\n properties:\n containerPort:\n type: integer\n format: int64\n x-dcl-go-name: ContainerPort\n description: The number of the port to expose on the pod's IP\n address. Must be a valid port number, between 1 and 65535 inclusive.\n x-kubernetes-immutable: true\n predictRoute:\n type: string\n x-dcl-go-name: PredictRoute\n description: 'Immutable. HTTP path on the container to send prediction\n requests to. Vertex AI forwards requests sent using projects.locations.endpoints.predict\n to this path on the container''s IP address and port. Vertex AI then\n returns the container''s response in the API response. For example,\n if you set this field to `/foo`, then when Vertex AI receives a prediction\n request, it forwards the request body in a POST request to the `/foo`\n path on the port of your container specified by the first value of\n this `ModelContainerSpec`''s ports field. If you don''t specify this\n field, it defaults to the following value when you deploy this Model\n to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n The placeholders in this value are replaced as follows: * ENDPOINT:\n The last segment (following `endpoints/`)of the Endpoint.name][] field\n of the Endpoint where this Model has been deployed. (Vertex AI makes\n this value available to your container code as the [`AIP_ENDPOINT_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this Model was uploaded into Vertex\n AI.\n x-kubernetes-immutable: true\n deployedModels:\n type: array\n x-dcl-go-name: DeployedModels\n readOnly: true\n description: Output only. The pointers to DeployedModels created from this\n Model. Note that Model could have been deployed to Endpoints in different\n Locations.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelDeployedModels\n properties:\n deployedModelId:\n type: string\n x-dcl-go-name: DeployedModelId\n description: Immutable. An ID of a DeployedModel in the above Endpoint.\n x-kubernetes-immutable: true\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: Immutable. A resource name of an Endpoint.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Endpoint\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the Model.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The display name of the Model. The name can be up\n to 128 characters long and can be consist of any UTF-8 characters.\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: ModelEncryptionSpec\n description: Customer-managed encryption key spec for a Model. If set, this\n Model and all sub-resources of this Model will be secured by this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels with user-defined metadata to organize your Models.\n Label keys and values can be no longer than 64 characters (Unicode codepoints),\n can only contain lowercase letters, numeric characters, underscores and\n dashes. International characters are allowed. See https://goo.gl/xmQnxf\n for more information and examples of labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the Model.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n originalModelInfo:\n type: object\n x-dcl-go-name: OriginalModelInfo\n x-dcl-go-type: ModelOriginalModelInfo\n readOnly: true\n description: Output only. If this Model is a copy of another Model, this\n contains info about the original.\n x-kubernetes-immutable: true\n properties:\n model:\n type: string\n x-dcl-go-name: Model\n readOnly: true\n description: 'Output only. The resource name of the Model this Model\n is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Model\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n supportedDeploymentResourcesTypes:\n type: array\n x-dcl-go-name: SupportedDeploymentResourcesTypes\n readOnly: true\n description: Output only. When this Model is deployed, its prediction resources\n are described by the `prediction_resources` field of the Endpoint.deployed_models\n object. Because not all Models support all resource configuration types,\n the configuration types this Model supports are listed here. If no configuration\n types are listed, the Model cannot be deployed to an Endpoint and does\n not support online predictions (PredictionService.Predict or PredictionService.Explain).\n Such a Model can serve predictions by using a BatchPredictionJob, if it\n has at least one entry each in supported_input_storage_formats and supported_output_storage_formats.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ModelSupportedDeploymentResourcesTypesEnum\n enum:\n - DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED\n - DEDICATED_RESOURCES\n - AUTOMATIC_RESOURCES\n supportedExportFormats:\n type: array\n x-dcl-go-name: SupportedExportFormats\n readOnly: true\n description: Output only. The formats in which this Model may be exported.\n If empty, this Model is not available for export.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelSupportedExportFormats\n properties:\n exportableContents:\n type: array\n x-dcl-go-name: ExportableContents\n readOnly: true\n description: Output only. The content of this Model that may be exported.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ModelSupportedExportFormatsExportableContentsEnum\n enum:\n - EXPORTABLE_CONTENT_UNSPECIFIED\n - ARTIFACT\n - IMAGE\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: 'Output only. The ID of the export format. The possible\n format IDs are: * `tflite` Used for Android mobile devices. * `edgetpu-tflite`\n Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.\n * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js`\n A [TensorFlow.js](https://www.tensorflow.org/js) model that can\n be used in the browser and in Node.js using JavaScript. * `core-ml`\n Used for iOS mobile devices. * `custom-trained` A Model that was\n uploaded or trained by custom code.'\n x-kubernetes-immutable: true\n supportedInputStorageFormats:\n type: array\n x-dcl-go-name: SupportedInputStorageFormats\n readOnly: true\n description: 'Output only. The formats this Model supports in BatchPredictionJob.input_config.\n If PredictSchemata.instance_schema_uri exists, the instances should be\n given as per that schema. The possible formats are: * `jsonl` The JSON\n Lines format, where each instance is a single line. Uses GcsSource. *\n `csv` The CSV format, where each instance is a single comma-separated\n line. The first line in the file is the header, containing comma-separated\n field names. Uses GcsSource. * `tf-record` The TFRecord format, where\n each instance is a single record in tfrecord syntax. Uses GcsSource. *\n `tf-record-gzip` Similar to `tf-record`, but the file is gzipped. Uses\n GcsSource. * `bigquery` Each instance is a single row in BigQuery. Uses\n BigQuerySource. * `file-list` Each line of the file is the location of\n an instance to process, uses `gcs_source` field of the InputConfig object.\n If this Model doesn''t support any of these formats it means it cannot\n be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n it could serve online predictions by using PredictionService.Predict or\n PredictionService.Explain. TODO(rsurowka): Give a link describing how\n OpenAPI schema instances are expressed in JSONL and BigQuery. TODO(rsurowka):\n Should we provide a schema for TFRecord? Or maybe say that at least for\n now TFRecord input is not supported via schemata (that would also simplify\n giving them back as part of predictions). TODO(rsurowka): Define CSV format\n (decide how much we want to support). E.g. no nesting? Or no arrays, or\n no nested arrays? E.g. https://json-csv.com/ seems to be able to do pretty\n advanced conversions, but we may decide to make it relatively simple for\n now.'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n supportedOutputStorageFormats:\n type: array\n x-dcl-go-name: SupportedOutputStorageFormats\n readOnly: true\n description: 'Output only. The formats this Model supports in BatchPredictionJob.output_config.\n If both PredictSchemata.instance_schema_uri and PredictSchemata.prediction_schema_uri\n exist, the predictions are returned together with their instances. In\n other words, the prediction has the original instance data first, followed\n by the actual prediction content (as per the schema). The possible formats\n are: * `jsonl` The JSON Lines format, where each prediction is a single\n line. Uses GcsDestination. * `csv` The CSV format, where each prediction\n is a single comma-separated line. The first line in the file is the header,\n containing comma-separated field names. Uses GcsDestination. * `bigquery`\n Each prediction is a single row in a BigQuery table, uses BigQueryDestination\n . If this Model doesn''t support any of these formats it means it cannot\n be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n it could serve online predictions by using PredictionService.Predict or\n PredictionService.Explain. TODO(rsurowka): Analogous TODOs as for instances\n field above.'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n trainingPipeline:\n type: string\n x-dcl-go-name: TrainingPipeline\n readOnly: true\n description: Output only. The resource name of the TrainingPipeline that\n uploaded this Model, if any.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this Model was most recently updated.\n x-kubernetes-immutable: true\n versionAliases:\n type: array\n x-dcl-go-name: VersionAliases\n description: User provided version aliases so that a model version can be\n referenced via alias (i.e. projects/{project}/locations/{location}/models/{model_id}@{version_alias}\n instead of auto-generated version id (i.e. projects/{project}/locations/{location}/models/{model_id}@{version_id}).\n The format is a-z{0,126}[a-z0-9] to distinguish from version_id. A default\n version alias will be created for the first version of the model, and\n there must be exactly one default version alias for a model.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n versionCreateTime:\n type: string\n format: date-time\n x-dcl-go-name: VersionCreateTime\n readOnly: true\n description: Output only. Timestamp when this version was created.\n x-kubernetes-immutable: true\n versionDescription:\n type: string\n x-dcl-go-name: VersionDescription\n description: The description of this version.\n x-kubernetes-immutable: true\n versionId:\n type: string\n x-dcl-go-name: VersionId\n readOnly: true\n description: Output only. Immutable. The version ID of the model. A new\n version is committed when a new model version is uploaded or trained under\n an existing model id. It is an auto-incrementing decimal number in string\n representation.\n x-kubernetes-immutable: true\n versionUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: VersionUpdateTime\n readOnly: true\n description: Output only. Timestamp when this version was most recently\n updated.\n x-kubernetes-immutable: true\n") -// 32860 bytes -// MD5: a7ec828490ba0e869471576c64e14e6c +// 32885 bytes +// MD5: bf78914e93dd1933469c1ec8bfc3e78f diff --git a/services/google/vertexai/beta/model_deployment.yaml b/services/google/vertexai/beta/model_deployment.yaml index 684647732d..8816e599bd 100755 --- a/services/google/vertexai/beta/model_deployment.yaml +++ b/services/google/vertexai/beta/model_deployment.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/ModelDeployment description: The VertexAI ModelDeployment resource x-dcl-struct-name: ModelDeployment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/beta/model_deployment_beta_yaml_embed.go b/services/google/vertexai/beta/model_deployment_beta_yaml_embed.go index dbab248b95..0f8d05063e 100755 --- a/services/google/vertexai/beta/model_deployment_beta_yaml_embed.go +++ b/services/google/vertexai/beta/model_deployment_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/beta/model_deployment.yaml -var YAML_model_deployment = []byte("info:\n title: VertexAI/ModelDeployment\n description: The VertexAI ModelDeployment resource\n x-dcl-struct-name: ModelDeployment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n apply:\n description: The function used to apply information about a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n delete:\n description: The function used to delete a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n deleteAll:\n description: The function used to delete all ModelDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: endpoint\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ModelDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: endpoint\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ModelDeployment:\n title: ModelDeployment\n x-dcl-id: models/{{model}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - model\n - dedicatedResources\n - endpoint\n properties:\n dedicatedResources:\n type: object\n x-dcl-go-name: DedicatedResources\n x-dcl-go-type: ModelDeploymentDedicatedResources\n description: A description of resources that are dedicated to the DeployedModel,\n and that need a higher degree of manual configuration.\n x-kubernetes-immutable: true\n required:\n - machineSpec\n - minReplicaCount\n properties:\n machineSpec:\n type: object\n x-dcl-go-name: MachineSpec\n x-dcl-go-type: ModelDeploymentDedicatedResourcesMachineSpec\n description: Required. Immutable. The specification of a single machine\n used by the prediction.\n x-kubernetes-immutable: true\n required:\n - machineType\n properties:\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Immutable. The type of the machine. See the [list\n of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n For DeployedModel this field is optional, and the default value\n is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec\n this field is required. TODO(rsurowka): Try to better unify the\n required vs optional.'\n x-kubernetes-immutable: true\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: Immutable. The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If the requested\n value is too large, the deployment will error, but if deployment succeeds\n then the ability to scale the model to that many replicas is guaranteed\n (barring service outages). If traffic against the DeployedModel increases\n beyond what its replicas at maximum may handle, a portion of the traffic\n will be dropped. If this value is not provided, will use min_replica_count\n as the default value. The value of this field impacts the charge against\n Vertex CPU and GPU quotas. Specifically, you will be charged for max_replica_count\n * number of cores in the selected machine type) and (max_replica_count\n * number of GPUs per replica in the selected machine type).\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: Required. Immutable. The minimum number of machine replicas\n this DeployedModel will be always deployed on. This value must be\n greater than or equal to 1. If traffic against the DeployedModel increases,\n it may dynamically be deployed onto more replicas, and as traffic\n decreases, some of these extra replicas may be freed.\n x-kubernetes-immutable: true\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The name of the endpoint to deploy to\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Endpoint\n field: name\n parent: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The deployed ID of the model in the endpoint\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the endpoint\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n model:\n type: string\n x-dcl-go-name: Model\n description: The name of the model to deploy\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Model\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the endpoint\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n") +var YAML_model_deployment = []byte("info:\n title: VertexAI/ModelDeployment\n description: The VertexAI ModelDeployment resource\n x-dcl-struct-name: ModelDeployment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n apply:\n description: The function used to apply information about a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n delete:\n description: The function used to delete a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n deleteAll:\n description: The function used to delete all ModelDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: endpoint\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ModelDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: endpoint\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ModelDeployment:\n title: ModelDeployment\n x-dcl-id: models/{{model}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - model\n - dedicatedResources\n - endpoint\n properties:\n dedicatedResources:\n type: object\n x-dcl-go-name: DedicatedResources\n x-dcl-go-type: ModelDeploymentDedicatedResources\n description: A description of resources that are dedicated to the DeployedModel,\n and that need a higher degree of manual configuration.\n x-kubernetes-immutable: true\n required:\n - machineSpec\n - minReplicaCount\n properties:\n machineSpec:\n type: object\n x-dcl-go-name: MachineSpec\n x-dcl-go-type: ModelDeploymentDedicatedResourcesMachineSpec\n description: Required. Immutable. The specification of a single machine\n used by the prediction.\n x-kubernetes-immutable: true\n required:\n - machineType\n properties:\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Immutable. The type of the machine. See the [list\n of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n For DeployedModel this field is optional, and the default value\n is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec\n this field is required. TODO(rsurowka): Try to better unify the\n required vs optional.'\n x-kubernetes-immutable: true\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: Immutable. The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If the requested\n value is too large, the deployment will error, but if deployment succeeds\n then the ability to scale the model to that many replicas is guaranteed\n (barring service outages). If traffic against the DeployedModel increases\n beyond what its replicas at maximum may handle, a portion of the traffic\n will be dropped. If this value is not provided, will use min_replica_count\n as the default value. The value of this field impacts the charge against\n Vertex CPU and GPU quotas. Specifically, you will be charged for max_replica_count\n * number of cores in the selected machine type) and (max_replica_count\n * number of GPUs per replica in the selected machine type).\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: Required. Immutable. The minimum number of machine replicas\n this DeployedModel will be always deployed on. This value must be\n greater than or equal to 1. If traffic against the DeployedModel increases,\n it may dynamically be deployed onto more replicas, and as traffic\n decreases, some of these extra replicas may be freed.\n x-kubernetes-immutable: true\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The name of the endpoint to deploy to\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Endpoint\n field: name\n parent: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The deployed ID of the model in the endpoint\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the endpoint\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n model:\n type: string\n x-dcl-go-name: Model\n description: The name of the model to deploy\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Model\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the endpoint\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n") -// 6432 bytes -// MD5: 6a3820ab0b251cec20a38283fe949014 +// 6457 bytes +// MD5: aa281e115a3d0c469a1db53d506d7add diff --git a/services/google/vertexai/beta/model_deployment_schema.go b/services/google/vertexai/beta/model_deployment_schema.go index a74a219cc5..53fffea35b 100755 --- a/services/google/vertexai/beta/model_deployment_schema.go +++ b/services/google/vertexai/beta/model_deployment_schema.go @@ -23,6 +23,7 @@ func DCLModelDeploymentSchema() *dcl.Schema { Title: "VertexAI/ModelDeployment", Description: "The VertexAI ModelDeployment resource", StructName: "ModelDeployment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/beta/model_schema.go b/services/google/vertexai/beta/model_schema.go index a4a34f7e0c..5f80b76504 100755 --- a/services/google/vertexai/beta/model_schema.go +++ b/services/google/vertexai/beta/model_schema.go @@ -23,6 +23,7 @@ func DCLModelSchema() *dcl.Schema { Title: "VertexAI/Model", Description: "The VertexAI Model resource", StructName: "Model", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/endpoint.yaml b/services/google/vertexai/endpoint.yaml index 1f24e1726f..44bf5c2328 100755 --- a/services/google/vertexai/endpoint.yaml +++ b/services/google/vertexai/endpoint.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/Endpoint description: The VertexAI Endpoint resource x-dcl-struct-name: Endpoint + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/endpoint_schema.go b/services/google/vertexai/endpoint_schema.go index 7042571a22..66128f1cde 100755 --- a/services/google/vertexai/endpoint_schema.go +++ b/services/google/vertexai/endpoint_schema.go @@ -23,6 +23,7 @@ func DCLEndpointSchema() *dcl.Schema { Title: "VertexAI/Endpoint", Description: "The VertexAI Endpoint resource", StructName: "Endpoint", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/endpoint_traffic_split.yaml b/services/google/vertexai/endpoint_traffic_split.yaml index 104c09115d..0d879cd40c 100755 --- a/services/google/vertexai/endpoint_traffic_split.yaml +++ b/services/google/vertexai/endpoint_traffic_split.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/EndpointTrafficSplit description: The VertexAI EndpointTrafficSplit resource x-dcl-struct-name: EndpointTrafficSplit + x-dcl-has-create: false x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/endpoint_traffic_split_yaml_embed.go b/services/google/vertexai/endpoint_traffic_split_yaml_embed.go index 85a7cb457a..c494482eb8 100755 --- a/services/google/vertexai/endpoint_traffic_split_yaml_embed.go +++ b/services/google/vertexai/endpoint_traffic_split_yaml_embed.go @@ -17,7 +17,7 @@ package vertexai // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/endpoint_traffic_split.yaml -var YAML_endpoint_traffic_split = []byte("info:\n title: VertexAI/EndpointTrafficSplit\n description: The VertexAI EndpointTrafficSplit resource\n x-dcl-struct-name: EndpointTrafficSplit\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EndpointTrafficSplit\n parameters:\n - name: EndpointTrafficSplit\n required: true\n description: A full instance of a EndpointTrafficSplit\n apply:\n description: The function used to apply information about a EndpointTrafficSplit\n parameters:\n - name: EndpointTrafficSplit\n required: true\n description: A full instance of a EndpointTrafficSplit\ncomponents:\n schemas:\n EndpointTrafficSplit:\n title: EndpointTrafficSplit\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{endpoint}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - endpoint\n - project\n - location\n - trafficSplit\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The endpoint for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Endpoint\n field: name\n parent: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n trafficSplit:\n type: array\n x-dcl-go-name: TrafficSplit\n description: A map from a DeployedModel's ID to the percentage of this Endpoint's\n traffic that should be forwarded to that DeployedModel. If a DeployedModel's\n ID is not listed in this map, then it receives no traffic. The traffic\n percentage values must add up to 100, or map must be empty if the Endpoint\n is to not accept any traffic at a moment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointTrafficSplitTrafficSplit\n required:\n - deployedModelId\n - trafficPercentage\n properties:\n deployedModelId:\n type: string\n x-dcl-go-name: DeployedModelId\n description: A deployed model's id.\n x-dcl-references:\n - resource: Vertexai/ModelDeployment\n field: id\n trafficPercentage:\n type: integer\n format: int64\n x-dcl-go-name: TrafficPercentage\n description: The percentage of this Endpoint's traffic that should\n be forwarded to the DeployedModel.\n") +var YAML_endpoint_traffic_split = []byte("info:\n title: VertexAI/EndpointTrafficSplit\n description: The VertexAI EndpointTrafficSplit resource\n x-dcl-struct-name: EndpointTrafficSplit\n x-dcl-has-create: false\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a EndpointTrafficSplit\n parameters:\n - name: EndpointTrafficSplit\n required: true\n description: A full instance of a EndpointTrafficSplit\n apply:\n description: The function used to apply information about a EndpointTrafficSplit\n parameters:\n - name: EndpointTrafficSplit\n required: true\n description: A full instance of a EndpointTrafficSplit\ncomponents:\n schemas:\n EndpointTrafficSplit:\n title: EndpointTrafficSplit\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{endpoint}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - endpoint\n - project\n - location\n - trafficSplit\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The endpoint for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Endpoint\n field: name\n parent: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n trafficSplit:\n type: array\n x-dcl-go-name: TrafficSplit\n description: A map from a DeployedModel's ID to the percentage of this Endpoint's\n traffic that should be forwarded to that DeployedModel. If a DeployedModel's\n ID is not listed in this map, then it receives no traffic. The traffic\n percentage values must add up to 100, or map must be empty if the Endpoint\n is to not accept any traffic at a moment.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointTrafficSplitTrafficSplit\n required:\n - deployedModelId\n - trafficPercentage\n properties:\n deployedModelId:\n type: string\n x-dcl-go-name: DeployedModelId\n description: A deployed model's id.\n x-dcl-references:\n - resource: Vertexai/ModelDeployment\n field: id\n trafficPercentage:\n type: integer\n format: int64\n x-dcl-go-name: TrafficPercentage\n description: The percentage of this Endpoint's traffic that should\n be forwarded to the DeployedModel.\n") -// 3301 bytes -// MD5: d127d472e94b80ffb873ab747b09c410 +// 3327 bytes +// MD5: 23aac329481e7917293971cc57be0fc9 diff --git a/services/google/vertexai/endpoint_yaml_embed.go b/services/google/vertexai/endpoint_yaml_embed.go index 3881536783..1705d7415e 100755 --- a/services/google/vertexai/endpoint_yaml_embed.go +++ b/services/google/vertexai/endpoint_yaml_embed.go @@ -17,7 +17,7 @@ package vertexai // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/endpoint.yaml -var YAML_endpoint = []byte("info:\n title: VertexAI/Endpoint\n description: The VertexAI Endpoint resource\n x-dcl-struct-name: Endpoint\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n apply:\n description: The function used to apply information about a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n delete:\n description: The function used to delete a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n deleteAll:\n description: The function used to delete all Endpoint\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Endpoint\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Endpoint:\n title: Endpoint\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this Endpoint was created.\n x-kubernetes-immutable: true\n deployedModels:\n type: array\n x-dcl-go-name: DeployedModels\n readOnly: true\n description: Output only. The models deployed in this Endpoint. To add or\n remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel\n respectively.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointDeployedModels\n properties:\n automaticResources:\n type: object\n x-dcl-go-name: AutomaticResources\n x-dcl-go-type: EndpointDeployedModelsAutomaticResources\n description: A description of resources that to large degree are decided\n by Vertex AI, and require only a modest additional configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - dedicatedResources\n properties:\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If\n the requested value is too large, the deployment will error,\n but if deployment succeeds then the ability to scale the model\n to that many replicas is guaranteed (barring service outages).\n If traffic against the DeployedModel increases beyond what its\n replicas at maximum may handle, a portion of the traffic will\n be dropped. If this value is not provided, a no upper bound\n for scaling under heavy traffic will be assume, though Vertex\n AI may be unable to scale beyond certain replica number.\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: The minimum number of replicas this DeployedModel\n will be always deployed on. If traffic against it increases,\n it may dynamically be deployed onto more replicas up to max_replica_count,\n and as traffic decreases, some of these extra replicas may be\n freed. If the requested value is too large, the deployment will\n error.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when the DeployedModel was created.\n x-kubernetes-immutable: true\n dedicatedResources:\n type: object\n x-dcl-go-name: DedicatedResources\n x-dcl-go-type: EndpointDeployedModelsDedicatedResources\n description: A description of resources that are dedicated to the\n DeployedModel, and that need a higher degree of manual configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - automaticResources\n properties:\n autoscalingMetricSpecs:\n type: array\n x-dcl-go-name: AutoscalingMetricSpecs\n description: The metric specifications that overrides a resource\n utilization metric (CPU utilization, accelerator's duty cycle,\n and so on) target value (default to 60 if not set). At most\n one entry is allowed per metric. If machine_spec.accelerator_count\n is above 0, the autoscaling will be based on both CPU utilization\n and accelerator's duty cycle metrics and scale up when either\n metrics exceeds its target value while scale down if both metrics\n are under their target value. The default target value is 60\n for both metrics. If machine_spec.accelerator_count is 0, the\n autoscaling will be based on CPU utilization metric only with\n default target value 60 if not explicitly set. For example,\n in the case of Online Prediction, if you want to override target\n CPU utilization to 80, you should set autoscaling_metric_specs.metric_name\n to `aiplatform.googleapis.com/prediction/online/cpu/utilization`\n and autoscaling_metric_specs.target to `80`.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs\n properties:\n metricName:\n type: string\n x-dcl-go-name: MetricName\n description: 'The resource metric name. Supported metrics:\n * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle`\n * `aiplatform.googleapis.com/prediction/online/cpu/utilization`'\n x-kubernetes-immutable: true\n target:\n type: integer\n format: int64\n x-dcl-go-name: Target\n description: The target resource utilization in percentage\n (1% - 100%) for the given metric; once the real usage\n deviates from the target by a certain percentage, the\n machine replicas change. The default value is 60 (representing\n 60%) if not provided.\n x-kubernetes-immutable: true\n machineSpec:\n type: object\n x-dcl-go-name: MachineSpec\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpec\n description: The specification of a single machine used by the\n prediction.\n x-kubernetes-immutable: true\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of accelerators to attach to the machine.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum\n description: 'The type of accelerator(s) that may be attached\n to the machine as per accelerator_count. Possible values:\n ACCELERATOR_TYPE_UNSPECIFIED, NVIDIA_TESLA_K80, NVIDIA_TESLA_P100,\n NVIDIA_TESLA_V100, NVIDIA_TESLA_P4, NVIDIA_TESLA_T4, NVIDIA_TESLA_A100,\n TPU_V2, TPU_V3'\n x-kubernetes-immutable: true\n enum:\n - ACCELERATOR_TYPE_UNSPECIFIED\n - NVIDIA_TESLA_K80\n - NVIDIA_TESLA_P100\n - NVIDIA_TESLA_V100\n - NVIDIA_TESLA_P4\n - NVIDIA_TESLA_T4\n - NVIDIA_TESLA_A100\n - TPU_V2\n - TPU_V3\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'The type of the machine. See the [list of machine\n types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n For DeployedModel this field is optional, and the default\n value is `n1-standard-2`. For BatchPredictionJob or as part\n of WorkerPoolSpec this field is required. TODO(rsurowka):\n Try to better unify the required vs optional.'\n x-kubernetes-immutable: true\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If\n the requested value is too large, the deployment will error,\n but if deployment succeeds then the ability to scale the model\n to that many replicas is guaranteed (barring service outages).\n If traffic against the DeployedModel increases beyond what its\n replicas at maximum may handle, a portion of the traffic will\n be dropped. If this value is not provided, will use min_replica_count\n as the default value. The value of this field impacts the charge\n against Vertex CPU and GPU quotas. Specifically, you will be\n charged for max_replica_count * number of cores in the selected\n machine type) and (max_replica_count * number of GPUs per replica\n in the selected machine type).\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: The minimum number of machine replicas this DeployedModel\n will be always deployed on. This value must be greater than\n or equal to 1. If traffic against the DeployedModel increases,\n it may dynamically be deployed onto more replicas, and as traffic\n decreases, some of these extra replicas may be freed.\n x-kubernetes-immutable: true\n disableContainerLogging:\n type: boolean\n x-dcl-go-name: DisableContainerLogging\n description: For custom-trained Models and AutoML Tabular Models,\n the container of the DeployedModel instances will send `stderr`\n and `stdout` streams to Stackdriver Logging by default. Please note\n that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/stackdriver/pricing).\n User can disable container logging by setting this flag to true.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the DeployedModel. If not provided\n upon creation, the Model's display_name is used.\n x-kubernetes-immutable: true\n enableAccessLogging:\n type: boolean\n x-dcl-go-name: EnableAccessLogging\n description: These logs are like standard server access logs, containing\n information like timestamp and latency for each prediction request.\n Note that Stackdriver logs may incur a cost, especially if your\n project receives prediction requests at a high queries per second\n rate (QPS). Estimate your costs before enabling this option.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the DeployedModel. If not provided upon deployment,\n Vertex AI will generate a value for this ID. This value should be\n 1-10 characters, and valid characters are /[0-9]/.\n x-kubernetes-immutable: true\n model:\n type: string\n x-dcl-go-name: Model\n description: The name of the Model that this is the deployment of.\n Note that the Model may be in a different location than the DeployedModel's\n Endpoint.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Model\n field: selfLink\n modelVersionId:\n type: string\n x-dcl-go-name: ModelVersionId\n readOnly: true\n description: Output only. The version ID of the model that is deployed.\n x-kubernetes-immutable: true\n privateEndpoints:\n type: object\n x-dcl-go-name: PrivateEndpoints\n x-dcl-go-type: EndpointDeployedModelsPrivateEndpoints\n readOnly: true\n description: Output only. Provide paths for users to send predict/explain/health\n requests directly to the deployed model services running on Cloud\n via private services access. This field is populated if network\n is configured.\n x-kubernetes-immutable: true\n properties:\n explainHttpUri:\n type: string\n x-dcl-go-name: ExplainHttpUri\n readOnly: true\n description: Output only. Http(s) path to send explain requests.\n x-kubernetes-immutable: true\n healthHttpUri:\n type: string\n x-dcl-go-name: HealthHttpUri\n readOnly: true\n description: Output only. Http(s) path to send health check requests.\n x-kubernetes-immutable: true\n predictHttpUri:\n type: string\n x-dcl-go-name: PredictHttpUri\n readOnly: true\n description: Output only. Http(s) path to send prediction requests.\n x-kubernetes-immutable: true\n serviceAttachment:\n type: string\n x-dcl-go-name: ServiceAttachment\n readOnly: true\n description: Output only. The name of the service attachment resource.\n Populated if private service connect is enabled.\n x-kubernetes-immutable: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: The service account that the DeployedModel's container\n runs as. Specify the email address of the service account. If this\n service account is not specified, the container runs as a service\n account that doesn't have access to the resource project. Users\n deploying the Model must have the `iam.serviceAccounts.actAs` permission\n on this service account.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the Endpoint.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The display name of the Endpoint. The name can be\n up to 128 characters long and can be consist of any UTF-8 characters.\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: EndpointEncryptionSpec\n description: Customer-managed encryption key spec for an Endpoint. If set,\n this Endpoint and all sub-resources of this Endpoint will be secured by\n this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels with user-defined metadata to organize your Endpoints.\n Label keys and values can be no longer than 64 characters (Unicode codepoints),\n can only contain lowercase letters, numeric characters, underscores and\n dashes. International characters are allowed. See https://goo.gl/xmQnxf\n for more information and examples of labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n modelDeploymentMonitoringJob:\n type: string\n x-dcl-go-name: ModelDeploymentMonitoringJob\n readOnly: true\n description: 'Output only. Resource name of the Model Monitoring job associated\n with this Endpoint if monitoring is enabled by CreateModelDeploymentMonitoringJob.\n Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the Endpoint.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)\n to which the Endpoint should be peered. Private services access must already\n be configured for the network. If left unspecified, the Endpoint is not\n peered with any network. Only one of the fields, network or enable_private_service_connect,\n can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):\n `projects/{project}/global/networks/{network}`. Where `{project}` is a\n project number, as in `12345`, and `{network}` is network name.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this Endpoint was last updated.\n x-kubernetes-immutable: true\n") +var YAML_endpoint = []byte("info:\n title: VertexAI/Endpoint\n description: The VertexAI Endpoint resource\n x-dcl-struct-name: Endpoint\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n apply:\n description: The function used to apply information about a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n delete:\n description: The function used to delete a Endpoint\n parameters:\n - name: Endpoint\n required: true\n description: A full instance of a Endpoint\n deleteAll:\n description: The function used to delete all Endpoint\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Endpoint\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Endpoint:\n title: Endpoint\n x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this Endpoint was created.\n x-kubernetes-immutable: true\n deployedModels:\n type: array\n x-dcl-go-name: DeployedModels\n readOnly: true\n description: Output only. The models deployed in this Endpoint. To add or\n remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel\n respectively.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointDeployedModels\n properties:\n automaticResources:\n type: object\n x-dcl-go-name: AutomaticResources\n x-dcl-go-type: EndpointDeployedModelsAutomaticResources\n description: A description of resources that to large degree are decided\n by Vertex AI, and require only a modest additional configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - dedicatedResources\n properties:\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If\n the requested value is too large, the deployment will error,\n but if deployment succeeds then the ability to scale the model\n to that many replicas is guaranteed (barring service outages).\n If traffic against the DeployedModel increases beyond what its\n replicas at maximum may handle, a portion of the traffic will\n be dropped. If this value is not provided, a no upper bound\n for scaling under heavy traffic will be assume, though Vertex\n AI may be unable to scale beyond certain replica number.\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: The minimum number of replicas this DeployedModel\n will be always deployed on. If traffic against it increases,\n it may dynamically be deployed onto more replicas up to max_replica_count,\n and as traffic decreases, some of these extra replicas may be\n freed. If the requested value is too large, the deployment will\n error.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when the DeployedModel was created.\n x-kubernetes-immutable: true\n dedicatedResources:\n type: object\n x-dcl-go-name: DedicatedResources\n x-dcl-go-type: EndpointDeployedModelsDedicatedResources\n description: A description of resources that are dedicated to the\n DeployedModel, and that need a higher degree of manual configuration.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - automaticResources\n properties:\n autoscalingMetricSpecs:\n type: array\n x-dcl-go-name: AutoscalingMetricSpecs\n description: The metric specifications that overrides a resource\n utilization metric (CPU utilization, accelerator's duty cycle,\n and so on) target value (default to 60 if not set). At most\n one entry is allowed per metric. If machine_spec.accelerator_count\n is above 0, the autoscaling will be based on both CPU utilization\n and accelerator's duty cycle metrics and scale up when either\n metrics exceeds its target value while scale down if both metrics\n are under their target value. The default target value is 60\n for both metrics. If machine_spec.accelerator_count is 0, the\n autoscaling will be based on CPU utilization metric only with\n default target value 60 if not explicitly set. For example,\n in the case of Online Prediction, if you want to override target\n CPU utilization to 80, you should set autoscaling_metric_specs.metric_name\n to `aiplatform.googleapis.com/prediction/online/cpu/utilization`\n and autoscaling_metric_specs.target to `80`.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs\n properties:\n metricName:\n type: string\n x-dcl-go-name: MetricName\n description: 'The resource metric name. Supported metrics:\n * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle`\n * `aiplatform.googleapis.com/prediction/online/cpu/utilization`'\n x-kubernetes-immutable: true\n target:\n type: integer\n format: int64\n x-dcl-go-name: Target\n description: The target resource utilization in percentage\n (1% - 100%) for the given metric; once the real usage\n deviates from the target by a certain percentage, the\n machine replicas change. The default value is 60 (representing\n 60%) if not provided.\n x-kubernetes-immutable: true\n machineSpec:\n type: object\n x-dcl-go-name: MachineSpec\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpec\n description: The specification of a single machine used by the\n prediction.\n x-kubernetes-immutable: true\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of accelerators to attach to the machine.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum\n description: 'The type of accelerator(s) that may be attached\n to the machine as per accelerator_count. Possible values:\n ACCELERATOR_TYPE_UNSPECIFIED, NVIDIA_TESLA_K80, NVIDIA_TESLA_P100,\n NVIDIA_TESLA_V100, NVIDIA_TESLA_P4, NVIDIA_TESLA_T4, NVIDIA_TESLA_A100,\n TPU_V2, TPU_V3'\n x-kubernetes-immutable: true\n enum:\n - ACCELERATOR_TYPE_UNSPECIFIED\n - NVIDIA_TESLA_K80\n - NVIDIA_TESLA_P100\n - NVIDIA_TESLA_V100\n - NVIDIA_TESLA_P4\n - NVIDIA_TESLA_T4\n - NVIDIA_TESLA_A100\n - TPU_V2\n - TPU_V3\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'The type of the machine. See the [list of machine\n types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n For DeployedModel this field is optional, and the default\n value is `n1-standard-2`. For BatchPredictionJob or as part\n of WorkerPoolSpec this field is required. TODO(rsurowka):\n Try to better unify the required vs optional.'\n x-kubernetes-immutable: true\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If\n the requested value is too large, the deployment will error,\n but if deployment succeeds then the ability to scale the model\n to that many replicas is guaranteed (barring service outages).\n If traffic against the DeployedModel increases beyond what its\n replicas at maximum may handle, a portion of the traffic will\n be dropped. If this value is not provided, will use min_replica_count\n as the default value. The value of this field impacts the charge\n against Vertex CPU and GPU quotas. Specifically, you will be\n charged for max_replica_count * number of cores in the selected\n machine type) and (max_replica_count * number of GPUs per replica\n in the selected machine type).\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: The minimum number of machine replicas this DeployedModel\n will be always deployed on. This value must be greater than\n or equal to 1. If traffic against the DeployedModel increases,\n it may dynamically be deployed onto more replicas, and as traffic\n decreases, some of these extra replicas may be freed.\n x-kubernetes-immutable: true\n disableContainerLogging:\n type: boolean\n x-dcl-go-name: DisableContainerLogging\n description: For custom-trained Models and AutoML Tabular Models,\n the container of the DeployedModel instances will send `stderr`\n and `stdout` streams to Stackdriver Logging by default. Please note\n that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/stackdriver/pricing).\n User can disable container logging by setting this flag to true.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The display name of the DeployedModel. If not provided\n upon creation, the Model's display_name is used.\n x-kubernetes-immutable: true\n enableAccessLogging:\n type: boolean\n x-dcl-go-name: EnableAccessLogging\n description: These logs are like standard server access logs, containing\n information like timestamp and latency for each prediction request.\n Note that Stackdriver logs may incur a cost, especially if your\n project receives prediction requests at a high queries per second\n rate (QPS). Estimate your costs before enabling this option.\n x-kubernetes-immutable: true\n id:\n type: string\n x-dcl-go-name: Id\n description: The ID of the DeployedModel. If not provided upon deployment,\n Vertex AI will generate a value for this ID. This value should be\n 1-10 characters, and valid characters are /[0-9]/.\n x-kubernetes-immutable: true\n model:\n type: string\n x-dcl-go-name: Model\n description: The name of the Model that this is the deployment of.\n Note that the Model may be in a different location than the DeployedModel's\n Endpoint.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Model\n field: selfLink\n modelVersionId:\n type: string\n x-dcl-go-name: ModelVersionId\n readOnly: true\n description: Output only. The version ID of the model that is deployed.\n x-kubernetes-immutable: true\n privateEndpoints:\n type: object\n x-dcl-go-name: PrivateEndpoints\n x-dcl-go-type: EndpointDeployedModelsPrivateEndpoints\n readOnly: true\n description: Output only. Provide paths for users to send predict/explain/health\n requests directly to the deployed model services running on Cloud\n via private services access. This field is populated if network\n is configured.\n x-kubernetes-immutable: true\n properties:\n explainHttpUri:\n type: string\n x-dcl-go-name: ExplainHttpUri\n readOnly: true\n description: Output only. Http(s) path to send explain requests.\n x-kubernetes-immutable: true\n healthHttpUri:\n type: string\n x-dcl-go-name: HealthHttpUri\n readOnly: true\n description: Output only. Http(s) path to send health check requests.\n x-kubernetes-immutable: true\n predictHttpUri:\n type: string\n x-dcl-go-name: PredictHttpUri\n readOnly: true\n description: Output only. Http(s) path to send prediction requests.\n x-kubernetes-immutable: true\n serviceAttachment:\n type: string\n x-dcl-go-name: ServiceAttachment\n readOnly: true\n description: Output only. The name of the service attachment resource.\n Populated if private service connect is enabled.\n x-kubernetes-immutable: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: The service account that the DeployedModel's container\n runs as. Specify the email address of the service account. If this\n service account is not specified, the container runs as a service\n account that doesn't have access to the resource project. Users\n deploying the Model must have the `iam.serviceAccounts.actAs` permission\n on this service account.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the Endpoint.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The display name of the Endpoint. The name can be\n up to 128 characters long and can be consist of any UTF-8 characters.\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: EndpointEncryptionSpec\n description: Customer-managed encryption key spec for an Endpoint. If set,\n this Endpoint and all sub-resources of this Endpoint will be secured by\n this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels with user-defined metadata to organize your Endpoints.\n Label keys and values can be no longer than 64 characters (Unicode codepoints),\n can only contain lowercase letters, numeric characters, underscores and\n dashes. International characters are allowed. See https://goo.gl/xmQnxf\n for more information and examples of labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n modelDeploymentMonitoringJob:\n type: string\n x-dcl-go-name: ModelDeploymentMonitoringJob\n readOnly: true\n description: 'Output only. Resource name of the Model Monitoring job associated\n with this Endpoint if monitoring is enabled by CreateModelDeploymentMonitoringJob.\n Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the Endpoint.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)\n to which the Endpoint should be peered. Private services access must already\n be configured for the network. If left unspecified, the Endpoint is not\n peered with any network. Only one of the fields, network or enable_private_service_connect,\n can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):\n `projects/{project}/global/networks/{network}`. Where `{project}` is a\n project number, as in `12345`, and `{network}` is network name.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this Endpoint was last updated.\n x-kubernetes-immutable: true\n") -// 22293 bytes -// MD5: 926b27ddd03de112db0a7522aadc8963 +// 22318 bytes +// MD5: 1952eb3a42d429cc1f0dc2ff19181252 diff --git a/services/google/vertexai/metadata_schema.yaml b/services/google/vertexai/metadata_schema.yaml index a6e30a8e29..429f1e667b 100755 --- a/services/google/vertexai/metadata_schema.yaml +++ b/services/google/vertexai/metadata_schema.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/MetadataSchema description: The VertexAI MetadataSchema resource x-dcl-struct-name: MetadataSchema + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/metadata_schema_schema.go b/services/google/vertexai/metadata_schema_schema.go index 243c359a29..79bdaee76c 100755 --- a/services/google/vertexai/metadata_schema_schema.go +++ b/services/google/vertexai/metadata_schema_schema.go @@ -23,6 +23,7 @@ func DCLMetadataSchemaSchema() *dcl.Schema { Title: "VertexAI/MetadataSchema", Description: "The VertexAI MetadataSchema resource", StructName: "MetadataSchema", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/metadata_schema_yaml_embed.go b/services/google/vertexai/metadata_schema_yaml_embed.go index 831a43694b..8bf874ca6c 100755 --- a/services/google/vertexai/metadata_schema_yaml_embed.go +++ b/services/google/vertexai/metadata_schema_yaml_embed.go @@ -17,7 +17,7 @@ package vertexai // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/metadata_schema.yaml -var YAML_metadata_schema = []byte("info:\n title: VertexAI/MetadataSchema\n description: The VertexAI MetadataSchema resource\n x-dcl-struct-name: MetadataSchema\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetadataSchema\n parameters:\n - name: MetadataSchema\n required: true\n description: A full instance of a MetadataSchema\n apply:\n description: The function used to apply information about a MetadataSchema\n parameters:\n - name: MetadataSchema\n required: true\n description: A full instance of a MetadataSchema\n list:\n description: The function used to list information about many MetadataSchema\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: metadatastore\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetadataSchema:\n title: MetadataSchema\n x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{metadata_store}}/metadataSchemas/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - schemaVersion\n - schema\n - schemaType\n - project\n - location\n - metadataStore\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataSchema was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n metadataStore:\n type: string\n x-dcl-go-name: MetadataStore\n description: The metadata store for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertex/MetadataStore\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the MetadataSchema.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n schema:\n type: string\n x-dcl-go-name: Schema\n description: Required. The raw YAML string representation of the MetadataSchema.\n The combination of [MetadataSchema.version] and the schema name given\n by `title` in [MetadataSchema.schema] must be unique within a MetadataStore.\n The schema is defined as an OpenAPI 3.0.2 [MetadataSchema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)\n x-kubernetes-immutable: true\n schemaType:\n type: string\n x-dcl-go-name: SchemaType\n x-dcl-go-type: MetadataSchemaSchemaTypeEnum\n description: 'The type of the MetadataSchema. This is a property that identifies\n which metadata types will use the MetadataSchema. Possible values: METADATA_SCHEMA_TYPE_UNSPECIFIED,\n ARTIFACT_TYPE, EXECUTION_TYPE, CONTEXT_TYPE'\n x-kubernetes-immutable: true\n enum:\n - METADATA_SCHEMA_TYPE_UNSPECIFIED\n - ARTIFACT_TYPE\n - EXECUTION_TYPE\n - CONTEXT_TYPE\n schemaVersion:\n type: string\n x-dcl-go-name: SchemaVersion\n description: 'The version of the MetadataSchema. The version''s format must\n match the following regular expression: `^[0-9]+.+.+$`, which would allow\n to order/compare different versions. Example: 1.0.0, 1.0.1, etc.'\n x-kubernetes-immutable: true\n") +var YAML_metadata_schema = []byte("info:\n title: VertexAI/MetadataSchema\n description: The VertexAI MetadataSchema resource\n x-dcl-struct-name: MetadataSchema\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetadataSchema\n parameters:\n - name: MetadataSchema\n required: true\n description: A full instance of a MetadataSchema\n apply:\n description: The function used to apply information about a MetadataSchema\n parameters:\n - name: MetadataSchema\n required: true\n description: A full instance of a MetadataSchema\n list:\n description: The function used to list information about many MetadataSchema\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: metadatastore\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetadataSchema:\n title: MetadataSchema\n x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{metadata_store}}/metadataSchemas/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - schemaVersion\n - schema\n - schemaType\n - project\n - location\n - metadataStore\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataSchema was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n metadataStore:\n type: string\n x-dcl-go-name: MetadataStore\n description: The metadata store for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertex/MetadataStore\n field: name\n parent: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The resource name of the MetadataSchema.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n schema:\n type: string\n x-dcl-go-name: Schema\n description: Required. The raw YAML string representation of the MetadataSchema.\n The combination of [MetadataSchema.version] and the schema name given\n by `title` in [MetadataSchema.schema] must be unique within a MetadataStore.\n The schema is defined as an OpenAPI 3.0.2 [MetadataSchema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)\n x-kubernetes-immutable: true\n schemaType:\n type: string\n x-dcl-go-name: SchemaType\n x-dcl-go-type: MetadataSchemaSchemaTypeEnum\n description: 'The type of the MetadataSchema. This is a property that identifies\n which metadata types will use the MetadataSchema. Possible values: METADATA_SCHEMA_TYPE_UNSPECIFIED,\n ARTIFACT_TYPE, EXECUTION_TYPE, CONTEXT_TYPE'\n x-kubernetes-immutable: true\n enum:\n - METADATA_SCHEMA_TYPE_UNSPECIFIED\n - ARTIFACT_TYPE\n - EXECUTION_TYPE\n - CONTEXT_TYPE\n schemaVersion:\n type: string\n x-dcl-go-name: SchemaVersion\n description: 'The version of the MetadataSchema. The version''s format must\n match the following regular expression: `^[0-9]+.+.+$`, which would allow\n to order/compare different versions. Example: 1.0.0, 1.0.1, etc.'\n x-kubernetes-immutable: true\n") -// 4024 bytes -// MD5: 5d59a7bfebde1d40315ac18c6f88517b +// 4049 bytes +// MD5: 5dc4a217896221f6b052d215c5cdcc81 diff --git a/services/google/vertexai/metadata_store.yaml b/services/google/vertexai/metadata_store.yaml index ef4bdd6723..0b210dc30e 100755 --- a/services/google/vertexai/metadata_store.yaml +++ b/services/google/vertexai/metadata_store.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/MetadataStore description: The VertexAI MetadataStore resource x-dcl-struct-name: MetadataStore + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/metadata_store_schema.go b/services/google/vertexai/metadata_store_schema.go index 45cfd81d09..d159a477c8 100755 --- a/services/google/vertexai/metadata_store_schema.go +++ b/services/google/vertexai/metadata_store_schema.go @@ -23,6 +23,7 @@ func DCLMetadataStoreSchema() *dcl.Schema { Title: "VertexAI/MetadataStore", Description: "The VertexAI MetadataStore resource", StructName: "MetadataStore", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/metadata_store_yaml_embed.go b/services/google/vertexai/metadata_store_yaml_embed.go index cc5492ddf7..b7d015fb9c 100755 --- a/services/google/vertexai/metadata_store_yaml_embed.go +++ b/services/google/vertexai/metadata_store_yaml_embed.go @@ -17,7 +17,7 @@ package vertexai // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/metadata_store.yaml -var YAML_metadata_store = []byte("info:\n title: VertexAI/MetadataStore\n description: The VertexAI MetadataStore resource\n x-dcl-struct-name: MetadataStore\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n apply:\n description: The function used to apply information about a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n delete:\n description: The function used to delete a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n deleteAll:\n description: The function used to delete all MetadataStore\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MetadataStore\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetadataStore:\n title: MetadataStore\n x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataStore was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the MetadataStore.\n x-kubernetes-immutable: true\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: MetadataStoreEncryptionSpec\n description: Customer-managed encryption key spec for a Metadata Store.\n If set, this Metadata Store and all sub-resources of this Metadata Store\n are secured using this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the MetadataStore instance.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: MetadataStoreState\n readOnly: true\n description: Output only. State information of the MetadataStore.\n x-kubernetes-immutable: true\n properties:\n diskUtilizationBytes:\n type: integer\n format: int64\n x-dcl-go-name: DiskUtilizationBytes\n description: The disk utilization of the MetadataStore in bytes.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataStore was last updated.\n x-kubernetes-immutable: true\n") +var YAML_metadata_store = []byte("info:\n title: VertexAI/MetadataStore\n description: The VertexAI MetadataStore resource\n x-dcl-struct-name: MetadataStore\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n apply:\n description: The function used to apply information about a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n delete:\n description: The function used to delete a MetadataStore\n parameters:\n - name: MetadataStore\n required: true\n description: A full instance of a MetadataStore\n deleteAll:\n description: The function used to delete all MetadataStore\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many MetadataStore\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n MetadataStore:\n title: MetadataStore\n x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataStore was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Description of the MetadataStore.\n x-kubernetes-immutable: true\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: MetadataStoreEncryptionSpec\n description: Customer-managed encryption key spec for a Metadata Store.\n If set, this Metadata Store and all sub-resources of this Metadata Store\n are secured using this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the MetadataStore instance.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: MetadataStoreState\n readOnly: true\n description: Output only. State information of the MetadataStore.\n x-kubernetes-immutable: true\n properties:\n diskUtilizationBytes:\n type: integer\n format: int64\n x-dcl-go-name: DiskUtilizationBytes\n description: The disk utilization of the MetadataStore in bytes.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this MetadataStore was last updated.\n x-kubernetes-immutable: true\n") -// 4478 bytes -// MD5: 35955ed53e6948d037a24900edf64e16 +// 4503 bytes +// MD5: 9f8ba7fc0f39d641415a66847b311656 diff --git a/services/google/vertexai/model.yaml b/services/google/vertexai/model.yaml index 011e624ab5..567fc49e2b 100755 --- a/services/google/vertexai/model.yaml +++ b/services/google/vertexai/model.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/Model description: The VertexAI Model resource x-dcl-struct-name: Model + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/model_deployment.yaml b/services/google/vertexai/model_deployment.yaml index 684647732d..8816e599bd 100755 --- a/services/google/vertexai/model_deployment.yaml +++ b/services/google/vertexai/model_deployment.yaml @@ -15,6 +15,7 @@ info: title: VertexAI/ModelDeployment description: The VertexAI ModelDeployment resource x-dcl-struct-name: ModelDeployment + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vertexai/model_deployment_schema.go b/services/google/vertexai/model_deployment_schema.go index eabdb5504a..2b7201931b 100755 --- a/services/google/vertexai/model_deployment_schema.go +++ b/services/google/vertexai/model_deployment_schema.go @@ -23,6 +23,7 @@ func DCLModelDeploymentSchema() *dcl.Schema { Title: "VertexAI/ModelDeployment", Description: "The VertexAI ModelDeployment resource", StructName: "ModelDeployment", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/model_deployment_yaml_embed.go b/services/google/vertexai/model_deployment_yaml_embed.go index eb6d7d19b4..613df98c6d 100755 --- a/services/google/vertexai/model_deployment_yaml_embed.go +++ b/services/google/vertexai/model_deployment_yaml_embed.go @@ -17,7 +17,7 @@ package vertexai // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/model_deployment.yaml -var YAML_model_deployment = []byte("info:\n title: VertexAI/ModelDeployment\n description: The VertexAI ModelDeployment resource\n x-dcl-struct-name: ModelDeployment\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n apply:\n description: The function used to apply information about a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n delete:\n description: The function used to delete a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n deleteAll:\n description: The function used to delete all ModelDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: endpoint\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ModelDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: endpoint\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ModelDeployment:\n title: ModelDeployment\n x-dcl-id: models/{{model}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - model\n - dedicatedResources\n - endpoint\n properties:\n dedicatedResources:\n type: object\n x-dcl-go-name: DedicatedResources\n x-dcl-go-type: ModelDeploymentDedicatedResources\n description: A description of resources that are dedicated to the DeployedModel,\n and that need a higher degree of manual configuration.\n x-kubernetes-immutable: true\n required:\n - machineSpec\n - minReplicaCount\n properties:\n machineSpec:\n type: object\n x-dcl-go-name: MachineSpec\n x-dcl-go-type: ModelDeploymentDedicatedResourcesMachineSpec\n description: Required. Immutable. The specification of a single machine\n used by the prediction.\n x-kubernetes-immutable: true\n required:\n - machineType\n properties:\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Immutable. The type of the machine. See the [list\n of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n For DeployedModel this field is optional, and the default value\n is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec\n this field is required. TODO(rsurowka): Try to better unify the\n required vs optional.'\n x-kubernetes-immutable: true\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: Immutable. The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If the requested\n value is too large, the deployment will error, but if deployment succeeds\n then the ability to scale the model to that many replicas is guaranteed\n (barring service outages). If traffic against the DeployedModel increases\n beyond what its replicas at maximum may handle, a portion of the traffic\n will be dropped. If this value is not provided, will use min_replica_count\n as the default value. The value of this field impacts the charge against\n Vertex CPU and GPU quotas. Specifically, you will be charged for max_replica_count\n * number of cores in the selected machine type) and (max_replica_count\n * number of GPUs per replica in the selected machine type).\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: Required. Immutable. The minimum number of machine replicas\n this DeployedModel will be always deployed on. This value must be\n greater than or equal to 1. If traffic against the DeployedModel increases,\n it may dynamically be deployed onto more replicas, and as traffic\n decreases, some of these extra replicas may be freed.\n x-kubernetes-immutable: true\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The name of the endpoint to deploy to\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Endpoint\n field: name\n parent: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The deployed ID of the model in the endpoint\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the endpoint\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n model:\n type: string\n x-dcl-go-name: Model\n description: The name of the model to deploy\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Model\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the endpoint\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n") +var YAML_model_deployment = []byte("info:\n title: VertexAI/ModelDeployment\n description: The VertexAI ModelDeployment resource\n x-dcl-struct-name: ModelDeployment\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n apply:\n description: The function used to apply information about a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n delete:\n description: The function used to delete a ModelDeployment\n parameters:\n - name: ModelDeployment\n required: true\n description: A full instance of a ModelDeployment\n deleteAll:\n description: The function used to delete all ModelDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: endpoint\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many ModelDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: endpoint\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n ModelDeployment:\n title: ModelDeployment\n x-dcl-id: models/{{model}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - model\n - dedicatedResources\n - endpoint\n properties:\n dedicatedResources:\n type: object\n x-dcl-go-name: DedicatedResources\n x-dcl-go-type: ModelDeploymentDedicatedResources\n description: A description of resources that are dedicated to the DeployedModel,\n and that need a higher degree of manual configuration.\n x-kubernetes-immutable: true\n required:\n - machineSpec\n - minReplicaCount\n properties:\n machineSpec:\n type: object\n x-dcl-go-name: MachineSpec\n x-dcl-go-type: ModelDeploymentDedicatedResourcesMachineSpec\n description: Required. Immutable. The specification of a single machine\n used by the prediction.\n x-kubernetes-immutable: true\n required:\n - machineType\n properties:\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Immutable. The type of the machine. See the [list\n of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n For DeployedModel this field is optional, and the default value\n is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec\n this field is required. TODO(rsurowka): Try to better unify the\n required vs optional.'\n x-kubernetes-immutable: true\n maxReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxReplicaCount\n description: Immutable. The maximum number of replicas this DeployedModel\n may be deployed on when the traffic against it increases. If the requested\n value is too large, the deployment will error, but if deployment succeeds\n then the ability to scale the model to that many replicas is guaranteed\n (barring service outages). If traffic against the DeployedModel increases\n beyond what its replicas at maximum may handle, a portion of the traffic\n will be dropped. If this value is not provided, will use min_replica_count\n as the default value. The value of this field impacts the charge against\n Vertex CPU and GPU quotas. Specifically, you will be charged for max_replica_count\n * number of cores in the selected machine type) and (max_replica_count\n * number of GPUs per replica in the selected machine type).\n x-kubernetes-immutable: true\n minReplicaCount:\n type: integer\n format: int64\n x-dcl-go-name: MinReplicaCount\n description: Required. Immutable. The minimum number of machine replicas\n this DeployedModel will be always deployed on. This value must be\n greater than or equal to 1. If traffic against the DeployedModel increases,\n it may dynamically be deployed onto more replicas, and as traffic\n decreases, some of these extra replicas may be freed.\n x-kubernetes-immutable: true\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The name of the endpoint to deploy to\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Endpoint\n field: name\n parent: true\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: The deployed ID of the model in the endpoint\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location of the endpoint\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n model:\n type: string\n x-dcl-go-name: Model\n description: The name of the model to deploy\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vertexai/Model\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the endpoint\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n") -// 6432 bytes -// MD5: 6a3820ab0b251cec20a38283fe949014 +// 6457 bytes +// MD5: aa281e115a3d0c469a1db53d506d7add diff --git a/services/google/vertexai/model_schema.go b/services/google/vertexai/model_schema.go index c0c6178453..a6e845a602 100755 --- a/services/google/vertexai/model_schema.go +++ b/services/google/vertexai/model_schema.go @@ -23,6 +23,7 @@ func DCLModelSchema() *dcl.Schema { Title: "VertexAI/Model", Description: "The VertexAI Model resource", StructName: "Model", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vertexai/model_yaml_embed.go b/services/google/vertexai/model_yaml_embed.go index 63cf4615e3..716d3e3ea6 100755 --- a/services/google/vertexai/model_yaml_embed.go +++ b/services/google/vertexai/model_yaml_embed.go @@ -17,7 +17,7 @@ package vertexai // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/model.yaml -var YAML_model = []byte("info:\n title: VertexAI/Model\n description: The VertexAI Model resource\n x-dcl-struct-name: Model\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n apply:\n description: The function used to apply information about a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n delete:\n description: The function used to delete a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n deleteAll:\n description: The function used to delete all Model\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Model\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Model:\n title: Model\n x-dcl-id: projects/{{project}}/locations/{{location}}/models/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - containerSpec\n - project\n - location\n properties:\n artifactUri:\n type: string\n x-dcl-go-name: ArtifactUri\n description: Immutable. The path to the directory containing the Model artifact\n and any of its supporting files. Not present for AutoML Models.\n x-kubernetes-immutable: true\n containerSpec:\n type: object\n x-dcl-go-name: ContainerSpec\n x-dcl-go-type: ModelContainerSpec\n description: Input only. The specification of the container that is to be\n used when deploying this Model. The specification is ingested upon ModelService.UploadModel,\n and all binaries it contains are copied and stored internally by Vertex\n AI. Not present for AutoML Models.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n required:\n - imageUri\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: 'Immutable. Specifies arguments for the command that runs\n when the container starts. This overrides the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd).\n Specify this field as an array of executable and arguments, similar\n to a Docker `CMD`''s \"default parameters\" form. If you don''t specify\n this field but do specify the command field, then the command from\n the `command` field runs without any additional arguments. See the\n [Kubernetes documentation about how the `command` and `args` fields\n interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n If you don''t specify this field and don''t specify the `command`\n field, then the container''s [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd)\n and `CMD` determine what runs based on their default behavior. See\n the Docker documentation about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n In this field, you can reference [environment variables set by Vertex\n AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n and environment variables set in the env field. You cannot reference\n environment variables set in the Docker image. In order for environment\n variables to be expanded, reference them by using the following syntax:\n `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n which does not use parentheses. If a variable cannot be resolved,\n the reference in the input string is used unchanged. To avoid variable\n expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n This field corresponds to the `args` field of the Kubernetes Containers\n [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n command:\n type: array\n x-dcl-go-name: Command\n description: 'Immutable. Specifies the command that runs when the container\n starts. This overrides the container''s [ENTRYPOINT](https://docs.docker.com/engine/reference/builder/#entrypoint).\n Specify this field as an array of executable and arguments, similar\n to a Docker `ENTRYPOINT`''s \"exec\" form, not its \"shell\" form. If\n you do not specify this field, then the container''s `ENTRYPOINT`\n runs, in conjunction with the args field or the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd),\n if either exists. If this field is not specified and the container\n does not have an `ENTRYPOINT`, then refer to the Docker documentation\n about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n If you specify this field, then you can also specify the `args` field\n to provide additional arguments for this command. However, if you\n specify this field, then the container''s `CMD` is ignored. See the\n [Kubernetes documentation about how the `command` and `args` fields\n interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n In this field, you can reference [environment variables set by Vertex\n AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n and environment variables set in the env field. You cannot reference\n environment variables set in the Docker image. In order for environment\n variables to be expanded, reference them by using the following syntax:\n `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n which does not use parentheses. If a variable cannot be resolved,\n the reference in the input string is used unchanged. To avoid variable\n expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n This field corresponds to the `command` field of the Kubernetes Containers\n [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n env:\n type: array\n x-dcl-go-name: Env\n description: 'Immutable. List of environment variables to set in the\n container. After the container starts running, code running in the\n container can read these environment variables. Additionally, the\n command and args fields can reference these variables. Later entries\n in this list can also reference earlier entries. For example, the\n following example sets the variable `VAR_2` to have the value `foo\n bar`: ```json [ { \"name\": \"VAR_1\", \"value\": \"foo\" }, { \"name\": \"VAR_2\",\n \"value\": \"$(VAR_1) bar\" } ] ``` If you switch the order of the variables\n in the example, then the expansion does not occur. This field corresponds\n to the `env` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecEnv\n required:\n - name\n - value\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment variable. Must\n be a valid C identifier.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: 'Required. Variables that reference a $(VAR_NAME)\n are expanded using the previous defined environment variables\n in the container and any service environment variables. If a\n variable cannot be resolved, the reference in the input string\n will be unchanged. The $(VAR_NAME) syntax can be escaped with\n a double $$, ie: $$(VAR_NAME). Escaped references will never\n be expanded, regardless of whether the variable exists or not.'\n x-kubernetes-immutable: true\n healthRoute:\n type: string\n x-dcl-go-name: HealthRoute\n description: 'Immutable. HTTP path on the container to send health checks\n to. Vertex AI intermittently sends GET requests to this path on the\n container''s IP address and port to check that the container is healthy.\n Read more about [health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health).\n For example, if you set this field to `/bar`, then Vertex AI intermittently\n sends a GET request to the `/bar` path on the port of your container\n specified by the first value of this `ModelContainerSpec`''s ports\n field. If you don''t specify this field, it defaults to the following\n value when you deploy this Model to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n The placeholders in this value are replaced as follows: * ENDPOINT:\n The last segment (following `endpoints/`)of the Endpoint.name][] field\n of the Endpoint where this Model has been deployed. (Vertex AI makes\n this value available to your container code as the [`AIP_ENDPOINT_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n x-kubernetes-immutable: true\n imageUri:\n type: string\n x-dcl-go-name: ImageUri\n description: Required. Immutable. URI of the Docker image to be used\n as the custom container for serving predictions. This URI must identify\n an image in Artifact Registry or Container Registry. Learn more about\n the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing),\n including permissions requirements for the Vertex AI Service Agent.\n The container image is ingested upon ModelService.UploadModel, stored\n internally, and this original path is afterwards not used. To learn\n about the requirements for the Docker image itself, see [Custom container\n requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#).\n You can use the URI to one of Vertex AI's [pre-built container images\n for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers)\n in this field.\n x-kubernetes-immutable: true\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'Immutable. List of ports to expose from the container.\n Vertex AI sends any prediction requests that it receives to the first\n port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness)\n to this port. If you do not specify this field, it defaults to following\n value: ```json [ { \"containerPort\": 8080 } ] ``` Vertex AI does not\n use ports other than the first one listed. This field corresponds\n to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecPorts\n properties:\n containerPort:\n type: integer\n format: int64\n x-dcl-go-name: ContainerPort\n description: The number of the port to expose on the pod's IP\n address. Must be a valid port number, between 1 and 65535 inclusive.\n x-kubernetes-immutable: true\n predictRoute:\n type: string\n x-dcl-go-name: PredictRoute\n description: 'Immutable. HTTP path on the container to send prediction\n requests to. Vertex AI forwards requests sent using projects.locations.endpoints.predict\n to this path on the container''s IP address and port. Vertex AI then\n returns the container''s response in the API response. For example,\n if you set this field to `/foo`, then when Vertex AI receives a prediction\n request, it forwards the request body in a POST request to the `/foo`\n path on the port of your container specified by the first value of\n this `ModelContainerSpec`''s ports field. If you don''t specify this\n field, it defaults to the following value when you deploy this Model\n to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n The placeholders in this value are replaced as follows: * ENDPOINT:\n The last segment (following `endpoints/`)of the Endpoint.name][] field\n of the Endpoint where this Model has been deployed. (Vertex AI makes\n this value available to your container code as the [`AIP_ENDPOINT_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this Model was uploaded into Vertex\n AI.\n x-kubernetes-immutable: true\n deployedModels:\n type: array\n x-dcl-go-name: DeployedModels\n readOnly: true\n description: Output only. The pointers to DeployedModels created from this\n Model. Note that Model could have been deployed to Endpoints in different\n Locations.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelDeployedModels\n properties:\n deployedModelId:\n type: string\n x-dcl-go-name: DeployedModelId\n description: Immutable. An ID of a DeployedModel in the above Endpoint.\n x-kubernetes-immutable: true\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: Immutable. A resource name of an Endpoint.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Endpoint\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the Model.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The display name of the Model. The name can be up\n to 128 characters long and can be consist of any UTF-8 characters.\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: ModelEncryptionSpec\n description: Customer-managed encryption key spec for a Model. If set, this\n Model and all sub-resources of this Model will be secured by this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels with user-defined metadata to organize your Models.\n Label keys and values can be no longer than 64 characters (Unicode codepoints),\n can only contain lowercase letters, numeric characters, underscores and\n dashes. International characters are allowed. See https://goo.gl/xmQnxf\n for more information and examples of labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the Model.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n originalModelInfo:\n type: object\n x-dcl-go-name: OriginalModelInfo\n x-dcl-go-type: ModelOriginalModelInfo\n readOnly: true\n description: Output only. If this Model is a copy of another Model, this\n contains info about the original.\n x-kubernetes-immutable: true\n properties:\n model:\n type: string\n x-dcl-go-name: Model\n readOnly: true\n description: 'Output only. The resource name of the Model this Model\n is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Model\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n supportedDeploymentResourcesTypes:\n type: array\n x-dcl-go-name: SupportedDeploymentResourcesTypes\n readOnly: true\n description: Output only. When this Model is deployed, its prediction resources\n are described by the `prediction_resources` field of the Endpoint.deployed_models\n object. Because not all Models support all resource configuration types,\n the configuration types this Model supports are listed here. If no configuration\n types are listed, the Model cannot be deployed to an Endpoint and does\n not support online predictions (PredictionService.Predict or PredictionService.Explain).\n Such a Model can serve predictions by using a BatchPredictionJob, if it\n has at least one entry each in supported_input_storage_formats and supported_output_storage_formats.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ModelSupportedDeploymentResourcesTypesEnum\n enum:\n - DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED\n - DEDICATED_RESOURCES\n - AUTOMATIC_RESOURCES\n supportedExportFormats:\n type: array\n x-dcl-go-name: SupportedExportFormats\n readOnly: true\n description: Output only. The formats in which this Model may be exported.\n If empty, this Model is not available for export.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelSupportedExportFormats\n properties:\n exportableContents:\n type: array\n x-dcl-go-name: ExportableContents\n readOnly: true\n description: Output only. The content of this Model that may be exported.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ModelSupportedExportFormatsExportableContentsEnum\n enum:\n - EXPORTABLE_CONTENT_UNSPECIFIED\n - ARTIFACT\n - IMAGE\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: 'Output only. The ID of the export format. The possible\n format IDs are: * `tflite` Used for Android mobile devices. * `edgetpu-tflite`\n Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.\n * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js`\n A [TensorFlow.js](https://www.tensorflow.org/js) model that can\n be used in the browser and in Node.js using JavaScript. * `core-ml`\n Used for iOS mobile devices. * `custom-trained` A Model that was\n uploaded or trained by custom code.'\n x-kubernetes-immutable: true\n supportedInputStorageFormats:\n type: array\n x-dcl-go-name: SupportedInputStorageFormats\n readOnly: true\n description: 'Output only. The formats this Model supports in BatchPredictionJob.input_config.\n If PredictSchemata.instance_schema_uri exists, the instances should be\n given as per that schema. The possible formats are: * `jsonl` The JSON\n Lines format, where each instance is a single line. Uses GcsSource. *\n `csv` The CSV format, where each instance is a single comma-separated\n line. The first line in the file is the header, containing comma-separated\n field names. Uses GcsSource. * `tf-record` The TFRecord format, where\n each instance is a single record in tfrecord syntax. Uses GcsSource. *\n `tf-record-gzip` Similar to `tf-record`, but the file is gzipped. Uses\n GcsSource. * `bigquery` Each instance is a single row in BigQuery. Uses\n BigQuerySource. * `file-list` Each line of the file is the location of\n an instance to process, uses `gcs_source` field of the InputConfig object.\n If this Model doesn''t support any of these formats it means it cannot\n be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n it could serve online predictions by using PredictionService.Predict or\n PredictionService.Explain. TODO(rsurowka): Give a link describing how\n OpenAPI schema instances are expressed in JSONL and BigQuery. TODO(rsurowka):\n Should we provide a schema for TFRecord? Or maybe say that at least for\n now TFRecord input is not supported via schemata (that would also simplify\n giving them back as part of predictions). TODO(rsurowka): Define CSV format\n (decide how much we want to support). E.g. no nesting? Or no arrays, or\n no nested arrays? E.g. https://json-csv.com/ seems to be able to do pretty\n advanced conversions, but we may decide to make it relatively simple for\n now.'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n supportedOutputStorageFormats:\n type: array\n x-dcl-go-name: SupportedOutputStorageFormats\n readOnly: true\n description: 'Output only. The formats this Model supports in BatchPredictionJob.output_config.\n If both PredictSchemata.instance_schema_uri and PredictSchemata.prediction_schema_uri\n exist, the predictions are returned together with their instances. In\n other words, the prediction has the original instance data first, followed\n by the actual prediction content (as per the schema). The possible formats\n are: * `jsonl` The JSON Lines format, where each prediction is a single\n line. Uses GcsDestination. * `csv` The CSV format, where each prediction\n is a single comma-separated line. The first line in the file is the header,\n containing comma-separated field names. Uses GcsDestination. * `bigquery`\n Each prediction is a single row in a BigQuery table, uses BigQueryDestination\n . If this Model doesn''t support any of these formats it means it cannot\n be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n it could serve online predictions by using PredictionService.Predict or\n PredictionService.Explain. TODO(rsurowka): Analogous TODOs as for instances\n field above.'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n trainingPipeline:\n type: string\n x-dcl-go-name: TrainingPipeline\n readOnly: true\n description: Output only. The resource name of the TrainingPipeline that\n uploaded this Model, if any.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this Model was most recently updated.\n x-kubernetes-immutable: true\n versionCreateTime:\n type: string\n format: date-time\n x-dcl-go-name: VersionCreateTime\n readOnly: true\n description: Output only. Timestamp when this version was created.\n x-kubernetes-immutable: true\n versionDescription:\n type: string\n x-dcl-go-name: VersionDescription\n description: The description of this version.\n x-kubernetes-immutable: true\n versionId:\n type: string\n x-dcl-go-name: VersionId\n readOnly: true\n description: Output only. Immutable. The version ID of the model. A new\n version is committed when a new model version is uploaded or trained under\n an existing model id. It is an auto-incrementing decimal number in string\n representation.\n x-kubernetes-immutable: true\n versionUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: VersionUpdateTime\n readOnly: true\n description: Output only. Timestamp when this version was most recently\n updated.\n x-kubernetes-immutable: true\n") +var YAML_model = []byte("info:\n title: VertexAI/Model\n description: The VertexAI Model resource\n x-dcl-struct-name: Model\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n apply:\n description: The function used to apply information about a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n delete:\n description: The function used to delete a Model\n parameters:\n - name: Model\n required: true\n description: A full instance of a Model\n deleteAll:\n description: The function used to delete all Model\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Model\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Model:\n title: Model\n x-dcl-id: projects/{{project}}/locations/{{location}}/models/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-iam: false\n type: object\n required:\n - displayName\n - containerSpec\n - project\n - location\n properties:\n artifactUri:\n type: string\n x-dcl-go-name: ArtifactUri\n description: Immutable. The path to the directory containing the Model artifact\n and any of its supporting files. Not present for AutoML Models.\n x-kubernetes-immutable: true\n containerSpec:\n type: object\n x-dcl-go-name: ContainerSpec\n x-dcl-go-type: ModelContainerSpec\n description: Input only. The specification of the container that is to be\n used when deploying this Model. The specification is ingested upon ModelService.UploadModel,\n and all binaries it contains are copied and stored internally by Vertex\n AI. Not present for AutoML Models.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n required:\n - imageUri\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: 'Immutable. Specifies arguments for the command that runs\n when the container starts. This overrides the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd).\n Specify this field as an array of executable and arguments, similar\n to a Docker `CMD`''s \"default parameters\" form. If you don''t specify\n this field but do specify the command field, then the command from\n the `command` field runs without any additional arguments. See the\n [Kubernetes documentation about how the `command` and `args` fields\n interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n If you don''t specify this field and don''t specify the `command`\n field, then the container''s [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd)\n and `CMD` determine what runs based on their default behavior. See\n the Docker documentation about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n In this field, you can reference [environment variables set by Vertex\n AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n and environment variables set in the env field. You cannot reference\n environment variables set in the Docker image. In order for environment\n variables to be expanded, reference them by using the following syntax:\n `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n which does not use parentheses. If a variable cannot be resolved,\n the reference in the input string is used unchanged. To avoid variable\n expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n This field corresponds to the `args` field of the Kubernetes Containers\n [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n command:\n type: array\n x-dcl-go-name: Command\n description: 'Immutable. Specifies the command that runs when the container\n starts. This overrides the container''s [ENTRYPOINT](https://docs.docker.com/engine/reference/builder/#entrypoint).\n Specify this field as an array of executable and arguments, similar\n to a Docker `ENTRYPOINT`''s \"exec\" form, not its \"shell\" form. If\n you do not specify this field, then the container''s `ENTRYPOINT`\n runs, in conjunction with the args field or the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd),\n if either exists. If this field is not specified and the container\n does not have an `ENTRYPOINT`, then refer to the Docker documentation\n about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n If you specify this field, then you can also specify the `args` field\n to provide additional arguments for this command. However, if you\n specify this field, then the container''s `CMD` is ignored. See the\n [Kubernetes documentation about how the `command` and `args` fields\n interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n In this field, you can reference [environment variables set by Vertex\n AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n and environment variables set in the env field. You cannot reference\n environment variables set in the Docker image. In order for environment\n variables to be expanded, reference them by using the following syntax:\n `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n which does not use parentheses. If a variable cannot be resolved,\n the reference in the input string is used unchanged. To avoid variable\n expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n This field corresponds to the `command` field of the Kubernetes Containers\n [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n env:\n type: array\n x-dcl-go-name: Env\n description: 'Immutable. List of environment variables to set in the\n container. After the container starts running, code running in the\n container can read these environment variables. Additionally, the\n command and args fields can reference these variables. Later entries\n in this list can also reference earlier entries. For example, the\n following example sets the variable `VAR_2` to have the value `foo\n bar`: ```json [ { \"name\": \"VAR_1\", \"value\": \"foo\" }, { \"name\": \"VAR_2\",\n \"value\": \"$(VAR_1) bar\" } ] ``` If you switch the order of the variables\n in the example, then the expansion does not occur. This field corresponds\n to the `env` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecEnv\n required:\n - name\n - value\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment variable. Must\n be a valid C identifier.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: 'Required. Variables that reference a $(VAR_NAME)\n are expanded using the previous defined environment variables\n in the container and any service environment variables. If a\n variable cannot be resolved, the reference in the input string\n will be unchanged. The $(VAR_NAME) syntax can be escaped with\n a double $$, ie: $$(VAR_NAME). Escaped references will never\n be expanded, regardless of whether the variable exists or not.'\n x-kubernetes-immutable: true\n healthRoute:\n type: string\n x-dcl-go-name: HealthRoute\n description: 'Immutable. HTTP path on the container to send health checks\n to. Vertex AI intermittently sends GET requests to this path on the\n container''s IP address and port to check that the container is healthy.\n Read more about [health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health).\n For example, if you set this field to `/bar`, then Vertex AI intermittently\n sends a GET request to the `/bar` path on the port of your container\n specified by the first value of this `ModelContainerSpec`''s ports\n field. If you don''t specify this field, it defaults to the following\n value when you deploy this Model to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n The placeholders in this value are replaced as follows: * ENDPOINT:\n The last segment (following `endpoints/`)of the Endpoint.name][] field\n of the Endpoint where this Model has been deployed. (Vertex AI makes\n this value available to your container code as the [`AIP_ENDPOINT_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n x-kubernetes-immutable: true\n imageUri:\n type: string\n x-dcl-go-name: ImageUri\n description: Required. Immutable. URI of the Docker image to be used\n as the custom container for serving predictions. This URI must identify\n an image in Artifact Registry or Container Registry. Learn more about\n the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing),\n including permissions requirements for the Vertex AI Service Agent.\n The container image is ingested upon ModelService.UploadModel, stored\n internally, and this original path is afterwards not used. To learn\n about the requirements for the Docker image itself, see [Custom container\n requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#).\n You can use the URI to one of Vertex AI's [pre-built container images\n for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers)\n in this field.\n x-kubernetes-immutable: true\n ports:\n type: array\n x-dcl-go-name: Ports\n description: 'Immutable. List of ports to expose from the container.\n Vertex AI sends any prediction requests that it receives to the first\n port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness)\n to this port. If you do not specify this field, it defaults to following\n value: ```json [ { \"containerPort\": 8080 } ] ``` Vertex AI does not\n use ports other than the first one listed. This field corresponds\n to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelContainerSpecPorts\n properties:\n containerPort:\n type: integer\n format: int64\n x-dcl-go-name: ContainerPort\n description: The number of the port to expose on the pod's IP\n address. Must be a valid port number, between 1 and 65535 inclusive.\n x-kubernetes-immutable: true\n predictRoute:\n type: string\n x-dcl-go-name: PredictRoute\n description: 'Immutable. HTTP path on the container to send prediction\n requests to. Vertex AI forwards requests sent using projects.locations.endpoints.predict\n to this path on the container''s IP address and port. Vertex AI then\n returns the container''s response in the API response. For example,\n if you set this field to `/foo`, then when Vertex AI receives a prediction\n request, it forwards the request body in a POST request to the `/foo`\n path on the port of your container specified by the first value of\n this `ModelContainerSpec`''s ports field. If you don''t specify this\n field, it defaults to the following value when you deploy this Model\n to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n The placeholders in this value are replaced as follows: * ENDPOINT:\n The last segment (following `endpoints/`)of the Endpoint.name][] field\n of the Endpoint where this Model has been deployed. (Vertex AI makes\n this value available to your container code as the [`AIP_ENDPOINT_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Timestamp when this Model was uploaded into Vertex\n AI.\n x-kubernetes-immutable: true\n deployedModels:\n type: array\n x-dcl-go-name: DeployedModels\n readOnly: true\n description: Output only. The pointers to DeployedModels created from this\n Model. Note that Model could have been deployed to Endpoints in different\n Locations.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelDeployedModels\n properties:\n deployedModelId:\n type: string\n x-dcl-go-name: DeployedModelId\n description: Immutable. An ID of a DeployedModel in the above Endpoint.\n x-kubernetes-immutable: true\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: Immutable. A resource name of an Endpoint.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Endpoint\n field: selfLink\n description:\n type: string\n x-dcl-go-name: Description\n description: The description of the Model.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Required. The display name of the Model. The name can be up\n to 128 characters long and can be consist of any UTF-8 characters.\n encryptionSpec:\n type: object\n x-dcl-go-name: EncryptionSpec\n x-dcl-go-type: ModelEncryptionSpec\n description: Customer-managed encryption key spec for a Model. If set, this\n Model and all sub-resources of this Model will be secured by this key.\n x-kubernetes-immutable: true\n required:\n - kmsKeyName\n properties:\n kmsKeyName:\n type: string\n x-dcl-go-name: KmsKeyName\n description: 'Required. The Cloud KMS resource identifier of the customer\n managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n The key needs to be in the same region as where the compute resource\n is created.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: name\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Used to perform consistent read-modify-write updates. If not\n set, a blind \"overwrite\" update happens.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: The labels with user-defined metadata to organize your Models.\n Label keys and values can be no longer than 64 characters (Unicode codepoints),\n can only contain lowercase letters, numeric characters, underscores and\n dashes. International characters are allowed. See https://goo.gl/xmQnxf\n for more information and examples of labels.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name of the Model.\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n originalModelInfo:\n type: object\n x-dcl-go-name: OriginalModelInfo\n x-dcl-go-type: ModelOriginalModelInfo\n readOnly: true\n description: Output only. If this Model is a copy of another Model, this\n contains info about the original.\n x-kubernetes-immutable: true\n properties:\n model:\n type: string\n x-dcl-go-name: Model\n readOnly: true\n description: 'Output only. The resource name of the Model this Model\n is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Aiplatform/Model\n field: selfLink\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n supportedDeploymentResourcesTypes:\n type: array\n x-dcl-go-name: SupportedDeploymentResourcesTypes\n readOnly: true\n description: Output only. When this Model is deployed, its prediction resources\n are described by the `prediction_resources` field of the Endpoint.deployed_models\n object. Because not all Models support all resource configuration types,\n the configuration types this Model supports are listed here. If no configuration\n types are listed, the Model cannot be deployed to an Endpoint and does\n not support online predictions (PredictionService.Predict or PredictionService.Explain).\n Such a Model can serve predictions by using a BatchPredictionJob, if it\n has at least one entry each in supported_input_storage_formats and supported_output_storage_formats.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ModelSupportedDeploymentResourcesTypesEnum\n enum:\n - DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED\n - DEDICATED_RESOURCES\n - AUTOMATIC_RESOURCES\n supportedExportFormats:\n type: array\n x-dcl-go-name: SupportedExportFormats\n readOnly: true\n description: Output only. The formats in which this Model may be exported.\n If empty, this Model is not available for export.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ModelSupportedExportFormats\n properties:\n exportableContents:\n type: array\n x-dcl-go-name: ExportableContents\n readOnly: true\n description: Output only. The content of this Model that may be exported.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ModelSupportedExportFormatsExportableContentsEnum\n enum:\n - EXPORTABLE_CONTENT_UNSPECIFIED\n - ARTIFACT\n - IMAGE\n id:\n type: string\n x-dcl-go-name: Id\n readOnly: true\n description: 'Output only. The ID of the export format. The possible\n format IDs are: * `tflite` Used for Android mobile devices. * `edgetpu-tflite`\n Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.\n * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js`\n A [TensorFlow.js](https://www.tensorflow.org/js) model that can\n be used in the browser and in Node.js using JavaScript. * `core-ml`\n Used for iOS mobile devices. * `custom-trained` A Model that was\n uploaded or trained by custom code.'\n x-kubernetes-immutable: true\n supportedInputStorageFormats:\n type: array\n x-dcl-go-name: SupportedInputStorageFormats\n readOnly: true\n description: 'Output only. The formats this Model supports in BatchPredictionJob.input_config.\n If PredictSchemata.instance_schema_uri exists, the instances should be\n given as per that schema. The possible formats are: * `jsonl` The JSON\n Lines format, where each instance is a single line. Uses GcsSource. *\n `csv` The CSV format, where each instance is a single comma-separated\n line. The first line in the file is the header, containing comma-separated\n field names. Uses GcsSource. * `tf-record` The TFRecord format, where\n each instance is a single record in tfrecord syntax. Uses GcsSource. *\n `tf-record-gzip` Similar to `tf-record`, but the file is gzipped. Uses\n GcsSource. * `bigquery` Each instance is a single row in BigQuery. Uses\n BigQuerySource. * `file-list` Each line of the file is the location of\n an instance to process, uses `gcs_source` field of the InputConfig object.\n If this Model doesn''t support any of these formats it means it cannot\n be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n it could serve online predictions by using PredictionService.Predict or\n PredictionService.Explain. TODO(rsurowka): Give a link describing how\n OpenAPI schema instances are expressed in JSONL and BigQuery. TODO(rsurowka):\n Should we provide a schema for TFRecord? Or maybe say that at least for\n now TFRecord input is not supported via schemata (that would also simplify\n giving them back as part of predictions). TODO(rsurowka): Define CSV format\n (decide how much we want to support). E.g. no nesting? Or no arrays, or\n no nested arrays? E.g. https://json-csv.com/ seems to be able to do pretty\n advanced conversions, but we may decide to make it relatively simple for\n now.'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n supportedOutputStorageFormats:\n type: array\n x-dcl-go-name: SupportedOutputStorageFormats\n readOnly: true\n description: 'Output only. The formats this Model supports in BatchPredictionJob.output_config.\n If both PredictSchemata.instance_schema_uri and PredictSchemata.prediction_schema_uri\n exist, the predictions are returned together with their instances. In\n other words, the prediction has the original instance data first, followed\n by the actual prediction content (as per the schema). The possible formats\n are: * `jsonl` The JSON Lines format, where each prediction is a single\n line. Uses GcsDestination. * `csv` The CSV format, where each prediction\n is a single comma-separated line. The first line in the file is the header,\n containing comma-separated field names. Uses GcsDestination. * `bigquery`\n Each prediction is a single row in a BigQuery table, uses BigQueryDestination\n . If this Model doesn''t support any of these formats it means it cannot\n be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n it could serve online predictions by using PredictionService.Predict or\n PredictionService.Explain. TODO(rsurowka): Analogous TODOs as for instances\n field above.'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n trainingPipeline:\n type: string\n x-dcl-go-name: TrainingPipeline\n readOnly: true\n description: Output only. The resource name of the TrainingPipeline that\n uploaded this Model, if any.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Timestamp when this Model was most recently updated.\n x-kubernetes-immutable: true\n versionCreateTime:\n type: string\n format: date-time\n x-dcl-go-name: VersionCreateTime\n readOnly: true\n description: Output only. Timestamp when this version was created.\n x-kubernetes-immutable: true\n versionDescription:\n type: string\n x-dcl-go-name: VersionDescription\n description: The description of this version.\n x-kubernetes-immutable: true\n versionId:\n type: string\n x-dcl-go-name: VersionId\n readOnly: true\n description: Output only. Immutable. The version ID of the model. A new\n version is committed when a new model version is uploaded or trained under\n an existing model id. It is an auto-incrementing decimal number in string\n representation.\n x-kubernetes-immutable: true\n versionUpdateTime:\n type: string\n format: date-time\n x-dcl-go-name: VersionUpdateTime\n readOnly: true\n description: Output only. Timestamp when this version was most recently\n updated.\n x-kubernetes-immutable: true\n") -// 30050 bytes -// MD5: 8542784c84a648c562c9456b9a1f47c5 +// 30075 bytes +// MD5: 57d63392cb88d3b2fc9edf4326ff565d diff --git a/services/google/vmware/alpha/cluster.yaml b/services/google/vmware/alpha/cluster.yaml index 7324f8c2ae..11e500db40 100755 --- a/services/google/vmware/alpha/cluster.yaml +++ b/services/google/vmware/alpha/cluster.yaml @@ -15,6 +15,7 @@ info: title: Vmware/Cluster description: The Vmware Cluster resource x-dcl-struct-name: Cluster + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vmware/alpha/cluster_alpha_yaml_embed.go b/services/google/vmware/alpha/cluster_alpha_yaml_embed.go index 2b5a19cc55..1b3234634e 100755 --- a/services/google/vmware/alpha/cluster_alpha_yaml_embed.go +++ b/services/google/vmware/alpha/cluster_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vmware/alpha/cluster.yaml -var YAML_cluster = []byte("info:\n title: Vmware/Cluster\n description: The Vmware Cluster resource\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: privatecloud\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: privatecloud\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/privateClouds/{{private_cloud}}/clusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - nodeTypeId\n - nodeCount\n - project\n - location\n - privateCloud\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Creation time of this resource in RFC3339 text\n format.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n management:\n type: boolean\n x-dcl-go-name: Management\n readOnly: true\n description: Output only. True if the cluster is a management cluster; false\n otherwise. There can only be one management cluster in a private cloud\n and it has to be the first one.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of this cluster. Resource names are schemeless\n URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.\n For example: `projects/my-project/locations/us-west1-a/privateClouds/my-cloud/clusters/my-cluster`'\n x-kubernetes-immutable: true\n nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n description: Required. Number of nodes in this cluster.\n nodeTypeId:\n type: string\n x-dcl-go-name: NodeTypeId\n description: 'Required. The canonical identifier of node types (`NodeType`)\n in this cluster. For example: standard-72.'\n privateCloud:\n type: string\n x-dcl-go-name: PrivateCloud\n description: The privateCloud for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vmware/PrivateCloud\n field: name\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. State of the resource. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, UPDATING, FAILED, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - UPDATING\n - FAILED\n - DELETED\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last update time of this resource in RFC3339 text\n format.\n x-kubernetes-immutable: true\n") +var YAML_cluster = []byte("info:\n title: Vmware/Cluster\n description: The Vmware Cluster resource\n x-dcl-struct-name: Cluster\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: privatecloud\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: privatecloud\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/privateClouds/{{private_cloud}}/clusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - nodeTypeId\n - nodeCount\n - project\n - location\n - privateCloud\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Creation time of this resource in RFC3339 text\n format.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n management:\n type: boolean\n x-dcl-go-name: Management\n readOnly: true\n description: Output only. True if the cluster is a management cluster; false\n otherwise. There can only be one management cluster in a private cloud\n and it has to be the first one.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of this cluster. Resource names are schemeless\n URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.\n For example: `projects/my-project/locations/us-west1-a/privateClouds/my-cloud/clusters/my-cluster`'\n x-kubernetes-immutable: true\n nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n description: Required. Number of nodes in this cluster.\n nodeTypeId:\n type: string\n x-dcl-go-name: NodeTypeId\n description: 'Required. The canonical identifier of node types (`NodeType`)\n in this cluster. For example: standard-72.'\n privateCloud:\n type: string\n x-dcl-go-name: PrivateCloud\n description: The privateCloud for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vmware/PrivateCloud\n field: name\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. State of the resource. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, UPDATING, FAILED, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - UPDATING\n - FAILED\n - DELETED\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last update time of this resource in RFC3339 text\n format.\n x-kubernetes-immutable: true\n") -// 4648 bytes -// MD5: 54cecd6c7e5b75bf92bca28b40ec9dee +// 4673 bytes +// MD5: 888705a2c8ecd2b23ec89bfe9ffb5405 diff --git a/services/google/vmware/alpha/cluster_schema.go b/services/google/vmware/alpha/cluster_schema.go index f3c67ee248..2055ecb3c8 100755 --- a/services/google/vmware/alpha/cluster_schema.go +++ b/services/google/vmware/alpha/cluster_schema.go @@ -23,6 +23,7 @@ func DCLClusterSchema() *dcl.Schema { Title: "Vmware/Cluster", Description: "The Vmware Cluster resource", StructName: "Cluster", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vmware/alpha/private_cloud.yaml b/services/google/vmware/alpha/private_cloud.yaml index e65bdacdc8..c33a339c06 100755 --- a/services/google/vmware/alpha/private_cloud.yaml +++ b/services/google/vmware/alpha/private_cloud.yaml @@ -15,6 +15,7 @@ info: title: Vmware/PrivateCloud description: The Vmware PrivateCloud resource x-dcl-struct-name: PrivateCloud + x-dcl-has-create: true x-dcl-has-iam: true paths: get: diff --git a/services/google/vmware/alpha/private_cloud_alpha_yaml_embed.go b/services/google/vmware/alpha/private_cloud_alpha_yaml_embed.go index d19b99d952..034f1e2b51 100755 --- a/services/google/vmware/alpha/private_cloud_alpha_yaml_embed.go +++ b/services/google/vmware/alpha/private_cloud_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vmware/alpha/private_cloud.yaml -var YAML_private_cloud = []byte("info:\n title: Vmware/PrivateCloud\n description: The Vmware PrivateCloud resource\n x-dcl-struct-name: PrivateCloud\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a PrivateCloud\n parameters:\n - name: PrivateCloud\n required: true\n description: A full instance of a PrivateCloud\n apply:\n description: The function used to apply information about a PrivateCloud\n parameters:\n - name: PrivateCloud\n required: true\n description: A full instance of a PrivateCloud\n delete:\n description: The function used to delete a PrivateCloud\n parameters:\n - name: PrivateCloud\n required: true\n description: A full instance of a PrivateCloud\n deleteAll:\n description: The function used to delete all PrivateCloud\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PrivateCloud\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PrivateCloud:\n title: PrivateCloud\n x-dcl-id: projects/{{project}}/locations/{{location}}/privateClouds/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - networkConfig\n - managementCluster\n - project\n - location\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n readOnly: true\n description: Output only. The conditions that caused the current private\n cloud state. For example, private cloud provisioning failure description.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PrivateCloudConditions\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n readOnly: true\n description: Output only. Machine-readable representation of the condition.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n readOnly: true\n description: Output only. Human-readable description of the condition.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Creation time of this resource in RFC3339 text\n format.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Time the resource was marked as deleted, in RFC3339\n text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: User-provided description for this private cloud.\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. Planned deletion time of this resource in RFC3339\n text format.\n x-kubernetes-immutable: true\n hcx:\n type: object\n x-dcl-go-name: Hcx\n x-dcl-go-type: PrivateCloudHcx\n readOnly: true\n description: Output only. HCX appliance.\n x-kubernetes-immutable: true\n properties:\n externalIP:\n type: string\n x-dcl-go-name: ExternalIP\n description: External IP address of the appliance.\n x-kubernetes-immutable: true\n fdqn:\n type: string\n x-dcl-go-name: Fdqn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n internalIP:\n type: string\n x-dcl-go-name: InternalIP\n description: Internal IP address of the appliance.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Version of the appliance.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n managementCluster:\n type: object\n x-dcl-go-name: ManagementCluster\n x-dcl-go-type: PrivateCloudManagementCluster\n description: Input only. The management cluster for this private cloud.\n This parameter is required during creation of private cloud to provide\n details for the default cluster.\n x-dcl-mutable-unreadable: true\n required:\n - clusterId\n - nodeTypeId\n - nodeCount\n properties:\n clusterId:\n type: string\n x-dcl-go-name: ClusterId\n description: Required. The user-provided identifier of the new `Cluster`.\n x-kubernetes-immutable: true\n nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n description: Required. Number of nodes in this cluster.\n nodeTypeId:\n type: string\n x-dcl-go-name: NodeTypeId\n description: 'Required. The canonical identifier of node types (`NodeType`)\n in this cluster. For example: standard-72.'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of this private cloud. Resource names are\n schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.\n For example: `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`'\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: PrivateCloudNetworkConfig\n description: Required. Network configuration.\n x-kubernetes-immutable: true\n required:\n - network\n - managementCidr\n properties:\n managementCidr:\n type: string\n x-dcl-go-name: ManagementCidr\n description: Required. Management CIDR used by VMWare management appliances.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Required. The relative resource name of the consumer VPC\n network this private cloud is attached to. Specify the name in the\n following form: `projects/{project}/global/networks/{network_id}`\n where `{project}` can either be a project number or a project ID.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n serviceNetwork:\n type: string\n x-dcl-go-name: ServiceNetwork\n readOnly: true\n description: 'Output only. The relative resource name of the service\n VPC network this private cloud is attached to. The name is specified\n in the following form: `projects/{service_project_number}/global/networks/{network_id}`.'\n x-kubernetes-immutable: true\n nsx:\n type: object\n x-dcl-go-name: Nsx\n x-dcl-go-type: PrivateCloudNsx\n readOnly: true\n description: Output only. NSX appliance.\n x-kubernetes-immutable: true\n properties:\n externalIP:\n type: string\n x-dcl-go-name: ExternalIP\n description: External IP address of the appliance.\n x-kubernetes-immutable: true\n fdqn:\n type: string\n x-dcl-go-name: Fdqn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n internalIP:\n type: string\n x-dcl-go-name: InternalIP\n description: Internal IP address of the appliance.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Version of the appliance.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: PrivateCloudStateEnum\n readOnly: true\n description: 'Output only. State of the resource. Possible values: ACTIVE,\n CREATING, UPDATING, FAILED, DELETED'\n x-kubernetes-immutable: true\n enum:\n - ACTIVE\n - CREATING\n - UPDATING\n - FAILED\n - DELETED\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last update time of this resource in RFC3339 text\n format.\n x-kubernetes-immutable: true\n vcenter:\n type: object\n x-dcl-go-name: Vcenter\n x-dcl-go-type: PrivateCloudVcenter\n readOnly: true\n description: Output only. Vcenter appliance.\n x-kubernetes-immutable: true\n properties:\n externalIP:\n type: string\n x-dcl-go-name: ExternalIP\n description: External IP address of the appliance.\n x-kubernetes-immutable: true\n fdqn:\n type: string\n x-dcl-go-name: Fdqn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n internalIP:\n type: string\n x-dcl-go-name: InternalIP\n description: Internal IP address of the appliance.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Version of the appliance.\n x-kubernetes-immutable: true\n") +var YAML_private_cloud = []byte("info:\n title: Vmware/PrivateCloud\n description: The Vmware PrivateCloud resource\n x-dcl-struct-name: PrivateCloud\n x-dcl-has-create: true\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a PrivateCloud\n parameters:\n - name: PrivateCloud\n required: true\n description: A full instance of a PrivateCloud\n apply:\n description: The function used to apply information about a PrivateCloud\n parameters:\n - name: PrivateCloud\n required: true\n description: A full instance of a PrivateCloud\n delete:\n description: The function used to delete a PrivateCloud\n parameters:\n - name: PrivateCloud\n required: true\n description: A full instance of a PrivateCloud\n deleteAll:\n description: The function used to delete all PrivateCloud\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PrivateCloud\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PrivateCloud:\n title: PrivateCloud\n x-dcl-id: projects/{{project}}/locations/{{location}}/privateClouds/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - networkConfig\n - managementCluster\n - project\n - location\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n readOnly: true\n description: Output only. The conditions that caused the current private\n cloud state. For example, private cloud provisioning failure description.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PrivateCloudConditions\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n readOnly: true\n description: Output only. Machine-readable representation of the condition.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n readOnly: true\n description: Output only. Human-readable description of the condition.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Creation time of this resource in RFC3339 text\n format.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Time the resource was marked as deleted, in RFC3339\n text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: User-provided description for this private cloud.\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. Planned deletion time of this resource in RFC3339\n text format.\n x-kubernetes-immutable: true\n hcx:\n type: object\n x-dcl-go-name: Hcx\n x-dcl-go-type: PrivateCloudHcx\n readOnly: true\n description: Output only. HCX appliance.\n x-kubernetes-immutable: true\n properties:\n externalIP:\n type: string\n x-dcl-go-name: ExternalIP\n description: External IP address of the appliance.\n x-kubernetes-immutable: true\n fdqn:\n type: string\n x-dcl-go-name: Fdqn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n internalIP:\n type: string\n x-dcl-go-name: InternalIP\n description: Internal IP address of the appliance.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Version of the appliance.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n managementCluster:\n type: object\n x-dcl-go-name: ManagementCluster\n x-dcl-go-type: PrivateCloudManagementCluster\n description: Input only. The management cluster for this private cloud.\n This parameter is required during creation of private cloud to provide\n details for the default cluster.\n x-dcl-mutable-unreadable: true\n required:\n - clusterId\n - nodeTypeId\n - nodeCount\n properties:\n clusterId:\n type: string\n x-dcl-go-name: ClusterId\n description: Required. The user-provided identifier of the new `Cluster`.\n x-kubernetes-immutable: true\n nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n description: Required. Number of nodes in this cluster.\n nodeTypeId:\n type: string\n x-dcl-go-name: NodeTypeId\n description: 'Required. The canonical identifier of node types (`NodeType`)\n in this cluster. For example: standard-72.'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of this private cloud. Resource names are\n schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.\n For example: `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`'\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: PrivateCloudNetworkConfig\n description: Required. Network configuration.\n x-kubernetes-immutable: true\n required:\n - network\n - managementCidr\n properties:\n managementCidr:\n type: string\n x-dcl-go-name: ManagementCidr\n description: Required. Management CIDR used by VMWare management appliances.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Required. The relative resource name of the consumer VPC\n network this private cloud is attached to. Specify the name in the\n following form: `projects/{project}/global/networks/{network_id}`\n where `{project}` can either be a project number or a project ID.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n serviceNetwork:\n type: string\n x-dcl-go-name: ServiceNetwork\n readOnly: true\n description: 'Output only. The relative resource name of the service\n VPC network this private cloud is attached to. The name is specified\n in the following form: `projects/{service_project_number}/global/networks/{network_id}`.'\n x-kubernetes-immutable: true\n nsx:\n type: object\n x-dcl-go-name: Nsx\n x-dcl-go-type: PrivateCloudNsx\n readOnly: true\n description: Output only. NSX appliance.\n x-kubernetes-immutable: true\n properties:\n externalIP:\n type: string\n x-dcl-go-name: ExternalIP\n description: External IP address of the appliance.\n x-kubernetes-immutable: true\n fdqn:\n type: string\n x-dcl-go-name: Fdqn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n internalIP:\n type: string\n x-dcl-go-name: InternalIP\n description: Internal IP address of the appliance.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Version of the appliance.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: PrivateCloudStateEnum\n readOnly: true\n description: 'Output only. State of the resource. Possible values: ACTIVE,\n CREATING, UPDATING, FAILED, DELETED'\n x-kubernetes-immutable: true\n enum:\n - ACTIVE\n - CREATING\n - UPDATING\n - FAILED\n - DELETED\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last update time of this resource in RFC3339 text\n format.\n x-kubernetes-immutable: true\n vcenter:\n type: object\n x-dcl-go-name: Vcenter\n x-dcl-go-type: PrivateCloudVcenter\n readOnly: true\n description: Output only. Vcenter appliance.\n x-kubernetes-immutable: true\n properties:\n externalIP:\n type: string\n x-dcl-go-name: ExternalIP\n description: External IP address of the appliance.\n x-kubernetes-immutable: true\n fdqn:\n type: string\n x-dcl-go-name: Fdqn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n internalIP:\n type: string\n x-dcl-go-name: InternalIP\n description: Internal IP address of the appliance.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Version of the appliance.\n x-kubernetes-immutable: true\n") -// 10972 bytes -// MD5: 6db496771469c0c8abe1a676f0d13df4 +// 10997 bytes +// MD5: 2ad5b4b44f27e3a0f75cf1318bd9c249 diff --git a/services/google/vmware/alpha/private_cloud_schema.go b/services/google/vmware/alpha/private_cloud_schema.go index fcecf8d521..683d0d50bc 100755 --- a/services/google/vmware/alpha/private_cloud_schema.go +++ b/services/google/vmware/alpha/private_cloud_schema.go @@ -23,6 +23,7 @@ func DCLPrivateCloudSchema() *dcl.Schema { Title: "Vmware/PrivateCloud", Description: "The Vmware PrivateCloud resource", StructName: "PrivateCloud", + HasCreate: true, HasIAM: true, }, Paths: &dcl.Paths{ diff --git a/services/google/vpcaccess/alpha/connector.yaml b/services/google/vpcaccess/alpha/connector.yaml index f895d09fcd..d3fe5220dd 100755 --- a/services/google/vpcaccess/alpha/connector.yaml +++ b/services/google/vpcaccess/alpha/connector.yaml @@ -15,6 +15,7 @@ info: title: VPCAccess/Connector description: The VPCAccess Connector resource x-dcl-struct-name: Connector + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vpcaccess/alpha/connector_alpha_yaml_embed.go b/services/google/vpcaccess/alpha/connector_alpha_yaml_embed.go index d867b25042..c485ad434e 100755 --- a/services/google/vpcaccess/alpha/connector_alpha_yaml_embed.go +++ b/services/google/vpcaccess/alpha/connector_alpha_yaml_embed.go @@ -17,7 +17,7 @@ package alpha // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vpcaccess/alpha/connector.yaml -var YAML_connector = []byte("info:\n title: VPCAccess/Connector\n description: The VPCAccess Connector resource\n x-dcl-struct-name: Connector\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n apply:\n description: The function used to apply information about a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n delete:\n description: The function used to delete a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n deleteAll:\n description: The function used to delete all Connector\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Connector\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Connector:\n title: Connector\n x-dcl-id: projects/{{project}}/locations/{{location}}/connectors/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n connectedProjects:\n type: array\n x-dcl-go-name: ConnectedProjects\n readOnly: true\n description: Output only. List of projects using the connector.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of internal addresses that follows RFC 4632 notation.\n Example: `10.132.0.0/28`.'\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Machine type of VM Instance underlying connector. Default is\n e2-micro\n x-kubernetes-immutable: true\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: Maximum value of instances in autoscaling group underlying\n the connector.\n x-kubernetes-immutable: true\n maxThroughput:\n type: integer\n format: int64\n x-dcl-go-name: MaxThroughput\n description: Maximum throughput of the connector in Mbps. Default is 200,\n max is 1000.\n x-kubernetes-immutable: true\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: Minimum value of instances in autoscaling group underlying\n the connector.\n x-kubernetes-immutable: true\n minThroughput:\n type: integer\n format: int64\n x-dcl-go-name: MinThroughput\n description: Minimum throughput of the connector in Mbps. Default and min\n is 200.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name in the format `projects/*/locations/*/connectors/*`.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Name of a VPC network.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConnectorStateEnum\n readOnly: true\n description: 'Output only. State of the VPC access connector. Possible values:\n STATE_UNSPECIFIED, READY, CREATING, DELETING, ERROR, UPDATING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - READY\n - CREATING\n - DELETING\n - ERROR\n - UPDATING\n subnet:\n type: object\n x-dcl-go-name: Subnet\n x-dcl-go-type: ConnectorSubnet\n description: The subnet in which to house the VPC Access Connector.\n x-kubernetes-immutable: true\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Subnet name (relative, not fully qualified). E.g. if the\n full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName}\n the correct input for this field would be: {subnetName}'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: name\n parent: true\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Project in which the subnet exists. If not set, this project\n is assumed to be the project for which the connector create request\n was issued.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n") +var YAML_connector = []byte("info:\n title: VPCAccess/Connector\n description: The VPCAccess Connector resource\n x-dcl-struct-name: Connector\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n apply:\n description: The function used to apply information about a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n delete:\n description: The function used to delete a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n deleteAll:\n description: The function used to delete all Connector\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Connector\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Connector:\n title: Connector\n x-dcl-id: projects/{{project}}/locations/{{location}}/connectors/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n connectedProjects:\n type: array\n x-dcl-go-name: ConnectedProjects\n readOnly: true\n description: Output only. List of projects using the connector.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of internal addresses that follows RFC 4632 notation.\n Example: `10.132.0.0/28`.'\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Machine type of VM Instance underlying connector. Default is\n e2-micro\n x-kubernetes-immutable: true\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: Maximum value of instances in autoscaling group underlying\n the connector.\n x-kubernetes-immutable: true\n maxThroughput:\n type: integer\n format: int64\n x-dcl-go-name: MaxThroughput\n description: Maximum throughput of the connector in Mbps. Default is 200,\n max is 1000.\n x-kubernetes-immutable: true\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: Minimum value of instances in autoscaling group underlying\n the connector.\n x-kubernetes-immutable: true\n minThroughput:\n type: integer\n format: int64\n x-dcl-go-name: MinThroughput\n description: Minimum throughput of the connector in Mbps. Default and min\n is 200.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name in the format `projects/*/locations/*/connectors/*`.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Name of a VPC network.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConnectorStateEnum\n readOnly: true\n description: 'Output only. State of the VPC access connector. Possible values:\n STATE_UNSPECIFIED, READY, CREATING, DELETING, ERROR, UPDATING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - READY\n - CREATING\n - DELETING\n - ERROR\n - UPDATING\n subnet:\n type: object\n x-dcl-go-name: Subnet\n x-dcl-go-type: ConnectorSubnet\n description: The subnet in which to house the VPC Access Connector.\n x-kubernetes-immutable: true\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Subnet name (relative, not fully qualified). E.g. if the\n full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName}\n the correct input for this field would be: {subnetName}'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: name\n parent: true\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Project in which the subnet exists. If not set, this project\n is assumed to be the project for which the connector create request\n was issued.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n") -// 5980 bytes -// MD5: 94b55f7b05d9335e473204abf3aba8c8 +// 6005 bytes +// MD5: 6c56369d92045a31e5c72f5facaac30e diff --git a/services/google/vpcaccess/alpha/connector_schema.go b/services/google/vpcaccess/alpha/connector_schema.go index cfacf6abda..d028823813 100755 --- a/services/google/vpcaccess/alpha/connector_schema.go +++ b/services/google/vpcaccess/alpha/connector_schema.go @@ -23,6 +23,7 @@ func DCLConnectorSchema() *dcl.Schema { Title: "VPCAccess/Connector", Description: "The VPCAccess Connector resource", StructName: "Connector", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vpcaccess/beta/connector.yaml b/services/google/vpcaccess/beta/connector.yaml index f895d09fcd..d3fe5220dd 100755 --- a/services/google/vpcaccess/beta/connector.yaml +++ b/services/google/vpcaccess/beta/connector.yaml @@ -15,6 +15,7 @@ info: title: VPCAccess/Connector description: The VPCAccess Connector resource x-dcl-struct-name: Connector + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vpcaccess/beta/connector_beta_yaml_embed.go b/services/google/vpcaccess/beta/connector_beta_yaml_embed.go index 31b67c03d8..1e9489db30 100755 --- a/services/google/vpcaccess/beta/connector_beta_yaml_embed.go +++ b/services/google/vpcaccess/beta/connector_beta_yaml_embed.go @@ -17,7 +17,7 @@ package beta // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vpcaccess/beta/connector.yaml -var YAML_connector = []byte("info:\n title: VPCAccess/Connector\n description: The VPCAccess Connector resource\n x-dcl-struct-name: Connector\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n apply:\n description: The function used to apply information about a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n delete:\n description: The function used to delete a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n deleteAll:\n description: The function used to delete all Connector\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Connector\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Connector:\n title: Connector\n x-dcl-id: projects/{{project}}/locations/{{location}}/connectors/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n connectedProjects:\n type: array\n x-dcl-go-name: ConnectedProjects\n readOnly: true\n description: Output only. List of projects using the connector.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of internal addresses that follows RFC 4632 notation.\n Example: `10.132.0.0/28`.'\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Machine type of VM Instance underlying connector. Default is\n e2-micro\n x-kubernetes-immutable: true\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: Maximum value of instances in autoscaling group underlying\n the connector.\n x-kubernetes-immutable: true\n maxThroughput:\n type: integer\n format: int64\n x-dcl-go-name: MaxThroughput\n description: Maximum throughput of the connector in Mbps. Default is 200,\n max is 1000.\n x-kubernetes-immutable: true\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: Minimum value of instances in autoscaling group underlying\n the connector.\n x-kubernetes-immutable: true\n minThroughput:\n type: integer\n format: int64\n x-dcl-go-name: MinThroughput\n description: Minimum throughput of the connector in Mbps. Default and min\n is 200.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name in the format `projects/*/locations/*/connectors/*`.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Name of a VPC network.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConnectorStateEnum\n readOnly: true\n description: 'Output only. State of the VPC access connector. Possible values:\n STATE_UNSPECIFIED, READY, CREATING, DELETING, ERROR, UPDATING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - READY\n - CREATING\n - DELETING\n - ERROR\n - UPDATING\n subnet:\n type: object\n x-dcl-go-name: Subnet\n x-dcl-go-type: ConnectorSubnet\n description: The subnet in which to house the VPC Access Connector.\n x-kubernetes-immutable: true\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Subnet name (relative, not fully qualified). E.g. if the\n full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName}\n the correct input for this field would be: {subnetName}'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: name\n parent: true\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Project in which the subnet exists. If not set, this project\n is assumed to be the project for which the connector create request\n was issued.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n") +var YAML_connector = []byte("info:\n title: VPCAccess/Connector\n description: The VPCAccess Connector resource\n x-dcl-struct-name: Connector\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n apply:\n description: The function used to apply information about a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n delete:\n description: The function used to delete a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n deleteAll:\n description: The function used to delete all Connector\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Connector\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Connector:\n title: Connector\n x-dcl-id: projects/{{project}}/locations/{{location}}/connectors/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n connectedProjects:\n type: array\n x-dcl-go-name: ConnectedProjects\n readOnly: true\n description: Output only. List of projects using the connector.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of internal addresses that follows RFC 4632 notation.\n Example: `10.132.0.0/28`.'\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Machine type of VM Instance underlying connector. Default is\n e2-micro\n x-kubernetes-immutable: true\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: Maximum value of instances in autoscaling group underlying\n the connector.\n x-kubernetes-immutable: true\n maxThroughput:\n type: integer\n format: int64\n x-dcl-go-name: MaxThroughput\n description: Maximum throughput of the connector in Mbps. Default is 200,\n max is 1000.\n x-kubernetes-immutable: true\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: Minimum value of instances in autoscaling group underlying\n the connector.\n x-kubernetes-immutable: true\n minThroughput:\n type: integer\n format: int64\n x-dcl-go-name: MinThroughput\n description: Minimum throughput of the connector in Mbps. Default and min\n is 200.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name in the format `projects/*/locations/*/connectors/*`.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Name of a VPC network.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConnectorStateEnum\n readOnly: true\n description: 'Output only. State of the VPC access connector. Possible values:\n STATE_UNSPECIFIED, READY, CREATING, DELETING, ERROR, UPDATING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - READY\n - CREATING\n - DELETING\n - ERROR\n - UPDATING\n subnet:\n type: object\n x-dcl-go-name: Subnet\n x-dcl-go-type: ConnectorSubnet\n description: The subnet in which to house the VPC Access Connector.\n x-kubernetes-immutable: true\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Subnet name (relative, not fully qualified). E.g. if the\n full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName}\n the correct input for this field would be: {subnetName}'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: name\n parent: true\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Project in which the subnet exists. If not set, this project\n is assumed to be the project for which the connector create request\n was issued.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n") -// 5980 bytes -// MD5: 94b55f7b05d9335e473204abf3aba8c8 +// 6005 bytes +// MD5: 6c56369d92045a31e5c72f5facaac30e diff --git a/services/google/vpcaccess/beta/connector_schema.go b/services/google/vpcaccess/beta/connector_schema.go index 479c680366..d4cfec13d6 100755 --- a/services/google/vpcaccess/beta/connector_schema.go +++ b/services/google/vpcaccess/beta/connector_schema.go @@ -23,6 +23,7 @@ func DCLConnectorSchema() *dcl.Schema { Title: "VPCAccess/Connector", Description: "The VPCAccess Connector resource", StructName: "Connector", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vpcaccess/connector.yaml b/services/google/vpcaccess/connector.yaml index f895d09fcd..d3fe5220dd 100755 --- a/services/google/vpcaccess/connector.yaml +++ b/services/google/vpcaccess/connector.yaml @@ -15,6 +15,7 @@ info: title: VPCAccess/Connector description: The VPCAccess Connector resource x-dcl-struct-name: Connector + x-dcl-has-create: true x-dcl-has-iam: false paths: get: diff --git a/services/google/vpcaccess/connector_schema.go b/services/google/vpcaccess/connector_schema.go index 0facfb9b8d..2d24741e81 100755 --- a/services/google/vpcaccess/connector_schema.go +++ b/services/google/vpcaccess/connector_schema.go @@ -23,6 +23,7 @@ func DCLConnectorSchema() *dcl.Schema { Title: "VPCAccess/Connector", Description: "The VPCAccess Connector resource", StructName: "Connector", + HasCreate: true, }, Paths: &dcl.Paths{ Get: &dcl.Path{ diff --git a/services/google/vpcaccess/connector_yaml_embed.go b/services/google/vpcaccess/connector_yaml_embed.go index 2602e3734a..9941038bbf 100755 --- a/services/google/vpcaccess/connector_yaml_embed.go +++ b/services/google/vpcaccess/connector_yaml_embed.go @@ -17,7 +17,7 @@ package vpcaccess // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vpcaccess/connector.yaml -var YAML_connector = []byte("info:\n title: VPCAccess/Connector\n description: The VPCAccess Connector resource\n x-dcl-struct-name: Connector\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n apply:\n description: The function used to apply information about a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n delete:\n description: The function used to delete a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n deleteAll:\n description: The function used to delete all Connector\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Connector\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Connector:\n title: Connector\n x-dcl-id: projects/{{project}}/locations/{{location}}/connectors/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n connectedProjects:\n type: array\n x-dcl-go-name: ConnectedProjects\n readOnly: true\n description: Output only. List of projects using the connector.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of internal addresses that follows RFC 4632 notation.\n Example: `10.132.0.0/28`.'\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Machine type of VM Instance underlying connector. Default is\n e2-micro\n x-kubernetes-immutable: true\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: Maximum value of instances in autoscaling group underlying\n the connector.\n x-kubernetes-immutable: true\n maxThroughput:\n type: integer\n format: int64\n x-dcl-go-name: MaxThroughput\n description: Maximum throughput of the connector in Mbps. Default is 200,\n max is 1000.\n x-kubernetes-immutable: true\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: Minimum value of instances in autoscaling group underlying\n the connector.\n x-kubernetes-immutable: true\n minThroughput:\n type: integer\n format: int64\n x-dcl-go-name: MinThroughput\n description: Minimum throughput of the connector in Mbps. Default and min\n is 200.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name in the format `projects/*/locations/*/connectors/*`.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Name of a VPC network.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConnectorStateEnum\n readOnly: true\n description: 'Output only. State of the VPC access connector. Possible values:\n STATE_UNSPECIFIED, READY, CREATING, DELETING, ERROR, UPDATING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - READY\n - CREATING\n - DELETING\n - ERROR\n - UPDATING\n subnet:\n type: object\n x-dcl-go-name: Subnet\n x-dcl-go-type: ConnectorSubnet\n description: The subnet in which to house the VPC Access Connector.\n x-kubernetes-immutable: true\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Subnet name (relative, not fully qualified). E.g. if the\n full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName}\n the correct input for this field would be: {subnetName}'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: name\n parent: true\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Project in which the subnet exists. If not set, this project\n is assumed to be the project for which the connector create request\n was issued.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n") +var YAML_connector = []byte("info:\n title: VPCAccess/Connector\n description: The VPCAccess Connector resource\n x-dcl-struct-name: Connector\n x-dcl-has-create: true\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n apply:\n description: The function used to apply information about a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n delete:\n description: The function used to delete a Connector\n parameters:\n - name: Connector\n required: true\n description: A full instance of a Connector\n deleteAll:\n description: The function used to delete all Connector\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Connector\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Connector:\n title: Connector\n x-dcl-id: projects/{{project}}/locations/{{location}}/connectors/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - project\n - location\n properties:\n connectedProjects:\n type: array\n x-dcl-go-name: ConnectedProjects\n readOnly: true\n description: Output only. List of projects using the connector.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n ipCidrRange:\n type: string\n x-dcl-go-name: IPCidrRange\n description: 'The range of internal addresses that follows RFC 4632 notation.\n Example: `10.132.0.0/28`.'\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Machine type of VM Instance underlying connector. Default is\n e2-micro\n x-kubernetes-immutable: true\n maxInstances:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstances\n description: Maximum value of instances in autoscaling group underlying\n the connector.\n x-kubernetes-immutable: true\n maxThroughput:\n type: integer\n format: int64\n x-dcl-go-name: MaxThroughput\n description: Maximum throughput of the connector in Mbps. Default is 200,\n max is 1000.\n x-kubernetes-immutable: true\n minInstances:\n type: integer\n format: int64\n x-dcl-go-name: MinInstances\n description: Minimum value of instances in autoscaling group underlying\n the connector.\n x-kubernetes-immutable: true\n minThroughput:\n type: integer\n format: int64\n x-dcl-go-name: MinThroughput\n description: Minimum throughput of the connector in Mbps. Default and min\n is 200.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The resource name in the format `projects/*/locations/*/connectors/*`.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: Name of a VPC network.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConnectorStateEnum\n readOnly: true\n description: 'Output only. State of the VPC access connector. Possible values:\n STATE_UNSPECIFIED, READY, CREATING, DELETING, ERROR, UPDATING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - READY\n - CREATING\n - DELETING\n - ERROR\n - UPDATING\n subnet:\n type: object\n x-dcl-go-name: Subnet\n x-dcl-go-type: ConnectorSubnet\n description: The subnet in which to house the VPC Access Connector.\n x-kubernetes-immutable: true\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Subnet name (relative, not fully qualified). E.g. if the\n full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName}\n the correct input for this field would be: {subnetName}'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: name\n parent: true\n projectId:\n type: string\n x-dcl-go-name: ProjectId\n description: Project in which the subnet exists. If not set, this project\n is assumed to be the project for which the connector create request\n was issued.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n") -// 5980 bytes -// MD5: 94b55f7b05d9335e473204abf3aba8c8 +// 6005 bytes +// MD5: 6c56369d92045a31e5c72f5facaac30e